Class: Google::Cloud::Eventarc::Publishing::V1::PublishEventsRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Eventarc::Publishing::V1::PublishEventsRequest
- 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 PublishEvents method.
Instance Attribute Summary collapse
-
#channel ⇒ ::String
The full name of the channel to publish to.
-
#events ⇒ ::Array<::Google::Protobuf::Any>
The CloudEvents v1.0 events to publish.
-
#text_events ⇒ ::Array<::String>
The text representation of events to publish.
Instance Attribute Details
#channel ⇒ ::String
Returns The full name of the channel to publish to. For example:
projects/{project}/locations/{location}/channels/{channel-id}
.
68 69 70 71 |
# File 'proto_docs/google/cloud/eventarc/publishing/v1/publisher.rb', line 68 class PublishEventsRequest 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.
68 69 70 71 |
# File 'proto_docs/google/cloud/eventarc/publishing/v1/publisher.rb', line 68 class PublishEventsRequest 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.
68 69 70 71 |
# File 'proto_docs/google/cloud/eventarc/publishing/v1/publisher.rb', line 68 class PublishEventsRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |