Google Cloud Container V1 Client - Class ServerConfig (1.9.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

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.

Generated from protobuf field string default_cluster_version = 1;

Returns
TypeDescription
string

setDefaultClusterVersion

Version of Kubernetes the service deploys by default.

Generated from protobuf field string default_cluster_version = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValidNodeVersions

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

Generated from protobuf field repeated string valid_node_versions = 3;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setValidNodeVersions

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

Generated from protobuf field repeated string valid_node_versions = 3;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getDefaultImageType

Default image type.

Generated from protobuf field string default_image_type = 4;

Returns
TypeDescription
string

setDefaultImageType

Default image type.

Generated from protobuf field string default_image_type = 4;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValidImageTypes

List of valid image types.

Generated from protobuf field repeated string valid_image_types = 5;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setValidImageTypes

List of valid image types.

Generated from protobuf field repeated string valid_image_types = 5;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getValidMasterVersions

List of valid master versions, in descending order.

Generated from protobuf field repeated string valid_master_versions = 6;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setValidMasterVersions

List of valid master versions, in descending order.

Generated from protobuf field repeated string valid_master_versions = 6;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getChannels

List of release channel configurations.

Generated from protobuf field repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setChannels

List of release channel configurations.

Generated from protobuf field repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;

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