docs: update docs/dyn (#1096)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/6f0f288a-a1e8-4b2d-a85f-00b1c6150185/targets
- [ ] To automatically regenerate this PR, check this box.
Source-Link: https://github.com/googleapis/synthtool/commit/39b7149da4026765385403632db3c6f63db96b2c
Source-Link: https://github.com/googleapis/synthtool/commit/9a7d9fbb7045c34c9d3d22c1ff766eeae51f04c9
Source-Link: https://github.com/googleapis/synthtool/commit/dc9903a8c30c3662b6098f0e4a97f221d67268b2
Source-Link: https://github.com/googleapis/synthtool/commit/7fcc405a579d5d53a726ff3da1b7c8c08f0f2d58
Source-Link: https://github.com/googleapis/synthtool/commit/d5fc0bcf9ea9789c5b0e3154a9e3b29e5cea6116
Source-Link: https://github.com/googleapis/synthtool/commit/e89175cf074dccc4babb4eca66ae913696e47a71
Source-Link: https://github.com/googleapis/synthtool/commit/7d652819519dfa24da9e14548232e4aaba71a11c
Source-Link: https://github.com/googleapis/synthtool/commit/7db8a6c5ffb12a6e4c2f799c18f00f7f3d60e279
Source-Link: https://github.com/googleapis/synthtool/commit/1f1148d3c7a7a52f0c98077f976bd9b3c948ee2b
Source-Link: https://github.com/googleapis/synthtool/commit/2c8aecedd55b0480fb4e123b6e07fa5b12953862
Source-Link: https://github.com/googleapis/synthtool/commit/3d3e94c4e02370f307a9a200b0c743c3d8d19f29
Source-Link: https://github.com/googleapis/synthtool/commit/c7824ea48ff6d4d42dfae0849aec8a85acd90bd9
Source-Link: https://github.com/googleapis/synthtool/commit/ba9918cd22874245b55734f57470c719b577e591
Source-Link: https://github.com/googleapis/synthtool/commit/b19b401571e77192f8dd38eab5fb2300a0de9324
Source-Link: https://github.com/googleapis/synthtool/commit/6542bd723403513626f61642fc02ddca528409aa
diff --git a/docs/dyn/datalabeling_v1beta1.projects.datasets.annotatedDatasets.html b/docs/dyn/datalabeling_v1beta1.projects.datasets.annotatedDatasets.html
index 2b94a06..c3f34fb 100644
--- a/docs/dyn/datalabeling_v1beta1.projects.datasets.annotatedDatasets.html
+++ b/docs/dyn/datalabeling_v1beta1.projects.datasets.annotatedDatasets.html
@@ -99,7 +99,7 @@
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
<p class="firstline">Gets an annotated dataset by resource name.</p>
<p class="toc_element">
- <code><a href="#list">list(parent, pageSize=None, filter=None, pageToken=None, x__xgafv=None)</a></code></p>
+ <code><a href="#list">list(parent, filter=None, pageToken=None, pageSize=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists annotated datasets for a dataset. Pagination is supported.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
@@ -143,42 +143,17 @@
An object of the form:
{ # AnnotatedDataset is a set holding annotations for data in a Dataset. Each labeling task will generate an AnnotatedDataset under the Dataset that the task is requested for.
+ "labelStats": { # Statistics about annotation specs. # Output only. Per label statistics.
+ "exampleCount": { # Map of each annotation spec's example count. Key is the annotation spec name and value is the number of examples for that annotation spec. If the annotated dataset does not have annotation spec, the map will return a pair where the key is empty string and value is the total number of annotations.
+ "a_key": "A String",
+ },
+ },
"annotationType": "A String", # Output only. Type of the annotation. It is specified when starting labeling task.
- "annotationSource": "A String", # Output only. Source of the annotation.
- "createTime": "A String", # Output only. Time the AnnotatedDataset was created.
- "blockingResources": [ # Output only. The names of any related resources that are blocking changes to the annotated dataset.
- "A String",
- ],
- "name": "A String", # Output only. AnnotatedDataset resource name in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}
- "displayName": "A String", # Output only. The display name of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 64 characters.
- "description": "A String", # Output only. The description of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 10000 characters.
- "completedExampleCount": "A String", # Output only. Number of examples that have annotation in the annotated dataset.
"metadata": { # Metadata on AnnotatedDataset. # Output only. Additional information about AnnotatedDataset.
"imageClassificationConfig": { # Config for image classification human labeling task. # Configuration for image classification task.
"answerAggregationType": "A String", # Optional. The type of how to aggregate answers.
+ "annotationSpecSet": "A String", # Required. Annotation spec set resource name.
"allowMultiLabel": True or False, # Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one image.
- "annotationSpecSet": "A String", # Required. Annotation spec set resource name.
- },
- "humanAnnotationConfig": { # Configuration for how human labeling task should be done. # HumanAnnotationConfig used when requesting the human labeling task for this AnnotatedDataset.
- "questionDuration": "A String", # Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.
- "annotatedDatasetDisplayName": "A String", # Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters .
- "labelGroup": "A String", # Optional. A human-readable label used to logically group labeling tasks. This string must match the regular expression `[a-zA-Z\\d_-]{0,128}`.
- "userEmailAddress": "A String", # Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent.
- "contributorEmails": [ # Optional. If you want your own labeling contributors to manage and work on this labeling request, you can set these contributors here. We will give them access to the question types in crowdcompute. Note that these emails must be registered in crowdcompute worker UI: https://crowd-compute.appspot.com/
- "A String",
- ],
- "annotatedDatasetDescription": "A String", # Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long.
- "languageCode": "A String", # Optional. The Language of this question, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US. Only need to set this when task is language related. For example, French text classification.
- "replicaCount": 42, # Optional. Replication of questions. Each question will be sent to up to this number of contributors to label. Aggregated answers will be returned. Default is set to 1. For image related labeling, valid values are 1, 3, 5.
- "instruction": "A String", # Required. Instruction resource name.
- },
- "segmentationConfig": { # Config for image segmentation # Configuration for image segmentation task.
- "instructionMessage": "A String", # Instruction message showed on labelers UI.
- "annotationSpecSet": "A String", # Required. Annotation spec set resource name. format: projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}
- },
- "boundingPolyConfig": { # Config for image bounding poly (and bounding box) human labeling task. # Configuration for image bounding box and bounding poly task.
- "instructionMessage": "A String", # Optional. Instruction message showed on contributors UI.
- "annotationSpecSet": "A String", # Required. Annotation spec set resource name.
},
"videoClassificationConfig": { # Config for video classification human labeling task. Currently two types of video classification are supported: 1. Assign labels on the entire video. 2. Split the video into multiple video clips based on camera shot, and assign labels on each video clip. # Configuration for video classification task.
"applyShotDetection": True or False, # Optional. Option to apply shot detection on the video.
@@ -189,55 +164,80 @@
},
],
},
- "objectTrackingConfig": { # Config for video object tracking human labeling task. # Configuration for video object tracking task.
- "clipLength": 42, # Videos will be cut to smaller clips to make it easier for labelers to work on. Users can configure is field in seconds, if not set, default value is 20s.
- "annotationSpecSet": "A String", # Required. Annotation spec set resource name.
- "overlapLength": 42, # The overlap length between different video clips. Users can configure is field in seconds, if not set, default value is 0.3s.
- },
"textClassificationConfig": { # Config for text classification human labeling task. # Configuration for text classification task.
- "allowMultiLabel": True or False, # Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one text segment.
- "annotationSpecSet": "A String", # Required. Annotation spec set resource name.
"sentimentConfig": { # Config for setting up sentiments. # Optional. Configs for sentiment selection.
"enableLabelSentimentSelection": True or False, # If set to true, contributors will have the option to select sentiment of the label they selected, to mark it as negative or positive label. Default is false.
},
+ "annotationSpecSet": "A String", # Required. Annotation spec set resource name.
+ "allowMultiLabel": True or False, # Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one text segment.
},
"textEntityExtractionConfig": { # Config for text entity extraction human labeling task. # Configuration for text entity extraction task.
"annotationSpecSet": "A String", # Required. Annotation spec set resource name.
},
- "eventConfig": { # Config for video event human labeling task. # Configuration for video event labeling task.
- "annotationSpecSets": [ # Required. The list of annotation spec set resource name. Similar to video classification, we support selecting event from multiple AnnotationSpecSet at the same time.
+ "polylineConfig": { # Config for image polyline human labeling task. # Configuration for image polyline task.
+ "annotationSpecSet": "A String", # Required. Annotation spec set resource name.
+ "instructionMessage": "A String", # Optional. Instruction message showed on contributors UI.
+ },
+ "humanAnnotationConfig": { # Configuration for how human labeling task should be done. # HumanAnnotationConfig used when requesting the human labeling task for this AnnotatedDataset.
+ "questionDuration": "A String", # Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.
+ "languageCode": "A String", # Optional. The Language of this question, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US. Only need to set this when task is language related. For example, French text classification.
+ "userEmailAddress": "A String", # Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent.
+ "instruction": "A String", # Required. Instruction resource name.
+ "contributorEmails": [ # Optional. If you want your own labeling contributors to manage and work on this labeling request, you can set these contributors here. We will give them access to the question types in crowdcompute. Note that these emails must be registered in crowdcompute worker UI: https://crowd-compute.appspot.com/
"A String",
],
- "clipLength": 42, # Videos will be cut to smaller clips to make it easier for labelers to work on. Users can configure is field in seconds, if not set, default value is 60s.
- "overlapLength": 42, # The overlap length between different video clips. Users can configure is field in seconds, if not set, default value is 1s.
- },
- "polylineConfig": { # Config for image polyline human labeling task. # Configuration for image polyline task.
- "instructionMessage": "A String", # Optional. Instruction message showed on contributors UI.
- "annotationSpecSet": "A String", # Required. Annotation spec set resource name.
+ "labelGroup": "A String", # Optional. A human-readable label used to logically group labeling tasks. This string must match the regular expression `[a-zA-Z\\d_-]{0,128}`.
+ "replicaCount": 42, # Optional. Replication of questions. Each question will be sent to up to this number of contributors to label. Aggregated answers will be returned. Default is set to 1. For image related labeling, valid values are 1, 3, 5.
+ "annotatedDatasetDescription": "A String", # Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long.
+ "annotatedDatasetDisplayName": "A String", # Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters .
},
"objectDetectionConfig": { # Config for video object detection human labeling task. Object detection will be conducted on the images extracted from the video, and those objects will be labeled with bounding boxes. User need to specify the number of images to be extracted per second as the extraction frame rate. # Configuration for video object detection task.
"annotationSpecSet": "A String", # Required. Annotation spec set resource name.
"extractionFrameRate": 3.14, # Required. Number of frames per second to be extracted from the video.
},
- },
- "exampleCount": "A String", # Output only. Number of examples in the annotated dataset.
- "labelStats": { # Statistics about annotation specs. # Output only. Per label statistics.
- "exampleCount": { # Map of each annotation spec's example count. Key is the annotation spec name and value is the number of examples for that annotation spec. If the annotated dataset does not have annotation spec, the map will return a pair where the key is empty string and value is the total number of annotations.
- "a_key": "A String",
+ "objectTrackingConfig": { # Config for video object tracking human labeling task. # Configuration for video object tracking task.
+ "annotationSpecSet": "A String", # Required. Annotation spec set resource name.
+ "overlapLength": 42, # The overlap length between different video clips. Users can configure is field in seconds, if not set, default value is 0.3s.
+ "clipLength": 42, # Videos will be cut to smaller clips to make it easier for labelers to work on. Users can configure is field in seconds, if not set, default value is 20s.
+ },
+ "eventConfig": { # Config for video event human labeling task. # Configuration for video event labeling task.
+ "annotationSpecSets": [ # Required. The list of annotation spec set resource name. Similar to video classification, we support selecting event from multiple AnnotationSpecSet at the same time.
+ "A String",
+ ],
+ "overlapLength": 42, # The overlap length between different video clips. Users can configure is field in seconds, if not set, default value is 1s.
+ "clipLength": 42, # Videos will be cut to smaller clips to make it easier for labelers to work on. Users can configure is field in seconds, if not set, default value is 60s.
+ },
+ "segmentationConfig": { # Config for image segmentation # Configuration for image segmentation task.
+ "annotationSpecSet": "A String", # Required. Annotation spec set resource name. format: projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}
+ "instructionMessage": "A String", # Instruction message showed on labelers UI.
+ },
+ "boundingPolyConfig": { # Config for image bounding poly (and bounding box) human labeling task. # Configuration for image bounding box and bounding poly task.
+ "annotationSpecSet": "A String", # Required. Annotation spec set resource name.
+ "instructionMessage": "A String", # Optional. Instruction message showed on contributors UI.
},
},
+ "displayName": "A String", # Output only. The display name of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 64 characters.
+ "createTime": "A String", # Output only. Time the AnnotatedDataset was created.
+ "annotationSource": "A String", # Output only. Source of the annotation.
+ "exampleCount": "A String", # Output only. Number of examples in the annotated dataset.
+ "description": "A String", # Output only. The description of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 10000 characters.
+ "blockingResources": [ # Output only. The names of any related resources that are blocking changes to the annotated dataset.
+ "A String",
+ ],
+ "completedExampleCount": "A String", # Output only. Number of examples that have annotation in the annotated dataset.
+ "name": "A String", # Output only. AnnotatedDataset resource name in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}
}</pre>
</div>
<div class="method">
- <code class="details" id="list">list(parent, pageSize=None, filter=None, pageToken=None, x__xgafv=None)</code>
+ <code class="details" id="list">list(parent, filter=None, pageToken=None, pageSize=None, x__xgafv=None)</code>
<pre>Lists annotated datasets for a dataset. Pagination is supported.
Args:
parent: string, Required. Name of the dataset to list annotated datasets, format: projects/{project_id}/datasets/{dataset_id} (required)
- pageSize: integer, Optional. Requested page size. Server may return fewer results than requested. Default value is 100.
filter: string, Optional. Filter is not supported at this moment.
pageToken: string, Optional. A token identifying a page of results for the server to return. Typically obtained by ListAnnotatedDatasetsResponse.next_page_token of the previous [DataLabelingService.ListAnnotatedDatasets] call. Return first page if empty.
+ pageSize: integer, Optional. Requested page size. Server may return fewer results than requested. Default value is 100.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
@@ -250,42 +250,17 @@
"nextPageToken": "A String", # A token to retrieve next page of results.
"annotatedDatasets": [ # The list of annotated datasets to return.
{ # AnnotatedDataset is a set holding annotations for data in a Dataset. Each labeling task will generate an AnnotatedDataset under the Dataset that the task is requested for.
+ "labelStats": { # Statistics about annotation specs. # Output only. Per label statistics.
+ "exampleCount": { # Map of each annotation spec's example count. Key is the annotation spec name and value is the number of examples for that annotation spec. If the annotated dataset does not have annotation spec, the map will return a pair where the key is empty string and value is the total number of annotations.
+ "a_key": "A String",
+ },
+ },
"annotationType": "A String", # Output only. Type of the annotation. It is specified when starting labeling task.
- "annotationSource": "A String", # Output only. Source of the annotation.
- "createTime": "A String", # Output only. Time the AnnotatedDataset was created.
- "blockingResources": [ # Output only. The names of any related resources that are blocking changes to the annotated dataset.
- "A String",
- ],
- "name": "A String", # Output only. AnnotatedDataset resource name in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}
- "displayName": "A String", # Output only. The display name of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 64 characters.
- "description": "A String", # Output only. The description of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 10000 characters.
- "completedExampleCount": "A String", # Output only. Number of examples that have annotation in the annotated dataset.
"metadata": { # Metadata on AnnotatedDataset. # Output only. Additional information about AnnotatedDataset.
"imageClassificationConfig": { # Config for image classification human labeling task. # Configuration for image classification task.
"answerAggregationType": "A String", # Optional. The type of how to aggregate answers.
+ "annotationSpecSet": "A String", # Required. Annotation spec set resource name.
"allowMultiLabel": True or False, # Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one image.
- "annotationSpecSet": "A String", # Required. Annotation spec set resource name.
- },
- "humanAnnotationConfig": { # Configuration for how human labeling task should be done. # HumanAnnotationConfig used when requesting the human labeling task for this AnnotatedDataset.
- "questionDuration": "A String", # Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.
- "annotatedDatasetDisplayName": "A String", # Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters .
- "labelGroup": "A String", # Optional. A human-readable label used to logically group labeling tasks. This string must match the regular expression `[a-zA-Z\\d_-]{0,128}`.
- "userEmailAddress": "A String", # Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent.
- "contributorEmails": [ # Optional. If you want your own labeling contributors to manage and work on this labeling request, you can set these contributors here. We will give them access to the question types in crowdcompute. Note that these emails must be registered in crowdcompute worker UI: https://crowd-compute.appspot.com/
- "A String",
- ],
- "annotatedDatasetDescription": "A String", # Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long.
- "languageCode": "A String", # Optional. The Language of this question, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US. Only need to set this when task is language related. For example, French text classification.
- "replicaCount": 42, # Optional. Replication of questions. Each question will be sent to up to this number of contributors to label. Aggregated answers will be returned. Default is set to 1. For image related labeling, valid values are 1, 3, 5.
- "instruction": "A String", # Required. Instruction resource name.
- },
- "segmentationConfig": { # Config for image segmentation # Configuration for image segmentation task.
- "instructionMessage": "A String", # Instruction message showed on labelers UI.
- "annotationSpecSet": "A String", # Required. Annotation spec set resource name. format: projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}
- },
- "boundingPolyConfig": { # Config for image bounding poly (and bounding box) human labeling task. # Configuration for image bounding box and bounding poly task.
- "instructionMessage": "A String", # Optional. Instruction message showed on contributors UI.
- "annotationSpecSet": "A String", # Required. Annotation spec set resource name.
},
"videoClassificationConfig": { # Config for video classification human labeling task. Currently two types of video classification are supported: 1. Assign labels on the entire video. 2. Split the video into multiple video clips based on camera shot, and assign labels on each video clip. # Configuration for video classification task.
"applyShotDetection": True or False, # Optional. Option to apply shot detection on the video.
@@ -296,43 +271,68 @@
},
],
},
- "objectTrackingConfig": { # Config for video object tracking human labeling task. # Configuration for video object tracking task.
- "clipLength": 42, # Videos will be cut to smaller clips to make it easier for labelers to work on. Users can configure is field in seconds, if not set, default value is 20s.
- "annotationSpecSet": "A String", # Required. Annotation spec set resource name.
- "overlapLength": 42, # The overlap length between different video clips. Users can configure is field in seconds, if not set, default value is 0.3s.
- },
"textClassificationConfig": { # Config for text classification human labeling task. # Configuration for text classification task.
- "allowMultiLabel": True or False, # Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one text segment.
- "annotationSpecSet": "A String", # Required. Annotation spec set resource name.
"sentimentConfig": { # Config for setting up sentiments. # Optional. Configs for sentiment selection.
"enableLabelSentimentSelection": True or False, # If set to true, contributors will have the option to select sentiment of the label they selected, to mark it as negative or positive label. Default is false.
},
+ "annotationSpecSet": "A String", # Required. Annotation spec set resource name.
+ "allowMultiLabel": True or False, # Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one text segment.
},
"textEntityExtractionConfig": { # Config for text entity extraction human labeling task. # Configuration for text entity extraction task.
"annotationSpecSet": "A String", # Required. Annotation spec set resource name.
},
- "eventConfig": { # Config for video event human labeling task. # Configuration for video event labeling task.
- "annotationSpecSets": [ # Required. The list of annotation spec set resource name. Similar to video classification, we support selecting event from multiple AnnotationSpecSet at the same time.
+ "polylineConfig": { # Config for image polyline human labeling task. # Configuration for image polyline task.
+ "annotationSpecSet": "A String", # Required. Annotation spec set resource name.
+ "instructionMessage": "A String", # Optional. Instruction message showed on contributors UI.
+ },
+ "humanAnnotationConfig": { # Configuration for how human labeling task should be done. # HumanAnnotationConfig used when requesting the human labeling task for this AnnotatedDataset.
+ "questionDuration": "A String", # Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.
+ "languageCode": "A String", # Optional. The Language of this question, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US. Only need to set this when task is language related. For example, French text classification.
+ "userEmailAddress": "A String", # Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent.
+ "instruction": "A String", # Required. Instruction resource name.
+ "contributorEmails": [ # Optional. If you want your own labeling contributors to manage and work on this labeling request, you can set these contributors here. We will give them access to the question types in crowdcompute. Note that these emails must be registered in crowdcompute worker UI: https://crowd-compute.appspot.com/
"A String",
],
- "clipLength": 42, # Videos will be cut to smaller clips to make it easier for labelers to work on. Users can configure is field in seconds, if not set, default value is 60s.
- "overlapLength": 42, # The overlap length between different video clips. Users can configure is field in seconds, if not set, default value is 1s.
- },
- "polylineConfig": { # Config for image polyline human labeling task. # Configuration for image polyline task.
- "instructionMessage": "A String", # Optional. Instruction message showed on contributors UI.
- "annotationSpecSet": "A String", # Required. Annotation spec set resource name.
+ "labelGroup": "A String", # Optional. A human-readable label used to logically group labeling tasks. This string must match the regular expression `[a-zA-Z\\d_-]{0,128}`.
+ "replicaCount": 42, # Optional. Replication of questions. Each question will be sent to up to this number of contributors to label. Aggregated answers will be returned. Default is set to 1. For image related labeling, valid values are 1, 3, 5.
+ "annotatedDatasetDescription": "A String", # Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long.
+ "annotatedDatasetDisplayName": "A String", # Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters .
},
"objectDetectionConfig": { # Config for video object detection human labeling task. Object detection will be conducted on the images extracted from the video, and those objects will be labeled with bounding boxes. User need to specify the number of images to be extracted per second as the extraction frame rate. # Configuration for video object detection task.
"annotationSpecSet": "A String", # Required. Annotation spec set resource name.
"extractionFrameRate": 3.14, # Required. Number of frames per second to be extracted from the video.
},
- },
- "exampleCount": "A String", # Output only. Number of examples in the annotated dataset.
- "labelStats": { # Statistics about annotation specs. # Output only. Per label statistics.
- "exampleCount": { # Map of each annotation spec's example count. Key is the annotation spec name and value is the number of examples for that annotation spec. If the annotated dataset does not have annotation spec, the map will return a pair where the key is empty string and value is the total number of annotations.
- "a_key": "A String",
+ "objectTrackingConfig": { # Config for video object tracking human labeling task. # Configuration for video object tracking task.
+ "annotationSpecSet": "A String", # Required. Annotation spec set resource name.
+ "overlapLength": 42, # The overlap length between different video clips. Users can configure is field in seconds, if not set, default value is 0.3s.
+ "clipLength": 42, # Videos will be cut to smaller clips to make it easier for labelers to work on. Users can configure is field in seconds, if not set, default value is 20s.
+ },
+ "eventConfig": { # Config for video event human labeling task. # Configuration for video event labeling task.
+ "annotationSpecSets": [ # Required. The list of annotation spec set resource name. Similar to video classification, we support selecting event from multiple AnnotationSpecSet at the same time.
+ "A String",
+ ],
+ "overlapLength": 42, # The overlap length between different video clips. Users can configure is field in seconds, if not set, default value is 1s.
+ "clipLength": 42, # Videos will be cut to smaller clips to make it easier for labelers to work on. Users can configure is field in seconds, if not set, default value is 60s.
+ },
+ "segmentationConfig": { # Config for image segmentation # Configuration for image segmentation task.
+ "annotationSpecSet": "A String", # Required. Annotation spec set resource name. format: projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}
+ "instructionMessage": "A String", # Instruction message showed on labelers UI.
+ },
+ "boundingPolyConfig": { # Config for image bounding poly (and bounding box) human labeling task. # Configuration for image bounding box and bounding poly task.
+ "annotationSpecSet": "A String", # Required. Annotation spec set resource name.
+ "instructionMessage": "A String", # Optional. Instruction message showed on contributors UI.
},
},
+ "displayName": "A String", # Output only. The display name of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 64 characters.
+ "createTime": "A String", # Output only. Time the AnnotatedDataset was created.
+ "annotationSource": "A String", # Output only. Source of the annotation.
+ "exampleCount": "A String", # Output only. Number of examples in the annotated dataset.
+ "description": "A String", # Output only. The description of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 10000 characters.
+ "blockingResources": [ # Output only. The names of any related resources that are blocking changes to the annotated dataset.
+ "A String",
+ ],
+ "completedExampleCount": "A String", # Output only. Number of examples that have annotation in the annotated dataset.
+ "name": "A String", # Output only. AnnotatedDataset resource name in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}
},
],
}</pre>