Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class CreateAwsClusterRequest.
Request message for AwsClusters.CreateAwsCluster method.
Generated from protobuf message google.cloud.gkemulticloud.v1.CreateAwsClusterRequest
Namespace
Google \ Cloud \ GkeMultiCloud \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent location where this AwsCluster 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.
Required. The specification of the AwsCluster to create.
↳ aws_cluster_id
string
Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the AwsCluster resource name formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>. Valid characters are /[a-z][0-9]-/. Cannot be longer than 63 characters.
↳ validate_only
bool
If set, only validate the request, but do not actually create the cluster.
getParent
Required. The parent location where this
AwsCluster 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
Type
Description
string
setParent
Required. The parent location where this
AwsCluster 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
Name
Description
var
string
Returns
Type
Description
$this
getAwsCluster
Required. The specification of the
AwsCluster to create.
Required. A client provided ID the resource. Must be unique within the
parent resource.
The provided ID will be part of the
AwsCluster resource name
formatted as
projects/<project-id>/locations/<region>/awsClusters/<cluster-id>.
Valid characters are /[a-z][0-9]-/. Cannot be longer than 63 characters.
Returns
Type
Description
string
setAwsClusterId
Required. A client provided ID the resource. Must be unique within the
parent resource.
The provided ID will be part of the
AwsCluster resource name
formatted as
projects/<project-id>/locations/<region>/awsClusters/<cluster-id>.
Valid characters are /[a-z][0-9]-/. Cannot be longer than 63 characters.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getValidateOnly
If set, only validate the request, but do not actually create the cluster.
Returns
Type
Description
bool
setValidateOnly
If set, only validate the request, but do not actually create the cluster.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
static::build
Parameters
Name
Description
parent
string
Required. The parent location where this
AwsCluster 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
AwsClustersClient::locationName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Anthos Multi Cloud V1 Client - Class CreateAwsClusterRequest (1.2.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.2 (latest)](/php/docs/reference/cloud-gke-multi-cloud/latest/V1.CreateAwsClusterRequest)\n- [1.2.1](/php/docs/reference/cloud-gke-multi-cloud/1.2.1/V1.CreateAwsClusterRequest)\n- [1.1.2](/php/docs/reference/cloud-gke-multi-cloud/1.1.2/V1.CreateAwsClusterRequest)\n- [1.0.0](/php/docs/reference/cloud-gke-multi-cloud/1.0.0/V1.CreateAwsClusterRequest)\n- [0.6.1](/php/docs/reference/cloud-gke-multi-cloud/0.6.1/V1.CreateAwsClusterRequest)\n- [0.5.4](/php/docs/reference/cloud-gke-multi-cloud/0.5.4/V1.CreateAwsClusterRequest)\n- [0.4.4](/php/docs/reference/cloud-gke-multi-cloud/0.4.4/V1.CreateAwsClusterRequest)\n- [0.3.0](/php/docs/reference/cloud-gke-multi-cloud/0.3.0/V1.CreateAwsClusterRequest)\n- [0.2.3](/php/docs/reference/cloud-gke-multi-cloud/0.2.3/V1.CreateAwsClusterRequest)\n- [0.1.4](/php/docs/reference/cloud-gke-multi-cloud/0.1.4/V1.CreateAwsClusterRequest) \nReference documentation and code samples for the Google Anthos Multi Cloud V1 Client class CreateAwsClusterRequest.\n\nRequest message for `AwsClusters.CreateAwsCluster` method.\n\nGenerated from protobuf message `google.cloud.gkemulticloud.v1.CreateAwsClusterRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GkeMultiCloud \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The parent location where this\n[AwsCluster](/php/docs/reference/cloud-gke-multi-cloud/latest/V1.AwsCluster) resource will be\ncreated.\n\nLocation names are formatted as `projects/\u003cproject-id\u003e/locations/\u003cregion\u003e`.\nSee [Resource Names](https://cloud.google.com/apis/design/resource_names)\nfor more details on Google Cloud resource names.\n\n### setParent\n\nRequired. The parent location where this\n[AwsCluster](/php/docs/reference/cloud-gke-multi-cloud/latest/V1.AwsCluster) resource will be\ncreated.\n\nLocation names are formatted as `projects/\u003cproject-id\u003e/locations/\u003cregion\u003e`.\nSee [Resource Names](https://cloud.google.com/apis/design/resource_names)\nfor more details on Google Cloud resource names.\n\n### getAwsCluster\n\nRequired. The specification of the\n[AwsCluster](/php/docs/reference/cloud-gke-multi-cloud/latest/V1.AwsCluster) to create.\n\n### hasAwsCluster\n\n### clearAwsCluster\n\n### setAwsCluster\n\nRequired. The specification of the\n[AwsCluster](/php/docs/reference/cloud-gke-multi-cloud/latest/V1.AwsCluster) to create.\n\n### getAwsClusterId\n\nRequired. A client provided ID the resource. Must be unique within the\nparent resource.\n\nThe provided ID will be part of the\n[AwsCluster](/php/docs/reference/cloud-gke-multi-cloud/latest/V1.AwsCluster) resource name\nformatted as\n`projects/\u003cproject-id\u003e/locations/\u003cregion\u003e/awsClusters/\u003ccluster-id\u003e`.\nValid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.\n\n### setAwsClusterId\n\nRequired. A client provided ID the resource. Must be unique within the\nparent resource.\n\nThe provided ID will be part of the\n[AwsCluster](/php/docs/reference/cloud-gke-multi-cloud/latest/V1.AwsCluster) resource name\nformatted as\n`projects/\u003cproject-id\u003e/locations/\u003cregion\u003e/awsClusters/\u003ccluster-id\u003e`.\nValid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.\n\n### getValidateOnly\n\nIf set, only validate the request, but do not actually create the cluster.\n\n### setValidateOnly\n\nIf set, only validate the request, but do not actually create the cluster.\n\n### static::build"]]