Class: Google::Apis::ContainerV1::UpdateMasterRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::UpdateMasterRequest
- Defined in:
- generated/google/apis/container_v1/classes.rb,
generated/google/apis/container_v1/representations.rb,
generated/google/apis/container_v1/representations.rb
Overview
UpdateMasterRequest updates the master of the cluster.
Instance Attribute Summary collapse
-
#master_version ⇒ String
The Kubernetes version to change the master to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateMasterRequest
constructor
A new instance of UpdateMasterRequest.
-
#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) ⇒ UpdateMasterRequest
Returns a new instance of UpdateMasterRequest
1757 1758 1759 |
# File 'generated/google/apis/container_v1/classes.rb', line 1757 def initialize(**args) update!(**args) end |
Instance Attribute Details
#master_version ⇒ String
The Kubernetes version to change the master to. The only valid value is the
latest supported version. Use "-" to have the server automatically select
the latest version.
Corresponds to the JSON property masterVersion
1755 1756 1757 |
# File 'generated/google/apis/container_v1/classes.rb', line 1755 def master_version @master_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1762 1763 1764 |
# File 'generated/google/apis/container_v1/classes.rb', line 1762 def update!(**args) @master_version = args[:master_version] if args.key?(:master_version) end |