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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/pubsub/v1/pubsub.rb

Overview

Configuration for a push delivery endpoint.

Defined Under Namespace

Classes: AttributesEntry, OidcToken

Instance Attribute Summary collapse

Instance Attribute Details

#attributes::Google::Protobuf::Map{::String => ::String}



549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 549

class PushConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Contains information needed for generating an
  # [OpenID Connect
  # token](https://developers.google.com/identity/protocols/OpenIDConnect).
  # @!attribute [rw] service_account_email
  #   @return [::String]
  #     [Service account
  #     email](https://cloud.google.com/iam/docs/service-accounts)
  #     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.
  # @!attribute [rw] audience
  #   @return [::String]
  #     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.
  class OidcToken
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AttributesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#oidc_token::Google::Cloud::PubSub::V1::PushConfig::OidcToken



549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 549

class PushConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Contains information needed for generating an
  # [OpenID Connect
  # token](https://developers.google.com/identity/protocols/OpenIDConnect).
  # @!attribute [rw] service_account_email
  #   @return [::String]
  #     [Service account
  #     email](https://cloud.google.com/iam/docs/service-accounts)
  #     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.
  # @!attribute [rw] audience
  #   @return [::String]
  #     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.
  class OidcToken
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AttributesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#push_endpoint::String



549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 549

class PushConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Contains information needed for generating an
  # [OpenID Connect
  # token](https://developers.google.com/identity/protocols/OpenIDConnect).
  # @!attribute [rw] service_account_email
  #   @return [::String]
  #     [Service account
  #     email](https://cloud.google.com/iam/docs/service-accounts)
  #     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.
  # @!attribute [rw] audience
  #   @return [::String]
  #     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.
  class OidcToken
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AttributesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end