Class: Google::Cloud::PubSub::V1::PushConfig::OidcToken
- Inherits:
-
Object
- Object
- Google::Cloud::PubSub::V1::PushConfig::OidcToken
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/pubsub/v1/pubsub.rb
Overview
Contains information needed for generating an OpenID Connect token.
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 the OIDC token.
Instance Attribute Details
#audience ⇒ ::String
Returns Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used.
588 589 590 591 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 588 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 the OIDC token. The caller (for CreateSubscription, UpdateSubscription, and ModifyPushConfig RPCs) must have the iam.serviceAccounts.actAs permission for the service account.
588 589 590 591 |
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 588 class OidcToken include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |