Reference documentation and code samples for the Cluster Director V1BETA API class Google::Cloud::HypercomputeCluster::V1beta::CreateClusterRequest.
Request message for CreateCluster.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cluster
def cluster() -> ::Google::Cloud::HypercomputeCluster::V1beta::Cluster
Returns
- (::Google::Cloud::HypercomputeCluster::V1beta::Cluster) — Required. Cluster to create.
#cluster=
def cluster=(value) -> ::Google::Cloud::HypercomputeCluster::V1beta::Cluster
Parameter
- value (::Google::Cloud::HypercomputeCluster::V1beta::Cluster) — Required. Cluster to create.
Returns
- (::Google::Cloud::HypercomputeCluster::V1beta::Cluster) — Required. Cluster to create.
#cluster_id
def cluster_id() -> ::String
Returns
- (::String) — Required. ID of the cluster to create. Must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).
#cluster_id=
def cluster_id=(value) -> ::String
Parameter
- value (::String) — Required. ID of the cluster to create. Must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).
Returns
- (::String) — Required. ID of the cluster to create. Must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).
#parent
def parent() -> ::String
Returns
-
(::String) — Required. Parent location in which the cluster should be created, in the
format
projects/{project}/locations/{location}.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. Parent location in which the cluster should be created, in the
format
projects/{project}/locations/{location}.
Returns
-
(::String) — Required. Parent location in which the cluster should be created, in the
format
projects/{project}/locations/{location}.
#request_id
def request_id() -> ::String
Returns
-
(::String) — Optional. A unique identifier for this request. A random UUID is
recommended. This request is idempotent if and only if
request_idis provided.
#request_id=
def request_id=(value) -> ::String
Parameter
-
value (::String) — Optional. A unique identifier for this request. A random UUID is
recommended. This request is idempotent if and only if
request_idis provided.
Returns
-
(::String) — Optional. A unique identifier for this request. A random UUID is
recommended. This request is idempotent if and only if
request_idis provided.