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_family ⇒ String
Default image family.
-
#valid_image_families ⇒ Array<String>
List of valid image families.
-
#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.
712 713 714 |
# File 'generated/google/apis/container_v1/classes.rb', line 712 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
695 696 697 |
# File 'generated/google/apis/container_v1/classes.rb', line 695 def default_cluster_version @default_cluster_version end |
#default_image_family ⇒ String
Default image family.
Corresponds to the JSON property defaultImageFamily
705 706 707 |
# File 'generated/google/apis/container_v1/classes.rb', line 705 def default_image_family @default_image_family end |
#valid_image_families ⇒ Array<String>
List of valid image families.
Corresponds to the JSON property validImageFamilies
710 711 712 |
# File 'generated/google/apis/container_v1/classes.rb', line 710 def valid_image_families @valid_image_families end |
#valid_node_versions ⇒ Array<String>
List of valid node upgrade target versions.
Corresponds to the JSON property validNodeVersions
700 701 702 |
# File 'generated/google/apis/container_v1/classes.rb', line 700 def valid_node_versions @valid_node_versions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
717 718 719 720 721 722 |
# File 'generated/google/apis/container_v1/classes.rb', line 717 def update!(**args) @default_cluster_version = args[:default_cluster_version] if args.key?(:default_cluster_version) @valid_node_versions = args[:valid_node_versions] if args.key?(:valid_node_versions) @default_image_family = args[:default_image_family] if args.key?(:default_image_family) @valid_image_families = args[:valid_image_families] if args.key?(:valid_image_families) end |