Class: Google::Cloud::Scheduler::V1beta1::OidcToken
- Inherits:
-
Object
- Object
- Google::Cloud::Scheduler::V1beta1::OidcToken
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/scheduler/v1beta1/target.rb
Overview
Contains information needed for generating an OpenID Connect token. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.
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.
371 372 373 374 |
# File 'proto_docs/google/cloud/scheduler/v1beta1/target.rb', line 371 class OidcToken include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods 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 job. The caller must have iam.serviceAccounts.actAs permission for the service account.
371 372 373 374 |
# File 'proto_docs/google/cloud/scheduler/v1beta1/target.rb', line 371 class OidcToken include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |