Class: Google::Apis::MetastoreV1alpha::ValueDiff

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

Instance Method Summary collapse

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_valueString

The value of the field at the source. Corresponds to the JSON property sourceValue

Returns:

  • (String)


3547
3548
3549
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 3547

def source_value
  @source_value
end

#target_valueString

The value of the field at the target. Corresponds to the JSON property targetValue

Returns:

  • (String)


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