Class: Google::Apis::MetastoreV1alpha::ValueDiff
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1alpha::ValueDiff
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/metastore_v1alpha/classes.rb,
lib/google/apis/metastore_v1alpha/representations.rb,
lib/google/apis/metastore_v1alpha/representations.rb
Overview
A field-level metadata mismatch for a resource between the source and target.
Instance Attribute Summary collapse
-
#source_value ⇒ String
The value of the field at the source.
-
#target_value ⇒ String
The value of the field at the target.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ValueDiff
constructor
A new instance of ValueDiff.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ValueDiff
Returns a new instance of ValueDiff.
3554 3555 3556 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 3554 def initialize(**args) update!(**args) end |
Instance Attribute Details
#source_value ⇒ String
The value of the field at the source.
Corresponds to the JSON property sourceValue
3547 3548 3549 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 3547 def source_value @source_value end |
#target_value ⇒ String
The value of the field at the target.
Corresponds to the JSON property targetValue
3552 3553 3554 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 3552 def target_value @target_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3559 3560 3561 3562 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 3559 def update!(**args) @source_value = args[:source_value] if args.key?(:source_value) @target_value = args[:target_value] if args.key?(:target_value) end |