Google Cloud Vmware Engine V1 Client - Class HcxActivationKey (0.4.0)

Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class HcxActivationKey.

HCX activation key. A default key is created during private cloud provisioning, but this behavior is subject to change and you should always verify active keys.

Use VmwareEngine.ListHcxActivationKeys to retrieve existing keys and VmwareEngine.CreateHcxActivationKey to create new ones.

Generated from protobuf message google.cloud.vmwareengine.v1.HcxActivationKey

Namespace

Google \ Cloud \ VmwareEngine \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The resource name of this HcxActivationKey. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key

↳ create_time Google\Protobuf\Timestamp

Output only. Creation time of HCX activation key.

↳ state int

Output only. State of HCX activation key.

↳ activation_key string

Output only. HCX activation key.

↳ uid string

Output only. System-generated unique identifier for the resource.

getName

Output only. The resource name of this HcxActivationKey.

Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key

Returns
TypeDescription
string

setName

Output only. The resource name of this HcxActivationKey.

Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. Creation time of HCX activation key.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Creation time of HCX activation key.

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

getState

Output only. State of HCX activation key.

Returns
TypeDescription
int

setState

Output only. State of HCX activation key.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getActivationKey

Output only. HCX activation key.

Returns
TypeDescription
string

setActivationKey

Output only. HCX activation key.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUid

Output only. System-generated unique identifier for the resource.

Returns
TypeDescription
string

setUid

Output only. System-generated unique identifier for the resource.

Parameter
NameDescription
var string
Returns
TypeDescription
$this