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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
int |
setChannel
The release channel this configuration applies to.
Generated from protobuf field .google.container.v1.ReleaseChannel.Channel channel = 1;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getDefaultVersion
The default version for newly created clusters on the channel.
Generated from protobuf field string default_version = 2;
Returns | |
---|---|
Type | Description |
string |
setDefaultVersion
The default version for newly created clusters on the channel.
Generated from protobuf field string default_version = 2;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValidVersions
List of valid versions for the channel.
Generated from protobuf field repeated string valid_versions = 4;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setValidVersions
List of valid versions for the channel.
Generated from protobuf field repeated string valid_versions = 4;
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |