Google Cloud Oracle Database V1 Client - Class CreateCloudVmClusterRequest (0.1.2)

Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class CreateCloudVmClusterRequest.

The request for CloudVmCluster.Create.

Generated from protobuf message google.cloud.oracledatabase.v1.CreateCloudVmClusterRequest

Namespace

Google \ Cloud \ OracleDatabase \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

↳ cloud_vm_cluster_id string

Required. The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

↳ cloud_vm_cluster CloudVmCluster

Required. The resource being created

↳ request_id string

Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

getParent

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

Returns
Type Description
string

setParent

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

Parameter
Name Description
var string
Returns
Type Description
$this

getCloudVmClusterId

Required. The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

Returns
Type Description
string

setCloudVmClusterId

Required. The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

Parameter
Name Description
var string
Returns
Type Description
$this

getCloudVmCluster

Required. The resource being created

Returns
Type Description
CloudVmCluster|null

hasCloudVmCluster

clearCloudVmCluster

setCloudVmCluster

Required. The resource being created

Parameter
Name Description
var CloudVmCluster
Returns
Type Description
$this

getRequestId

Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments.

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. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments.

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

static::build

Parameters
Name Description
parent string

Required. The name of the parent in the following format: projects/{project}/locations/{location}. Please see OracleDatabaseClient::locationName() for help formatting this field.

cloudVmCluster CloudVmCluster

Required. The resource being created

cloudVmClusterId string

Required. The ID of the VM Cluster to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

Returns
Type Description
CreateCloudVmClusterRequest