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.



2018
2019
2020
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 2018

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



2016
2017
2018
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 2016

def validations
  @validations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2023
2024
2025
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 2023

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