Google Cloud Rapid Migration Assessment V1 Client - Class Annotation (1.2.0)

Reference documentation and code samples for the Google Cloud Rapid Migration Assessment V1 Client class Annotation.

Message describing an Annotation

Generated from protobuf message google.cloud.rapidmigrationassessment.v1.Annotation

Namespace

Google \ Cloud \ RapidMigrationAssessment \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

name of resource.

↳ create_time Google\Protobuf\Timestamp

Output only. Create time stamp.

↳ update_time Google\Protobuf\Timestamp

Output only. Update time stamp.

↳ labels array|Google\Protobuf\Internal\MapField

Labels as key value pairs.

↳ type int

Type of an annotation.

getName

name of resource.

Returns
Type Description
string

setName

name of resource.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. Create time stamp.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Create time stamp.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. Update time stamp.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Update time stamp.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getLabels

Labels as key value pairs.

Returns
Type Description
Google\Protobuf\Internal\MapField

setLabels

Labels as key value pairs.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getType

Type of an annotation.

Returns
Type Description
int Enum of type Type.

setType

Type of an annotation.

Parameter
Name Description
var int

Enum of type Type.

Returns
Type Description
$this