Google Cloud Container V1 Client - Class ReleaseChannelConfig (1.9.1)

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

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.

Generated from protobuf field .google.container.v1.ReleaseChannel.Channel channel = 1;

Returns
TypeDescription
int

setChannel

The release channel this configuration applies to.

Generated from protobuf field .google.container.v1.ReleaseChannel.Channel channel = 1;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDefaultVersion

The default version for newly created clusters on the channel.

Generated from protobuf field string default_version = 2;

Returns
TypeDescription
string

setDefaultVersion

The default version for newly created clusters on the channel.

Generated from protobuf field string default_version = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValidVersions

List of valid versions for the channel.

Generated from protobuf field repeated string valid_versions = 4;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setValidVersions

List of valid versions for the channel.

Generated from protobuf field repeated string valid_versions = 4;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this