Reference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat.
Represents the format of message data.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#avro
def avro() -> ::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::AvroFormat
Returns
- (::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::AvroFormat) — Optional. Avro format.
#avro=
def avro=(value) -> ::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::AvroFormat
Parameter
- value (::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::AvroFormat) — Optional. Avro format.
Returns
- (::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::AvroFormat) — Optional. Avro format.
#json
def json() -> ::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::JsonFormat
Returns
- (::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::JsonFormat) — Optional. JSON format.
#json=
def json=(value) -> ::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::JsonFormat
Parameter
- value (::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::JsonFormat) — Optional. JSON format.
Returns
- (::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::JsonFormat) — Optional. JSON format.
#protobuf
def protobuf() -> ::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::ProtobufFormat
Returns
- (::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::ProtobufFormat) — Optional. Protobuf format.
#protobuf=
def protobuf=(value) -> ::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::ProtobufFormat
Parameter
- value (::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::ProtobufFormat) — Optional. Protobuf format.
Returns
- (::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::ProtobufFormat) — Optional. Protobuf format.