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
1885 1886 1887 |
# File 'generated/google/apis/container_v1/classes.rb', line 1885 def initialize(**args) update!(**args) end |
Instance Attribute Details
#master_version ⇒ String
The Kubernetes version to change the master to. Use "-" to have the server
automatically select the default version.
Corresponds to the JSON property masterVersion
1883 1884 1885 |
# File 'generated/google/apis/container_v1/classes.rb', line 1883 def master_version @master_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1890 1891 1892 |
# File 'generated/google/apis/container_v1/classes.rb', line 1890 def update!(**args) @master_version = args[:master_version] if args.key?(:master_version) end |