Google Cloud Migration Center V1 Client - Class PreferenceSet (1.1.2)

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

The preferences that apply to all assets in a given context.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

Output only. Name of the preference set.

↳ create_time
Google\Protobuf\Timestamp

Output only. The timestamp when the preference set was created.

↳ update_time
Google\Protobuf\Timestamp

Output only. The timestamp when the preference set was last updated.

↳ display_name
string

User-friendly display name. Maximum length is 63 characters.

↳ description
string

A description of the preference set.

↳ virtual_machine_preferences
VirtualMachinePreferences

A set of preferences that applies to all virtual machines in the context.

getName

Output only. Name of the preference set.

Returns
Type
Description
string

setName

Output only. Name of the preference set.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCreateTime

Output only. The timestamp when the preference set was created.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Output only. The timestamp when the preference set was created.

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateTime

Output only. The timestamp when the preference set was last updated.

Returns
Type
Description

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The timestamp when the preference set was last updated.

Parameter
Name
Description
Returns
Type
Description
$this

getDisplayName

User-friendly display name. Maximum length is 63 characters.

Returns
Type
Description
string

setDisplayName

User-friendly display name. Maximum length is 63 characters.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDescription

A description of the preference set.

Returns
Type
Description
string

setDescription

A description of the preference set.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getVirtualMachinePreferences

A set of preferences that applies to all virtual machines in the context.

Returns
Type
Description

hasVirtualMachinePreferences

clearVirtualMachinePreferences

setVirtualMachinePreferences

A set of preferences that applies to all virtual machines in the context.

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