Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1beta Client class CreateClusterRequest.
Request message for CreateCluster.
Generated from protobuf message google.cloud.hypercomputecluster.v1beta.CreateClusterRequest
Namespace
Google \ Cloud \ HypercomputeCluster \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. Parent location in which the cluster should be created, in the format |
↳ cluster_id |
string
Required. The ID of the cluster to create. The cluster ID must start with a lowercase letter ( |
↳ cluster |
Cluster
Required. Cluster to create. |
↳ request_id |
string
Optional. A unique identifier for this request. A random UUID is recommended. This request is idempotent if and only if |
getParent
Required. Parent location in which the cluster should be created, in the
format projects/{project}/locations/{location}.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. Parent location in which the cluster should be created, in the
format projects/{project}/locations/{location}.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getClusterId
Required. The ID of the cluster to create.
The cluster ID must start with a lowercase letter (a-z), use only
lowercase letters or numbers, and contain up to 10 characters. For example,
specify cluster001.
| Returns | |
|---|---|
| Type | Description |
string |
|
setClusterId
Required. The ID of the cluster to create.
The cluster ID must start with a lowercase letter (a-z), use only
lowercase letters or numbers, and contain up to 10 characters. For example,
specify cluster001.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCluster
Required. Cluster to create.
| Returns | |
|---|---|
| Type | Description |
Cluster|null |
|
hasCluster
clearCluster
setCluster
Required. Cluster to create.
| Parameter | |
|---|---|
| Name | Description |
var |
Cluster
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRequestId
Optional. A unique identifier for this request. A random UUID is
recommended. This request is idempotent if and only if request_id is
provided.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRequestId
Optional. A unique identifier for this request. A random UUID is
recommended. This request is idempotent if and only if request_id is
provided.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. Parent location in which the cluster should be created, in the
format |
cluster |
Cluster
Required. Cluster to create. |
clusterId |
string
Required. The ID of the cluster to create.
The cluster ID must start with a lowercase letter ( |
| Returns | |
|---|---|
| Type | Description |
CreateClusterRequest |
|