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

Returns a new instance of GoogleCloudDataplexV1ScannedDataIncrementalField.



4307
4308
4309
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4307

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

Instance Attribute Details

#endString

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

Returns:

  • (String)


4294
4295
4296
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4294

def end
  @end
end

#fieldString

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

Returns:

  • (String)


4300
4301
4302
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4300

def field
  @field
end

#startString

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

Returns:

  • (String)


4305
4306
4307
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4305

def start
  @start
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4312
4313
4314
4315
4316
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4312

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