Class: Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderOidc

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/iam_v1/classes.rb,
lib/google/apis/iam_v1/representations.rb,
lib/google/apis/iam_v1/representations.rb

Overview

Represents an OpenId Connect 1.0 identity provider.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleIamAdminV1WorkforcePoolProviderOidc

Returns a new instance of GoogleIamAdminV1WorkforcePoolProviderOidc.



589
590
591
# File 'lib/google/apis/iam_v1/classes.rb', line 589

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#client_idString

Required. The client ID. Must match the audience claim of the JWT issued by the identity provider. Corresponds to the JSON property clientId

Returns:

  • (String)


572
573
574
# File 'lib/google/apis/iam_v1/classes.rb', line 572

def client_id
  @client_id
end

#client_secretGoogle::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderOidcClientSecret

Representation of a client secret configured for the OIDC provider. Corresponds to the JSON property clientSecret



577
578
579
# File 'lib/google/apis/iam_v1/classes.rb', line 577

def client_secret
  @client_secret
end

#issuer_uriString

Required. The OIDC issuer URI. Must be a valid URI using the 'https' scheme. Corresponds to the JSON property issuerUri

Returns:

  • (String)


582
583
584
# File 'lib/google/apis/iam_v1/classes.rb', line 582

def issuer_uri
  @issuer_uri
end

#web_sso_configGoogle::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig

Configuration for web single sign-on for the OIDC provider. Corresponds to the JSON property webSsoConfig



587
588
589
# File 'lib/google/apis/iam_v1/classes.rb', line 587

def web_sso_config
  @web_sso_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



594
595
596
597
598
599
# File 'lib/google/apis/iam_v1/classes.rb', line 594

def update!(**args)
  @client_id = args[:client_id] if args.key?(:client_id)
  @client_secret = args[:client_secret] if args.key?(:client_secret)
  @issuer_uri = args[:issuer_uri] if args.key?(:issuer_uri)
  @web_sso_config = args[:web_sso_config] if args.key?(:web_sso_config)
end