class Google::Apis::ServicecontrolV1::AuthenticationInfo
Authentication information for the operation.
Attributes
The email address of the authenticated user (or service account on behalf of third party principal) making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](cloud.google.com/ logging/docs/audit#user-id). Corresponds to the JSON property `principalEmail` @return [String]
String representation of identity of requesting party. Populated for both first and third party identities. Corresponds to the JSON property `principalSubject` @return [String]
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` @return [Array<Google::Apis::ServicecontrolV1::ServiceAccountDelegationInfo>]
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` @return [String]
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` @return [Hash<String,Object>]
Public Class Methods
# File lib/google/apis/servicecontrol_v1/classes.rb, line 432 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/servicecontrol_v1/classes.rb, line 437 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