Class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionRelativeTemporalPartition
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::CloudAiLargeModelsVisionRelativeTemporalPartition
- 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
-
#end_offset ⇒ String
End time offset of the partition.
-
#start_offset ⇒ String
Start time offset of the partition.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAiLargeModelsVisionRelativeTemporalPartition
constructor
A new instance of CloudAiLargeModelsVisionRelativeTemporalPartition.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_offset ⇒ String
End time offset of the partition.
Corresponds to the JSON property endOffset
367 368 369 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 367 def end_offset @end_offset end |
#start_offset ⇒ String
Start time offset of the partition.
Corresponds to the JSON property startOffset
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 |