public sealed class PublishChannelConnectionEventsRequest : IMessage<PublishChannelConnectionEventsRequest>, IEquatable<PublishChannelConnectionEventsRequest>, IDeepCloneable<PublishChannelConnectionEventsRequest>, IBufferMessage, IMessageReference documentation and code samples for the Eventarc Publishing v1 API class PublishChannelConnectionEventsRequest.
The request message for the PublishChannelConnectionEvents method.
Implements
IMessagePublishChannelConnectionEventsRequest, IEquatablePublishChannelConnectionEventsRequest, IDeepCloneablePublishChannelConnectionEventsRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Eventarc.Publishing.V1Assembly
Google.Cloud.Eventarc.Publishing.V1.dll
Constructors
PublishChannelConnectionEventsRequest()
public PublishChannelConnectionEventsRequest()PublishChannelConnectionEventsRequest(PublishChannelConnectionEventsRequest)
public PublishChannelConnectionEventsRequest(PublishChannelConnectionEventsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
PublishChannelConnectionEventsRequest |
Properties
ChannelConnection
public string ChannelConnection { get; set; }The channel_connection that the events are published from. For example:
projects/{partner_project_id}/locations/{location}/channelConnections/{channel_connection_id}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Events
public RepeatedField<Any> Events { get; }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.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldAny |
|
TextEvents
public RepeatedField<string> TextEvents { get; }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.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|