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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
string |
setDefaultClusterVersion
Version of Kubernetes the service deploys by default.
Generated from protobuf field string default_cluster_version = 1;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValidNodeVersions
List of valid node upgrade target versions, in descending order.
Generated from protobuf field repeated string valid_node_versions = 3;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getDefaultImageType
Default image type.
Generated from protobuf field string default_image_type = 4;
Returns | |
---|---|
Type | Description |
string |
setDefaultImageType
Default image type.
Generated from protobuf field string default_image_type = 4;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValidImageTypes
List of valid image types.
Generated from protobuf field repeated string valid_image_types = 5;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setValidImageTypes
List of valid image types.
Generated from protobuf field repeated string valid_image_types = 5;
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getValidMasterVersions
List of valid master versions, in descending order.
Generated from protobuf field repeated string valid_master_versions = 6;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setValidMasterVersions
List of valid master versions, in descending order.
Generated from protobuf field repeated string valid_master_versions = 6;
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getChannels
List of release channel configurations.
Generated from protobuf field repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setChannels
List of release channel configurations.
Generated from protobuf field repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Container\V1\ServerConfig\ReleaseChannelConfig>
|
Returns | |
---|---|
Type | Description |
$this |