Interface ImportAttachedClusterRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImportAttachedClusterRequest
,ImportAttachedClusterRequest.Builder
public interface ImportAttachedClusterRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDistribution()
Required.com.google.protobuf.ByteString
getDistributionBytes()
Required.String
getFleetMembership()
Required.com.google.protobuf.ByteString
getFleetMembershipBytes()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.String
getPlatformVersion()
Required.com.google.protobuf.ByteString
getPlatformVersionBytes()
Required.boolean
getValidateOnly()
If set, only validate the request, but do not actually import the cluster.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. The parent location where this [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource will be created. Location names are formatted as `projects/<project-id>/locations/<region>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The parent location where this [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource will be created. Location names are formatted as `projects/<project-id>/locations/<region>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for parent.
-
getValidateOnly
boolean getValidateOnly()
If set, only validate the request, but do not actually import the cluster.
bool validate_only = 2;
- Returns:
- The validateOnly.
-
getFleetMembership
String getFleetMembership()
Required. The name of the fleet membership resource to import.
string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The fleetMembership.
-
getFleetMembershipBytes
com.google.protobuf.ByteString getFleetMembershipBytes()
Required. The name of the fleet membership resource to import.
string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for fleetMembership.
-
getPlatformVersion
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][google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfig].
string platform_version = 4 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The platformVersion.
-
getPlatformVersionBytes
com.google.protobuf.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][google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfig].
string platform_version = 4 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for platformVersion.
-
getDistribution
String getDistribution()
Required. The Kubernetes distribution of the underlying attached cluster. Supported values: ["eks", "aks"].
string distribution = 5 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The distribution.
-
getDistributionBytes
com.google.protobuf.ByteString getDistributionBytes()
Required. The Kubernetes distribution of the underlying attached cluster. Supported values: ["eks", "aks"].
string distribution = 5 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for distribution.
-
-