Class: Google::Apis::DatastreamV1alpha1::Validation
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1alpha1::Validation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastream_v1alpha1/classes.rb,
lib/google/apis/datastream_v1alpha1/representations.rb,
lib/google/apis/datastream_v1alpha1/representations.rb
Instance Attribute Summary collapse
-
#code ⇒ String
A custom code identifying this validation.
-
#description ⇒ String
A short description of the validation.
-
#message ⇒ Array<Google::Apis::DatastreamV1alpha1::ValidationMessage>
Messages reflecting the validation results.
-
#status ⇒ String
Validation execution status.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Validation
constructor
A new instance of Validation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Validation
Returns a new instance of Validation.
2470 2471 2472 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 2470 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
A custom code identifying this validation.
Corresponds to the JSON property code
2453 2454 2455 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 2453 def code @code end |
#description ⇒ String
A short description of the validation.
Corresponds to the JSON property description
2458 2459 2460 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 2458 def description @description end |
#message ⇒ Array<Google::Apis::DatastreamV1alpha1::ValidationMessage>
Messages reflecting the validation results.
Corresponds to the JSON property message
2463 2464 2465 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 2463 def @message end |
#status ⇒ String
Validation execution status.
Corresponds to the JSON property status
2468 2469 2470 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 2468 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2475 2476 2477 2478 2479 2480 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 2475 def update!(**args) @code = args[:code] if args.key?(:code) @description = args[:description] if args.key?(:description) @message = args[:message] if args.key?(:message) @status = args[:status] if args.key?(:status) end |