Class: Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineMessagePayloadFormatAvroFormat

Inherits:
Object
  • Object
show all
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

The format of an AVRO message payload.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudEventarcV1PipelineMessagePayloadFormatAvroFormat

Returns a new instance of GoogleCloudEventarcV1PipelineMessagePayloadFormatAvroFormat.



1341
1342
1343
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1341

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#schema_definitionString

Optional. The entire schema definition is stored in this field. Corresponds to the JSON property schemaDefinition

Returns:

  • (String)


1339
1340
1341
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1339

def schema_definition
  @schema_definition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1346
1347
1348
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1346

def update!(**args)
  @schema_definition = args[:schema_definition] if args.key?(:schema_definition)
end