Google Cloud Migration Center V1 Client - Class ImportDataFile (0.1.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
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
Google\Protobuf\Timestamp

Output only. The timestamp when the file was created.

↳ 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.

Returns
Type
Description
string

setName

Output only. The name of the file.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDisplayName

User-friendly display name. Maximum length is 63 characters.

Returns
Type
Description
string

setDisplayName

User-friendly display name. Maximum length is 63 characters.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getFormat

Required. The payload format.

Returns
Type
Description
int

setFormat

Required. The payload format.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getCreateTime

Output only. The timestamp when the file was created.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Output only. The timestamp when the file was created.

Parameter
Name
Description
Returns
Type
Description
$this

getState

Output only. The state of the import data file.

Returns
Type
Description
int

setState

Output only. The state of the import data file.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getUploadFileInfo

Information about a file that is uploaded to a storage service.

Returns
Type
Description

hasUploadFileInfo

setUploadFileInfo

Information about a file that is uploaded to a storage service.

Parameter
Name
Description
Returns
Type
Description
$this

getFileInfo

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: