@swamp/gcp/datalabeling
v2026.04.04.1
Google Cloud datalabeling infrastructure models
Labels
gcpgoogle-clouddatalabelingcloudinfrastructure
Contents
Install
$ swamp extension pull @swamp/gcp/datalabelingRelease Notes
- Updated: datasets_annotateddatasets_examples, datasets_evaluations, evaluationjobs
@swamp/gcp/datalabeling/annotationspecsetsv2026.04.03.3annotationspecsets.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| annotationSpecSet? | object | An AnnotationSpecSet is a collection of label definitions. For example, in image classification tasks, you define a set of possible labels for images as an AnnotationSpecSet. An AnnotationSpecSet is immutable upon creation. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a annotationSpecSets
getGet a annotationSpecSets
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the annotationSpecSets |
deleteDelete the annotationSpecSets
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the annotationSpecSets |
syncSync annotationSpecSets state from GCP
Resources
state(infinite)— An AnnotationSpecSet is a collection of label definitions. For example, in im...
@swamp/gcp/datalabeling/datasetsv2026.04.03.3datasets.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| dataset? | object | Dataset is the resource to hold your data. You can request multiple labeling tasks for a dataset while each one will generate an AnnotatedDataset. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a datasets
getGet a datasets
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the datasets |
deleteDelete the datasets
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the datasets |
syncSync datasets state from GCP
export_dataexport data
| Argument | Type | Description |
|---|---|---|
| annotatedDataset? | any | |
| filter? | any | |
| outputConfig? | any | |
| userEmailAddress? | any |
import_dataimport data
| Argument | Type | Description |
|---|---|---|
| inputConfig? | any | |
| userEmailAddress? | any |
Resources
state(infinite)— Dataset is the resource to hold your data. You can request multiple labeling ...
@swamp/gcp/datalabeling/datasets-annotateddatasetsv2026.04.03.3datasets_annotateddatasets.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
getGet a annotatedDatasets
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the annotatedDatasets |
deleteDelete the annotatedDatasets
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the annotatedDatasets |
syncSync annotatedDatasets state from GCP
Resources
state(infinite)— AnnotatedDataset is a set holding annotations for data in a Dataset. Each lab...
@swamp/gcp/datalabeling/datasets-annotateddatasets-dataitemsv2026.04.03.3datasets_annotateddatasets_dataitems.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
getGet a dataItems
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the dataItems |
syncSync dataItems state from GCP
Resources
state(infinite)— DataItem is a piece of data, without annotation. For example, an image.
@swamp/gcp/datalabeling/datasets-annotateddatasets-examplesv2026.04.04.1datasets_annotateddatasets_examples.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
getGet a examples
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the examples |
syncSync examples state from GCP
Resources
state(infinite)— An Example is a piece of data and its annotation. For example, an image with ...
@swamp/gcp/datalabeling/datasets-annotateddatasets-feedbackthreadsv2026.04.03.3datasets_annotateddatasets_feedbackthreads.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
getGet a feedbackThreads
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the feedbackThreads |
deleteDelete the feedbackThreads
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the feedbackThreads |
syncSync feedbackThreads state from GCP
Resources
state(infinite)— A feedback thread of a certain labeling task on a certain annotated dataset.
@swamp/gcp/datalabeling/datasets-annotateddatasets-feedbackthreads-feedbackmessagesv2026.04.03.3datasets_annotateddatasets_feedbackthreads_feedbackmessages.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| body? | string | String content of the feedback. Maximum of 10000 characters. |
| createTime? | string | Create time. |
| image? | string | The image storing this feedback if the feedback is an image representing operator's comments. |
| name? | string | Name of the feedback message in a feedback thread. Format: 'project/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}/feedbackMessage/{feedback_message_id}' |
| operatorFeedbackMetadata? | object | Metadata describing the feedback from the operator. |
| requesterFeedbackMetadata? | object | Metadata describing the feedback from the labeling task requester. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a feedbackMessages
getGet a feedbackMessages
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the feedbackMessages |
deleteDelete the feedbackMessages
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the feedbackMessages |
syncSync feedbackMessages state from GCP
Resources
state(infinite)— A feedback message inside a feedback thread.
@swamp/gcp/datalabeling/datasets-dataitemsv2026.04.03.3datasets_dataitems.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
getGet a dataItems
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the dataItems |
syncSync dataItems state from GCP
Resources
state(infinite)— DataItem is a piece of data, without annotation. For example, an image.
@swamp/gcp/datalabeling/datasets-evaluationsv2026.04.04.1datasets_evaluations.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
getGet a evaluations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the evaluations |
syncSync evaluations state from GCP
Resources
state(infinite)— Describes an evaluation between a machine learning model's predictions and gr...
@swamp/gcp/datalabeling/evaluationjobsv2026.04.04.1evaluationjobs.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| job? | object | Defines an evaluation job that runs periodically to generate Evaluations. [Creating an evaluation job](/ml-engine/docs/continuous-evaluation/create-job) is the starting point for using continuous evaluation. |
| annotationSpecSet? | string | Required. Name of the AnnotationSpecSet describing all the labels that your machine learning model outputs. You must create this resource before you create an evaluation job and provide its name in the following format: "projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}" |
| attempts? | array | Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array. |
| createTime? | string | Output only. Timestamp of when this evaluation job was created. |
| description? | string | Required. Description of the job. The description can be up to 25,000 characters long. |
| evaluationJobConfig? | object | Configures specific details of how a continuous evaluation job works. Provide this configuration when you create an EvaluationJob. |
| labelMissingGroundTruth? | boolean | Required. Whether you want Data Labeling Service to provide ground truth labels for prediction input. If you want the service to assign human labelers to annotate your data, set this to `true`. If you want to provide your own ground truth labels in the evaluation job's BigQuery table, set this to `false`. |
| modelVersion? | string | Required. The [AI Platform Prediction model version](/ml-engine/docs/prediction-overview) to be evaluated. Prediction input and output is sampled from this model version. When creating an evaluation job, specify the model version in the following format: "projects/{project_id}/models/{model_name}/versions/{version_name}" There can only be one evaluation job per model version. |
| name? | string | Output only. After you create a job, Data Labeling Service assigns a name to the job with the following format: "projects/{project_id}/evaluationJobs/ {evaluation_job_id}" |
| schedule? | string | Required. Describes the interval at which the job runs. This interval must be at least 1 day, and it is rounded to the nearest day. For example, if you specify a 50-hour interval, the job runs every 2 days. You can provide the schedule in [crontab format](/scheduler/docs/configuring/cron-job-schedules) or in an [English-like format](/appengine/docs/standard/python/config/cronref#schedule_format). Regardless of what you specify, the job will run at 10:00 AM UTC. Only the interval from this schedu |
| state? | enum | Output only. Describes the current state of the job. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a evaluationJobs
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
getGet a evaluationJobs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the evaluationJobs |
updateUpdate evaluationJobs attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
deleteDelete the evaluationJobs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the evaluationJobs |
syncSync evaluationJobs state from GCP
pausepause
resumeresume
Resources
state(infinite)— Defines an evaluation job that runs periodically to generate Evaluations. [Cr...
@swamp/gcp/datalabeling/instructionsv2026.04.03.3instructions.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| instruction? | object | Instruction of how to perform the labeling task for human operators. Currently only PDF instruction is supported. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
createCreate a instructions
getGet a instructions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the instructions |
deleteDelete the instructions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the instructions |
syncSync instructions state from GCP
Resources
state(infinite)— Instruction of how to perform the labeling task for human operators. Currentl...
2026.04.03.347.7 KBApr 3, 2026
Google Cloud datalabeling infrastructure models
Release Notes
- Updated: annotationspecsets, datasets, datasets_annotateddatasets, datasets_annotateddatasets_dataitems, datasets_annotateddatasets_examples, datasets_annotateddatasets_feedbackthreads, datasets_annotateddatasets_feedbackthreads_feedbackmessages, datasets_dataitems, datasets_evaluations, evaluationjobs, instructions
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-clouddatalabelingcloudinfrastructure
2026.04.03.147.1 KBApr 3, 2026
Google Cloud datalabeling infrastructure models
Release Notes
- Updated: annotationspecsets, datasets, datasets_annotateddatasets, datasets_annotateddatasets_dataitems, datasets_annotateddatasets_examples, datasets_annotateddatasets_feedbackthreads, datasets_annotateddatasets_feedbackthreads_feedbackmessages, datasets_dataitems, datasets_evaluations, evaluationjobs, instructions
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-clouddatalabelingcloudinfrastructure
2026.04.02.244.8 KBApr 2, 2026
Google Cloud datalabeling infrastructure models
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-clouddatalabelingcloudinfrastructure
2026.03.27.144.2 KBMar 27, 2026
Google Cloud datalabeling infrastructure models
Release Notes
- Added: annotationspecsets, datasets, datasets_annotateddatasets, datasets_annotateddatasets_dataitems, datasets_annotateddatasets_examples, datasets_annotateddatasets_feedbackthreads, datasets_annotateddatasets_feedbackthreads_feedbackmessages, datasets_dataitems, datasets_evaluations, evaluationjobs, instructions
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-clouddatalabelingcloudinfrastructure