Class: Google::Apis::ContainerV1::ServerConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::ServerConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb
Overview
Kubernetes Engine service configuration.
Instance Attribute Summary collapse
-
#channels ⇒ Array<Google::Apis::ContainerV1::ReleaseChannelConfig>
List of release channel configurations.
-
#default_cluster_version ⇒ String
Version of Kubernetes the service deploys by default.
-
#default_image_type ⇒ String
Default image type.
-
#valid_image_types ⇒ Array<String>
List of valid image types.
-
#valid_master_versions ⇒ Array<String>
List of valid master versions, in descending order.
-
#valid_node_versions ⇒ Array<String>
List of valid node upgrade target versions, in descending order.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServerConfig
constructor
A new instance of ServerConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ServerConfig
Returns a new instance of ServerConfig.
6219 6220 6221 |
# File 'lib/google/apis/container_v1/classes.rb', line 6219 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channels ⇒ Array<Google::Apis::ContainerV1::ReleaseChannelConfig>
List of release channel configurations.
Corresponds to the JSON property channels
6192 6193 6194 |
# File 'lib/google/apis/container_v1/classes.rb', line 6192 def channels @channels end |
#default_cluster_version ⇒ String
Version of Kubernetes the service deploys by default.
Corresponds to the JSON property defaultClusterVersion
6197 6198 6199 |
# File 'lib/google/apis/container_v1/classes.rb', line 6197 def default_cluster_version @default_cluster_version end |
#default_image_type ⇒ String
Default image type.
Corresponds to the JSON property defaultImageType
6202 6203 6204 |
# File 'lib/google/apis/container_v1/classes.rb', line 6202 def default_image_type @default_image_type end |
#valid_image_types ⇒ Array<String>
List of valid image types.
Corresponds to the JSON property validImageTypes
6207 6208 6209 |
# File 'lib/google/apis/container_v1/classes.rb', line 6207 def valid_image_types @valid_image_types end |
#valid_master_versions ⇒ Array<String>
List of valid master versions, in descending order.
Corresponds to the JSON property validMasterVersions
6212 6213 6214 |
# File 'lib/google/apis/container_v1/classes.rb', line 6212 def valid_master_versions @valid_master_versions end |
#valid_node_versions ⇒ Array<String>
List of valid node upgrade target versions, in descending order.
Corresponds to the JSON property validNodeVersions
6217 6218 6219 |
# File 'lib/google/apis/container_v1/classes.rb', line 6217 def valid_node_versions @valid_node_versions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6224 6225 6226 6227 6228 6229 6230 6231 |
# File 'lib/google/apis/container_v1/classes.rb', line 6224 def update!(**args) @channels = args[:channels] if args.key?(:channels) @default_cluster_version = args[:default_cluster_version] if args.key?(:default_cluster_version) @default_image_type = args[:default_image_type] if args.key?(:default_image_type) @valid_image_types = args[:valid_image_types] if args.key?(:valid_image_types) @valid_master_versions = args[:valid_master_versions] if args.key?(:valid_master_versions) @valid_node_versions = args[:valid_node_versions] if args.key?(:valid_node_versions) end |