Google Cloud Vision Ai V1 Client - Class GenerateHlsUriRequest (0.3.0)

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class GenerateHlsUriRequest.

Request message for GenerateHlsUri API.

Generated from protobuf message google.cloud.visionai.v1.GenerateHlsUriRequest

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
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
array< 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.

↳ live_view_enabled
bool

Option to exclusively show a livestream of the asset with up to 3 minutes of backlog data.

getName

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
Type
Description
string

setName

Required. The resource name of the asset to request clips for.

Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getTemporalPartitions

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.

setTemporalPartitions

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.

Parameter
Name
Description
Returns
Type
Description
$this

getLiveViewEnabled

Option to exclusively show a livestream of the asset with up to 3 minutes of backlog data.

Returns
Type
Description
bool

setLiveViewEnabled

Option to exclusively show a livestream of the asset with up to 3 minutes of backlog data.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: