Google Cloud Migration Center V1 Client - Class Group (1.1.1)

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

A resource that represents an asset group.

The purpose of an asset group is to bundle a set of assets that have something in common, while allowing users to add annotations to the group. An asset can belong to multiple groups.

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

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

↳ create_time
Google\Protobuf\Timestamp

Output only. The timestamp when the group was created.

↳ update_time
Google\Protobuf\Timestamp

Output only. The timestamp when the group was last updated.

↳ labels
array| Google\Protobuf\Internal\MapField

Labels as key value pairs.

↳ display_name
string

User-friendly display name.

↳ description
string

The description of the resource.

getName

Output only. The name of the group.

Returns
Type
Description
string

setName

Output only. The name of the group.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCreateTime

Output only. The timestamp when the group was created.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Output only. The timestamp when the group was created.

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateTime

Output only. The timestamp when the group was last updated.

Returns
Type
Description

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The timestamp when the group was last updated.

Parameter
Name
Description
Returns
Type
Description
$this

getLabels

Labels as key value pairs.

Returns
Type
Description

setLabels

Labels as key value pairs.

Parameter
Name
Description
Returns
Type
Description
$this

getDisplayName

User-friendly display name.

Returns
Type
Description
string

setDisplayName

User-friendly display name.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDescription

The description of the resource.

Returns
Type
Description
string

setDescription

The description of the resource.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: