Class: Google::Apis::ContainerV1::SetMasterAuthRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::SetMasterAuthRequest
- Defined in:
- generated/google/apis/container_v1/classes.rb,
generated/google/apis/container_v1/representations.rb,
generated/google/apis/container_v1/representations.rb
Overview
SetMasterAuthRequest updates the admin password of a cluster.
Instance Attribute Summary collapse
-
#action ⇒ String
The exact form of action to be taken on the master auth Corresponds to the JSON property
action
. -
#update ⇒ Google::Apis::ContainerV1::MasterAuth
The authentication information for accessing the master endpoint.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SetMasterAuthRequest
constructor
A new instance of SetMasterAuthRequest.
-
#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) ⇒ SetMasterAuthRequest
Returns a new instance of SetMasterAuthRequest
1597 1598 1599 |
# File 'generated/google/apis/container_v1/classes.rb', line 1597 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
The exact form of action to be taken on the master auth
Corresponds to the JSON property action
1588 1589 1590 |
# File 'generated/google/apis/container_v1/classes.rb', line 1588 def action @action end |
#update ⇒ Google::Apis::ContainerV1::MasterAuth
The authentication information for accessing the master endpoint.
Authentication can be done using HTTP basic auth or using client
certificates.
Corresponds to the JSON property update
1595 1596 1597 |
# File 'generated/google/apis/container_v1/classes.rb', line 1595 def update @update end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1602 1603 1604 1605 |
# File 'generated/google/apis/container_v1/classes.rb', line 1602 def update!(**args) @action = args[:action] if args.key?(:action) @update = args[:update] if args.key?(:update) end |