Class: Google::Container::V1::SetMasterAuthRequest
- Inherits:
-
Object
- Object
- Google::Container::V1::SetMasterAuthRequest
- Defined in:
- lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb
Overview
SetMasterAuthRequest updates the admin password of a cluster.
Defined Under Namespace
Modules: Action
Instance Attribute Summary collapse
-
#action ⇒ Google::Container::V1::SetMasterAuthRequest::Action
The exact form of action to be taken on the master auth.
-
#cluster_id ⇒ String
The name of the cluster to upgrade.
-
#project_id ⇒ String
The Google Developers Console project ID or project number.
-
#update ⇒ Google::Container::V1::MasterAuth
A description of the update.
-
#zone ⇒ String
The name of the Google Compute Engine zone in which the cluster resides.
Instance Attribute Details
#action ⇒ Google::Container::V1::SetMasterAuthRequest::Action
Returns The exact form of action to be taken on the master auth.
954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 954 class SetMasterAuthRequest # Operation type: what type update to perform. module Action # Operation is unknown and will error out. UNKNOWN = 0 # Set the password to a user generated value. SET_PASSWORD = 1 # Generate a new password and set it to that. GENERATE_PASSWORD = 2 # Set the username. If an empty username is provided, basic authentication # is disabled for the cluster. If a non-empty username is provided, basic # authentication is enabled, with either a provided password or a generated # one. SET_USERNAME = 3 end end |
#cluster_id ⇒ String
Returns The name of the cluster to upgrade.
954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 954 class SetMasterAuthRequest # Operation type: what type update to perform. module Action # Operation is unknown and will error out. UNKNOWN = 0 # Set the password to a user generated value. SET_PASSWORD = 1 # Generate a new password and set it to that. GENERATE_PASSWORD = 2 # Set the username. If an empty username is provided, basic authentication # is disabled for the cluster. If a non-empty username is provided, basic # authentication is enabled, with either a provided password or a generated # one. SET_USERNAME = 3 end end |
#project_id ⇒ String
Returns The Google Developers Console project ID or project number.
954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 954 class SetMasterAuthRequest # Operation type: what type update to perform. module Action # Operation is unknown and will error out. UNKNOWN = 0 # Set the password to a user generated value. SET_PASSWORD = 1 # Generate a new password and set it to that. GENERATE_PASSWORD = 2 # Set the username. If an empty username is provided, basic authentication # is disabled for the cluster. If a non-empty username is provided, basic # authentication is enabled, with either a provided password or a generated # one. SET_USERNAME = 3 end end |
#update ⇒ Google::Container::V1::MasterAuth
Returns A description of the update.
954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 954 class SetMasterAuthRequest # Operation type: what type update to perform. module Action # Operation is unknown and will error out. UNKNOWN = 0 # Set the password to a user generated value. SET_PASSWORD = 1 # Generate a new password and set it to that. GENERATE_PASSWORD = 2 # Set the username. If an empty username is provided, basic authentication # is disabled for the cluster. If a non-empty username is provided, basic # authentication is enabled, with either a provided password or a generated # one. SET_USERNAME = 3 end end |
#zone ⇒ String
Returns The name of the Google Compute Engine zone in which the cluster resides.
954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 |
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 954 class SetMasterAuthRequest # Operation type: what type update to perform. module Action # Operation is unknown and will error out. UNKNOWN = 0 # Set the password to a user generated value. SET_PASSWORD = 1 # Generate a new password and set it to that. GENERATE_PASSWORD = 2 # Set the username. If an empty username is provided, basic authentication # is disabled for the cluster. If a non-empty username is provided, basic # authentication is enabled, with either a provided password or a generated # one. SET_USERNAME = 3 end end |