Class: Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineMessagePayloadFormatProtobufFormat

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 a Protobuf message payload.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudEventarcV1PipelineMessagePayloadFormatProtobufFormat

Returns a new instance of GoogleCloudEventarcV1PipelineMessagePayloadFormatProtobufFormat.



1272
1273
1274
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1272

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)


1270
1271
1272
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1270

def schema_definition
  @schema_definition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1277
1278
1279
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1277

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