Reference documentation and code samples for the Google Cloud Migration Center V1 Client class ImportDataFile.
A resource that represents a payload file in an import job.
Generated from protobuf message google.cloud.migrationcenter.v1.ImportDataFile
Namespace
Google \ Cloud \ MigrationCenter \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The name of the file.
↳ display_name
string
User-friendly display name. Maximum length is 63 characters.
↳ format
int
Required. The payload format.
↳ create_time
↳ state
int
Output only. The state of the import data file.
↳ upload_file_info
Google\Cloud\MigrationCenter\V1\UploadFileInfo
Information about a file that is uploaded to a storage service.
getName
Output only. The name of the file.
string
setName
Output only. The name of the file.
var
string
$this
getDisplayName
User-friendly display name. Maximum length is 63 characters.
string
setDisplayName
User-friendly display name. Maximum length is 63 characters.
var
string
$this
getFormat
Required. The payload format.
int
setFormat
Required. The payload format.
var
int
$this
getCreateTime
Output only. The timestamp when the file was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The timestamp when the file was created.
$this
getState
Output only. The state of the import data file.
int
setState
Output only. The state of the import data file.
var
int
$this
getUploadFileInfo
Information about a file that is uploaded to a storage service.
hasUploadFileInfo
setUploadFileInfo
Information about a file that is uploaded to a storage service.
$this
getFileInfo
string