Class: Google::Cloud::Tasks::V2beta3::OidcToken
- Inherits:
-
Object
- Object
- Google::Cloud::Tasks::V2beta3::OidcToken
- Defined in:
- lib/google/cloud/tasks/v2beta3/doc/google/cloud/tasks/v2beta3/target.rb
Overview
Contains information needed for generating an OpenID Connect token. This type of authorization should be used when sending requests to third party endpoints.
Instance Attribute Summary collapse
-
#audience ⇒ String
Audience to be used when generating OIDC token.
-
#service_account_email ⇒ String
Service account email to be used for generating OIDC token.
Instance Attribute Details
#audience ⇒ String
Returns Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used.
401 |
# File 'lib/google/cloud/tasks/v2beta3/doc/google/cloud/tasks/v2beta3/target.rb', line 401 class OidcToken; end |
#service_account_email ⇒ String
Returns Service account email to be used for generating OIDC token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account.
401 |
# File 'lib/google/cloud/tasks/v2beta3/doc/google/cloud/tasks/v2beta3/target.rb', line 401 class OidcToken; end |