Reference documentation and code samples for the Eventarc Publishing V1 API class Google::Cloud::Eventarc::Publishing::V1::PublishEventsRequest.
The request message for the PublishEvents method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#channel
def channel() -> ::String
Returns
-
(::String) — The full name of the channel to publish to. For example:
projects/{project}/locations/{location}/channels/{channel-id}
.
#channel=
def channel=(value) -> ::String
Parameter
-
value (::String) — The full name of the channel to publish to. For example:
projects/{project}/locations/{location}/channels/{channel-id}
.
Returns
-
(::String) — The full name of the channel to publish to. For example:
projects/{project}/locations/{location}/channels/{channel-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.
#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.
Returns
- (::Array<::Google::Protobuf::Any>) — The CloudEvents v1.0 events to publish. No other types are allowed.