Google Anthos Multi Cloud V1 Client - Class AttachedServerConfig (0.3.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

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\AttachedPlatformVersionInfo>

List of valid platform versions.

getName

The resource name of the config.

Returns
TypeDescription
string

setName

The resource name of the config.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValidVersions

List of valid platform versions.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setValidVersions

List of valid platform versions.

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