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

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
NameDescription
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
TypeDescription
string

setName

name of resource.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. Create time stamp.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Create time stamp.

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

getUpdateTime

Output only. Update time stamp.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Update time stamp.

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

getLabels

Labels as key value pairs.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

Labels as key value pairs.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getType

Type of an annotation.

Returns
TypeDescription
int

setType

Type of an annotation.

Parameter
NameDescription
var int
Returns
TypeDescription
$this