Google Anthos Multi Cloud V1 Client - Class ImportAttachedClusterRequest (0.2.3)

Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class ImportAttachedClusterRequest.

Request message for AttachedClusters.ImportAttachedCluster method.

Generated from protobuf message google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

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.

↳ validate_only bool

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

↳ fleet_membership string

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

↳ platform_version string

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.

↳ distribution string

Required. The Kubernetes distribution of the underlying attached cluster. Supported values: ["eks", "aks"].

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.

Returns
TypeDescription
string

setParent

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValidateOnly

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

Returns
TypeDescription
bool

setValidateOnly

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getFleetMembership

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

Returns
TypeDescription
string

setFleetMembership

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

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.

Returns
TypeDescription
string

setPlatformVersion

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDistribution

Required. The Kubernetes distribution of the underlying attached cluster.

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

Returns
TypeDescription
string

setDistribution

Required. The Kubernetes distribution of the underlying attached cluster.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this