Class: Google::Cloud::PubSub::V1::PushConfig::OidcToken

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#audience::String

Returns Optional. 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.

Returns:

  • (::String)

    Optional. 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.



962
963
964
965
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 962

class OidcToken
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#service_account_email::String

Returns Optional. Service account email used for generating the OIDC token. For more information on setting up authentication, see Push subscriptions.

Returns:



962
963
964
965
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 962

class OidcToken
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end