Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1ScannedDataIncrementalField

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

A data range denoted by a pair of start/end values of a field.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1ScannedDataIncrementalField



7529
7530
7531
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7529

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

Instance Attribute Details

#endString

Output only. Value that marks the end of the range. Corresponds to the JSON property end



7516
7517
7518
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7516

def end
  @end
end

#fieldString

Output only. The field that contains values which monotonically increases over time (e.g. a timestamp column). Corresponds to the JSON property field



7522
7523
7524
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7522

def field
  @field
end

#startString

Output only. Value that marks the start of the range. Corresponds to the JSON property start



7527
7528
7529
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7527

def start
  @start
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7534
7535
7536
7537
7538
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7534

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