Reference documentation and code samples for the Eventarc Publishing V1 API class Google::Cloud::Eventarc::Publishing::V1::PublishChannelConnectionEventsRequest.
The request message for the PublishChannelConnectionEvents method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#channel_connection
def channel_connection() -> ::String Returns
- (::String) — The channel_connection that the events are published from. For example:
projects/{partner_project_id}/locations/{location}/channelConnections/{channel_connection_id}.
#channel_connection=
def channel_connection=(value) -> ::String Parameter
- value (::String) — 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}.
#events
def events() -> ::Array<::Google::Protobuf::Any> 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_eventsfields must not be set.
#events=
def events=(value) -> ::Array<::Google::Protobuf::Any> Parameter
- value (::Array<::Google::Protobuf::Any>) — The CloudEvents v1.0 events to publish. No other types are allowed. If this field is set, then the
text_eventsfields 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_eventsfields must not be set.
#text_events
def text_events() -> ::Array<::String> Returns
- (::Array<::String>) — 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
eventsfields must not be set.
#text_events=
def text_events=(value) -> ::Array<::String> Parameter
- value (::Array<::String>) — 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
eventsfields must not be set.
Returns
- (::Array<::String>) — 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
eventsfields must not be set.