Google Cloud Container V1 Client - Class ReleaseChannelConfig (1.16.0)

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

ReleaseChannelConfig exposes configuration for a release channel.

Generated from protobuf message google.container.v1.ServerConfig.ReleaseChannelConfig

Namespace

Google \ Cloud \ Container \ V1 \ ServerConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ channel int

The release channel this configuration applies to.

↳ default_version string

The default version for newly created clusters on the channel.

↳ valid_versions array

List of valid versions for the channel.

getChannel

The release channel this configuration applies to.

Returns
TypeDescription
int

setChannel

The release channel this configuration applies to.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDefaultVersion

The default version for newly created clusters on the channel.

Returns
TypeDescription
string

setDefaultVersion

The default version for newly created clusters on the channel.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValidVersions

List of valid versions for the channel.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setValidVersions

List of valid versions for the channel.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this