Resource: ImportDataFile
A resource that represents a payload file in an import job.
JSON representation |
---|
{ "name": string, "displayName": string, "format": enum ( |
Fields | |
---|---|
name |
Output only. The name of the file. |
displayName |
Optional. User-friendly display name. Maximum length is 256 characters. |
format |
Required. The payload format. |
createTime |
Output only. The timestamp when the file was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
state |
Output only. The state of the import data file. |
Union field
|
|
uploadFileInfo |
Information about a file that is uploaded to a storage service. |
State
Enumerates possible states of an import data file.
Enums | |
---|---|
STATE_UNSPECIFIED |
Default value. |
CREATING |
The data file is being created. |
ACTIVE |
The data file completed initialization. |
UploadFileInfo
A resource that contains a URI to which a data file can be uploaded.
JSON representation |
---|
{ "uriExpirationTime": string, "headers": { string: string, ... }, "signedUri": string } |
Fields | |
---|---|
uriExpirationTime |
Output only. Expiration time of the upload URI. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
headers |
Output only. The headers that were used to sign the URL. An object containing a list of |
signedUri |
Output only. Upload URI for the file. |
Methods |
|
---|---|
|
Creates an import data file. |
|
Delete an import data file. |
|
Gets an import data file. |
|
List import data files. |