Interface ImportAttachedClusterRequestOrBuilder (0.36.0)

public interface ImportAttachedClusterRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDistribution()

public abstract String getDistribution()

Required. The Kubernetes distribution of the underlying attached cluster.

Supported values: ["eks", "aks"].

string distribution = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The distribution.

getDistributionBytes()

public abstract ByteString getDistributionBytes()

Required. The Kubernetes distribution of the underlying attached cluster.

Supported values: ["eks", "aks"].

string distribution = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for distribution.

getFleetMembership()

public abstract String getFleetMembership()

Required. The name of the fleet membership resource to import.

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

Returns
TypeDescription
String

The fleetMembership.

getFleetMembershipBytes()

public abstract ByteString getFleetMembershipBytes()

Required. The name of the fleet membership resource to import.

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

Returns
TypeDescription
ByteString

The bytes for fleetMembership.

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.

getPlatformVersion()

public abstract String getPlatformVersion()

Required. The platform version for the cluster (e.g. 1.19.0-gke.1000).

You can list all supported versions on a given Google Cloud region by calling GetAttachedServerConfig.

string platform_version = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The platformVersion.

getPlatformVersionBytes()

public abstract ByteString getPlatformVersionBytes()

Required. The platform version for the cluster (e.g. 1.19.0-gke.1000).

You can list all supported versions on a given Google Cloud region by calling GetAttachedServerConfig.

string platform_version = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for platformVersion.

getProxyConfig()

public abstract AttachedProxyConfig getProxyConfig()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AttachedProxyConfig

The proxyConfig.

getProxyConfigOrBuilder()

public abstract AttachedProxyConfigOrBuilder getProxyConfigOrBuilder()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AttachedProxyConfigOrBuilder

getValidateOnly()

public abstract boolean getValidateOnly()

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

bool validate_only = 2;

Returns
TypeDescription
boolean

The validateOnly.

hasProxyConfig()

public abstract boolean hasProxyConfig()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the proxyConfig field is set.