Class: Google::Apis::ManagedkafkaV1::CheckCompatibilityRequest
- Inherits:
-
Object
- Object
- Google::Apis::ManagedkafkaV1::CheckCompatibilityRequest
- 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
-
#references ⇒ Array<Google::Apis::ManagedkafkaV1::SchemaReference>
Optional.
-
#schema ⇒ String
Required.
-
#schema_type ⇒ String
Optional.
-
#verbose ⇒ Boolean
(also: #verbose?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CheckCompatibilityRequest
constructor
A new instance of CheckCompatibilityRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#references ⇒ Array<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 |
#schema ⇒ String
Required. The schema payload
Corresponds to the JSON property schema
292 293 294 |
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 292 def schema @schema end |
#schema_type ⇒ String
Optional. The schema type of the schema.
Corresponds to the JSON property schemaType
297 298 299 |
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 297 def schema_type @schema_type end |
#verbose ⇒ Boolean 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
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 |