Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class CreateClusterRequest.
Request message for VmwareEngine.CreateCluster
Generated from protobuf message google.cloud.vmwareengine.v1.CreateClusterRequest
Namespace
Google \ Cloud \ VmwareEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The resource name of the private cloud to create a new cluster in. 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
↳ cluster_id
string
Required. The user-provided identifier of the new Cluster
. This identifier must be unique among clusters within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with RFC 1034
(section 3.5)
↳ cluster
↳ request_id
string
Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
↳ validate_only
bool
Optional. True if you want the request to be validated and not executed; false otherwise.
getParent
Required. The resource name of the private cloud to create a new cluster in. 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
string
setParent
Required. The resource name of the private cloud to create a new cluster in. 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
var
string
$this
getClusterId
Required. The user-provided identifier of the new Cluster
.
This identifier must be unique among clusters within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:
- Only contains 1-63 alphanumeric characters and hyphens
- Begins with an alphabetical character
- Ends with a non-hyphen character
- Not formatted as a UUID
- Complies with RFC 1034 (section 3.5)
string
setClusterId
Required. The user-provided identifier of the new Cluster
.
This identifier must be unique among clusters within the parent and becomes the final token in the name URI. The identifier must meet the following requirements:
- Only contains 1-63 alphanumeric characters and hyphens
- Begins with an alphabetical character
- Ends with a non-hyphen character
- Not formatted as a UUID
- Complies with RFC 1034 (section 3.5)
var
string
$this
getCluster
Required. The initial description of the new cluster.
hasCluster
clearCluster
setCluster
Required. The initial description of the new cluster.
$this
getRequestId
Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string
setRequestId
Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
var
string
$this
getValidateOnly
Optional. True if you want the request to be validated and not executed; false otherwise.
bool
setValidateOnly
Optional. True if you want the request to be validated and not executed; false otherwise.
var
bool
$this
static::build
parent
string
Required. The resource name of the private cloud to create a new cluster
in. 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
Please see Google\Cloud\VmwareEngine\V1\VmwareEngineClient::privateCloudName()
for help formatting this field.
cluster
clusterId
string
Required. The user-provided identifier of the new Cluster
.
This identifier must be unique among clusters within the parent and becomes
the final token in the name URI.
The identifier must meet the following requirements:
- Only contains 1-63 alphanumeric characters and hyphens
- Begins with an alphabetical character
- Ends with a non-hyphen character
- Not formatted as a UUID
- Complies with RFC 1034 (section 3.5)