Google Anthos Multi Cloud V1 Client - Class AwsServerConfig (0.1.4)

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

AwsServerConfig is the configuration of GKE cluster on AWS.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

The resource name of the config.

↳ valid_versions array<Google\Cloud\GkeMultiCloud\V1\AwsK8sVersionInfo>

List of valid Kubernetes versions.

↳ supported_aws_regions array

The list of supported AWS regions.

getName

The resource name of the config.

Generated from protobuf field string name = 1;

Returns
TypeDescription
string

setName

The resource name of the config.

Generated from protobuf field string name = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValidVersions

List of valid Kubernetes versions.

Generated from protobuf field repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setValidVersions

List of valid Kubernetes versions.

Generated from protobuf field repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;

Parameter
NameDescription
var array<Google\Cloud\GkeMultiCloud\V1\AwsK8sVersionInfo>
Returns
TypeDescription
$this

getSupportedAwsRegions

The list of supported AWS regions.

Generated from protobuf field repeated string supported_aws_regions = 3;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSupportedAwsRegions

The list of supported AWS regions.

Generated from protobuf field repeated string supported_aws_regions = 3;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this