Class: Google::Apis::ContainerV1::ServerConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::ServerConfig
- Defined in:
- generated/google/apis/container_v1/classes.rb,
generated/google/apis/container_v1/representations.rb,
generated/google/apis/container_v1/representations.rb
Overview
Container Engine service configuration.
Instance Attribute Summary collapse
-
#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.
-
#valid_node_versions ⇒ Array<String>
List of valid node upgrade target versions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServerConfig
constructor
A new instance of ServerConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ServerConfig
Returns a new instance of ServerConfig
403 404 405 |
# File 'generated/google/apis/container_v1/classes.rb', line 403 def initialize(**args) update!(**args) end |
Instance Attribute Details
#default_cluster_version ⇒ String
Version of Kubernetes the service deploys by default.
Corresponds to the JSON property defaultClusterVersion
386 387 388 |
# File 'generated/google/apis/container_v1/classes.rb', line 386 def default_cluster_version @default_cluster_version end |
#default_image_type ⇒ String
Default image type.
Corresponds to the JSON property defaultImageType
391 392 393 |
# File 'generated/google/apis/container_v1/classes.rb', line 391 def default_image_type @default_image_type end |
#valid_image_types ⇒ Array<String>
List of valid image types.
Corresponds to the JSON property validImageTypes
401 402 403 |
# File 'generated/google/apis/container_v1/classes.rb', line 401 def valid_image_types @valid_image_types end |
#valid_master_versions ⇒ Array<String>
List of valid master versions.
Corresponds to the JSON property validMasterVersions
381 382 383 |
# File 'generated/google/apis/container_v1/classes.rb', line 381 def valid_master_versions @valid_master_versions end |
#valid_node_versions ⇒ Array<String>
List of valid node upgrade target versions.
Corresponds to the JSON property validNodeVersions
396 397 398 |
# File 'generated/google/apis/container_v1/classes.rb', line 396 def valid_node_versions @valid_node_versions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
408 409 410 411 412 413 414 |
# File 'generated/google/apis/container_v1/classes.rb', line 408 def update!(**args) @valid_master_versions = args[:valid_master_versions] if args.key?(:valid_master_versions) @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_node_versions = args[:valid_node_versions] if args.key?(:valid_node_versions) @valid_image_types = args[:valid_image_types] if args.key?(:valid_image_types) end |