Google Cloud Container V1 Client - Class ServerConfig (1.18.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class ServerConfig.

Kubernetes Engine service configuration.

Generated from protobuf message google.container.v1.ServerConfig

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ default_cluster_version string

Version of Kubernetes the service deploys by default.

↳ valid_node_versions array

List of valid node upgrade target versions, in descending order.

↳ default_image_type string

Default image type.

↳ valid_image_types array

List of valid image types.

↳ valid_master_versions array

List of valid master versions, in descending order.

↳ channels array<Google\Cloud\Container\V1\ServerConfig\ReleaseChannelConfig>

List of release channel configurations.

getDefaultClusterVersion

Version of Kubernetes the service deploys by default.

Returns
TypeDescription
string

setDefaultClusterVersion

Version of Kubernetes the service deploys by default.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValidNodeVersions

List of valid node upgrade target versions, in descending order.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setValidNodeVersions

List of valid node upgrade target versions, in descending order.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getDefaultImageType

Default image type.

Returns
TypeDescription
string

setDefaultImageType

Default image type.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValidImageTypes

List of valid image types.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setValidImageTypes

List of valid image types.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getValidMasterVersions

List of valid master versions, in descending order.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setValidMasterVersions

List of valid master versions, in descending order.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getChannels

List of release channel configurations.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setChannels

List of release channel configurations.

Parameter
NameDescription
var array<Google\Cloud\Container\V1\ServerConfig\ReleaseChannelConfig>
Returns
TypeDescription
$this