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

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

A cluster in a private cloud.

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

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 cluster. 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-a/privateClouds/my-cloud/clusters/my-cluster

↳ create_time Google\Protobuf\Timestamp

Output only. Creation time of this resource.

↳ update_time Google\Protobuf\Timestamp

Output only. Last update time of this resource.

↳ state int

Output only. State of the resource.

↳ management bool

Output only. True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one.

↳ uid string

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

↳ node_type_configs array|Google\Protobuf\Internal\MapField

Required. The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the NodeType).

getName

Output only. The resource name of this cluster.

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-a/privateClouds/my-cloud/clusters/my-cluster

Returns
TypeDescription
string

setName

Output only. The resource name of this cluster.

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-a/privateClouds/my-cloud/clusters/my-cluster

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. Creation time of this resource.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Creation time of this resource.

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

getUpdateTime

Output only. Last update time of this resource.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Last update time of this resource.

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

getState

Output only. State of the resource.

Returns
TypeDescription
int

setState

Output only. State of the resource.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getManagement

Output only. True if the cluster is a management cluster; false otherwise.

There can only be one management cluster in a private cloud and it has to be the first one.

Returns
TypeDescription
bool

setManagement

Output only. True if the cluster is a management cluster; false otherwise.

There can only be one management cluster in a private cloud and it has to be the first one.

Parameter
NameDescription
var bool
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

getNodeTypeConfigs

Required. The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the NodeType).

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setNodeTypeConfigs

Required. The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the NodeType).

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this