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
1745 1746 1747 |
# File 'generated/google/apis/container_v1/classes.rb', line 1745 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
1743 1744 1745 |
# File 'generated/google/apis/container_v1/classes.rb', line 1743 def master_version @master_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1750 1751 1752 |
# File 'generated/google/apis/container_v1/classes.rb', line 1750 def update!(**args) @master_version = args[:master_version] if args.key?(:master_version) end |