Google Anthos Multi Cloud V1 Client - Class GenerateAttachedClusterInstallManifestRequest (0.4.4)

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

Request message for AttachedClusters.GenerateAttachedClusterInstallManifest method.

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

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

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.

↳ attached_cluster_id string

Required. A client provided ID of 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][0-9]-/. Cannot be longer than 63 characters. When generating an install manifest for importing an existing Membership resource, the attached_cluster_id field must be the Membership id. Membership names are formatted as projects/<project-id>/locations/<region>/memberships/<membership-id>.

↳ 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.

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

getAttachedClusterId

Required. A client provided ID of 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][0-9]-/. Cannot be longer than 63 characters. When generating an install manifest for importing an existing Membership resource, the attached_cluster_id field must be the Membership id. Membership names are formatted as projects/<project-id>/locations/<region>/memberships/<membership-id>.

Returns
TypeDescription
string

setAttachedClusterId

Required. A client provided ID of 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][0-9]-/. Cannot be longer than 63 characters. When generating an install manifest for importing an existing Membership resource, the attached_cluster_id field must be the Membership id. Membership names are formatted as projects/<project-id>/locations/<region>/memberships/<membership-id>.

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

static::build

Parameters
NameDescription
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. Please see Google\Cloud\GkeMultiCloud\V1\AttachedClustersClient::locationName() for help formatting this field.

attachedClusterId string

Required. A client provided ID of 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][0-9]-/. Cannot be longer than 63 characters.

When generating an install manifest for importing an existing Membership resource, the attached_cluster_id field must be the Membership id.

Membership names are formatted as projects/<project-id>/locations/<region>/memberships/<membership-id>.

Returns
TypeDescription
Google\Cloud\GkeMultiCloud\V1\GenerateAttachedClusterInstallManifestRequest