Class: Google::Apis::BackupdrV1::WorkforceIdentityBasedOAuth2ClientId
- Inherits:
-
Object
- Object
- Google::Apis::BackupdrV1::WorkforceIdentityBasedOAuth2ClientId
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/backupdr_v1/classes.rb,
lib/google/apis/backupdr_v1/representations.rb,
lib/google/apis/backupdr_v1/representations.rb
Overview
OAuth Client ID depending on the Workforce Identity i.e. either 1p or 3p,
Instance Attribute Summary collapse
-
#first_party_oauth2_client_id ⇒ String
Output only.
-
#third_party_oauth2_client_id ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WorkforceIdentityBasedOAuth2ClientId
constructor
A new instance of WorkforceIdentityBasedOAuth2ClientId.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WorkforceIdentityBasedOAuth2ClientId
Returns a new instance of WorkforceIdentityBasedOAuth2ClientId.
5985 5986 5987 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 5985 def initialize(**args) update!(**args) end |
Instance Attribute Details
#first_party_oauth2_client_id ⇒ String
Output only. First party OAuth Client ID for Google Identities.
Corresponds to the JSON property firstPartyOauth2ClientId
5978 5979 5980 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 5978 def first_party_oauth2_client_id @first_party_oauth2_client_id end |
#third_party_oauth2_client_id ⇒ String
Output only. Third party OAuth Client ID for External Identity Providers.
Corresponds to the JSON property thirdPartyOauth2ClientId
5983 5984 5985 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 5983 def third_party_oauth2_client_id @third_party_oauth2_client_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5990 5991 5992 5993 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 5990 def update!(**args) @first_party_oauth2_client_id = args[:first_party_oauth2_client_id] if args.key?(:first_party_oauth2_client_id) @third_party_oauth2_client_id = args[:third_party_oauth2_client_id] if args.key?(:third_party_oauth2_client_id) end |