Google Cloud Vmware Engine V1 Client - Class CreatePrivateCloudRequest (1.1.2)

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

Request message for VmwareEngine.CreatePrivateCloud

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

Namespace

Google \ Cloud \ VmwareEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the location to create the new private cloud 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

↳ private_cloud_id string

Required. The user-provided identifier of the private cloud to be created. This identifier must be unique among each PrivateCloud 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)

↳ private_cloud PrivateCloud

Required. The initial description of the new private cloud.

↳ 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 location to create the new private cloud 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

Returns
Type Description
string

setParent

Required. The resource name of the location to create the new private cloud 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

Parameter
Name Description
var string
Returns
Type Description
$this

getPrivateCloudId

Required. The user-provided identifier of the private cloud to be created.

This identifier must be unique among each PrivateCloud 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
Type Description
string

setPrivateCloudId

Required. The user-provided identifier of the private cloud to be created.

This identifier must be unique among each PrivateCloud 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
Name Description
var string
Returns
Type Description
$this

getPrivateCloud

Required. The initial description of the new private cloud.

Returns
Type Description
PrivateCloud|null

hasPrivateCloud

clearPrivateCloud

setPrivateCloud

Required. The initial description of the new private cloud.

Parameter
Name Description
var PrivateCloud
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getValidateOnly

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

Returns
Type Description
bool

setValidateOnly

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

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The resource name of the location to create the new private cloud 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 Please see VmwareEngineClient::locationName() for help formatting this field.

privateCloud PrivateCloud

Required. The initial description of the new private cloud.

privateCloudId string

Required. The user-provided identifier of the private cloud to be created. This identifier must be unique among each PrivateCloud 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
Returns
Type Description
CreatePrivateCloudRequest