Class: Google::Apis::ServicecontrolV1::AuthenticationInfo
- Inherits:
-
Object
- Object
- Google::Apis::ServicecontrolV1::AuthenticationInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/servicecontrol_v1/classes.rb,
generated/google/apis/servicecontrol_v1/representations.rb,
generated/google/apis/servicecontrol_v1/representations.rb
Overview
Authentication information for the operation.
Instance Attribute Summary collapse
-
#authority_selector ⇒ String
The authority selector specified by the requestor, if any.
-
#principal_email ⇒ String
The email address of the authenticated user (or service account on behalf of third party principal) making the request.
-
#principal_subject ⇒ String
String representation of identity of requesting party.
-
#service_account_delegation_info ⇒ Array<Google::Apis::ServicecontrolV1::ServiceAccountDelegationInfo>
Identity delegation history of an authenticated service account that makes the request.
-
#service_account_key_name ⇒ String
The name of the service account key used to create or exchange credentials for authenticating the service account making the request.
-
#third_party_principal ⇒ Hash<String,Object>
The third party identification (if any) of the authenticated user making the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthenticationInfo
constructor
A new instance of AuthenticationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AuthenticationInfo
Returns a new instance of AuthenticationInfo.
455 456 457 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 455 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authority_selector ⇒ String
The authority selector specified by the requestor, if any.
It is not guaranteed that the principal was allowed to use this authority.
Corresponds to the JSON property authoritySelector
413 414 415 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 413 def @authority_selector end |
#principal_email ⇒ String
The email address of the authenticated user (or service account on behalf
of third party principal) making the request. For privacy reasons, the
principal email address is redacted for all read-only operations that fail
with a "permission denied" error.
Corresponds to the JSON property principalEmail
421 422 423 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 421 def principal_email @principal_email end |
#principal_subject ⇒ String
String representation of identity of requesting party.
Populated for both first and third party identities.
Corresponds to the JSON property principalSubject
427 428 429 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 427 def principal_subject @principal_subject end |
#service_account_delegation_info ⇒ Array<Google::Apis::ServicecontrolV1::ServiceAccountDelegationInfo>
Identity delegation history of an authenticated service account that makes
the request. It contains information on the real authorities that try to
access GCP resources by delegating on a service account. When multiple
authorities present, they are guaranteed to be sorted based on the original
ordering of the identity delegation events.
Corresponds to the JSON property serviceAccountDelegationInfo
436 437 438 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 436 def service_account_delegation_info @service_account_delegation_info end |
#service_account_key_name ⇒ String
The name of the service account key used to create or exchange
credentials for authenticating the service account making the request.
This is a scheme-less URI full resource name. For example:
"//iam.googleapis.com/projects/PROJECT_ID
/serviceAccounts/ACCOUNT
/keys/
key
"
Corresponds to the JSON property serviceAccountKeyName
445 446 447 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 445 def service_account_key_name @service_account_key_name end |
#third_party_principal ⇒ Hash<String,Object>
The third party identification (if any) of the authenticated user making
the request.
When the JSON object represented here has a proto equivalent, the proto
name will be indicated in the @type
property.
Corresponds to the JSON property thirdPartyPrincipal
453 454 455 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 453 def third_party_principal @third_party_principal end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
460 461 462 463 464 465 466 467 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 460 def update!(**args) @authority_selector = args[:authority_selector] if args.key?(:authority_selector) @principal_email = args[:principal_email] if args.key?(:principal_email) @principal_subject = args[:principal_subject] if args.key?(:principal_subject) @service_account_delegation_info = args[:service_account_delegation_info] if args.key?(:service_account_delegation_info) @service_account_key_name = args[:service_account_key_name] if args.key?(:service_account_key_name) @third_party_principal = args[:third_party_principal] if args.key?(:third_party_principal) end |