Class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionRelativeTemporalPartition

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

Overview

For ease of use, assume that the start_offset is inclusive and the end_offset is exclusive. In mathematical terms, the partition would be written as [ start_offset, end_offset).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAiLargeModelsVisionRelativeTemporalPartition

Returns a new instance of CloudAiLargeModelsVisionRelativeTemporalPartition.



374
375
376
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 374

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

Instance Attribute Details

#end_offsetString

End time offset of the partition. Corresponds to the JSON property endOffset

Returns:

  • (String)


367
368
369
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 367

def end_offset
  @end_offset
end

#start_offsetString

Start time offset of the partition. Corresponds to the JSON property startOffset

Returns:

  • (String)


372
373
374
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 372

def start_offset
  @start_offset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



379
380
381
382
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 379

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