Class: Google::Cloud::Eventarc::Publishing::V1::PublishRequest

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

Overview

The request message for the Publish method.

Instance Attribute Summary collapse

Instance Attribute Details

#avro_message::String

Returns The Avro format of the CloudEvent being published. Specification can be found here: https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/avro-format.md.

Returns:



99
100
101
102
# File 'proto_docs/google/cloud/eventarc/publishing/v1/publisher.rb', line 99

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

#json_message::String

Returns The JSON format of the CloudEvent being published. Specification can be found here: https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md.

Returns:



99
100
101
102
# File 'proto_docs/google/cloud/eventarc/publishing/v1/publisher.rb', line 99

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

#message_bus::String

Returns Required. The full name of the message bus to publish events to. Format: projects/{project}/locations/{location}/messageBuses/{messageBus}.

Returns:

  • (::String)

    Required. The full name of the message bus to publish events to. Format: projects/{project}/locations/{location}/messageBuses/{messageBus}.



99
100
101
102
# File 'proto_docs/google/cloud/eventarc/publishing/v1/publisher.rb', line 99

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

#proto_message::Google::Cloud::Eventarc::Publishing::V1::CloudEvent

Returns The Protobuf format of the CloudEvent being published. Specification can be found here: https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/protobuf-format.md.

Returns:



99
100
101
102
# File 'proto_docs/google/cloud/eventarc/publishing/v1/publisher.rb', line 99

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