Eventarc Publishing V1 API - Class Google::Cloud::Eventarc::Publishing::V1::PublishRequest (v1.2.0)

Reference documentation and code samples for the Eventarc Publishing V1 API class Google::Cloud::Eventarc::Publishing::V1::PublishRequest.

The request message for the Publish method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#avro_message

def avro_message() -> ::String
Returns
  • (::String) — The Avro format of the CloudEvent being published. Specification can be found here: https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/avro-format.md

#avro_message=

def avro_message=(value) -> ::String
Parameter
  • value (::String) — The Avro format of the CloudEvent being published. Specification can be found here: https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/avro-format.md
Returns
  • (::String) — The Avro format of the CloudEvent being published. Specification can be found here: https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/avro-format.md

#json_message

def json_message() -> ::String
Returns
  • (::String) — The JSON format of the CloudEvent being published. Specification can be found here: https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md

#json_message=

def json_message=(value) -> ::String
Parameter
  • value (::String) — The JSON format of the CloudEvent being published. Specification can be found here: https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md
Returns
  • (::String) — The JSON format of the CloudEvent being published. Specification can be found here: https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/formats/json-format.md

#message_bus

def message_bus() -> ::String
Returns
  • (::String) — Required. The full name of the message bus to publish events to. Format: projects/{project}/locations/{location}/messageBuses/{messageBus}.

#message_bus=

def message_bus=(value) -> ::String
Parameter
  • value (::String) — Required. The full name of the message bus to publish events to. Format: projects/{project}/locations/{location}/messageBuses/{messageBus}.
Returns
  • (::String) — Required. The full name of the message bus to publish events to. Format: projects/{project}/locations/{location}/messageBuses/{messageBus}.

#proto_message

def proto_message() -> ::Google::Cloud::Eventarc::Publishing::V1::CloudEvent
Returns

#proto_message=

def proto_message=(value) -> ::Google::Cloud::Eventarc::Publishing::V1::CloudEvent
Parameter
Returns