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

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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 Google\Cloud\VmwareEngine\V1\Cluster

Required. The initial description of the new 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

Returns
TypeDescription
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

Parameter
NameDescription
var string
Returns
TypeDescription
$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)
Returns
TypeDescription
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)
Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCluster

Required. The initial description of the new cluster.

Returns
TypeDescription
Google\Cloud\VmwareEngine\V1\Cluster|null

hasCluster

clearCluster

setCluster

Required. The initial description of the new cluster.

Parameter
NameDescription
var Google\Cloud\VmwareEngine\V1\Cluster
Returns
TypeDescription
$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).

Returns
TypeDescription
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).

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValidateOnly

Optional. True if you want the request to be validated and not executed; false otherwise.

Returns
TypeDescription
bool

setValidateOnly

Optional. True if you want the request to be validated and not executed; false otherwise.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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 Google\Cloud\VmwareEngine\V1\Cluster

Required. The initial description of the new 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)
Returns
TypeDescription
Google\Cloud\VmwareEngine\V1\CreateClusterRequest