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.



1240
1241
1242
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1240

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)


1238
1239
1240
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1238

def schema_definition
  @schema_definition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1245
1246
1247
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1245

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