Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::GenerateHlsUriRequest.
Request message for GenerateHlsUri API.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#live_view_enabled
def live_view_enabled() -> ::Boolean
Returns
- (::Boolean) — Option to exclusively show a livestream of the asset with up to 3 minutes of backlog data.
#live_view_enabled=
def live_view_enabled=(value) -> ::Boolean
Parameter
- value (::Boolean) — Option to exclusively show a livestream of the asset with up to 3 minutes of backlog data.
Returns
- (::Boolean) — Option to exclusively show a livestream of the asset with up to 3 minutes of backlog data.
#name
def name() -> ::String
Returns
-
(::String) — Required. The resource name of the asset to request clips for.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. The resource name of the asset to request clips for.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}
Returns
-
(::String) — Required. The resource name of the asset to request clips for.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}
#temporal_partitions
def temporal_partitions() -> ::Array<::Google::Cloud::VisionAI::V1::Partition::TemporalPartition>
Returns
-
(::Array<::Google::Cloud::VisionAI::V1::Partition::TemporalPartition>) — The time range to request clips for. Will be ignored if
get_live_view
is set to True. The total time range requested should be smaller than 24h.
#temporal_partitions=
def temporal_partitions=(value) -> ::Array<::Google::Cloud::VisionAI::V1::Partition::TemporalPartition>
Parameter
-
value (::Array<::Google::Cloud::VisionAI::V1::Partition::TemporalPartition>) — The time range to request clips for. Will be ignored if
get_live_view
is set to True. The total time range requested should be smaller than 24h.
Returns
-
(::Array<::Google::Cloud::VisionAI::V1::Partition::TemporalPartition>) — The time range to request clips for. Will be ignored if
get_live_view
is set to True. The total time range requested should be smaller than 24h.