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 \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The name of the group.
↳ create_time
↳ update_time
↳ labels
↳ display_name
string
User-friendly display name.
↳ description
string
The description of the resource.
getName
Output only. The name of the group.
string
setName
Output only. The name of the group.
var
string
$this
getCreateTime
Output only. The timestamp when the group was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The timestamp when the group was created.
$this
getUpdateTime
Output only. The timestamp when the group was last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The timestamp when the group was last updated.
$this
getLabels
Labels as key value pairs.
setLabels
Labels as key value pairs.
$this
getDisplayName
User-friendly display name.
string
setDisplayName
User-friendly display name.
var
string
$this
getDescription
The description of the resource.
string
setDescription
The description of the resource.
var
string
$this