Class: Google::Apis::GkehubV1beta::IdentityServiceAzureAdConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta::IdentityServiceAzureAdConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/representations.rb
Overview
Configuration for the AzureAD Auth flow.
Instance Attribute Summary collapse
-
#client_id ⇒ String
ID for the registered client application that makes authentication requests to the Azure AD identity provider.
-
#client_secret ⇒ String
Input only.
-
#encrypted_client_secret ⇒ String
Output only.
-
#kubectl_redirect_uri ⇒ String
The redirect URL that kubectl uses for authorization.
-
#tenant ⇒ String
Kind of Azure AD account to be authenticated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IdentityServiceAzureAdConfig
constructor
A new instance of IdentityServiceAzureAdConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IdentityServiceAzureAdConfig
Returns a new instance of IdentityServiceAzureAdConfig.
2327 2328 2329 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2327 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_id ⇒ String
ID for the registered client application that makes authentication requests to
the Azure AD identity provider.
Corresponds to the JSON property clientId
2302 2303 2304 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2302 def client_id @client_id end |
#client_secret ⇒ String
Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub
CLH.
Corresponds to the JSON property clientSecret
2308 2309 2310 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2308 def client_secret @client_secret end |
#encrypted_client_secret ⇒ String
Output only. Encrypted AzureAD client secret.
Corresponds to the JSON property encryptedClientSecret
NOTE: Values are automatically base64 encoded/decoded in the client library.
2314 2315 2316 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2314 def encrypted_client_secret @encrypted_client_secret end |
#kubectl_redirect_uri ⇒ String
The redirect URL that kubectl uses for authorization.
Corresponds to the JSON property kubectlRedirectUri
2319 2320 2321 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2319 def kubectl_redirect_uri @kubectl_redirect_uri end |
#tenant ⇒ String
Kind of Azure AD account to be authenticated. Supported values are or for
accounts belonging to a specific tenant.
Corresponds to the JSON property tenant
2325 2326 2327 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2325 def tenant @tenant end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2332 2333 2334 2335 2336 2337 2338 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2332 def update!(**args) @client_id = args[:client_id] if args.key?(:client_id) @client_secret = args[:client_secret] if args.key?(:client_secret) @encrypted_client_secret = args[:encrypted_client_secret] if args.key?(:encrypted_client_secret) @kubectl_redirect_uri = args[:kubectl_redirect_uri] if args.key?(:kubectl_redirect_uri) @tenant = args[:tenant] if args.key?(:tenant) end |