Google Cloud Migration Center V1 Client - Class Report (0.3.1)

Reference documentation and code samples for the Google Cloud Migration Center V1 Client class Report.

Report represents a point-in-time rendering of the ReportConfig results.

Generated from protobuf message google.cloud.migrationcenter.v1.Report

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. Name of resource.

↳ create_time Google\Protobuf\Timestamp

Output only. Creation timestamp.

↳ update_time Google\Protobuf\Timestamp

Output only. Last update timestamp.

↳ display_name string

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

↳ description string

Free-text description.

↳ type int

Report type.

↳ state int

Report creation state.

↳ summary Google\Cloud\MigrationCenter\V1\ReportSummary

Output only. Summary view of the Report.

getName

Output only. Name of resource.

Returns
TypeDescription
string

setName

Output only. Name of resource.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. Creation timestamp.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Creation timestamp.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. Last update timestamp.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Last update timestamp.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getDisplayName

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

Returns
TypeDescription
string

setDisplayName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

Free-text description.

Returns
TypeDescription
string

setDescription

Free-text description.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getType

Report type.

Returns
TypeDescription
int

setType

Report type.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getState

Report creation state.

Returns
TypeDescription
int

setState

Report creation state.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getSummary

Output only. Summary view of the Report.

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\ReportSummary|null

hasSummary

clearSummary

setSummary

Output only. Summary view of the Report.

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\ReportSummary
Returns
TypeDescription
$this