Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleSetExpectation

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

Overview

Evaluates whether each column value is contained by a specified set.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1DataQualityRuleSetExpectation

Returns a new instance of GoogleCloudDataplexV1DataQualityRuleSetExpectation.



2539
2540
2541
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2539

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

Instance Attribute Details

#valuesArray<String>

Optional. Expected values for the column value. Corresponds to the JSON property values

Returns:

  • (Array<String>)


2537
2538
2539
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2537

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2544
2545
2546
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2544

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