Class: Google::Apis::ManagedkafkaV1::CheckCompatibilityResponse
- Inherits:
-
Object
- Object
- Google::Apis::ManagedkafkaV1::CheckCompatibilityResponse
- 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
Response for CheckCompatibility.
Instance Attribute Summary collapse
-
#is_compatible ⇒ Boolean
(also: #is_compatible?)
The compatibility check result.
-
#messages ⇒ Array<String>
Failure reasons if verbose = true.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CheckCompatibilityResponse
constructor
A new instance of CheckCompatibilityResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CheckCompatibilityResponse
Returns a new instance of CheckCompatibilityResponse.
335 336 337 |
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 335 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_compatible ⇒ Boolean Also known as: is_compatible?
The compatibility check result. If true, the schema is compatible with the
resource.
Corresponds to the JSON property is_compatible
327 328 329 |
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 327 def is_compatible @is_compatible end |
#messages ⇒ Array<String>
Failure reasons if verbose = true.
Corresponds to the JSON property messages
333 334 335 |
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 333 def @messages end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
340 341 342 343 |
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 340 def update!(**args) @is_compatible = args[:is_compatible] if args.key?(:is_compatible) @messages = args[:messages] if args.key?(:messages) end |