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.
3983 3984 3985 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3983 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
3976 3977 3978 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3976 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
3981 3982 3983 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3981 def third_party_oauth2_client_id @third_party_oauth2_client_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3988 3989 3990 3991 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3988 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 |