PublishEventsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The request message for the PublishEvents method.
Attributes |
|
---|---|
Name | Description |
channel |
str
The full name of the channel to publish to. For example: projects/{project}/locations/{location}/channels/{channel-id} .
|
events |
MutableSequence[google.protobuf.any_pb2.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.
|
text_events |
MutableSequence[str]
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.
|