Interface CreateAttachedClusterRequestOrBuilder (0.48.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the attachedCluster field is set.