Interface CreateAttachedClusterRequestOrBuilder (0.35.0)

public interface CreateAttachedClusterRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttachedCluster()

public abstract AttachedCluster getAttachedCluster()

Required. The specification of the AttachedCluster to create.

.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AttachedCluster

The attachedCluster.

getAttachedClusterId()

public abstract String getAttachedClusterId()

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the AttachedCluster resource name formatted as projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>.

Valid characters are /a-z-/. Cannot be longer than 63 characters.

string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The attachedClusterId.

getAttachedClusterIdBytes()

public abstract ByteString getAttachedClusterIdBytes()

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the AttachedCluster resource name formatted as projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>.

Valid characters are /a-z-/. Cannot be longer than 63 characters.

string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for attachedClusterId.

getAttachedClusterOrBuilder()

public abstract AttachedClusterOrBuilder getAttachedClusterOrBuilder()

Required. The specification of the AttachedCluster to create.

.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AttachedClusterOrBuilder

getParent()

public abstract String getParent()

Required. The parent location where this AttachedCluster resource will be created.

Location names are formatted as projects/<project-id>/locations/<region>.

See Resource Names for more details on Google Cloud resource names.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent location where this AttachedCluster resource will be created.

Location names are formatted as projects/<project-id>/locations/<region>.

See Resource Names for more details on Google Cloud resource names.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getValidateOnly()

public abstract boolean getValidateOnly()

If set, only validate the request, but do not actually create the cluster.

bool validate_only = 4;

Returns
TypeDescription
boolean

The validateOnly.

hasAttachedCluster()

public abstract boolean hasAttachedCluster()

Required. The specification of the AttachedCluster to create.

.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the attachedCluster field is set.