Class: Google::Cloud::Eventarc::Publishing::V1::PublishChannelConnectionEventsRequest

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 PublishChannelConnectionEvents method.

Instance Attribute Summary collapse

Instance Attribute Details

#channel_connection::String

Returns The channel_connection that the events are published from. For example: projects/{partner_project_id}/locations/{location}/channelConnections/{channel_connection_id}.

Returns:

  • (::String)

    The channel_connection that the events are published from. For example: projects/{partner_project_id}/locations/{location}/channelConnections/{channel_connection_id}.



41
42
43
44
# File 'proto_docs/google/cloud/eventarc/publishing/v1/publisher.rb', line 41

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

#events::Array<::Google::Protobuf::Any>

Returns The CloudEvents v1.0 events to publish. No other types are allowed. If this field is set, then the text_events fields must not be set.

Returns:

  • (::Array<::Google::Protobuf::Any>)

    The CloudEvents v1.0 events to publish. No other types are allowed. If this field is set, then the text_events fields must not be set.



41
42
43
44
# File 'proto_docs/google/cloud/eventarc/publishing/v1/publisher.rb', line 41

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

#text_events::Array<::String>

Returns The text representation of events to publish. CloudEvent v1.0 in JSON format is the only allowed type. Refer to https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md for specification. If this field is set, then the events fields must not be set.

Returns:



41
42
43
44
# File 'proto_docs/google/cloud/eventarc/publishing/v1/publisher.rb', line 41

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