Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class Group.
Describes message for 'Group' resource. The Group is a collections of several MigratingVms.
Generated from protobuf message google.cloud.vmmigration.v1.Group
Namespace
Google \ Cloud \ VMMigration \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Output only. The Group name. |
↳ create_time |
Google\Protobuf\Timestamp
Output only. The create time timestamp. |
↳ update_time |
Google\Protobuf\Timestamp
Output only. The update time timestamp. |
↳ description |
string
User-provided description of the group. |
↳ display_name |
string
Display name is a user defined name for this group which can be updated. |
↳ migration_target_type |
int
Immutable. The target type of this group. |
getName
Output only. The Group name.
Returns | |
---|---|
Type | Description |
string |
setName
Output only. The Group name.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCreateTime
Output only. The create time timestamp.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasCreateTime
clearCreateTime
setCreateTime
Output only. The create time timestamp.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateTime
Output only. The update time timestamp.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The update time timestamp.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getDescription
User-provided description of the group.
Returns | |
---|---|
Type | Description |
string |
setDescription
User-provided description of the group.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDisplayName
Display name is a user defined name for this group which can be updated.
Returns | |
---|---|
Type | Description |
string |
setDisplayName
Display name is a user defined name for this group which can be updated.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getMigrationTargetType
Immutable. The target type of this group.
Returns | |
---|---|
Type | Description |
int |
Enum of type MigrationTargetType. |
setMigrationTargetType
Immutable. The target type of this group.
Parameter | |
---|---|
Name | Description |
var |
int
Enum of type MigrationTargetType. |
Returns | |
---|---|
Type | Description |
$this |