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 \ ServerConfigMethods
__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. |
↳ upgrade_target_version |
string
The auto upgrade target version for clusters on the channel. |
getChannel
The release channel this configuration applies to.
Returns | |
---|---|
Type | Description |
int |
setChannel
The release channel this configuration applies to.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getDefaultVersion
The default version for newly created clusters on the channel.
Returns | |
---|---|
Type | Description |
string |
setDefaultVersion
The default version for newly created clusters on the channel.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValidVersions
List of valid versions for the channel.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setValidVersions
List of valid versions for the channel.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getUpgradeTargetVersion
The auto upgrade target version for clusters on the channel.
Returns | |
---|---|
Type | Description |
string |
setUpgradeTargetVersion
The auto upgrade target version for clusters on the channel.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |