Google Cloud Container V1 Client - Class ServerConfig (2.2.1)

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
Name Description
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
Type Description
string

setDefaultClusterVersion

Version of Kubernetes the service deploys by default.

Parameter
Name Description
var string
Returns
Type Description
$this

getValidNodeVersions

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setValidNodeVersions

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

Parameter
Name Description
var string[]
Returns
Type Description
$this

getDefaultImageType

Default image type.

Returns
Type Description
string

setDefaultImageType

Default image type.

Parameter
Name Description
var string
Returns
Type Description
$this

getValidImageTypes

List of valid image types.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setValidImageTypes

List of valid image types.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getValidMasterVersions

List of valid master versions, in descending order.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setValidMasterVersions

List of valid master versions, in descending order.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getChannels

List of release channel configurations.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setChannels

List of release channel configurations.

Parameter
Name Description
var array<Google\Cloud\Container\V1\ServerConfig\ReleaseChannelConfig>
Returns
Type Description
$this