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
-
(::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::AvroFormat) — Optional. Avro format.
Note: The following fields are mutually exclusive:
avro
,protobuf
,json
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#avro=
def avro=(value) -> ::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::AvroFormat
-
value (::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::AvroFormat) — Optional. Avro format.
Note: The following fields are mutually exclusive:
avro
,protobuf
,json
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::AvroFormat) — Optional. Avro format.
Note: The following fields are mutually exclusive:
avro
,protobuf
,json
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#json
def json() -> ::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::JsonFormat
-
(::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::JsonFormat) — Optional. JSON format.
Note: The following fields are mutually exclusive:
json
,protobuf
,avro
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#json=
def json=(value) -> ::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::JsonFormat
-
value (::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::JsonFormat) — Optional. JSON format.
Note: The following fields are mutually exclusive:
json
,protobuf
,avro
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::JsonFormat) — Optional. JSON format.
Note: The following fields are mutually exclusive:
json
,protobuf
,avro
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#protobuf
def protobuf() -> ::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::ProtobufFormat
-
(::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::ProtobufFormat) — Optional. Protobuf format.
Note: The following fields are mutually exclusive:
protobuf
,avro
,json
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#protobuf=
def protobuf=(value) -> ::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::ProtobufFormat
-
value (::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::ProtobufFormat) — Optional. Protobuf format.
Note: The following fields are mutually exclusive:
protobuf
,avro
,json
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Eventarc::V1::Pipeline::MessagePayloadFormat::ProtobufFormat) — Optional. Protobuf format.
Note: The following fields are mutually exclusive:
protobuf
,avro
,json
. If a field in that set is populated, all other fields in the set will automatically be cleared.