Google Anthos Multi Cloud V1 Client - Class AttachedServerConfig (1.1.0)

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

AttachedServerConfig provides information about supported Kubernetes versions

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

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

The resource name of the config.

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

List of valid platform versions.

getName

The resource name of the config.

Returns
Type Description
string

setName

The resource name of the config.

Parameter
Name Description
var string
Returns
Type Description
$this

getValidVersions

List of valid platform versions.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setValidVersions

List of valid platform versions.

Parameter
Name Description
var array<Google\Cloud\GkeMultiCloud\V1\AttachedPlatformVersionInfo>
Returns
Type Description
$this