Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class LabelVideoRequest.
Request message for LabelVideo.
Generated from protobuf message google.cloud.datalabeling.v1beta1.LabelVideoRequest
Namespace
Google \ Cloud \ DataLabeling \ V1beta1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ video_classification_config |
VideoClassificationConfig
Configuration for video classification task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required. |
↳ object_detection_config |
ObjectDetectionConfig
Configuration for video object detection task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required. |
↳ object_tracking_config |
ObjectTrackingConfig
Configuration for video object tracking task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required. |
↳ event_config |
EventConfig
Configuration for video event task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required. |
↳ parent |
string
Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id} |
↳ basic_config |
HumanAnnotationConfig
Required. Basic human annotation config. |
↳ feature |
int
Required. The type of video labeling task. |
getVideoClassificationConfig
Configuration for video classification task.
One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.
Returns | |
---|---|
Type | Description |
VideoClassificationConfig|null |
hasVideoClassificationConfig
setVideoClassificationConfig
Configuration for video classification task.
One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.
Parameter | |
---|---|
Name | Description |
var |
VideoClassificationConfig
|
Returns | |
---|---|
Type | Description |
$this |
getObjectDetectionConfig
Configuration for video object detection task.
One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.
Returns | |
---|---|
Type | Description |
ObjectDetectionConfig|null |
hasObjectDetectionConfig
setObjectDetectionConfig
Configuration for video object detection task.
One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.
Parameter | |
---|---|
Name | Description |
var |
ObjectDetectionConfig
|
Returns | |
---|---|
Type | Description |
$this |
getObjectTrackingConfig
Configuration for video object tracking task.
One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.
Returns | |
---|---|
Type | Description |
ObjectTrackingConfig|null |
hasObjectTrackingConfig
setObjectTrackingConfig
Configuration for video object tracking task.
One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.
Parameter | |
---|---|
Name | Description |
var |
ObjectTrackingConfig
|
Returns | |
---|---|
Type | Description |
$this |
getEventConfig
Configuration for video event task.
One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.
Returns | |
---|---|
Type | Description |
EventConfig|null |
hasEventConfig
setEventConfig
Configuration for video event task.
One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.
Parameter | |
---|---|
Name | Description |
var |
EventConfig
|
Returns | |
---|---|
Type | Description |
$this |
getParent
Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}
Returns | |
---|---|
Type | Description |
string |
setParent
Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getBasicConfig
Required. Basic human annotation config.
Returns | |
---|---|
Type | Description |
HumanAnnotationConfig|null |
hasBasicConfig
clearBasicConfig
setBasicConfig
Required. Basic human annotation config.
Parameter | |
---|---|
Name | Description |
var |
HumanAnnotationConfig
|
Returns | |
---|---|
Type | Description |
$this |
getFeature
Required. The type of video labeling task.
Returns | |
---|---|
Type | Description |
int |
setFeature
Required. The type of video labeling task.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getRequestConfig
Returns | |
---|---|
Type | Description |
string |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id} Please see DataLabelingServiceClient::datasetName() for help formatting this field. |
basicConfig |
HumanAnnotationConfig
Required. Basic human annotation config. |
feature |
int
Required. The type of video labeling task. For allowed values, use constants defined on LabelVideoRequest\Feature |
Returns | |
---|---|
Type | Description |
LabelVideoRequest |