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.



1756
1757
1758
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1756

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



1754
1755
1756
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1754

def validations
  @validations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1761
1762
1763
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1761

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