Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaTimeSegment
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaTimeSegment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
A time period inside of a DataItem that has a time dimension (e.g. video).
Instance Attribute Summary collapse
-
#end_time_offset ⇒ String
End of the time segment (exclusive), represented as the duration since the start of the DataItem.
-
#start_time_offset ⇒ String
Start of the time segment (inclusive), represented as the duration since the start of the DataItem.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SchemaTimeSegment
constructor
A new instance of GoogleCloudAiplatformV1beta1SchemaTimeSegment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SchemaTimeSegment
Returns a new instance of GoogleCloudAiplatformV1beta1SchemaTimeSegment.
19733 19734 19735 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19733 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time_offset ⇒ String
End of the time segment (exclusive), represented as the duration since the
start of the DataItem.
Corresponds to the JSON property endTimeOffset
19725 19726 19727 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19725 def end_time_offset @end_time_offset end |
#start_time_offset ⇒ String
Start of the time segment (inclusive), represented as the duration since the
start of the DataItem.
Corresponds to the JSON property startTimeOffset
19731 19732 19733 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19731 def start_time_offset @start_time_offset end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19738 19739 19740 19741 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19738 def update!(**args) @end_time_offset = args[:end_time_offset] if args.key?(:end_time_offset) @start_time_offset = args[:start_time_offset] if args.key?(:start_time_offset) end |