Google Cloud Vm Migration V1 Client - Class TargetProject (0.4.2)

Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class TargetProject.

TargetProject message represents a target Compute Engine project for a migration or a clone.

Generated from protobuf message google.cloud.vmmigration.v1.TargetProject

Namespace

Google \ Cloud \ VMMigration \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The name of the target project.

↳ project string

The target project ID (number) or project name.

↳ description string

The target project's description.

↳ create_time Google\Protobuf\Timestamp

Output only. The time this target project resource was created (not related to when the Compute Engine project it points to was created).

↳ update_time Google\Protobuf\Timestamp

Output only. The last time the target project resource was updated.

getName

Output only. The name of the target project.

Returns
TypeDescription
string

setName

Output only. The name of the target project.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getProject

The target project ID (number) or project name.

Returns
TypeDescription
string

setProject

The target project ID (number) or project name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

The target project's description.

Returns
TypeDescription
string

setDescription

The target project's description.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. The time this target project resource was created (not related to when the Compute Engine project it points to was created).

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time this target project resource was created (not related to when the Compute Engine project it points to was created).

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

getUpdateTime

Output only. The last time the target project resource was updated.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The last time the target project resource was updated.

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