Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class Cluster.
A cluster in a private cloud.
Generated from protobuf messagegoogle.cloud.vmwareengine.v1.Cluster
Namespace
Google \ Cloud \ VmwareEngine \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
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 inhttps://cloud.google.com/apis/design/resource_names. For example:projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster
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.
Optional. Configuration of a stretched cluster. Required for clusters that belong to a STRETCHED private cloud.
getName
Output only. The resource name of this cluster.
Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names.
For example:projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster
Returns
Type
Description
string
setName
Output only. The resource name of this cluster.
Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names.
For example:projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Vmware Engine V1 Client - Class Cluster (1.1.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.4 (latest)](/php/docs/reference/cloud-vmware-engine/latest/V1.Cluster)\n- [1.1.3](/php/docs/reference/cloud-vmware-engine/1.1.3/V1.Cluster)\n- [1.0.0](/php/docs/reference/cloud-vmware-engine/1.0.0/V1.Cluster)\n- [0.5.6](/php/docs/reference/cloud-vmware-engine/0.5.6/V1.Cluster)\n- [0.4.0](/php/docs/reference/cloud-vmware-engine/0.4.0/V1.Cluster)\n- [0.3.3](/php/docs/reference/cloud-vmware-engine/0.3.3/V1.Cluster)\n- [0.2.1](/php/docs/reference/cloud-vmware-engine/0.2.1/V1.Cluster)\n- [0.1.4](/php/docs/reference/cloud-vmware-engine/0.1.4/V1.Cluster) \nReference documentation and code samples for the Google Cloud Vmware Engine V1 Client class Cluster.\n\nA cluster in a private cloud.\n\nGenerated from protobuf message `google.cloud.vmwareengine.v1.Cluster`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ VmwareEngine \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nOutput only. The resource name of this cluster.\n\nResource names are schemeless URIs that follow the conventions in\n\u003chttps://cloud.google.com/apis/design/resource_names\u003e.\nFor example:\n`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`\n\n### setName\n\nOutput only. The resource name of this cluster.\n\nResource names are schemeless URIs that follow the conventions in\n\u003chttps://cloud.google.com/apis/design/resource_names\u003e.\nFor example:\n`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`\n\n### getCreateTime\n\nOutput only. Creation time of this resource.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. Creation time of this resource.\n\n### getUpdateTime\n\nOutput only. Last update time of this resource.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. Last update time of this resource.\n\n### getState\n\nOutput only. State of the resource.\n\n### setState\n\nOutput only. State of the resource.\n\n### getManagement\n\nOutput only. True if the cluster is a management cluster; false otherwise.\n\nThere can only be one management cluster in a private cloud\nand it has to be the first one.\n\n### setManagement\n\nOutput only. True if the cluster is a management cluster; false otherwise.\n\nThere can only be one management cluster in a private cloud\nand it has to be the first one.\n\n### getAutoscalingSettings\n\nOptional. Configuration of the autoscaling applied to this cluster.\n\n### hasAutoscalingSettings\n\n### clearAutoscalingSettings\n\n### setAutoscalingSettings\n\nOptional. Configuration of the autoscaling applied to this cluster.\n\n### getUid\n\nOutput only. System-generated unique identifier for the resource.\n\n### setUid\n\nOutput only. System-generated unique identifier for the resource.\n\n### getNodeTypeConfigs\n\nRequired. The map of cluster node types in this cluster, where the key is\ncanonical identifier of the node type (corresponds to the `NodeType`).\n\n### setNodeTypeConfigs\n\nRequired. The map of cluster node types in this cluster, where the key is\ncanonical identifier of the node type (corresponds to the `NodeType`).\n\n### getStretchedClusterConfig\n\nOptional. Configuration of a stretched cluster. Required for clusters that\nbelong to a STRETCHED private cloud.\n\n### hasStretchedClusterConfig\n\n### clearStretchedClusterConfig\n\n### setStretchedClusterConfig\n\nOptional. Configuration of a stretched cluster. Required for clusters that\nbelong to a STRETCHED private cloud."]]