Class: Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineMessagePayloadFormat
- Inherits:
-
Object
- Object
- Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineMessagePayloadFormat
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/eventarc_v1/classes.rb,
lib/google/apis/eventarc_v1/representations.rb,
lib/google/apis/eventarc_v1/representations.rb
Overview
Represents the format of message data.
Instance Attribute Summary collapse
-
#avro ⇒ Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineMessagePayloadFormatAvroFormat
The format of an AVRO message payload.
-
#json ⇒ Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineMessagePayloadFormatJsonFormat
The format of a JSON message payload.
-
#protobuf ⇒ Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineMessagePayloadFormatProtobufFormat
The format of a Protobuf message payload.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudEventarcV1PipelineMessagePayloadFormat
constructor
A new instance of GoogleCloudEventarcV1PipelineMessagePayloadFormat.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudEventarcV1PipelineMessagePayloadFormat
Returns a new instance of GoogleCloudEventarcV1PipelineMessagePayloadFormat.
1219 1220 1221 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1219 def initialize(**args) update!(**args) end |
Instance Attribute Details
#avro ⇒ Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineMessagePayloadFormatAvroFormat
The format of an AVRO message payload.
Corresponds to the JSON property avro
1207 1208 1209 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1207 def avro @avro end |
#json ⇒ Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineMessagePayloadFormatJsonFormat
The format of a JSON message payload.
Corresponds to the JSON property json
1212 1213 1214 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1212 def json @json end |
#protobuf ⇒ Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineMessagePayloadFormatProtobufFormat
The format of a Protobuf message payload.
Corresponds to the JSON property protobuf
1217 1218 1219 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1217 def protobuf @protobuf end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1224 1225 1226 1227 1228 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1224 def update!(**args) @avro = args[:avro] if args.key?(:avro) @json = args[:json] if args.key?(:json) @protobuf = args[:protobuf] if args.key?(:protobuf) end |