Show / Hide Table of Contents

Class RegularFile

A file or directory to install on the device before the test starts.

Inheritance
object
RegularFile
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Testing.v1.Data
Assembly: Google.Apis.Testing.v1.dll
Syntax
public class RegularFile : IDirectResponseSchema

Properties

Content

Required. The source file.

Declaration
[JsonProperty("content")]
public virtual FileReference Content { get; set; }
Property Value
Type Description
FileReference

DevicePath

Required. Where to put the content on the device. Must be an absolute, allowlisted path. If the file exists, it will be replaced. The following device-side directories and any of their subdirectories are allowlisted: ${EXTERNAL_STORAGE}, /sdcard, or /storage ${ANDROID_DATA}/local/tmp, or /data/local/tmp Specifying a path outside of these directory trees is invalid. The paths /sdcard and /data will be made available and treated as implicit path substitutions. E.g. if /sdcard on a particular device does not map to external storage, the system will replace it with the external storage path prefix for that device and copy the file there. It is strongly advised to use the Environment API in app and test code to access files on the device in a portable way.

Declaration
[JsonProperty("devicePath")]
public virtual string DevicePath { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX