Class: Google::Apis::ManagedkafkaV1::CheckCompatibilityRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/managedkafka_v1/classes.rb,
lib/google/apis/managedkafka_v1/representations.rb,
lib/google/apis/managedkafka_v1/representations.rb

Overview

Request for CheckCompatibility.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CheckCompatibilityRequest

Returns a new instance of CheckCompatibilityRequest.



306
307
308
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 306

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

Instance Attribute Details

#referencesArray<Google::Apis::ManagedkafkaV1::SchemaReference>

Optional. The schema references used by the schema. Corresponds to the JSON property references



287
288
289
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 287

def references
  @references
end

#schemaString

Required. The schema payload Corresponds to the JSON property schema

Returns:

  • (String)


292
293
294
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 292

def schema
  @schema
end

#schema_typeString

Optional. The schema type of the schema. Corresponds to the JSON property schemaType

Returns:

  • (String)


297
298
299
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 297

def schema_type
  @schema_type
end

#verboseBoolean Also known as: verbose?

Optional. If true, the response will contain the compatibility check result with reasons for failed checks. The default is false. Corresponds to the JSON property verbose

Returns:

  • (Boolean)


303
304
305
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 303

def verbose
  @verbose
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



311
312
313
314
315
316
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 311

def update!(**args)
  @references = args[:references] if args.key?(:references)
  @schema = args[:schema] if args.key?(:schema)
  @schema_type = args[:schema_type] if args.key?(:schema_type)
  @verbose = args[:verbose] if args.key?(:verbose)
end