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.
3987 3988 3989 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3987 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
3980 3981 3982 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3980 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
3985 3986 3987 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3985 def third_party_oauth2_client_id @third_party_oauth2_client_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3992 3993 3994 3995 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3992 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 |