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
Methods
__construct
Constructor.
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.
↳ aws_cluster
↳ 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 40 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.
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
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.
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
var
string
$this
getAwsCluster
Required. The specification of the AwsCluster to create.
Generated from protobuf field .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED];
hasAwsCluster
clearAwsCluster
setAwsCluster
Required. The specification of the AwsCluster to create.
Generated from protobuf field .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED];
$this
getAwsClusterId
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 40 characters.
Generated from protobuf field string aws_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];
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 40 characters.
Generated from protobuf field string aws_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];
var
string
$this
getValidateOnly
If set, only validate the request, but do not actually create the cluster.
Generated from protobuf field bool validate_only = 4;
bool
setValidateOnly
If set, only validate the request, but do not actually create the cluster.
Generated from protobuf field bool validate_only = 4;
var
bool
$this