Class: Google::Apis::DatastreamV1::ValidationResult

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

Overview

Contains the current validation results.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ValidationResult

Returns a new instance of ValidationResult.



3045
3046
3047
# File 'lib/google/apis/datastream_v1/classes.rb', line 3045

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

Instance Attribute Details

#validationsArray<Google::Apis::DatastreamV1::Validation>

A list of validations (includes both executed as well as not executed validations). Corresponds to the JSON property validations



3043
3044
3045
# File 'lib/google/apis/datastream_v1/classes.rb', line 3043

def validations
  @validations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3050
3051
3052
# File 'lib/google/apis/datastream_v1/classes.rb', line 3050

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