Class: Google::Apis::DatastreamV1alpha1::ValidationResult

Inherits:
Object
  • Object
show all
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

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.



2027
2028
2029
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 2027

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

Instance Attribute Details

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

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



2025
2026
2027
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 2025

def validations
  @validations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2032
2033
2034
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 2032

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