| { |
| "kind": "discovery#restDescription", |
| "version": "v1beta1", |
| "ownerDomain": "google.com", |
| "version_module": true, |
| "discoveryVersion": "v1", |
| "fullyEncodeReservedExpansion": true, |
| "parameters": { |
| "oauth_token": { |
| "type": "string", |
| "description": "OAuth 2.0 token for the current user.", |
| "location": "query" |
| }, |
| "key": { |
| "type": "string", |
| "location": "query", |
| "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token." |
| }, |
| "alt": { |
| "enumDescriptions": [ |
| "Responses with Content-Type of application/json", |
| "Media download with context-dependent Content-Type", |
| "Responses with Content-Type of application/x-protobuf" |
| ], |
| "location": "query", |
| "type": "string", |
| "description": "Data format for response.", |
| "enum": [ |
| "json", |
| "media", |
| "proto" |
| ], |
| "default": "json" |
| }, |
| "fields": { |
| "location": "query", |
| "type": "string", |
| "description": "Selector specifying which fields to include in a partial response." |
| }, |
| "access_token": { |
| "description": "OAuth access token.", |
| "type": "string", |
| "location": "query" |
| }, |
| "uploadType": { |
| "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
| "location": "query", |
| "type": "string" |
| }, |
| "upload_protocol": { |
| "type": "string", |
| "location": "query", |
| "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." |
| }, |
| "callback": { |
| "description": "JSONP", |
| "location": "query", |
| "type": "string" |
| }, |
| "$.xgafv": { |
| "type": "string", |
| "location": "query", |
| "enumDescriptions": [ |
| "v1 error format", |
| "v2 error format" |
| ], |
| "enum": [ |
| "1", |
| "2" |
| ], |
| "description": "V1 error format." |
| }, |
| "prettyPrint": { |
| "location": "query", |
| "type": "boolean", |
| "default": "true", |
| "description": "Returns response with indentations and line breaks." |
| }, |
| "quotaUser": { |
| "location": "query", |
| "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
| "type": "string" |
| } |
| }, |
| "auth": { |
| "oauth2": { |
| "scopes": { |
| "https://www.googleapis.com/auth/cloud-platform": { |
| "description": "View and manage your data across Google Cloud Platform services" |
| } |
| } |
| } |
| }, |
| "revision": "20201020", |
| "baseUrl": "https://datalabeling.googleapis.com/", |
| "protocol": "rest", |
| "mtlsRootUrl": "https://datalabeling.mtls.googleapis.com/", |
| "name": "datalabeling", |
| "servicePath": "", |
| "resources": { |
| "projects": { |
| "resources": { |
| "annotationSpecSets": { |
| "methods": { |
| "get": { |
| "httpMethod": "GET", |
| "flatPath": "v1beta1/projects/{projectsId}/annotationSpecSets/{annotationSpecSetsId}", |
| "description": "Gets an annotation spec set by resource name.", |
| "id": "datalabeling.projects.annotationSpecSets.get", |
| "parameters": { |
| "name": { |
| "type": "string", |
| "location": "path", |
| "required": true, |
| "pattern": "^projects/[^/]+/annotationSpecSets/[^/]+$", |
| "description": "Required. AnnotationSpecSet resource name, format: projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}" |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "path": "v1beta1/{+name}", |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpecSet" |
| }, |
| "parameterOrder": [ |
| "name" |
| ] |
| }, |
| "create": { |
| "path": "v1beta1/{+parent}/annotationSpecSets", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "parameters": { |
| "parent": { |
| "location": "path", |
| "required": true, |
| "pattern": "^projects/[^/]+$", |
| "description": "Required. AnnotationSpecSet resource parent, format: projects/{project_id}", |
| "type": "string" |
| } |
| }, |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpecSet" |
| }, |
| "id": "datalabeling.projects.annotationSpecSets.create", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "request": { |
| "$ref": "GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest" |
| }, |
| "httpMethod": "POST", |
| "flatPath": "v1beta1/projects/{projectsId}/annotationSpecSets", |
| "description": "Creates an annotation spec set by providing a set of labels." |
| }, |
| "delete": { |
| "parameterOrder": [ |
| "name" |
| ], |
| "id": "datalabeling.projects.annotationSpecSets.delete", |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "parameters": { |
| "name": { |
| "location": "path", |
| "required": true, |
| "pattern": "^projects/[^/]+/annotationSpecSets/[^/]+$", |
| "type": "string", |
| "description": "Required. AnnotationSpec resource name, format: `projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}`." |
| } |
| }, |
| "httpMethod": "DELETE", |
| "flatPath": "v1beta1/projects/{projectsId}/annotationSpecSets/{annotationSpecSetsId}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Deletes an annotation spec set by resource name.", |
| "path": "v1beta1/{+name}" |
| }, |
| "list": { |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse" |
| }, |
| "parameterOrder": [ |
| "parent" |
| ], |
| "httpMethod": "GET", |
| "parameters": { |
| "parent": { |
| "description": "Required. Parent of AnnotationSpecSet resource, format: projects/{project_id}", |
| "required": true, |
| "location": "path", |
| "type": "string", |
| "pattern": "^projects/[^/]+$" |
| }, |
| "pageToken": { |
| "location": "query", |
| "type": "string", |
| "description": "Optional. A token identifying a page of results for the server to return. Typically obtained by ListAnnotationSpecSetsResponse.next_page_token of the previous [DataLabelingService.ListAnnotationSpecSets] call. Return first page if empty." |
| }, |
| "filter": { |
| "location": "query", |
| "type": "string", |
| "description": "Optional. Filter is not supported at this moment." |
| }, |
| "pageSize": { |
| "location": "query", |
| "type": "integer", |
| "description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100.", |
| "format": "int32" |
| } |
| }, |
| "id": "datalabeling.projects.annotationSpecSets.list", |
| "path": "v1beta1/{+parent}/annotationSpecSets", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Lists annotation spec sets for a project. Pagination is supported.", |
| "flatPath": "v1beta1/projects/{projectsId}/annotationSpecSets" |
| } |
| } |
| }, |
| "operations": { |
| "methods": { |
| "list": { |
| "flatPath": "v1beta1/projects/{projectsId}/operations", |
| "parameters": { |
| "pageToken": { |
| "description": "The standard list page token.", |
| "type": "string", |
| "location": "query" |
| }, |
| "filter": { |
| "description": "The standard list filter.", |
| "location": "query", |
| "type": "string" |
| }, |
| "pageSize": { |
| "format": "int32", |
| "type": "integer", |
| "description": "The standard list page size.", |
| "location": "query" |
| }, |
| "name": { |
| "location": "path", |
| "pattern": "^projects/[^/]+$", |
| "type": "string", |
| "description": "The name of the operation's parent resource.", |
| "required": true |
| } |
| }, |
| "id": "datalabeling.projects.operations.list", |
| "path": "v1beta1/{+name}/operations", |
| "parameterOrder": [ |
| "name" |
| ], |
| "response": { |
| "$ref": "GoogleLongrunningListOperationsResponse" |
| }, |
| "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "httpMethod": "GET" |
| }, |
| "cancel": { |
| "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", |
| "httpMethod": "GET", |
| "flatPath": "v1beta1/projects/{projectsId}/operations/{operationsId}:cancel", |
| "parameterOrder": [ |
| "name" |
| ], |
| "id": "datalabeling.projects.operations.cancel", |
| "path": "v1beta1/{+name}:cancel", |
| "parameters": { |
| "name": { |
| "required": true, |
| "pattern": "^projects/[^/]+/operations/[^/]+$", |
| "description": "The name of the operation resource to be cancelled.", |
| "location": "path", |
| "type": "string" |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| } |
| }, |
| "delete": { |
| "parameters": { |
| "name": { |
| "description": "The name of the operation resource to be deleted.", |
| "location": "path", |
| "type": "string", |
| "pattern": "^projects/[^/]+/operations/[^/]+$", |
| "required": true |
| } |
| }, |
| "flatPath": "v1beta1/projects/{projectsId}/operations/{operationsId}", |
| "id": "datalabeling.projects.operations.delete", |
| "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", |
| "path": "v1beta1/{+name}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "httpMethod": "DELETE", |
| "parameterOrder": [ |
| "name" |
| ], |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| } |
| }, |
| "get": { |
| "id": "datalabeling.projects.operations.get", |
| "flatPath": "v1beta1/projects/{projectsId}/operations/{operationsId}", |
| "parameterOrder": [ |
| "name" |
| ], |
| "httpMethod": "GET", |
| "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", |
| "parameters": { |
| "name": { |
| "type": "string", |
| "pattern": "^projects/[^/]+/operations/[^/]+$", |
| "description": "The name of the operation resource.", |
| "required": true, |
| "location": "path" |
| } |
| }, |
| "path": "v1beta1/{+name}", |
| "response": { |
| "$ref": "GoogleLongrunningOperation" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ] |
| } |
| } |
| }, |
| "evaluationJobs": { |
| "methods": { |
| "delete": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameterOrder": [ |
| "name" |
| ], |
| "path": "v1beta1/{+name}", |
| "id": "datalabeling.projects.evaluationJobs.delete", |
| "description": "Stops and deletes an evaluation job.", |
| "httpMethod": "DELETE", |
| "flatPath": "v1beta1/projects/{projectsId}/evaluationJobs/{evaluationJobsId}", |
| "parameters": { |
| "name": { |
| "location": "path", |
| "required": true, |
| "type": "string", |
| "description": "Required. Name of the evaluation job that is going to be deleted. Format: \"projects/{project_id}/evaluationJobs/{evaluation_job_id}\"", |
| "pattern": "^projects/[^/]+/evaluationJobs/[^/]+$" |
| } |
| }, |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| } |
| }, |
| "pause": { |
| "path": "v1beta1/{+name}:pause", |
| "parameterOrder": [ |
| "name" |
| ], |
| "parameters": { |
| "name": { |
| "type": "string", |
| "pattern": "^projects/[^/]+/evaluationJobs/[^/]+$", |
| "location": "path", |
| "description": "Required. Name of the evaluation job that is going to be paused. Format: \"projects/{project_id}/evaluationJobs/{evaluation_job_id}\"", |
| "required": true |
| } |
| }, |
| "request": { |
| "$ref": "GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest" |
| }, |
| "flatPath": "v1beta1/projects/{projectsId}/evaluationJobs/{evaluationJobsId}:pause", |
| "httpMethod": "POST", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Pauses an evaluation job. Pausing an evaluation job that is already in a `PAUSED` state is a no-op.", |
| "id": "datalabeling.projects.evaluationJobs.pause", |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| } |
| }, |
| "create": { |
| "id": "datalabeling.projects.evaluationJobs.create", |
| "request": { |
| "$ref": "GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest" |
| }, |
| "parameters": { |
| "parent": { |
| "required": true, |
| "type": "string", |
| "description": "Required. Evaluation job resource parent. Format: \"projects/{project_id}\"", |
| "pattern": "^projects/[^/]+$", |
| "location": "path" |
| } |
| }, |
| "flatPath": "v1beta1/projects/{projectsId}/evaluationJobs", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "path": "v1beta1/{+parent}/evaluationJobs", |
| "description": "Creates an evaluation job.", |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1EvaluationJob" |
| }, |
| "httpMethod": "POST" |
| }, |
| "resume": { |
| "description": "Resumes a paused evaluation job. A deleted evaluation job can't be resumed. Resuming a running or scheduled evaluation job is a no-op.", |
| "parameters": { |
| "name": { |
| "type": "string", |
| "pattern": "^projects/[^/]+/evaluationJobs/[^/]+$", |
| "location": "path", |
| "description": "Required. Name of the evaluation job that is going to be resumed. Format: \"projects/{project_id}/evaluationJobs/{evaluation_job_id}\"", |
| "required": true |
| } |
| }, |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "flatPath": "v1beta1/projects/{projectsId}/evaluationJobs/{evaluationJobsId}:resume", |
| "request": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest" |
| }, |
| "id": "datalabeling.projects.evaluationJobs.resume", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "httpMethod": "POST", |
| "parameterOrder": [ |
| "name" |
| ], |
| "path": "v1beta1/{+name}:resume" |
| }, |
| "get": { |
| "path": "v1beta1/{+name}", |
| "parameterOrder": [ |
| "name" |
| ], |
| "flatPath": "v1beta1/projects/{projectsId}/evaluationJobs/{evaluationJobsId}", |
| "parameters": { |
| "name": { |
| "location": "path", |
| "type": "string", |
| "pattern": "^projects/[^/]+/evaluationJobs/[^/]+$", |
| "required": true, |
| "description": "Required. Name of the evaluation job. Format: \"projects/{project_id} /evaluationJobs/{evaluation_job_id}\"" |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Gets an evaluation job by resource name.", |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1EvaluationJob" |
| }, |
| "httpMethod": "GET", |
| "id": "datalabeling.projects.evaluationJobs.get" |
| }, |
| "list": { |
| "parameters": { |
| "pageToken": { |
| "type": "string", |
| "location": "query", |
| "description": "Optional. A token identifying a page of results for the server to return. Typically obtained by the nextPageToken in the response to the previous request. The request returns the first page if this is empty." |
| }, |
| "parent": { |
| "pattern": "^projects/[^/]+$", |
| "required": true, |
| "type": "string", |
| "location": "path", |
| "description": "Required. Evaluation job resource parent. Format: \"projects/{project_id}\"" |
| }, |
| "filter": { |
| "type": "string", |
| "location": "query", |
| "description": "Optional. You can filter the jobs to list by model_id (also known as model_name, as described in EvaluationJob.modelVersion) or by evaluation job state (as described in EvaluationJob.state). To filter by both criteria, use the `AND` operator or the `OR` operator. For example, you can use the following string for your filter: \"evaluation_job.model_id = {model_name} AND evaluation_job.state = {evaluation_job_state}\"" |
| }, |
| "pageSize": { |
| "type": "integer", |
| "description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100.", |
| "location": "query", |
| "format": "int32" |
| } |
| }, |
| "flatPath": "v1beta1/projects/{projectsId}/evaluationJobs", |
| "id": "datalabeling.projects.evaluationJobs.list", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse" |
| }, |
| "path": "v1beta1/{+parent}/evaluationJobs", |
| "description": "Lists all evaluation jobs within a project with possible filters. Pagination is supported.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "httpMethod": "GET" |
| }, |
| "patch": { |
| "parameterOrder": [ |
| "name" |
| ], |
| "parameters": { |
| "name": { |
| "type": "string", |
| "location": "path", |
| "required": true, |
| "pattern": "^projects/[^/]+/evaluationJobs/[^/]+$", |
| "description": "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}\"" |
| }, |
| "updateMask": { |
| "format": "google-fieldmask", |
| "location": "query", |
| "description": "Optional. Mask for which fields to update. You can only provide the following fields: * `evaluationJobConfig.humanAnnotationConfig.instruction` * `evaluationJobConfig.exampleCount` * `evaluationJobConfig.exampleSamplePercentage` You can provide more than one of these fields by separating them with commas.", |
| "type": "string" |
| } |
| }, |
| "id": "datalabeling.projects.evaluationJobs.patch", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "path": "v1beta1/{+name}", |
| "request": { |
| "$ref": "GoogleCloudDatalabelingV1beta1EvaluationJob" |
| }, |
| "description": "Updates an evaluation job. You can only update certain fields of the job's EvaluationJobConfig: `humanAnnotationConfig.instruction`, `exampleCount`, and `exampleSamplePercentage`. If you want to change any other aspect of the evaluation job, you must delete the job and create a new one.", |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1EvaluationJob" |
| }, |
| "httpMethod": "PATCH", |
| "flatPath": "v1beta1/projects/{projectsId}/evaluationJobs/{evaluationJobsId}" |
| } |
| } |
| }, |
| "instructions": { |
| "methods": { |
| "create": { |
| "request": { |
| "$ref": "GoogleCloudDatalabelingV1beta1CreateInstructionRequest" |
| }, |
| "response": { |
| "$ref": "GoogleLongrunningOperation" |
| }, |
| "flatPath": "v1beta1/projects/{projectsId}/instructions", |
| "id": "datalabeling.projects.instructions.create", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Creates an instruction for how data should be labeled.", |
| "path": "v1beta1/{+parent}/instructions", |
| "httpMethod": "POST", |
| "parameters": { |
| "parent": { |
| "required": true, |
| "description": "Required. Instruction resource parent, format: projects/{project_id}", |
| "pattern": "^projects/[^/]+$", |
| "type": "string", |
| "location": "path" |
| } |
| } |
| }, |
| "list": { |
| "parameterOrder": [ |
| "parent" |
| ], |
| "path": "v1beta1/{+parent}/instructions", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "flatPath": "v1beta1/projects/{projectsId}/instructions", |
| "id": "datalabeling.projects.instructions.list", |
| "httpMethod": "GET", |
| "parameters": { |
| "pageSize": { |
| "format": "int32", |
| "type": "integer", |
| "description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100.", |
| "location": "query" |
| }, |
| "parent": { |
| "type": "string", |
| "pattern": "^projects/[^/]+$", |
| "required": true, |
| "location": "path", |
| "description": "Required. Instruction resource parent, format: projects/{project_id}" |
| }, |
| "filter": { |
| "description": "Optional. Filter is not supported at this moment.", |
| "location": "query", |
| "type": "string" |
| }, |
| "pageToken": { |
| "type": "string", |
| "description": "Optional. A token identifying a page of results for the server to return. Typically obtained by ListInstructionsResponse.next_page_token of the previous [DataLabelingService.ListInstructions] call. Return first page if empty.", |
| "location": "query" |
| } |
| }, |
| "description": "Lists instructions for a project. Pagination is supported.", |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ListInstructionsResponse" |
| } |
| }, |
| "delete": { |
| "flatPath": "v1beta1/projects/{projectsId}/instructions/{instructionsId}", |
| "parameters": { |
| "name": { |
| "description": "Required. Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}", |
| "required": true, |
| "type": "string", |
| "pattern": "^projects/[^/]+/instructions/[^/]+$", |
| "location": "path" |
| } |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "id": "datalabeling.projects.instructions.delete", |
| "path": "v1beta1/{+name}", |
| "description": "Deletes an instruction object by resource name.", |
| "httpMethod": "DELETE", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| } |
| }, |
| "get": { |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1Instruction" |
| }, |
| "id": "datalabeling.projects.instructions.get", |
| "flatPath": "v1beta1/projects/{projectsId}/instructions/{instructionsId}", |
| "httpMethod": "GET", |
| "description": "Gets an instruction by resource name.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameters": { |
| "name": { |
| "type": "string", |
| "location": "path", |
| "required": true, |
| "description": "Required. Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}", |
| "pattern": "^projects/[^/]+/instructions/[^/]+$" |
| } |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "path": "v1beta1/{+name}" |
| } |
| } |
| }, |
| "datasets": { |
| "methods": { |
| "create": { |
| "path": "v1beta1/{+parent}/datasets", |
| "flatPath": "v1beta1/projects/{projectsId}/datasets", |
| "httpMethod": "POST", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "parameters": { |
| "parent": { |
| "description": "Required. Dataset resource parent, format: projects/{project_id}", |
| "location": "path", |
| "pattern": "^projects/[^/]+$", |
| "type": "string", |
| "required": true |
| } |
| }, |
| "description": "Creates dataset. If success return a Dataset resource.", |
| "request": { |
| "$ref": "GoogleCloudDatalabelingV1beta1CreateDatasetRequest" |
| }, |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1Dataset" |
| }, |
| "id": "datalabeling.projects.datasets.create", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ] |
| }, |
| "importData": { |
| "request": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ImportDataRequest" |
| }, |
| "id": "datalabeling.projects.datasets.importData", |
| "httpMethod": "POST", |
| "description": "Imports data into dataset based on source locations defined in request. It can be called multiple times for the same dataset. Each dataset can only have one long running operation running on it. For example, no labeling task (also long running operation) can be started while importing is still ongoing. Vice versa.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "path": "v1beta1/{+name}:importData", |
| "parameters": { |
| "name": { |
| "required": true, |
| "type": "string", |
| "location": "path", |
| "pattern": "^projects/[^/]+/datasets/[^/]+$", |
| "description": "Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id}" |
| } |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "response": { |
| "$ref": "GoogleLongrunningOperation" |
| }, |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}:importData" |
| }, |
| "exportData": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "request": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ExportDataRequest" |
| }, |
| "response": { |
| "$ref": "GoogleLongrunningOperation" |
| }, |
| "parameters": { |
| "name": { |
| "description": "Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id}", |
| "type": "string", |
| "pattern": "^projects/[^/]+/datasets/[^/]+$", |
| "required": true, |
| "location": "path" |
| } |
| }, |
| "httpMethod": "POST", |
| "id": "datalabeling.projects.datasets.exportData", |
| "path": "v1beta1/{+name}:exportData", |
| "parameterOrder": [ |
| "name" |
| ], |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}:exportData", |
| "description": "Exports data and annotations from dataset." |
| }, |
| "list": { |
| "httpMethod": "GET", |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ListDatasetsResponse" |
| }, |
| "parameters": { |
| "pageSize": { |
| "description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100.", |
| "type": "integer", |
| "format": "int32", |
| "location": "query" |
| }, |
| "filter": { |
| "type": "string", |
| "location": "query", |
| "description": "Optional. Filter on dataset is not supported at this moment." |
| }, |
| "parent": { |
| "type": "string", |
| "location": "path", |
| "pattern": "^projects/[^/]+$", |
| "description": "Required. Dataset resource parent, format: projects/{project_id}", |
| "required": true |
| }, |
| "pageToken": { |
| "location": "query", |
| "type": "string", |
| "description": "Optional. A token identifying a page of results for the server to return. Typically obtained by ListDatasetsResponse.next_page_token of the previous [DataLabelingService.ListDatasets] call. Returns the first page if empty." |
| } |
| }, |
| "description": "Lists datasets under a project. Pagination is supported.", |
| "flatPath": "v1beta1/projects/{projectsId}/datasets", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "path": "v1beta1/{+parent}/datasets", |
| "id": "datalabeling.projects.datasets.list", |
| "parameterOrder": [ |
| "parent" |
| ] |
| }, |
| "get": { |
| "description": "Gets dataset by resource name.", |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1Dataset" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameterOrder": [ |
| "name" |
| ], |
| "id": "datalabeling.projects.datasets.get", |
| "parameters": { |
| "name": { |
| "pattern": "^projects/[^/]+/datasets/[^/]+$", |
| "required": true, |
| "description": "Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id}", |
| "type": "string", |
| "location": "path" |
| } |
| }, |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}", |
| "path": "v1beta1/{+name}", |
| "httpMethod": "GET" |
| }, |
| "delete": { |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "parameters": { |
| "name": { |
| "location": "path", |
| "required": true, |
| "type": "string", |
| "pattern": "^projects/[^/]+/datasets/[^/]+$", |
| "description": "Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id}" |
| } |
| }, |
| "description": "Deletes a dataset by resource name.", |
| "id": "datalabeling.projects.datasets.delete", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}", |
| "path": "v1beta1/{+name}", |
| "httpMethod": "DELETE", |
| "parameterOrder": [ |
| "name" |
| ] |
| } |
| }, |
| "resources": { |
| "dataItems": { |
| "methods": { |
| "list": { |
| "description": "Lists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported.", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "httpMethod": "GET", |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ListDataItemsResponse" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/dataItems", |
| "path": "v1beta1/{+parent}/dataItems", |
| "id": "datalabeling.projects.datasets.dataItems.list", |
| "parameters": { |
| "pageToken": { |
| "location": "query", |
| "type": "string", |
| "description": "Optional. A token identifying a page of results for the server to return. Typically obtained by ListDataItemsResponse.next_page_token of the previous [DataLabelingService.ListDataItems] call. Return first page if empty." |
| }, |
| "pageSize": { |
| "location": "query", |
| "type": "integer", |
| "format": "int32", |
| "description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100." |
| }, |
| "filter": { |
| "description": "Optional. Filter is not supported at this moment.", |
| "location": "query", |
| "type": "string" |
| }, |
| "parent": { |
| "pattern": "^projects/[^/]+/datasets/[^/]+$", |
| "description": "Required. Name of the dataset to list data items, format: projects/{project_id}/datasets/{dataset_id}", |
| "required": true, |
| "type": "string", |
| "location": "path" |
| } |
| } |
| }, |
| "get": { |
| "parameters": { |
| "name": { |
| "pattern": "^projects/[^/]+/datasets/[^/]+/dataItems/[^/]+$", |
| "required": true, |
| "description": "Required. The name of the data item to get, format: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}", |
| "type": "string", |
| "location": "path" |
| } |
| }, |
| "path": "v1beta1/{+name}", |
| "description": "Gets a data item in a dataset by resource name. This API can be called after data are imported into dataset.", |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/dataItems/{dataItemsId}", |
| "id": "datalabeling.projects.datasets.dataItems.get", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1DataItem" |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "httpMethod": "GET" |
| } |
| } |
| }, |
| "image": { |
| "methods": { |
| "label": { |
| "parameters": { |
| "parent": { |
| "location": "path", |
| "type": "string", |
| "required": true, |
| "description": "Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}", |
| "pattern": "^projects/[^/]+/datasets/[^/]+$" |
| } |
| }, |
| "httpMethod": "POST", |
| "response": { |
| "$ref": "GoogleLongrunningOperation" |
| }, |
| "path": "v1beta1/{+parent}/image:label", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "request": { |
| "$ref": "GoogleCloudDatalabelingV1beta1LabelImageRequest" |
| }, |
| "description": "Starts a labeling task for image. The type of image labeling task is configured by feature in the request.", |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/image:label", |
| "id": "datalabeling.projects.datasets.image.label", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ] |
| } |
| } |
| }, |
| "text": { |
| "methods": { |
| "label": { |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/text:label", |
| "parameters": { |
| "parent": { |
| "type": "string", |
| "location": "path", |
| "pattern": "^projects/[^/]+/datasets/[^/]+$", |
| "required": true, |
| "description": "Required. Name of the data set to request labeling task, format: projects/{project_id}/datasets/{dataset_id}" |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "path": "v1beta1/{+parent}/text:label", |
| "description": "Starts a labeling task for text. The type of text labeling task is configured by feature in the request.", |
| "id": "datalabeling.projects.datasets.text.label", |
| "request": { |
| "$ref": "GoogleCloudDatalabelingV1beta1LabelTextRequest" |
| }, |
| "response": { |
| "$ref": "GoogleLongrunningOperation" |
| }, |
| "httpMethod": "POST", |
| "parameterOrder": [ |
| "parent" |
| ] |
| } |
| } |
| }, |
| "annotatedDatasets": { |
| "resources": { |
| "feedbackThreads": { |
| "methods": { |
| "get": { |
| "description": "Get a FeedbackThread object.", |
| "parameterOrder": [ |
| "name" |
| ], |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1FeedbackThread" |
| }, |
| "id": "datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.get", |
| "parameters": { |
| "name": { |
| "description": "Required. Name of the feedback. Format: 'projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}'.", |
| "type": "string", |
| "required": true, |
| "pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+/feedbackThreads/[^/]+$", |
| "location": "path" |
| } |
| }, |
| "path": "v1beta1/{+name}", |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}/feedbackThreads/{feedbackThreadsId}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "httpMethod": "GET" |
| }, |
| "list": { |
| "id": "datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.list", |
| "description": "List FeedbackThreads with pagination.", |
| "httpMethod": "GET", |
| "parameters": { |
| "parent": { |
| "type": "string", |
| "location": "path", |
| "description": "Required. FeedbackThread resource parent. Format: \"projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}\"", |
| "pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+$", |
| "required": true |
| }, |
| "pageToken": { |
| "location": "query", |
| "description": "Optional. A token identifying a page of results for the server to return. Typically obtained by ListFeedbackThreads.next_page_token of the previous [DataLabelingService.ListFeedbackThreads] call. Return first page if empty.", |
| "type": "string" |
| }, |
| "pageSize": { |
| "location": "query", |
| "type": "integer", |
| "description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100.", |
| "format": "int32" |
| } |
| }, |
| "path": "v1beta1/{+parent}/feedbackThreads", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse" |
| }, |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}/feedbackThreads" |
| }, |
| "delete": { |
| "description": "Delete a FeedbackThread.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "httpMethod": "DELETE", |
| "path": "v1beta1/{+name}", |
| "parameters": { |
| "name": { |
| "required": true, |
| "location": "path", |
| "type": "string", |
| "pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+/feedbackThreads/[^/]+$", |
| "description": "Required. Name of the FeedbackThread that is going to be deleted. Format: 'projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}'." |
| } |
| }, |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}/feedbackThreads/{feedbackThreadsId}", |
| "id": "datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.delete" |
| } |
| }, |
| "resources": { |
| "feedbackMessages": { |
| "methods": { |
| "create": { |
| "parameters": { |
| "parent": { |
| "required": true, |
| "description": "Required. FeedbackMessage resource parent, format: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}.", |
| "type": "string", |
| "pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+/feedbackThreads/[^/]+$", |
| "location": "path" |
| } |
| }, |
| "id": "datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.create", |
| "request": { |
| "$ref": "GoogleCloudDatalabelingV1beta1FeedbackMessage" |
| }, |
| "path": "v1beta1/{+parent}/feedbackMessages", |
| "description": "Create a FeedbackMessage object.", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}/feedbackThreads/{feedbackThreadsId}/feedbackMessages", |
| "response": { |
| "$ref": "GoogleLongrunningOperation" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "httpMethod": "POST" |
| }, |
| "list": { |
| "id": "datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.list", |
| "description": "List FeedbackMessages with pagination.", |
| "parameters": { |
| "parent": { |
| "type": "string", |
| "pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+/feedbackThreads/[^/]+$", |
| "description": "Required. FeedbackMessage resource parent. Format: \"projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}\"", |
| "location": "path", |
| "required": true |
| }, |
| "pageSize": { |
| "location": "query", |
| "type": "integer", |
| "description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100.", |
| "format": "int32" |
| }, |
| "pageToken": { |
| "type": "string", |
| "description": "Optional. A token identifying a page of results for the server to return. Typically obtained by ListFeedbackMessages.next_page_token of the previous [DataLabelingService.ListFeedbackMessages] call. Return first page if empty.", |
| "location": "query" |
| } |
| }, |
| "httpMethod": "GET", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse" |
| }, |
| "parameterOrder": [ |
| "parent" |
| ], |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}/feedbackThreads/{feedbackThreadsId}/feedbackMessages", |
| "path": "v1beta1/{+parent}/feedbackMessages" |
| }, |
| "get": { |
| "id": "datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.get", |
| "httpMethod": "GET", |
| "path": "v1beta1/{+name}", |
| "parameterOrder": [ |
| "name" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1FeedbackMessage" |
| }, |
| "parameters": { |
| "name": { |
| "type": "string", |
| "location": "path", |
| "pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+/feedbackThreads/[^/]+/feedbackMessages/[^/]+$", |
| "description": "Required. Name of the feedback. Format: 'projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}/feedbackMessages/{feedback_message_id}'.", |
| "required": true |
| } |
| }, |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}/feedbackThreads/{feedbackThreadsId}/feedbackMessages/{feedbackMessagesId}", |
| "description": "Get a FeedbackMessage object." |
| }, |
| "delete": { |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}/feedbackThreads/{feedbackThreadsId}/feedbackMessages/{feedbackMessagesId}", |
| "parameterOrder": [ |
| "name" |
| ], |
| "path": "v1beta1/{+name}", |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameters": { |
| "name": { |
| "pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+/feedbackThreads/[^/]+/feedbackMessages/[^/]+$", |
| "description": "Required. Name of the FeedbackMessage that is going to be deleted. Format: 'projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}/feedbackMessages/{feedback_message_id}'.", |
| "location": "path", |
| "required": true, |
| "type": "string" |
| } |
| }, |
| "description": "Delete a FeedbackMessage.", |
| "id": "datalabeling.projects.datasets.annotatedDatasets.feedbackThreads.feedbackMessages.delete", |
| "httpMethod": "DELETE" |
| } |
| } |
| } |
| } |
| }, |
| "examples": { |
| "methods": { |
| "list": { |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ListExamplesResponse" |
| }, |
| "httpMethod": "GET", |
| "id": "datalabeling.projects.datasets.annotatedDatasets.examples.list", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Lists examples in an annotated dataset. Pagination is supported.", |
| "path": "v1beta1/{+parent}/examples", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}/examples", |
| "parameters": { |
| "filter": { |
| "location": "query", |
| "description": "Optional. An expression for filtering Examples. For annotated datasets that have annotation spec set, filter by annotation_spec.display_name is supported. Format \"annotation_spec.display_name = {display_name}\"", |
| "type": "string" |
| }, |
| "pageToken": { |
| "location": "query", |
| "description": "Optional. A token identifying a page of results for the server to return. Typically obtained by ListExamplesResponse.next_page_token of the previous [DataLabelingService.ListExamples] call. Return first page if empty.", |
| "type": "string" |
| }, |
| "parent": { |
| "pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+$", |
| "type": "string", |
| "required": true, |
| "description": "Required. Example resource parent.", |
| "location": "path" |
| }, |
| "pageSize": { |
| "type": "integer", |
| "location": "query", |
| "description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100.", |
| "format": "int32" |
| } |
| } |
| }, |
| "get": { |
| "httpMethod": "GET", |
| "parameterOrder": [ |
| "name" |
| ], |
| "path": "v1beta1/{+name}", |
| "description": "Gets an example by resource name, including both data and annotation.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1Example" |
| }, |
| "id": "datalabeling.projects.datasets.annotatedDatasets.examples.get", |
| "parameters": { |
| "filter": { |
| "type": "string", |
| "description": "Optional. An expression for filtering Examples. Filter by annotation_spec.display_name is supported. Format \"annotation_spec.display_name = {display_name}\"", |
| "location": "query" |
| }, |
| "name": { |
| "pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+/examples/[^/]+$", |
| "location": "path", |
| "required": true, |
| "type": "string", |
| "description": "Required. Name of example, format: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}/examples/{example_id}" |
| } |
| }, |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}/examples/{examplesId}" |
| } |
| } |
| }, |
| "dataItems": { |
| "methods": { |
| "list": { |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ListDataItemsResponse" |
| }, |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}/dataItems", |
| "id": "datalabeling.projects.datasets.annotatedDatasets.dataItems.list", |
| "httpMethod": "GET", |
| "path": "v1beta1/{+parent}/dataItems", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameters": { |
| "pageSize": { |
| "type": "integer", |
| "format": "int32", |
| "description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100.", |
| "location": "query" |
| }, |
| "parent": { |
| "location": "path", |
| "pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+$", |
| "type": "string", |
| "required": true, |
| "description": "Required. Name of the dataset to list data items, format: projects/{project_id}/datasets/{dataset_id}" |
| }, |
| "pageToken": { |
| "description": "Optional. A token identifying a page of results for the server to return. Typically obtained by ListDataItemsResponse.next_page_token of the previous [DataLabelingService.ListDataItems] call. Return first page if empty.", |
| "type": "string", |
| "location": "query" |
| }, |
| "filter": { |
| "description": "Optional. Filter is not supported at this moment.", |
| "location": "query", |
| "type": "string" |
| } |
| }, |
| "description": "Lists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported." |
| }, |
| "get": { |
| "httpMethod": "GET", |
| "id": "datalabeling.projects.datasets.annotatedDatasets.dataItems.get", |
| "path": "v1beta1/{+name}", |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}/dataItems/{dataItemsId}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Gets a data item in a dataset by resource name. This API can be called after data are imported into dataset.", |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1DataItem" |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "parameters": { |
| "name": { |
| "description": "Required. The name of the data item to get, format: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}", |
| "location": "path", |
| "required": true, |
| "type": "string", |
| "pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+/dataItems/[^/]+$" |
| } |
| } |
| } |
| } |
| } |
| }, |
| "methods": { |
| "list": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse" |
| }, |
| "id": "datalabeling.projects.datasets.annotatedDatasets.list", |
| "parameters": { |
| "filter": { |
| "description": "Optional. Filter is not supported at this moment.", |
| "location": "query", |
| "type": "string" |
| }, |
| "parent": { |
| "location": "path", |
| "required": true, |
| "type": "string", |
| "pattern": "^projects/[^/]+/datasets/[^/]+$", |
| "description": "Required. Name of the dataset to list annotated datasets, format: projects/{project_id}/datasets/{dataset_id}" |
| }, |
| "pageSize": { |
| "description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100.", |
| "format": "int32", |
| "location": "query", |
| "type": "integer" |
| }, |
| "pageToken": { |
| "type": "string", |
| "description": "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.", |
| "location": "query" |
| } |
| }, |
| "description": "Lists annotated datasets for a dataset. Pagination is supported.", |
| "path": "v1beta1/{+parent}/annotatedDatasets", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "httpMethod": "GET", |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets" |
| }, |
| "get": { |
| "httpMethod": "GET", |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1AnnotatedDataset" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "parameters": { |
| "name": { |
| "description": "Required. Name of the annotated dataset to get, format: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}", |
| "type": "string", |
| "required": true, |
| "location": "path", |
| "pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+$" |
| } |
| }, |
| "description": "Gets an annotated dataset by resource name.", |
| "path": "v1beta1/{+name}", |
| "parameterOrder": [ |
| "name" |
| ], |
| "id": "datalabeling.projects.datasets.annotatedDatasets.get", |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}" |
| }, |
| "delete": { |
| "parameters": { |
| "name": { |
| "required": true, |
| "description": "Required. Name of the annotated dataset to delete, format: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}", |
| "type": "string", |
| "location": "path", |
| "pattern": "^projects/[^/]+/datasets/[^/]+/annotatedDatasets/[^/]+$" |
| } |
| }, |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/annotatedDatasets/{annotatedDatasetsId}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "id": "datalabeling.projects.datasets.annotatedDatasets.delete", |
| "parameterOrder": [ |
| "name" |
| ], |
| "description": "Deletes an annotated dataset by resource name.", |
| "httpMethod": "DELETE", |
| "path": "v1beta1/{+name}", |
| "response": { |
| "$ref": "GoogleProtobufEmpty" |
| } |
| } |
| } |
| }, |
| "video": { |
| "methods": { |
| "label": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "response": { |
| "$ref": "GoogleLongrunningOperation" |
| }, |
| "id": "datalabeling.projects.datasets.video.label", |
| "path": "v1beta1/{+parent}/video:label", |
| "request": { |
| "$ref": "GoogleCloudDatalabelingV1beta1LabelVideoRequest" |
| }, |
| "description": "Starts a labeling task for video. The type of video labeling task is configured by feature in the request.", |
| "httpMethod": "POST", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "parameters": { |
| "parent": { |
| "type": "string", |
| "location": "path", |
| "required": true, |
| "pattern": "^projects/[^/]+/datasets/[^/]+$", |
| "description": "Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}" |
| } |
| }, |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/video:label" |
| } |
| } |
| }, |
| "evaluations": { |
| "resources": { |
| "exampleComparisons": { |
| "methods": { |
| "search": { |
| "path": "v1beta1/{+parent}/exampleComparisons:search", |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse" |
| }, |
| "parameterOrder": [ |
| "parent" |
| ], |
| "id": "datalabeling.projects.datasets.evaluations.exampleComparisons.search", |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "description": "Searches example comparisons from an evaluation. The return format is a list of example comparisons that show ground truth and prediction(s) for a single input. Search by providing an evaluation ID.", |
| "httpMethod": "POST", |
| "parameters": { |
| "parent": { |
| "location": "path", |
| "type": "string", |
| "description": "Required. Name of the Evaluation resource to search for example comparisons from. Format: \"projects/{project_id}/datasets/{dataset_id}/evaluations/ {evaluation_id}\"", |
| "pattern": "^projects/[^/]+/datasets/[^/]+/evaluations/[^/]+$", |
| "required": true |
| } |
| }, |
| "request": { |
| "$ref": "GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest" |
| }, |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/evaluations/{evaluationsId}/exampleComparisons:search" |
| } |
| } |
| } |
| }, |
| "methods": { |
| "get": { |
| "path": "v1beta1/{+name}", |
| "description": "Gets an evaluation by resource name (to search, use projects.evaluations.search).", |
| "parameterOrder": [ |
| "name" |
| ], |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1Evaluation" |
| }, |
| "flatPath": "v1beta1/projects/{projectsId}/datasets/{datasetsId}/evaluations/{evaluationsId}", |
| "httpMethod": "GET", |
| "parameters": { |
| "name": { |
| "description": "Required. Name of the evaluation. Format: \"projects/{project_id}/datasets/ {dataset_id}/evaluations/{evaluation_id}'", |
| "type": "string", |
| "location": "path", |
| "pattern": "^projects/[^/]+/datasets/[^/]+/evaluations/[^/]+$", |
| "required": true |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "id": "datalabeling.projects.datasets.evaluations.get" |
| } |
| } |
| } |
| } |
| }, |
| "evaluations": { |
| "methods": { |
| "search": { |
| "parameters": { |
| "pageToken": { |
| "location": "query", |
| "type": "string", |
| "description": "Optional. A token identifying a page of results for the server to return. Typically obtained by the nextPageToken of the response to a previous search request. If you don't specify this field, the API call requests the first page of the search." |
| }, |
| "pageSize": { |
| "format": "int32", |
| "type": "integer", |
| "location": "query", |
| "description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100." |
| }, |
| "filter": { |
| "type": "string", |
| "description": "Optional. To search evaluations, you can filter by the following: * evaluation_job.evaluation_job_id (the last part of EvaluationJob.name) * evaluation_job.model_id (the {model_name} portion of EvaluationJob.modelVersion) * evaluation_job.evaluation_job_run_time_start (Minimum threshold for the evaluationJobRunTime that created the evaluation) * evaluation_job.evaluation_job_run_time_end (Maximum threshold for the evaluationJobRunTime that created the evaluation) * evaluation_job.job_state (EvaluationJob.state) * annotation_spec.display_name (the Evaluation contains a metric for the annotation spec with this displayName) To filter by multiple critiera, use the `AND` operator or the `OR` operator. The following examples shows a string that filters by several critiera: \"evaluation_job.evaluation_job_id = {evaluation_job_id} AND evaluation_job.model_id = {model_name} AND evaluation_job.evaluation_job_run_time_start = {timestamp_1} AND evaluation_job.evaluation_job_run_time_end = {timestamp_2} AND annotation_spec.display_name = {display_name}\"", |
| "location": "query" |
| }, |
| "parent": { |
| "location": "path", |
| "description": "Required. Evaluation search parent (project ID). Format: \"projects/ {project_id}\"", |
| "pattern": "^projects/[^/]+$", |
| "required": true, |
| "type": "string" |
| } |
| }, |
| "path": "v1beta1/{+parent}/evaluations:search", |
| "parameterOrder": [ |
| "parent" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/cloud-platform" |
| ], |
| "response": { |
| "$ref": "GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse" |
| }, |
| "id": "datalabeling.projects.evaluations.search", |
| "flatPath": "v1beta1/projects/{projectsId}/evaluations:search", |
| "description": "Searches evaluations within a project.", |
| "httpMethod": "GET" |
| } |
| } |
| } |
| } |
| } |
| }, |
| "rootUrl": "https://datalabeling.googleapis.com/", |
| "ownerName": "Google", |
| "basePath": "", |
| "canonicalName": "Data Labeling", |
| "id": "datalabeling:v1beta1", |
| "icons": { |
| "x32": "http://www.google.com/images/icons/product/search-32.gif", |
| "x16": "http://www.google.com/images/icons/product/search-16.gif" |
| }, |
| "documentationLink": "https://cloud.google.com/data-labeling/docs/", |
| "schemas": { |
| "GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingBoxOperationMetadata": { |
| "id": "GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingBoxOperationMetadata", |
| "description": "Details of a LabelImageBoundingBox operation metadata.", |
| "type": "object", |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config used in labeling request.", |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1OperatorMetadata": { |
| "properties": { |
| "labelVotes": { |
| "format": "int32", |
| "type": "integer", |
| "description": "The total number of contributors that choose this label." |
| }, |
| "totalVotes": { |
| "format": "int32", |
| "type": "integer", |
| "description": "The total number of contributors that answer this question." |
| }, |
| "score": { |
| "type": "number", |
| "description": "Confidence score corresponding to a label. For examle, if 3 contributors have answered the question and 2 of them agree on the final label, the confidence score will be 0.67 (2/3).", |
| "format": "float" |
| }, |
| "comments": { |
| "items": { |
| "type": "string" |
| }, |
| "type": "array", |
| "description": "Comments from contributors." |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1OperatorMetadata", |
| "type": "object", |
| "description": "General information useful for labels coming from contributors." |
| }, |
| "GoogleCloudDatalabelingV1p1alpha1LabelVideoClassificationOperationMetadata": { |
| "type": "object", |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config used in labeling request.", |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1p1alpha1LabelVideoClassificationOperationMetadata", |
| "description": "Details of a LabelVideoClassification operation metadata." |
| }, |
| "GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata": { |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config.", |
| "$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig" |
| } |
| }, |
| "description": "Details of a LabelImageSegmentation operation metadata.", |
| "id": "GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest": { |
| "properties": {}, |
| "type": "object", |
| "description": "Request message ResumeEvaluationJob.", |
| "id": "GoogleCloudDatalabelingV1beta1ResumeEvaluationJobRequest" |
| }, |
| "GoogleCloudDatalabelingV1beta1Vertex": { |
| "type": "object", |
| "properties": { |
| "y": { |
| "format": "int32", |
| "description": "Y coordinate.", |
| "type": "integer" |
| }, |
| "x": { |
| "description": "X coordinate.", |
| "type": "integer", |
| "format": "int32" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1Vertex", |
| "description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image." |
| }, |
| "GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata": { |
| "type": "object", |
| "properties": { |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", |
| "description": "Basic human annotation config used in labeling request." |
| } |
| }, |
| "description": "Details of LabelImageBoundingPoly operation metadata.", |
| "id": "GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata" |
| }, |
| "GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata": { |
| "type": "object", |
| "description": "Details of a LabelImageBoundingBox operation metadata.", |
| "properties": { |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig", |
| "description": "Basic human annotation config used in labeling request." |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata" |
| }, |
| "GoogleCloudDatalabelingV1beta1Row": { |
| "description": "A row in the confusion matrix. Each entry in this row has the same ground truth label.", |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1beta1Row", |
| "properties": { |
| "annotationSpec": { |
| "$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec", |
| "description": "The annotation spec of the ground truth label for this row." |
| }, |
| "entries": { |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry" |
| }, |
| "description": "A list of the confusion matrix entries. One entry for each possible predicted label.", |
| "type": "array" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1p1alpha1LabelTextEntityExtractionOperationMetadata": { |
| "description": "Details of a LabelTextEntityExtraction operation metadata.", |
| "properties": { |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig", |
| "description": "Basic human annotation config used in labeling request." |
| } |
| }, |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1p1alpha1LabelTextEntityExtractionOperationMetadata" |
| }, |
| "GoogleCloudDatalabelingV1p2alpha1OutputConfig": { |
| "properties": { |
| "gcsFolderDestination": { |
| "description": "Output to a folder in Cloud Storage. Should be used for image segmentation or document de-identification labeling outputs.", |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination" |
| }, |
| "gcsDestination": { |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1GcsDestination", |
| "description": "Output to a file in Cloud Storage. Should be used for labeling output other than image segmentation." |
| } |
| }, |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1p2alpha1OutputConfig", |
| "description": "The configuration of output data." |
| }, |
| "GoogleCloudDatalabelingV1beta1EventConfig": { |
| "id": "GoogleCloudDatalabelingV1beta1EventConfig", |
| "type": "object", |
| "properties": { |
| "clipLength": { |
| "description": "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.", |
| "format": "int32", |
| "type": "integer" |
| }, |
| "annotationSpecSets": { |
| "items": { |
| "type": "string" |
| }, |
| "description": "Required. The list of annotation spec set resource name. Similar to video classification, we support selecting event from multiple AnnotationSpecSet at the same time.", |
| "type": "array" |
| }, |
| "overlapLength": { |
| "format": "int32", |
| "description": "The overlap length between different video clips. Users can configure is field in seconds, if not set, default value is 1s.", |
| "type": "integer" |
| } |
| }, |
| "description": "Config for video event human labeling task." |
| }, |
| "GoogleCloudDatalabelingV1beta1FeedbackThread": { |
| "properties": { |
| "feedbackThreadMetadata": { |
| "$ref": "GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata", |
| "description": "Metadata regarding the feedback thread." |
| }, |
| "name": { |
| "type": "string", |
| "description": "Name of the feedback thread. Format: 'project/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}'" |
| } |
| }, |
| "type": "object", |
| "description": "A feedback thread of a certain labeling task on a certain annotated dataset.", |
| "id": "GoogleCloudDatalabelingV1beta1FeedbackThread" |
| }, |
| "GoogleCloudDatalabelingV1beta1OutputConfig": { |
| "properties": { |
| "gcsFolderDestination": { |
| "$ref": "GoogleCloudDatalabelingV1beta1GcsFolderDestination", |
| "description": "Output to a folder in Cloud Storage. Should be used for image segmentation or document de-identification labeling outputs." |
| }, |
| "gcsDestination": { |
| "description": "Output to a file in Cloud Storage. Should be used for labeling output other than image segmentation.", |
| "$ref": "GoogleCloudDatalabelingV1beta1GcsDestination" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1OutputConfig", |
| "description": "The configuration of output data.", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingPolyOperationMetadata": { |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingPolyOperationMetadata", |
| "description": "Details of LabelImageBoundingPoly operation metadata.", |
| "properties": { |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig", |
| "description": "Basic human annotation config used in labeling request." |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1BoundingPolyConfig": { |
| "properties": { |
| "instructionMessage": { |
| "description": "Optional. Instruction message showed on contributors UI.", |
| "type": "string" |
| }, |
| "annotationSpecSet": { |
| "description": "Required. Annotation spec set resource name.", |
| "type": "string" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1BoundingPolyConfig", |
| "description": "Config for image bounding poly (and bounding box) human labeling task.", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata": { |
| "description": "Details of a LabelVideoObjectDetection operation metadata.", |
| "properties": { |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig", |
| "description": "Basic human annotation config used in labeling request." |
| } |
| }, |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata" |
| }, |
| "GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata": { |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config used in labeling request.", |
| "$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata", |
| "type": "object", |
| "description": "Metadata of a LabelImageClassification operation." |
| }, |
| "GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse": { |
| "id": "GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse", |
| "properties": { |
| "nextPageToken": { |
| "type": "string", |
| "description": "A token to retrieve next page of results." |
| }, |
| "evaluations": { |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1Evaluation" |
| }, |
| "type": "array", |
| "description": "The list of evaluations matching the search." |
| } |
| }, |
| "description": "Results of searching evaluations.", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1p2alpha1GcsDestination": { |
| "properties": { |
| "outputUri": { |
| "type": "string", |
| "description": "Required. The output uri of destination file." |
| }, |
| "mimeType": { |
| "description": "Required. The format of the gcs destination. Only \"text/csv\" and \"application/json\" are supported.", |
| "type": "string" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1p2alpha1GcsDestination", |
| "type": "object", |
| "description": "Export destination of the data.Only gcs path is allowed in output_uri." |
| }, |
| "GoogleCloudDatalabelingV1alpha1GcsDestination": { |
| "properties": { |
| "outputUri": { |
| "type": "string", |
| "description": "Required. The output uri of destination file." |
| }, |
| "mimeType": { |
| "description": "Required. The format of the gcs destination. Only \"text/csv\" and \"application/json\" are supported.", |
| "type": "string" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1alpha1GcsDestination", |
| "description": "Export destination of the data.Only gcs path is allowed in output_uri.", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata": { |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata", |
| "properties": { |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig", |
| "description": "Basic human annotation config used in labeling request." |
| } |
| }, |
| "description": "Metadata of a LabelImageClassification operation." |
| }, |
| "GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata": { |
| "type": "object", |
| "description": "Details of a LabelImageBoundingBox operation metadata.", |
| "id": "GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata", |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config used in labeling request.", |
| "$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata": { |
| "type": "object", |
| "description": "Metadata of an ImportData operation.", |
| "id": "GoogleCloudDatalabelingV1p2alpha1ImportDataOperationMetadata", |
| "properties": { |
| "dataset": { |
| "type": "string", |
| "description": "Output only. The name of imported dataset. \"projects/*/datasets/*\"" |
| }, |
| "partialFailures": { |
| "type": "array", |
| "description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", |
| "items": { |
| "$ref": "GoogleRpcStatus" |
| } |
| }, |
| "createTime": { |
| "type": "string", |
| "format": "google-datetime", |
| "description": "Output only. Timestamp when import dataset request was created." |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig": { |
| "properties": { |
| "labelGroup": { |
| "description": "Optional. A human-readable label used to logically group labeling tasks. This string must match the regular expression `[a-zA-Z\\\\d_-]{0,128}`.", |
| "type": "string" |
| }, |
| "annotatedDatasetDisplayName": { |
| "description": "Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters .", |
| "type": "string" |
| }, |
| "annotatedDatasetDescription": { |
| "description": "Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long.", |
| "type": "string" |
| }, |
| "contributorEmails": { |
| "description": "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/", |
| "type": "array", |
| "items": { |
| "type": "string" |
| } |
| }, |
| "userEmailAddress": { |
| "description": "Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent.", |
| "type": "string" |
| }, |
| "instruction": { |
| "description": "Required. Instruction resource name.", |
| "type": "string" |
| }, |
| "questionDuration": { |
| "description": "Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.", |
| "format": "google-duration", |
| "type": "string" |
| }, |
| "languageCode": { |
| "type": "string", |
| "description": "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": { |
| "type": "integer", |
| "description": "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.", |
| "format": "int32" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", |
| "description": "Configuration for how human labeling task should be done.", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig": { |
| "type": "object", |
| "description": "Configuration for how human labeling task should be done.", |
| "properties": { |
| "instruction": { |
| "description": "Required. Instruction resource name.", |
| "type": "string" |
| }, |
| "annotatedDatasetDescription": { |
| "description": "Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long.", |
| "type": "string" |
| }, |
| "questionDuration": { |
| "description": "Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.", |
| "type": "string", |
| "format": "google-duration" |
| }, |
| "labelGroup": { |
| "description": "Optional. A human-readable label used to logically group labeling tasks. This string must match the regular expression `[a-zA-Z\\\\d_-]{0,128}`.", |
| "type": "string" |
| }, |
| "languageCode": { |
| "type": "string", |
| "description": "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": { |
| "type": "string", |
| "description": "Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent." |
| }, |
| "contributorEmails": { |
| "description": "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/", |
| "items": { |
| "type": "string" |
| }, |
| "type": "array" |
| }, |
| "replicaCount": { |
| "format": "int32", |
| "description": "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.", |
| "type": "integer" |
| }, |
| "annotatedDatasetDisplayName": { |
| "description": "Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters .", |
| "type": "string" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig" |
| }, |
| "GoogleCloudDatalabelingV1alpha1OutputConfig": { |
| "description": "The configuration of output data.", |
| "properties": { |
| "gcsFolderDestination": { |
| "$ref": "GoogleCloudDatalabelingV1alpha1GcsFolderDestination", |
| "description": "Output to a folder in Cloud Storage. Should be used for image segmentation or document de-identification labeling outputs." |
| }, |
| "gcsDestination": { |
| "description": "Output to a file in Cloud Storage. Should be used for labeling output other than image segmentation.", |
| "$ref": "GoogleCloudDatalabelingV1alpha1GcsDestination" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1alpha1OutputConfig", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata": { |
| "type": "object", |
| "description": "Metadata of an ImportData operation.", |
| "properties": { |
| "partialFailures": { |
| "type": "array", |
| "description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", |
| "items": { |
| "$ref": "GoogleRpcStatus" |
| } |
| }, |
| "createTime": { |
| "format": "google-datetime", |
| "type": "string", |
| "description": "Output only. Timestamp when import dataset request was created." |
| }, |
| "dataset": { |
| "type": "string", |
| "description": "Output only. The name of imported dataset. \"projects/*/datasets/*\"" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1p1alpha1ImportDataOperationMetadata" |
| }, |
| "GoogleCloudDatalabelingV1beta1LabelStats": { |
| "properties": { |
| "exampleCount": { |
| "description": "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.", |
| "additionalProperties": { |
| "format": "int64", |
| "type": "string" |
| }, |
| "type": "object" |
| } |
| }, |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1beta1LabelStats", |
| "description": "Statistics about annotation specs." |
| }, |
| "GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation": { |
| "type": "object", |
| "description": "Video classification annotation.", |
| "properties": { |
| "annotationSpec": { |
| "description": "Label of the segment specified by time_segment.", |
| "$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec" |
| }, |
| "timeSegment": { |
| "$ref": "GoogleCloudDatalabelingV1beta1TimeSegment", |
| "description": "The time segment of the video to which the annotation applies." |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation" |
| }, |
| "GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata": { |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata", |
| "description": "Details of a LabelImageBoundingBox operation metadata.", |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config used in labeling request.", |
| "$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1alpha1LabelOperationMetadata": { |
| "id": "GoogleCloudDatalabelingV1alpha1LabelOperationMetadata", |
| "properties": { |
| "progressPercent": { |
| "format": "int32", |
| "description": "Output only. Progress of label operation. Range: [0, 100].", |
| "type": "integer" |
| }, |
| "textClassificationDetails": { |
| "$ref": "GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata", |
| "description": "Details of label text classification operation." |
| }, |
| "textEntityExtractionDetails": { |
| "$ref": "GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata", |
| "description": "Details of label text entity extraction operation." |
| }, |
| "videoObjectTrackingDetails": { |
| "$ref": "GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata", |
| "description": "Details of label video object tracking operation." |
| }, |
| "imagePolylineDetails": { |
| "$ref": "GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata", |
| "description": "Details of label image polyline operation." |
| }, |
| "partialFailures": { |
| "type": "array", |
| "description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", |
| "items": { |
| "$ref": "GoogleRpcStatus" |
| } |
| }, |
| "dataset": { |
| "description": "Output only. The name of dataset to be labeled. \"projects/*/datasets/*\"", |
| "type": "string" |
| }, |
| "annotatedDataset": { |
| "description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\".", |
| "type": "string" |
| }, |
| "videoObjectDetectionDetails": { |
| "description": "Details of label video object detection operation.", |
| "$ref": "GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata" |
| }, |
| "imageClassificationDetails": { |
| "$ref": "GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata", |
| "description": "Details of label image classification operation." |
| }, |
| "imageBoundingBoxDetails": { |
| "$ref": "GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata", |
| "description": "Details of label image bounding box operation." |
| }, |
| "videoClassificationDetails": { |
| "description": "Details of label video classification operation.", |
| "$ref": "GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata" |
| }, |
| "imageOrientedBoundingBoxDetails": { |
| "description": "Details of label image oriented bounding box operation.", |
| "$ref": "GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata" |
| }, |
| "videoEventDetails": { |
| "description": "Details of label video event operation.", |
| "$ref": "GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata" |
| }, |
| "createTime": { |
| "description": "Output only. Timestamp when labeling request was created.", |
| "format": "google-datetime", |
| "type": "string" |
| }, |
| "imageBoundingPolyDetails": { |
| "description": "Details of label image bounding poly operation.", |
| "$ref": "GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata" |
| }, |
| "imageSegmentationDetails": { |
| "description": "Details of label image segmentation operation.", |
| "$ref": "GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata" |
| } |
| }, |
| "type": "object", |
| "description": "Metadata of a labeling operation, such as LabelImage or LabelVideo. Next tag: 23" |
| }, |
| "GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata": { |
| "properties": { |
| "instruction": { |
| "type": "string", |
| "description": "The name of the created Instruction. projects/{project_id}/instructions/{instruction_id}" |
| }, |
| "partialFailures": { |
| "items": { |
| "$ref": "GoogleRpcStatus" |
| }, |
| "description": "Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", |
| "type": "array" |
| }, |
| "createTime": { |
| "format": "google-datetime", |
| "description": "Timestamp when create instruction request was created.", |
| "type": "string" |
| } |
| }, |
| "description": "Metadata of a CreateInstruction operation.", |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata" |
| }, |
| "GoogleLongrunningOperation": { |
| "description": "This resource represents a long-running operation that is the result of a network API call.", |
| "properties": { |
| "metadata": { |
| "additionalProperties": { |
| "description": "Properties of the object. Contains field @type with type URL.", |
| "type": "any" |
| }, |
| "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", |
| "type": "object" |
| }, |
| "response": { |
| "type": "object", |
| "additionalProperties": { |
| "type": "any", |
| "description": "Properties of the object. Contains field @type with type URL." |
| }, |
| "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`." |
| }, |
| "done": { |
| "type": "boolean", |
| "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available." |
| }, |
| "name": { |
| "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", |
| "type": "string" |
| }, |
| "error": { |
| "description": "The error result of the operation in case of failure or cancellation.", |
| "$ref": "GoogleRpcStatus" |
| } |
| }, |
| "type": "object", |
| "id": "GoogleLongrunningOperation" |
| }, |
| "GoogleCloudDatalabelingV1alpha1GcsFolderDestination": { |
| "id": "GoogleCloudDatalabelingV1alpha1GcsFolderDestination", |
| "properties": { |
| "outputFolderUri": { |
| "type": "string", |
| "description": "Required. Cloud Storage directory to export data to." |
| } |
| }, |
| "type": "object", |
| "description": "Export folder destination of the data." |
| }, |
| "GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata": { |
| "description": "Metadata of a CreateInstruction operation.", |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1p1alpha1CreateInstructionMetadata", |
| "properties": { |
| "partialFailures": { |
| "items": { |
| "$ref": "GoogleRpcStatus" |
| }, |
| "type": "array", |
| "description": "Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details." |
| }, |
| "createTime": { |
| "format": "google-datetime", |
| "description": "Timestamp when create instruction request was created.", |
| "type": "string" |
| }, |
| "instruction": { |
| "type": "string", |
| "description": "The name of the created Instruction. projects/{project_id}/instructions/{instruction_id}" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata": { |
| "id": "GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata", |
| "description": "Metadata describing the feedback from the operator.", |
| "properties": {}, |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata": { |
| "id": "GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata", |
| "type": "object", |
| "description": "Metadata of an ExportData operation.", |
| "properties": { |
| "annotatedDataset": { |
| "description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\".", |
| "type": "string" |
| }, |
| "partialFailures": { |
| "description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", |
| "type": "array", |
| "items": { |
| "$ref": "GoogleRpcStatus" |
| } |
| }, |
| "createTime": { |
| "description": "Output only. Timestamp when export dataset request was created.", |
| "format": "google-datetime", |
| "type": "string" |
| }, |
| "dataset": { |
| "type": "string", |
| "description": "Output only. The name of dataset to be exported. \"projects/*/datasets/*\"" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest": { |
| "properties": { |
| "job": { |
| "description": "Required. The evaluation job to create.", |
| "$ref": "GoogleCloudDatalabelingV1beta1EvaluationJob" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest", |
| "description": "Request message for CreateEvaluationJob.", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata": { |
| "id": "GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata", |
| "properties": { |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig", |
| "description": "Basic human annotation config." |
| } |
| }, |
| "type": "object", |
| "description": "Details of a LabelImageSegmentation operation metadata." |
| }, |
| "GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata": { |
| "id": "GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata", |
| "type": "object", |
| "description": "Details of a LabelTextClassification operation metadata.", |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config used in labeling request.", |
| "$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry": { |
| "properties": { |
| "recall": { |
| "description": "Recall value.", |
| "type": "number", |
| "format": "float" |
| }, |
| "precisionAt1": { |
| "type": "number", |
| "format": "float", |
| "description": "Precision value for entries with label that has highest score." |
| }, |
| "f1ScoreAt5": { |
| "format": "float", |
| "type": "number", |
| "description": "The harmonic mean of recall_at5 and precision_at5." |
| }, |
| "f1Score": { |
| "description": "Harmonic mean of recall and precision.", |
| "format": "float", |
| "type": "number" |
| }, |
| "precisionAt5": { |
| "description": "Precision value for entries with label that has highest 5 scores.", |
| "type": "number", |
| "format": "float" |
| }, |
| "recallAt1": { |
| "type": "number", |
| "format": "float", |
| "description": "Recall value for entries with label that has highest score." |
| }, |
| "precision": { |
| "format": "float", |
| "type": "number", |
| "description": "Precision value." |
| }, |
| "recallAt5": { |
| "format": "float", |
| "description": "Recall value for entries with label that has highest 5 scores.", |
| "type": "number" |
| }, |
| "f1ScoreAt1": { |
| "description": "The harmonic mean of recall_at1 and precision_at1.", |
| "type": "number", |
| "format": "float" |
| }, |
| "confidenceThreshold": { |
| "type": "number", |
| "description": "Threshold used for this entry. For classification tasks, this is a classification threshold: a predicted label is categorized as positive or negative (in the context of this point on the PR curve) based on whether the label's score meets this threshold. For image object detection (bounding box) tasks, this is the [intersection-over-union (IOU)](/vision/automl/object-detection/docs/evaluate#intersection-over-union) threshold for the context of this point on the PR curve.", |
| "format": "float" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1Instruction": { |
| "properties": { |
| "name": { |
| "type": "string", |
| "description": "Output only. Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}" |
| }, |
| "dataType": { |
| "description": "Required. The data type of this instruction.", |
| "enumDescriptions": [ |
| "Data type is unspecified.", |
| "Allowed for continuous evaluation.", |
| "Video data type.", |
| "Allowed for continuous evaluation.", |
| "Allowed for continuous evaluation." |
| ], |
| "type": "string", |
| "enum": [ |
| "DATA_TYPE_UNSPECIFIED", |
| "IMAGE", |
| "VIDEO", |
| "TEXT", |
| "GENERAL_DATA" |
| ] |
| }, |
| "blockingResources": { |
| "type": "array", |
| "description": "Output only. The names of any related resources that are blocking changes to the instruction.", |
| "items": { |
| "type": "string" |
| } |
| }, |
| "updateTime": { |
| "format": "google-datetime", |
| "description": "Output only. Last update time of instruction.", |
| "type": "string" |
| }, |
| "description": { |
| "type": "string", |
| "description": "Optional. User-provided description of the instruction. The description can be up to 10000 characters long." |
| }, |
| "createTime": { |
| "description": "Output only. Creation time of instruction.", |
| "type": "string", |
| "format": "google-datetime" |
| }, |
| "displayName": { |
| "type": "string", |
| "description": "Required. The display name of the instruction. Maximum of 64 characters." |
| }, |
| "csvInstruction": { |
| "$ref": "GoogleCloudDatalabelingV1beta1CsvInstruction", |
| "description": "Deprecated: this instruction format is not supported any more. Instruction from a CSV file, such as for classification task. The CSV file should have exact two columns, in the following format: * The first column is labeled data, such as an image reference, text. * The second column is comma separated labels associated with data." |
| }, |
| "pdfInstruction": { |
| "description": "Instruction from a PDF document. The PDF should be in a Cloud Storage bucket.", |
| "$ref": "GoogleCloudDatalabelingV1beta1PdfInstruction" |
| } |
| }, |
| "description": "Instruction of how to perform the labeling task for human operators. Currently only PDF instruction is supported.", |
| "id": "GoogleCloudDatalabelingV1beta1Instruction", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata": { |
| "id": "GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata", |
| "description": "Details of a LabelImageSegmentation operation metadata.", |
| "type": "object", |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config.", |
| "$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1p1alpha1GenerateAnalysisReportOperationMetadata": { |
| "id": "GoogleCloudDatalabelingV1p1alpha1GenerateAnalysisReportOperationMetadata", |
| "properties": { |
| "dataset": { |
| "description": "The name of the dataset for which the analysis report is generated. Format: \"projects/*/datasets/*\"", |
| "type": "string" |
| }, |
| "createTime": { |
| "type": "string", |
| "description": "Timestamp when generate report request was created.", |
| "format": "google-datetime" |
| } |
| }, |
| "description": "Metadata of an GenerateAnalysisReport operation.", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata": { |
| "type": "object", |
| "properties": { |
| "partialFailures": { |
| "description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", |
| "type": "array", |
| "items": { |
| "$ref": "GoogleRpcStatus" |
| } |
| }, |
| "dataset": { |
| "description": "Output only. The name of imported dataset. \"projects/*/datasets/*\"", |
| "type": "string" |
| }, |
| "createTime": { |
| "type": "string", |
| "description": "Output only. Timestamp when import dataset request was created.", |
| "format": "google-datetime" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata", |
| "description": "Metadata of an ImportData operation." |
| }, |
| "GoogleCloudDatalabelingV1beta1AnnotatedDataset": { |
| "properties": { |
| "createTime": { |
| "format": "google-datetime", |
| "type": "string", |
| "description": "Output only. Time the AnnotatedDataset was created." |
| }, |
| "completedExampleCount": { |
| "description": "Output only. Number of examples that have annotation in the annotated dataset.", |
| "type": "string", |
| "format": "int64" |
| }, |
| "blockingResources": { |
| "description": "Output only. The names of any related resources that are blocking changes to the annotated dataset.", |
| "items": { |
| "type": "string" |
| }, |
| "type": "array" |
| }, |
| "labelStats": { |
| "description": "Output only. Per label statistics.", |
| "$ref": "GoogleCloudDatalabelingV1beta1LabelStats" |
| }, |
| "annotationType": { |
| "enumDescriptions": [ |
| "", |
| "Classification annotations in an image. Allowed for continuous evaluation.", |
| "Bounding box annotations in an image. A form of image object detection. Allowed for continuous evaluation.", |
| "Oriented bounding box. The box does not have to be parallel to horizontal line.", |
| "Bounding poly annotations in an image.", |
| "Polyline annotations in an image.", |
| "Segmentation annotations in an image.", |
| "Classification annotations in video shots.", |
| "Video object tracking annotation.", |
| "Video object detection annotation.", |
| "Video event annotation.", |
| "Classification for text. Allowed for continuous evaluation.", |
| "Entity extraction for text.", |
| "General classification. Allowed for continuous evaluation." |
| ], |
| "description": "Output only. Type of the annotation. It is specified when starting labeling task.", |
| "enum": [ |
| "ANNOTATION_TYPE_UNSPECIFIED", |
| "IMAGE_CLASSIFICATION_ANNOTATION", |
| "IMAGE_BOUNDING_BOX_ANNOTATION", |
| "IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION", |
| "IMAGE_BOUNDING_POLY_ANNOTATION", |
| "IMAGE_POLYLINE_ANNOTATION", |
| "IMAGE_SEGMENTATION_ANNOTATION", |
| "VIDEO_SHOTS_CLASSIFICATION_ANNOTATION", |
| "VIDEO_OBJECT_TRACKING_ANNOTATION", |
| "VIDEO_OBJECT_DETECTION_ANNOTATION", |
| "VIDEO_EVENT_ANNOTATION", |
| "TEXT_CLASSIFICATION_ANNOTATION", |
| "TEXT_ENTITY_EXTRACTION_ANNOTATION", |
| "GENERAL_CLASSIFICATION_ANNOTATION" |
| ], |
| "type": "string" |
| }, |
| "exampleCount": { |
| "type": "string", |
| "format": "int64", |
| "description": "Output only. Number of examples in the annotated dataset." |
| }, |
| "displayName": { |
| "type": "string", |
| "description": "Output only. The display name of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 64 characters." |
| }, |
| "annotationSource": { |
| "type": "string", |
| "enum": [ |
| "ANNOTATION_SOURCE_UNSPECIFIED", |
| "OPERATOR" |
| ], |
| "description": "Output only. Source of the annotation.", |
| "enumDescriptions": [ |
| "", |
| "Answer is provided by a human contributor." |
| ] |
| }, |
| "description": { |
| "type": "string", |
| "description": "Output only. The description of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 10000 characters." |
| }, |
| "metadata": { |
| "$ref": "GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata", |
| "description": "Output only. Additional information about AnnotatedDataset." |
| }, |
| "name": { |
| "description": "Output only. AnnotatedDataset resource name in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}", |
| "type": "string" |
| } |
| }, |
| "description": "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.", |
| "id": "GoogleCloudDatalabelingV1beta1AnnotatedDataset", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata": { |
| "type": "object", |
| "properties": { |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig", |
| "description": "Basic human annotation config used in labeling request." |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata", |
| "description": "Details of LabelImageBoundingPoly operation metadata." |
| }, |
| "GoogleCloudDatalabelingV1p1alpha1ImportDataOperationResponse": { |
| "id": "GoogleCloudDatalabelingV1p1alpha1ImportDataOperationResponse", |
| "description": "Response used for ImportData longrunning operation.", |
| "properties": { |
| "dataset": { |
| "type": "string", |
| "description": "Ouptut only. The name of imported dataset." |
| }, |
| "importCount": { |
| "format": "int32", |
| "type": "integer", |
| "description": "Output only. Number of examples imported successfully." |
| }, |
| "totalCount": { |
| "type": "integer", |
| "format": "int32", |
| "description": "Output only. Total number of examples requested to import" |
| } |
| }, |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse": { |
| "id": "GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse", |
| "properties": { |
| "feedbackMessages": { |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1FeedbackMessage" |
| }, |
| "type": "array", |
| "description": "The list of feedback messages to return." |
| }, |
| "nextPageToken": { |
| "description": "A token to retrieve next page of results.", |
| "type": "string" |
| } |
| }, |
| "type": "object", |
| "description": "Results for listing FeedbackMessages." |
| }, |
| "GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions": { |
| "id": "GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions", |
| "description": "Options regarding evaluation between bounding boxes.", |
| "properties": { |
| "iouThreshold": { |
| "type": "number", |
| "format": "float", |
| "description": "Minimum [intersection-over-union (IOU)](/vision/automl/object-detection/docs/evaluate#intersection-over-union) required for 2 bounding boxes to be considered a match. This must be a number between 0 and 1." |
| } |
| }, |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1Evaluation": { |
| "id": "GoogleCloudDatalabelingV1beta1Evaluation", |
| "type": "object", |
| "description": "Describes an evaluation between a machine learning model's predictions and ground truth labels. Created when an EvaluationJob runs successfully.", |
| "properties": { |
| "config": { |
| "description": "Output only. Options used in the evaluation job that created this evaluation.", |
| "$ref": "GoogleCloudDatalabelingV1beta1EvaluationConfig" |
| }, |
| "evaluationJobRunTime": { |
| "description": "Output only. Timestamp for when the evaluation job that created this evaluation ran.", |
| "type": "string", |
| "format": "google-datetime" |
| }, |
| "evaluatedItemCount": { |
| "description": "Output only. The number of items in the ground truth dataset that were used for this evaluation. Only populated when the evaulation is for certain AnnotationTypes.", |
| "type": "string", |
| "format": "int64" |
| }, |
| "createTime": { |
| "format": "google-datetime", |
| "type": "string", |
| "description": "Output only. Timestamp for when this evaluation was created." |
| }, |
| "name": { |
| "type": "string", |
| "description": "Output only. Resource name of an evaluation. The name has the following format: \"projects/{project_id}/datasets/{dataset_id}/evaluations/ {evaluation_id}'" |
| }, |
| "annotationType": { |
| "enumDescriptions": [ |
| "", |
| "Classification annotations in an image. Allowed for continuous evaluation.", |
| "Bounding box annotations in an image. A form of image object detection. Allowed for continuous evaluation.", |
| "Oriented bounding box. The box does not have to be parallel to horizontal line.", |
| "Bounding poly annotations in an image.", |
| "Polyline annotations in an image.", |
| "Segmentation annotations in an image.", |
| "Classification annotations in video shots.", |
| "Video object tracking annotation.", |
| "Video object detection annotation.", |
| "Video event annotation.", |
| "Classification for text. Allowed for continuous evaluation.", |
| "Entity extraction for text.", |
| "General classification. Allowed for continuous evaluation." |
| ], |
| "description": "Output only. Type of task that the model version being evaluated performs, as defined in the evaluationJobConfig.inputConfig.annotationType field of the evaluation job that created this evaluation.", |
| "type": "string", |
| "enum": [ |
| "ANNOTATION_TYPE_UNSPECIFIED", |
| "IMAGE_CLASSIFICATION_ANNOTATION", |
| "IMAGE_BOUNDING_BOX_ANNOTATION", |
| "IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION", |
| "IMAGE_BOUNDING_POLY_ANNOTATION", |
| "IMAGE_POLYLINE_ANNOTATION", |
| "IMAGE_SEGMENTATION_ANNOTATION", |
| "VIDEO_SHOTS_CLASSIFICATION_ANNOTATION", |
| "VIDEO_OBJECT_TRACKING_ANNOTATION", |
| "VIDEO_OBJECT_DETECTION_ANNOTATION", |
| "VIDEO_EVENT_ANNOTATION", |
| "TEXT_CLASSIFICATION_ANNOTATION", |
| "TEXT_ENTITY_EXTRACTION_ANNOTATION", |
| "GENERAL_CLASSIFICATION_ANNOTATION" |
| ] |
| }, |
| "evaluationMetrics": { |
| "$ref": "GoogleCloudDatalabelingV1beta1EvaluationMetrics", |
| "description": "Output only. Metrics comparing predictions to ground truth labels." |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1ClassificationMetadata": { |
| "type": "object", |
| "properties": { |
| "isMultiLabel": { |
| "description": "Whether the classification task is multi-label or not.", |
| "type": "boolean" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1ClassificationMetadata", |
| "description": "Metadata for classification annotations." |
| }, |
| "GoogleCloudDatalabelingV1p1alpha1LabelVideoEventOperationMetadata": { |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config used in labeling request.", |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig" |
| } |
| }, |
| "type": "object", |
| "description": "Details of a LabelVideoEvent operation metadata.", |
| "id": "GoogleCloudDatalabelingV1p1alpha1LabelVideoEventOperationMetadata" |
| }, |
| "GoogleCloudDatalabelingV1beta1AnnotationMetadata": { |
| "properties": { |
| "operatorMetadata": { |
| "description": "Metadata related to human labeling.", |
| "$ref": "GoogleCloudDatalabelingV1beta1OperatorMetadata" |
| } |
| }, |
| "description": "Additional information associated with the annotation.", |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1beta1AnnotationMetadata" |
| }, |
| "GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse": { |
| "properties": { |
| "labelStats": { |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1LabelStats", |
| "description": "Output only. Statistic infos of labels in the exported dataset." |
| }, |
| "annotatedDataset": { |
| "description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\".", |
| "type": "string" |
| }, |
| "dataset": { |
| "description": "Ouptut only. The name of dataset. \"projects/*/datasets/*\"", |
| "type": "string" |
| }, |
| "totalCount": { |
| "description": "Output only. Total number of examples requested to export", |
| "type": "integer", |
| "format": "int32" |
| }, |
| "outputConfig": { |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1OutputConfig", |
| "description": "Output only. output_config in the ExportData request." |
| }, |
| "exportCount": { |
| "description": "Output only. Number of examples exported successfully.", |
| "format": "int32", |
| "type": "integer" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse", |
| "description": "Response used for ExportDataset longrunning operation.", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata": { |
| "type": "object", |
| "description": "Details of a LabelTextClassification operation metadata.", |
| "properties": { |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig", |
| "description": "Basic human annotation config used in labeling request." |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata" |
| }, |
| "GoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetadata": { |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetadata", |
| "properties": { |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig", |
| "description": "Basic human annotation config used in labeling request." |
| } |
| }, |
| "description": "Details of a LabelTextClassification operation metadata." |
| }, |
| "GoogleCloudDatalabelingV1p1alpha1LabelStats": { |
| "type": "object", |
| "properties": { |
| "exampleCount": { |
| "description": "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.", |
| "additionalProperties": { |
| "format": "int64", |
| "type": "string" |
| }, |
| "type": "object" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1p1alpha1LabelStats", |
| "description": "Statistics about annotation specs." |
| }, |
| "GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata": { |
| "properties": { |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig", |
| "description": "Basic human annotation config used in labeling request." |
| } |
| }, |
| "type": "object", |
| "description": "Details of a LabelVideoObjectTracking operation metadata.", |
| "id": "GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata" |
| }, |
| "GoogleCloudDatalabelingV1beta1TextMetadata": { |
| "properties": { |
| "languageCode": { |
| "description": "The language of this text, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US.", |
| "type": "string" |
| } |
| }, |
| "description": "Metadata for the text.", |
| "id": "GoogleCloudDatalabelingV1beta1TextMetadata", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation": { |
| "description": "Image segmentation annotation.", |
| "type": "object", |
| "properties": { |
| "mimeType": { |
| "type": "string", |
| "description": "Image format." |
| }, |
| "imageBytes": { |
| "format": "byte", |
| "type": "string", |
| "description": "A byte string of a full image's color map." |
| }, |
| "annotationColors": { |
| "additionalProperties": { |
| "$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec" |
| }, |
| "type": "object", |
| "description": "The mapping between rgb color and annotation spec. The key is the rgb color represented in format of rgb(0, 0, 0). The value is the AnnotationSpec." |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation" |
| }, |
| "GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata": { |
| "type": "object", |
| "properties": { |
| "createTime": { |
| "type": "string", |
| "description": "When the thread is created", |
| "format": "google-datetime" |
| }, |
| "thumbnail": { |
| "type": "string", |
| "description": "An image thumbnail of this thread.", |
| "format": "byte" |
| }, |
| "lastUpdateTime": { |
| "type": "string", |
| "format": "google-datetime", |
| "description": "When the thread is last updated." |
| }, |
| "status": { |
| "type": "string", |
| "enumDescriptions": [ |
| "", |
| "Feedback thread is created with no reply;", |
| "Feedback thread is replied at least once;" |
| ], |
| "enum": [ |
| "FEEDBACK_THREAD_STATUS_UNSPECIFIED", |
| "NEW", |
| "REPLIED" |
| ] |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata" |
| }, |
| "GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata": { |
| "type": "object", |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config used in labeling request.", |
| "$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata", |
| "description": "Details of a LabelTextClassification operation metadata." |
| }, |
| "GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination": { |
| "description": "Export folder destination of the data.", |
| "id": "GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination", |
| "properties": { |
| "outputFolderUri": { |
| "description": "Required. Cloud Storage directory to export data to.", |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "GoogleRpcStatus": { |
| "type": "object", |
| "properties": { |
| "message": { |
| "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", |
| "type": "string" |
| }, |
| "code": { |
| "description": "The status code, which should be an enum value of google.rpc.Code.", |
| "format": "int32", |
| "type": "integer" |
| }, |
| "details": { |
| "items": { |
| "additionalProperties": { |
| "type": "any", |
| "description": "Properties of the object. Contains field @type with type URL." |
| }, |
| "type": "object" |
| }, |
| "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", |
| "type": "array" |
| } |
| }, |
| "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", |
| "id": "GoogleRpcStatus" |
| }, |
| "GoogleCloudDatalabelingV1alpha1ImportDataOperationResponse": { |
| "properties": { |
| "totalCount": { |
| "description": "Output only. Total number of examples requested to import", |
| "format": "int32", |
| "type": "integer" |
| }, |
| "importCount": { |
| "format": "int32", |
| "type": "integer", |
| "description": "Output only. Number of examples imported successfully." |
| }, |
| "dataset": { |
| "type": "string", |
| "description": "Ouptut only. The name of imported dataset." |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1alpha1ImportDataOperationResponse", |
| "description": "Response used for ImportData longrunning operation.", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest": { |
| "description": "Request message for CreateAnnotationSpecSet.", |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest", |
| "properties": { |
| "annotationSpecSet": { |
| "$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpecSet", |
| "description": "Required. Annotation spec set to create. Annotation specs must be included. Only one annotation spec will be accepted for annotation specs with same display_name." |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig": { |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig", |
| "properties": { |
| "allowMultiLabel": { |
| "type": "boolean", |
| "description": "Optional. If allow_multi_label is true, contributors are able to choose multiple labels from one annotation spec set." |
| }, |
| "annotationSpecSet": { |
| "type": "string", |
| "description": "Required. Annotation spec set resource name." |
| } |
| }, |
| "description": "Annotation spec set with the setting of allowing multi labels or not." |
| }, |
| "GoogleCloudDatalabelingV1beta1InputConfig": { |
| "id": "GoogleCloudDatalabelingV1beta1InputConfig", |
| "description": "The configuration of input data, including data type, location, etc.", |
| "properties": { |
| "bigquerySource": { |
| "description": "Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.", |
| "$ref": "GoogleCloudDatalabelingV1beta1BigQuerySource" |
| }, |
| "textMetadata": { |
| "$ref": "GoogleCloudDatalabelingV1beta1TextMetadata", |
| "description": "Required for text import, as language code must be specified." |
| }, |
| "annotationType": { |
| "type": "string", |
| "enumDescriptions": [ |
| "", |
| "Classification annotations in an image. Allowed for continuous evaluation.", |
| "Bounding box annotations in an image. A form of image object detection. Allowed for continuous evaluation.", |
| "Oriented bounding box. The box does not have to be parallel to horizontal line.", |
| "Bounding poly annotations in an image.", |
| "Polyline annotations in an image.", |
| "Segmentation annotations in an image.", |
| "Classification annotations in video shots.", |
| "Video object tracking annotation.", |
| "Video object detection annotation.", |
| "Video event annotation.", |
| "Classification for text. Allowed for continuous evaluation.", |
| "Entity extraction for text.", |
| "General classification. Allowed for continuous evaluation." |
| ], |
| "description": "Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob.", |
| "enum": [ |
| "ANNOTATION_TYPE_UNSPECIFIED", |
| "IMAGE_CLASSIFICATION_ANNOTATION", |
| "IMAGE_BOUNDING_BOX_ANNOTATION", |
| "IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION", |
| "IMAGE_BOUNDING_POLY_ANNOTATION", |
| "IMAGE_POLYLINE_ANNOTATION", |
| "IMAGE_SEGMENTATION_ANNOTATION", |
| "VIDEO_SHOTS_CLASSIFICATION_ANNOTATION", |
| "VIDEO_OBJECT_TRACKING_ANNOTATION", |
| "VIDEO_OBJECT_DETECTION_ANNOTATION", |
| "VIDEO_EVENT_ANNOTATION", |
| "TEXT_CLASSIFICATION_ANNOTATION", |
| "TEXT_ENTITY_EXTRACTION_ANNOTATION", |
| "GENERAL_CLASSIFICATION_ANNOTATION" |
| ] |
| }, |
| "gcsSource": { |
| "description": "Source located in Cloud Storage.", |
| "$ref": "GoogleCloudDatalabelingV1beta1GcsSource" |
| }, |
| "classificationMetadata": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ClassificationMetadata", |
| "description": "Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification." |
| }, |
| "dataType": { |
| "type": "string", |
| "description": "Required. Data type must be specifed when user tries to import data.", |
| "enum": [ |
| "DATA_TYPE_UNSPECIFIED", |
| "IMAGE", |
| "VIDEO", |
| "TEXT", |
| "GENERAL_DATA" |
| ], |
| "enumDescriptions": [ |
| "Data type is unspecified.", |
| "Allowed for continuous evaluation.", |
| "Video data type.", |
| "Allowed for continuous evaluation.", |
| "Allowed for continuous evaluation." |
| ] |
| } |
| }, |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1LabelImageRequest": { |
| "properties": { |
| "feature": { |
| "enum": [ |
| "FEATURE_UNSPECIFIED", |
| "CLASSIFICATION", |
| "BOUNDING_BOX", |
| "ORIENTED_BOUNDING_BOX", |
| "BOUNDING_POLY", |
| "POLYLINE", |
| "SEGMENTATION" |
| ], |
| "enumDescriptions": [ |
| "", |
| "Label whole image with one or more of labels.", |
| "Label image with bounding boxes for labels.", |
| "Label oriented bounding box. The box does not have to be parallel to horizontal line.", |
| "Label images with bounding poly. A bounding poly is a plane figure that is bounded by a finite chain of straight line segments closing in a loop.", |
| "Label images with polyline. Polyline is formed by connected line segments which are not in closed form.", |
| "Label images with segmentation. Segmentation is different from bounding poly since it is more fine-grained, pixel level annotation." |
| ], |
| "type": "string", |
| "description": "Required. The type of image labeling task." |
| }, |
| "boundingPolyConfig": { |
| "$ref": "GoogleCloudDatalabelingV1beta1BoundingPolyConfig", |
| "description": "Configuration for bounding box and bounding poly task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required." |
| }, |
| "segmentationConfig": { |
| "$ref": "GoogleCloudDatalabelingV1beta1SegmentationConfig", |
| "description": "Configuration for segmentation task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required." |
| }, |
| "polylineConfig": { |
| "$ref": "GoogleCloudDatalabelingV1beta1PolylineConfig", |
| "description": "Configuration for polyline task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required." |
| }, |
| "imageClassificationConfig": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ImageClassificationConfig", |
| "description": "Configuration for image classification task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required." |
| }, |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", |
| "description": "Required. Basic human annotation config." |
| } |
| }, |
| "description": "Request message for starting an image labeling task.", |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1beta1LabelImageRequest" |
| }, |
| "GoogleCloudDatalabelingV1beta1PolylineConfig": { |
| "type": "object", |
| "description": "Config for image polyline human labeling task.", |
| "id": "GoogleCloudDatalabelingV1beta1PolylineConfig", |
| "properties": { |
| "annotationSpecSet": { |
| "description": "Required. Annotation spec set resource name.", |
| "type": "string" |
| }, |
| "instructionMessage": { |
| "description": "Optional. Instruction message showed on contributors UI.", |
| "type": "string" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata": { |
| "type": "object", |
| "properties": { |
| "createTime": { |
| "type": "string", |
| "format": "google-datetime", |
| "description": "Output only. Timestamp when export dataset request was created." |
| }, |
| "annotatedDataset": { |
| "description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\".", |
| "type": "string" |
| }, |
| "partialFailures": { |
| "items": { |
| "$ref": "GoogleRpcStatus" |
| }, |
| "description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", |
| "type": "array" |
| }, |
| "dataset": { |
| "type": "string", |
| "description": "Output only. The name of dataset to be exported. \"projects/*/datasets/*\"" |
| } |
| }, |
| "description": "Metadata of an ExportData operation.", |
| "id": "GoogleCloudDatalabelingV1p1alpha1ExportDataOperationMetadata" |
| }, |
| "GoogleCloudDatalabelingV1p1alpha1GcsFolderDestination": { |
| "id": "GoogleCloudDatalabelingV1p1alpha1GcsFolderDestination", |
| "type": "object", |
| "properties": { |
| "outputFolderUri": { |
| "description": "Required. Cloud Storage directory to export data to.", |
| "type": "string" |
| } |
| }, |
| "description": "Export folder destination of the data." |
| }, |
| "GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata": { |
| "id": "GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata", |
| "type": "object", |
| "description": "Metadata of a LabelImageClassification operation.", |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config used in labeling request.", |
| "$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata": { |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config used in labeling request.", |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata", |
| "description": "Details of a LabelVideoEvent operation metadata.", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest": { |
| "id": "GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest", |
| "type": "object", |
| "description": "Request message of SearchExampleComparisons.", |
| "properties": { |
| "pageSize": { |
| "type": "integer", |
| "description": "Optional. Requested page size. Server may return fewer results than requested. Default value is 100.", |
| "format": "int32" |
| }, |
| "pageToken": { |
| "description": "Optional. A token identifying a page of results for the server to return. Typically obtained by the nextPageToken of the response to a previous search rquest. If you don't specify this field, the API call requests the first page of the search.", |
| "type": "string" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1ExportDataOperationResponse": { |
| "id": "GoogleCloudDatalabelingV1beta1ExportDataOperationResponse", |
| "properties": { |
| "dataset": { |
| "description": "Ouptut only. The name of dataset. \"projects/*/datasets/*\"", |
| "type": "string" |
| }, |
| "annotatedDataset": { |
| "description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\".", |
| "type": "string" |
| }, |
| "totalCount": { |
| "type": "integer", |
| "format": "int32", |
| "description": "Output only. Total number of examples requested to export" |
| }, |
| "exportCount": { |
| "description": "Output only. Number of examples exported successfully.", |
| "type": "integer", |
| "format": "int32" |
| }, |
| "labelStats": { |
| "description": "Output only. Statistic infos of labels in the exported dataset.", |
| "$ref": "GoogleCloudDatalabelingV1beta1LabelStats" |
| }, |
| "outputConfig": { |
| "description": "Output only. output_config in the ExportData request.", |
| "$ref": "GoogleCloudDatalabelingV1beta1OutputConfig" |
| } |
| }, |
| "type": "object", |
| "description": "Response used for ExportDataset longrunning operation." |
| }, |
| "GoogleCloudDatalabelingV1beta1LabelOperationMetadata": { |
| "properties": { |
| "videoEventDetails": { |
| "$ref": "GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata", |
| "description": "Details of label video event operation." |
| }, |
| "textEntityExtractionDetails": { |
| "description": "Details of label text entity extraction operation.", |
| "$ref": "GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata" |
| }, |
| "imageOrientedBoundingBoxDetails": { |
| "description": "Details of label image oriented bounding box operation.", |
| "$ref": "GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata" |
| }, |
| "progressPercent": { |
| "type": "integer", |
| "format": "int32", |
| "description": "Output only. Progress of label operation. Range: [0, 100]." |
| }, |
| "partialFailures": { |
| "description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", |
| "items": { |
| "$ref": "GoogleRpcStatus" |
| }, |
| "type": "array" |
| }, |
| "dataset": { |
| "type": "string", |
| "description": "Output only. The name of dataset to be labeled. \"projects/*/datasets/*\"" |
| }, |
| "imageClassificationDetails": { |
| "$ref": "GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata", |
| "description": "Details of label image classification operation." |
| }, |
| "imageBoundingBoxDetails": { |
| "description": "Details of label image bounding box operation.", |
| "$ref": "GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata" |
| }, |
| "videoClassificationDetails": { |
| "description": "Details of label video classification operation.", |
| "$ref": "GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata" |
| }, |
| "imagePolylineDetails": { |
| "$ref": "GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata", |
| "description": "Details of label image polyline operation." |
| }, |
| "imageBoundingPolyDetails": { |
| "$ref": "GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata", |
| "description": "Details of label image bounding poly operation." |
| }, |
| "createTime": { |
| "format": "google-datetime", |
| "description": "Output only. Timestamp when labeling request was created.", |
| "type": "string" |
| }, |
| "videoObjectTrackingDetails": { |
| "description": "Details of label video object tracking operation.", |
| "$ref": "GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata" |
| }, |
| "imageSegmentationDetails": { |
| "description": "Details of label image segmentation operation.", |
| "$ref": "GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata" |
| }, |
| "annotatedDataset": { |
| "type": "string", |
| "description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\"." |
| }, |
| "videoObjectDetectionDetails": { |
| "description": "Details of label video object detection operation.", |
| "$ref": "GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata" |
| }, |
| "textClassificationDetails": { |
| "description": "Details of label text classification operation.", |
| "$ref": "GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata" |
| } |
| }, |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1beta1LabelOperationMetadata", |
| "description": "Metadata of a labeling operation, such as LabelImage or LabelVideo. Next tag: 23" |
| }, |
| "GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata": { |
| "id": "GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata", |
| "description": "Details of a LabelImageOrientedBoundingBox operation metadata.", |
| "type": "object", |
| "properties": { |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig", |
| "description": "Basic human annotation config." |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1GcsFolderDestination": { |
| "description": "Export folder destination of the data.", |
| "type": "object", |
| "properties": { |
| "outputFolderUri": { |
| "description": "Required. Cloud Storage directory to export data to.", |
| "type": "string" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1GcsFolderDestination" |
| }, |
| "GoogleCloudDatalabelingV1beta1ListExamplesResponse": { |
| "properties": { |
| "nextPageToken": { |
| "type": "string", |
| "description": "A token to retrieve next page of results." |
| }, |
| "examples": { |
| "type": "array", |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1Example" |
| }, |
| "description": "The list of examples to return." |
| } |
| }, |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1beta1ListExamplesResponse", |
| "description": "Results of listing Examples in and annotated dataset." |
| }, |
| "GoogleLongrunningListOperationsResponse": { |
| "description": "The response message for Operations.ListOperations.", |
| "id": "GoogleLongrunningListOperationsResponse", |
| "properties": { |
| "operations": { |
| "description": "A list of operations that matches the specified filter in the request.", |
| "type": "array", |
| "items": { |
| "$ref": "GoogleLongrunningOperation" |
| } |
| }, |
| "nextPageToken": { |
| "type": "string", |
| "description": "The standard List next-page token." |
| } |
| }, |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation": { |
| "type": "object", |
| "properties": { |
| "annotationSpec": { |
| "$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec", |
| "description": "Label of the text entities." |
| }, |
| "sequentialSegment": { |
| "description": "Position of the entity.", |
| "$ref": "GoogleCloudDatalabelingV1beta1SequentialSegment" |
| } |
| }, |
| "description": "Text entity extraction annotation.", |
| "id": "GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation" |
| }, |
| "GoogleCloudDatalabelingV1beta1PrCurve": { |
| "id": "GoogleCloudDatalabelingV1beta1PrCurve", |
| "type": "object", |
| "properties": { |
| "meanAveragePrecision": { |
| "format": "float", |
| "type": "number", |
| "description": "Mean average prcision of this curve." |
| }, |
| "annotationSpec": { |
| "description": "The annotation spec of the label for which the precision-recall curve calculated. If this field is empty, that means the precision-recall curve is an aggregate curve for all labels.", |
| "$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec" |
| }, |
| "confidenceMetricsEntries": { |
| "description": "Entries that make up the precision-recall graph. Each entry is a \"point\" on the graph drawn for a different `confidence_threshold`.", |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry" |
| }, |
| "type": "array" |
| }, |
| "areaUnderCurve": { |
| "format": "float", |
| "type": "number", |
| "description": "Area under the precision-recall curve. Not to be confused with area under a receiver operating characteristic (ROC) curve." |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata": { |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config used in labeling request.", |
| "$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig" |
| } |
| }, |
| "description": "Details of a LabelTextEntityExtraction operation metadata.", |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata" |
| }, |
| "GoogleCloudDatalabelingV1beta1LabelVideoRequest": { |
| "id": "GoogleCloudDatalabelingV1beta1LabelVideoRequest", |
| "type": "object", |
| "description": "Request message for LabelVideo.", |
| "properties": { |
| "feature": { |
| "description": "Required. The type of video labeling task.", |
| "enumDescriptions": [ |
| "", |
| "Label whole video or video segment with one or more labels.", |
| "Label objects with bounding box on image frames extracted from the video.", |
| "Label and track objects in video.", |
| "Label the range of video for the specified events." |
| ], |
| "type": "string", |
| "enum": [ |
| "FEATURE_UNSPECIFIED", |
| "CLASSIFICATION", |
| "OBJECT_DETECTION", |
| "OBJECT_TRACKING", |
| "EVENT" |
| ] |
| }, |
| "objectDetectionConfig": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ObjectDetectionConfig", |
| "description": "Configuration for video object detection task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required." |
| }, |
| "basicConfig": { |
| "description": "Required. Basic human annotation config.", |
| "$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig" |
| }, |
| "eventConfig": { |
| "$ref": "GoogleCloudDatalabelingV1beta1EventConfig", |
| "description": "Configuration for video event task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required." |
| }, |
| "videoClassificationConfig": { |
| "description": "Configuration for video classification task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required.", |
| "$ref": "GoogleCloudDatalabelingV1beta1VideoClassificationConfig" |
| }, |
| "objectTrackingConfig": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ObjectTrackingConfig", |
| "description": "Configuration for video object tracking task. One of video_classification_config, object_detection_config, object_tracking_config and event_config is required." |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1EvaluationJobConfig": { |
| "description": "Configures specific details of how a continuous evaluation job works. Provide this configuration when you create an EvaluationJob.", |
| "type": "object", |
| "properties": { |
| "evaluationConfig": { |
| "description": "Required. Details for calculating evaluation metrics and creating Evaulations. If your model version performs image object detection, you must specify the `boundingBoxEvaluationOptions` field within this configuration. Otherwise, provide an empty object for this configuration.", |
| "$ref": "GoogleCloudDatalabelingV1beta1EvaluationConfig" |
| }, |
| "bigqueryImportKeys": { |
| "additionalProperties": { |
| "type": "string" |
| }, |
| "description": "Required. Prediction keys that tell Data Labeling Service where to find the data for evaluation in your BigQuery table. When the service samples prediction input and output from your model version and saves it to BigQuery, the data gets stored as JSON strings in the BigQuery table. These keys tell Data Labeling Service how to parse the JSON. You can provide the following entries in this field: * `data_json_key`: the data key for prediction input. You must provide either this key or `reference_json_key`. * `reference_json_key`: the data reference key for prediction input. You must provide either this key or `data_json_key`. * `label_json_key`: the label key for prediction output. Required. * `label_score_json_key`: the score key for prediction output. Required. * `bounding_box_json_key`: the bounding box key for prediction output. Required if your model version perform image object detection. Learn [how to configure prediction keys](/ml-engine/docs/continuous-evaluation/create-job#prediction-keys).", |
| "type": "object" |
| }, |
| "inputConfig": { |
| "description": "Rquired. Details for the sampled prediction input. Within this configuration, there are requirements for several fields: * `dataType` must be one of `IMAGE`, `TEXT`, or `GENERAL_DATA`. * `annotationType` must be one of `IMAGE_CLASSIFICATION_ANNOTATION`, `TEXT_CLASSIFICATION_ANNOTATION`, `GENERAL_CLASSIFICATION_ANNOTATION`, or `IMAGE_BOUNDING_BOX_ANNOTATION` (image object detection). * If your machine learning model performs classification, you must specify `classificationMetadata.isMultiLabel`. * You must specify `bigquerySource` (not `gcsSource`).", |
| "$ref": "GoogleCloudDatalabelingV1beta1InputConfig" |
| }, |
| "boundingPolyConfig": { |
| "description": "Specify this field if your model version performs image object detection (bounding box detection). `annotationSpecSet` in this configuration must match EvaluationJob.annotationSpecSet.", |
| "$ref": "GoogleCloudDatalabelingV1beta1BoundingPolyConfig" |
| }, |
| "imageClassificationConfig": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ImageClassificationConfig", |
| "description": "Specify this field if your model version performs image classification or general classification. `annotationSpecSet` in this configuration must match EvaluationJob.annotationSpecSet. `allowMultiLabel` in this configuration must match `classificationMetadata.isMultiLabel` in input_config." |
| }, |
| "textClassificationConfig": { |
| "description": "Specify this field if your model version performs text classification. `annotationSpecSet` in this configuration must match EvaluationJob.annotationSpecSet. `allowMultiLabel` in this configuration must match `classificationMetadata.isMultiLabel` in input_config.", |
| "$ref": "GoogleCloudDatalabelingV1beta1TextClassificationConfig" |
| }, |
| "exampleSamplePercentage": { |
| "type": "number", |
| "description": "Required. Fraction of predictions to sample and save to BigQuery during each evaluation interval. For example, 0.1 means 10% of predictions served by your model version get saved to BigQuery.", |
| "format": "double" |
| }, |
| "evaluationJobAlertConfig": { |
| "description": "Optional. Configuration details for evaluation job alerts. Specify this field if you want to receive email alerts if the evaluation job finds that your predictions have low mean average precision during a run.", |
| "$ref": "GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig" |
| }, |
| "exampleCount": { |
| "description": "Required. The maximum number of predictions to sample and save to BigQuery during each evaluation interval. This limit overrides `example_sample_percentage`: even if the service has not sampled enough predictions to fulfill `example_sample_perecentage` during an interval, it stops sampling predictions when it meets this limit.", |
| "format": "int32", |
| "type": "integer" |
| }, |
| "humanAnnotationConfig": { |
| "description": "Optional. Details for human annotation of your data. If you set labelMissingGroundTruth to `true` for this evaluation job, then you must specify this field. If you plan to provide your own ground truth labels, then omit this field. Note that you must create an Instruction resource before you can specify this field. Provide the name of the instruction resource in the `instruction` field within this configuration.", |
| "$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1EvaluationJobConfig" |
| }, |
| "GoogleCloudDatalabelingV1beta1Annotation": { |
| "id": "GoogleCloudDatalabelingV1beta1Annotation", |
| "type": "object", |
| "description": "Annotation for Example. Each example may have one or more annotations. For example in image classification problem, each image might have one or more labels. We call labels binded with this image an Annotation.", |
| "properties": { |
| "name": { |
| "description": "Output only. Unique name of this annotation, format is: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset}/examples/{example_id}/annotations/{annotation_id}", |
| "type": "string" |
| }, |
| "annotationValue": { |
| "description": "Output only. This is the actual annotation value, e.g classification, bounding box values are stored here.", |
| "$ref": "GoogleCloudDatalabelingV1beta1AnnotationValue" |
| }, |
| "annotationSource": { |
| "enumDescriptions": [ |
| "", |
| "Answer is provided by a human contributor." |
| ], |
| "type": "string", |
| "description": "Output only. The source of the annotation.", |
| "enum": [ |
| "ANNOTATION_SOURCE_UNSPECIFIED", |
| "OPERATOR" |
| ] |
| }, |
| "annotationMetadata": { |
| "$ref": "GoogleCloudDatalabelingV1beta1AnnotationMetadata", |
| "description": "Output only. Annotation metadata, including information like votes for labels." |
| }, |
| "annotationSentiment": { |
| "type": "string", |
| "enumDescriptions": [ |
| "", |
| "This annotation describes negatively about the data.", |
| "This label describes positively about the data." |
| ], |
| "description": "Output only. Sentiment for this annotation.", |
| "enum": [ |
| "ANNOTATION_SENTIMENT_UNSPECIFIED", |
| "NEGATIVE", |
| "POSITIVE" |
| ] |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1ImagePayload": { |
| "type": "object", |
| "description": "Container of information about an image.", |
| "id": "GoogleCloudDatalabelingV1beta1ImagePayload", |
| "properties": { |
| "signedUri": { |
| "description": "Signed uri of the image file in the service bucket.", |
| "type": "string" |
| }, |
| "imageThumbnail": { |
| "description": "A byte string of a thumbnail image.", |
| "format": "byte", |
| "type": "string" |
| }, |
| "imageUri": { |
| "description": "Image uri from the user bucket.", |
| "type": "string" |
| }, |
| "mimeType": { |
| "description": "Image format.", |
| "type": "string" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation": { |
| "description": "Video object tracking annotation.", |
| "id": "GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation", |
| "properties": { |
| "timeSegment": { |
| "description": "The time segment of the video to which object tracking applies.", |
| "$ref": "GoogleCloudDatalabelingV1beta1TimeSegment" |
| }, |
| "annotationSpec": { |
| "description": "Label of the object tracked in this annotation.", |
| "$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec" |
| }, |
| "objectTrackingFrames": { |
| "type": "array", |
| "description": "The list of frames where this object track appears.", |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ObjectTrackingFrame" |
| } |
| } |
| }, |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectDetectionOperationMetadata": { |
| "properties": { |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig", |
| "description": "Basic human annotation config used in labeling request." |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectDetectionOperationMetadata", |
| "type": "object", |
| "description": "Details of a LabelVideoObjectDetection operation metadata." |
| }, |
| "GoogleCloudDatalabelingV1beta1ExampleComparison": { |
| "type": "object", |
| "properties": { |
| "modelCreatedExamples": { |
| "description": "Predictions by the model for the input.", |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1Example" |
| }, |
| "type": "array" |
| }, |
| "groundTruthExample": { |
| "description": "The ground truth output for the input.", |
| "$ref": "GoogleCloudDatalabelingV1beta1Example" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1ExampleComparison", |
| "description": "Example comparisons comparing ground truth output and predictions for a specific input." |
| }, |
| "GoogleCloudDatalabelingV1beta1CreateDatasetRequest": { |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1beta1CreateDatasetRequest", |
| "properties": { |
| "dataset": { |
| "$ref": "GoogleCloudDatalabelingV1beta1Dataset", |
| "description": "Required. The dataset to be created." |
| } |
| }, |
| "description": "Request message for CreateDataset." |
| }, |
| "GoogleCloudDatalabelingV1beta1ListDataItemsResponse": { |
| "properties": { |
| "dataItems": { |
| "description": "The list of data items to return.", |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1DataItem" |
| }, |
| "type": "array" |
| }, |
| "nextPageToken": { |
| "type": "string", |
| "description": "A token to retrieve next page of results." |
| } |
| }, |
| "type": "object", |
| "description": "Results of listing data items in a dataset.", |
| "id": "GoogleCloudDatalabelingV1beta1ListDataItemsResponse" |
| }, |
| "GoogleCloudDatalabelingV1p1alpha1OutputConfig": { |
| "properties": { |
| "gcsFolderDestination": { |
| "description": "Output to a folder in Cloud Storage. Should be used for image segmentation or document de-identification labeling outputs.", |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1GcsFolderDestination" |
| }, |
| "gcsDestination": { |
| "description": "Output to a file in Cloud Storage. Should be used for labeling output other than image segmentation.", |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1GcsDestination" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1p1alpha1OutputConfig", |
| "description": "The configuration of output data.", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse": { |
| "id": "GoogleCloudDatalabelingV1beta1ListFeedbackThreadsResponse", |
| "type": "object", |
| "description": "Results for listing FeedbackThreads.", |
| "properties": { |
| "feedbackThreads": { |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1FeedbackThread" |
| }, |
| "type": "array", |
| "description": "The list of feedback threads to return." |
| }, |
| "nextPageToken": { |
| "description": "A token to retrieve next page of results.", |
| "type": "string" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1VideoThumbnail": { |
| "properties": { |
| "thumbnail": { |
| "format": "byte", |
| "type": "string", |
| "description": "A byte string of the video frame." |
| }, |
| "timeOffset": { |
| "description": "Time offset relative to the beginning of the video, corresponding to the video frame where the thumbnail has been extracted from.", |
| "type": "string", |
| "format": "google-duration" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1VideoThumbnail", |
| "description": "Container of information of a video thumbnail.", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1GcsSource": { |
| "id": "GoogleCloudDatalabelingV1beta1GcsSource", |
| "description": "Source of the Cloud Storage file to be imported.", |
| "properties": { |
| "inputUri": { |
| "description": "Required. The input URI of source file. This must be a Cloud Storage path (`gs://...`).", |
| "type": "string" |
| }, |
| "mimeType": { |
| "type": "string", |
| "description": "Required. The format of the source file. Only \"text/csv\" is supported." |
| } |
| }, |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1p1alpha1LabelImageOrientedBoundingBoxOperationMetadata": { |
| "properties": { |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig", |
| "description": "Basic human annotation config." |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1p1alpha1LabelImageOrientedBoundingBoxOperationMetadata", |
| "type": "object", |
| "description": "Details of a LabelImageOrientedBoundingBox operation metadata." |
| }, |
| "GoogleCloudDatalabelingV1beta1CreateInstructionRequest": { |
| "properties": { |
| "instruction": { |
| "$ref": "GoogleCloudDatalabelingV1beta1Instruction", |
| "description": "Required. Instruction of how to perform the labeling task." |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1CreateInstructionRequest", |
| "type": "object", |
| "description": "Request message for CreateInstruction." |
| }, |
| "GoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata": { |
| "description": "Details of a LabelImageSegmentation operation metadata.", |
| "type": "object", |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config.", |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata" |
| }, |
| "GoogleCloudDatalabelingV1beta1ImportDataRequest": { |
| "id": "GoogleCloudDatalabelingV1beta1ImportDataRequest", |
| "type": "object", |
| "description": "Request message for ImportData API.", |
| "properties": { |
| "inputConfig": { |
| "description": "Required. Specify the input source of the data.", |
| "$ref": "GoogleCloudDatalabelingV1beta1InputConfig" |
| }, |
| "userEmailAddress": { |
| "type": "string", |
| "description": "Email of the user who started the import task and should be notified by email. If empty no notification will be sent." |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1ListInstructionsResponse": { |
| "id": "GoogleCloudDatalabelingV1beta1ListInstructionsResponse", |
| "type": "object", |
| "properties": { |
| "instructions": { |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1Instruction" |
| }, |
| "type": "array", |
| "description": "The list of Instructions to return." |
| }, |
| "nextPageToken": { |
| "type": "string", |
| "description": "A token to retrieve next page of results." |
| } |
| }, |
| "description": "Results of listing instructions under a project." |
| }, |
| "GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation": { |
| "properties": { |
| "normalizedPolyline": { |
| "$ref": "GoogleCloudDatalabelingV1beta1NormalizedPolyline" |
| }, |
| "polyline": { |
| "$ref": "GoogleCloudDatalabelingV1beta1Polyline" |
| }, |
| "annotationSpec": { |
| "$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec", |
| "description": "Label of this polyline." |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation", |
| "description": "A polyline for the image annotation.", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig": { |
| "id": "GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig", |
| "type": "object", |
| "description": "Provides details for how an evaluation job sends email alerts based on the results of a run.", |
| "properties": { |
| "email": { |
| "description": "Required. An email address to send alerts to.", |
| "type": "string" |
| }, |
| "minAcceptableMeanAveragePrecision": { |
| "format": "double", |
| "type": "number", |
| "description": "Required. A number between 0 and 1 that describes a minimum mean average precision threshold. When the evaluation job runs, if it calculates that your model version's predictions from the recent interval have meanAveragePrecision below this threshold, then it sends an alert to your specified email." |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata": { |
| "properties": { |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", |
| "description": "Basic human annotation config used in labeling request." |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata", |
| "type": "object", |
| "description": "Details of LabelImagePolyline operation metadata." |
| }, |
| "GoogleCloudDatalabelingV1beta1EvaluationJob": { |
| "id": "GoogleCloudDatalabelingV1beta1EvaluationJob", |
| "type": "object", |
| "properties": { |
| "modelVersion": { |
| "type": "string", |
| "description": "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." |
| }, |
| "createTime": { |
| "description": "Output only. Timestamp of when this evaluation job was created.", |
| "type": "string", |
| "format": "google-datetime" |
| }, |
| "evaluationJobConfig": { |
| "$ref": "GoogleCloudDatalabelingV1beta1EvaluationJobConfig", |
| "description": "Required. Configuration details for the evaluation job." |
| }, |
| "state": { |
| "enum": [ |
| "STATE_UNSPECIFIED", |
| "SCHEDULED", |
| "RUNNING", |
| "PAUSED", |
| "STOPPED" |
| ], |
| "description": "Output only. Describes the current state of the job.", |
| "type": "string", |
| "enumDescriptions": [ |
| "", |
| "The job is scheduled to run at the configured interval. You can pause or delete the job. When the job is in this state, it samples prediction input and output from your model version into your BigQuery table as predictions occur.", |
| "The job is currently running. When the job runs, Data Labeling Service does several things: 1. If you have configured your job to use Data Labeling Service for ground truth labeling, the service creates a Dataset and a labeling task for all data sampled since the last time the job ran. Human labelers provide ground truth labels for your data. Human labeling may take hours, or even days, depending on how much data has been sampled. The job remains in the `RUNNING` state during this time, and it can even be running multiple times in parallel if it gets triggered again (for example 24 hours later) before the earlier run has completed. When human labelers have finished labeling the data, the next step occurs. If you have configured your job to provide your own ground truth labels, Data Labeling Service still creates a Dataset for newly sampled data, but it expects that you have already added ground truth labels to the BigQuery table by this time. The next step occurs immediately. 2. Data Labeling Service creates an Evaluation by comparing your model version's predictions with the ground truth labels. If the job remains in this state for a long time, it continues to sample prediction data into your BigQuery table and will run again at the next interval, even if it causes the job to run multiple times in parallel.", |
| "The job is not sampling prediction input and output into your BigQuery table and it will not run according to its schedule. You can resume the job.", |
| "The job has this state right before it is deleted." |
| ] |
| }, |
| "annotationSpecSet": { |
| "description": "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}\"", |
| "type": "string" |
| }, |
| "name": { |
| "type": "string", |
| "description": "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": { |
| "type": "string", |
| "description": "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 schedule is used, not the specific time of day." |
| }, |
| "description": { |
| "type": "string", |
| "description": "Required. Description of the job. The description can be up to 25,000 characters long." |
| }, |
| "labelMissingGroundTruth": { |
| "type": "boolean", |
| "description": "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`." |
| }, |
| "attempts": { |
| "description": "Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.", |
| "type": "array", |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1Attempt" |
| } |
| } |
| }, |
| "description": "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." |
| }, |
| "GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata": { |
| "id": "GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata", |
| "description": "Metadata of an ImportData operation.", |
| "properties": { |
| "dataset": { |
| "type": "string", |
| "description": "Output only. The name of imported dataset. \"projects/*/datasets/*\"" |
| }, |
| "partialFailures": { |
| "items": { |
| "$ref": "GoogleRpcStatus" |
| }, |
| "description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", |
| "type": "array" |
| }, |
| "createTime": { |
| "description": "Output only. Timestamp when import dataset request was created.", |
| "format": "google-datetime", |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig": { |
| "description": "Config for text entity extraction human labeling task.", |
| "id": "GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig", |
| "properties": { |
| "annotationSpecSet": { |
| "type": "string", |
| "description": "Required. Annotation spec set resource name." |
| } |
| }, |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1AnnotationSpec": { |
| "properties": { |
| "index": { |
| "description": "Output only. This is the integer index of the AnnotationSpec. The index for the whole AnnotationSpecSet is sequential starting from 0. For example, an AnnotationSpecSet with classes `dog` and `cat`, might contain one AnnotationSpec with `{ display_name: \"dog\", index: 0 }` and one AnnotationSpec with `{ display_name: \"cat\", index: 1 }`. This is especially useful for model training as it encodes the string labels into numeric values.", |
| "type": "integer", |
| "format": "int32" |
| }, |
| "displayName": { |
| "description": "Required. The display name of the AnnotationSpec. Maximum of 64 characters.", |
| "type": "string" |
| }, |
| "description": { |
| "description": "Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long.", |
| "type": "string" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1AnnotationSpec", |
| "description": "Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`.", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics": { |
| "id": "GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics", |
| "description": "Metrics calculated for an image object detection (bounding box) model.", |
| "type": "object", |
| "properties": { |
| "prCurve": { |
| "$ref": "GoogleCloudDatalabelingV1beta1PrCurve", |
| "description": "Precision-recall curve." |
| } |
| } |
| }, |
| "GoogleProtobufEmpty": { |
| "type": "object", |
| "id": "GoogleProtobufEmpty", |
| "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", |
| "properties": {} |
| }, |
| "GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata": { |
| "type": "object", |
| "description": "Details of a LabelVideoEvent operation metadata.", |
| "id": "GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata", |
| "properties": { |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig", |
| "description": "Basic human annotation config used in labeling request." |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1DataItem": { |
| "type": "object", |
| "description": "DataItem is a piece of data, without annotation. For example, an image.", |
| "properties": { |
| "videoPayload": { |
| "$ref": "GoogleCloudDatalabelingV1beta1VideoPayload", |
| "description": "The video payload, a container of the video uri." |
| }, |
| "textPayload": { |
| "$ref": "GoogleCloudDatalabelingV1beta1TextPayload", |
| "description": "The text payload, a container of text content." |
| }, |
| "name": { |
| "description": "Output only. Name of the data item, in format of: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}", |
| "type": "string" |
| }, |
| "imagePayload": { |
| "description": "The image payload, a container of the image bytes/uri.", |
| "$ref": "GoogleCloudDatalabelingV1beta1ImagePayload" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1DataItem" |
| }, |
| "GoogleCloudDatalabelingV1beta1BigQuerySource": { |
| "description": "The BigQuery location for input data. If used in an EvaluationJob, this is where the service saves the prediction input and output sampled from the model version.", |
| "id": "GoogleCloudDatalabelingV1beta1BigQuerySource", |
| "properties": { |
| "inputUri": { |
| "description": "Required. BigQuery URI to a table, up to 2,000 characters long. If you specify the URI of a table that does not exist, Data Labeling Service creates a table at the URI with the correct schema when you create your EvaluationJob. If you specify the URI of a table that already exists, it must have the [correct schema](/ml-engine/docs/continuous-evaluation/create-job#table-schema). Provide the table URI in the following format: \"bq://{your_project_id}/ {your_dataset_name}/{your_table_name}\" [Learn more](/ml-engine/docs/continuous-evaluation/create-job#table-schema).", |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1ClassificationMetrics": { |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1beta1ClassificationMetrics", |
| "description": "Metrics calculated for a classification model.", |
| "properties": { |
| "confusionMatrix": { |
| "description": "Confusion matrix of predicted labels vs. ground truth labels.", |
| "$ref": "GoogleCloudDatalabelingV1beta1ConfusionMatrix" |
| }, |
| "prCurve": { |
| "$ref": "GoogleCloudDatalabelingV1beta1PrCurve", |
| "description": "Precision-recall curve based on ground truth labels, predicted labels, and scores for the predicted labels." |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata": { |
| "id": "GoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata", |
| "properties": { |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig", |
| "description": "Basic human annotation config used in labeling request." |
| } |
| }, |
| "type": "object", |
| "description": "Details of LabelImagePolyline operation metadata." |
| }, |
| "GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse": { |
| "description": "Results of listing annotation spec set under a project.", |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse", |
| "properties": { |
| "annotationSpecSets": { |
| "description": "The list of annotation spec sets.", |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpecSet" |
| }, |
| "type": "array" |
| }, |
| "nextPageToken": { |
| "type": "string", |
| "description": "A token to retrieve next page of results." |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata": { |
| "id": "GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata", |
| "description": "Details of a LabelTextEntityExtraction operation metadata.", |
| "type": "object", |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config used in labeling request.", |
| "$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1TextClassificationConfig": { |
| "description": "Config for text classification human labeling task.", |
| "type": "object", |
| "properties": { |
| "allowMultiLabel": { |
| "type": "boolean", |
| "description": "Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one text segment." |
| }, |
| "annotationSpecSet": { |
| "description": "Required. Annotation spec set resource name.", |
| "type": "string" |
| }, |
| "sentimentConfig": { |
| "description": "Optional. Configs for sentiment selection.", |
| "$ref": "GoogleCloudDatalabelingV1beta1SentimentConfig" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1TextClassificationConfig" |
| }, |
| "GoogleCloudDatalabelingV1p1alpha1LabelImageClassificationOperationMetadata": { |
| "type": "object", |
| "description": "Metadata of a LabelImageClassification operation.", |
| "id": "GoogleCloudDatalabelingV1p1alpha1LabelImageClassificationOperationMetadata", |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config used in labeling request.", |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse": { |
| "description": "Results for listing evaluation jobs.", |
| "properties": { |
| "nextPageToken": { |
| "type": "string", |
| "description": "A token to retrieve next page of results." |
| }, |
| "evaluationJobs": { |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1EvaluationJob" |
| }, |
| "description": "The list of evaluation jobs to return.", |
| "type": "array" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1ListEvaluationJobsResponse", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata": { |
| "type": "object", |
| "description": "Details of a LabelVideoObjectDetection operation metadata.", |
| "id": "GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata", |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config used in labeling request.", |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation": { |
| "description": "Image bounding poly annotation. It represents a polygon including bounding box in the image.", |
| "id": "GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation", |
| "type": "object", |
| "properties": { |
| "boundingPoly": { |
| "$ref": "GoogleCloudDatalabelingV1beta1BoundingPoly" |
| }, |
| "normalizedBoundingPoly": { |
| "$ref": "GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly" |
| }, |
| "annotationSpec": { |
| "$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec", |
| "description": "Label of object in this bounding polygon." |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1TimeSegment": { |
| "properties": { |
| "startTimeOffset": { |
| "description": "Start of the time segment (inclusive), represented as the duration since the example start.", |
| "type": "string", |
| "format": "google-duration" |
| }, |
| "endTimeOffset": { |
| "type": "string", |
| "format": "google-duration", |
| "description": "End of the time segment (exclusive), represented as the duration since the example start." |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1TimeSegment", |
| "type": "object", |
| "description": "A time period inside of an example that has a time dimension (e.g. video)." |
| }, |
| "GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata": { |
| "properties": { |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", |
| "description": "Basic human annotation config used in labeling request." |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata", |
| "description": "Details of a LabelVideoEvent operation metadata.", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1p1alpha1GcsDestination": { |
| "id": "GoogleCloudDatalabelingV1p1alpha1GcsDestination", |
| "properties": { |
| "mimeType": { |
| "type": "string", |
| "description": "Required. The format of the gcs destination. Only \"text/csv\" and \"application/json\" are supported." |
| }, |
| "outputUri": { |
| "type": "string", |
| "description": "Required. The output uri of destination file." |
| } |
| }, |
| "type": "object", |
| "description": "Export destination of the data.Only gcs path is allowed in output_uri." |
| }, |
| "GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse": { |
| "type": "object", |
| "properties": { |
| "labelStats": { |
| "description": "Output only. Statistic infos of labels in the exported dataset.", |
| "$ref": "GoogleCloudDatalabelingV1alpha1LabelStats" |
| }, |
| "outputConfig": { |
| "description": "Output only. output_config in the ExportData request.", |
| "$ref": "GoogleCloudDatalabelingV1alpha1OutputConfig" |
| }, |
| "annotatedDataset": { |
| "description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\".", |
| "type": "string" |
| }, |
| "exportCount": { |
| "format": "int32", |
| "description": "Output only. Number of examples exported successfully.", |
| "type": "integer" |
| }, |
| "totalCount": { |
| "description": "Output only. Total number of examples requested to export", |
| "type": "integer", |
| "format": "int32" |
| }, |
| "dataset": { |
| "type": "string", |
| "description": "Ouptut only. The name of dataset. \"projects/*/datasets/*\"" |
| } |
| }, |
| "description": "Response used for ExportDataset longrunning operation.", |
| "id": "GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse" |
| }, |
| "GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse": { |
| "type": "object", |
| "description": "Response used for ExportDataset longrunning operation.", |
| "properties": { |
| "annotatedDataset": { |
| "type": "string", |
| "description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\"." |
| }, |
| "totalCount": { |
| "format": "int32", |
| "type": "integer", |
| "description": "Output only. Total number of examples requested to export" |
| }, |
| "exportCount": { |
| "format": "int32", |
| "description": "Output only. Number of examples exported successfully.", |
| "type": "integer" |
| }, |
| "outputConfig": { |
| "description": "Output only. output_config in the ExportData request.", |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1OutputConfig" |
| }, |
| "dataset": { |
| "description": "Ouptut only. The name of dataset. \"projects/*/datasets/*\"", |
| "type": "string" |
| }, |
| "labelStats": { |
| "description": "Output only. Statistic infos of labels in the exported dataset.", |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1LabelStats" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse" |
| }, |
| "GoogleCloudDatalabelingV1beta1ListDatasetsResponse": { |
| "description": "Results of listing datasets within a project.", |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1beta1ListDatasetsResponse", |
| "properties": { |
| "nextPageToken": { |
| "type": "string", |
| "description": "A token to retrieve next page of results." |
| }, |
| "datasets": { |
| "description": "The list of datasets to return.", |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1Dataset" |
| }, |
| "type": "array" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1Dataset": { |
| "properties": { |
| "createTime": { |
| "format": "google-datetime", |
| "description": "Output only. Time the dataset is created.", |
| "type": "string" |
| }, |
| "name": { |
| "description": "Output only. Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}", |
| "type": "string" |
| }, |
| "displayName": { |
| "description": "Required. The display name of the dataset. Maximum of 64 characters.", |
| "type": "string" |
| }, |
| "blockingResources": { |
| "type": "array", |
| "items": { |
| "type": "string" |
| }, |
| "description": "Output only. The names of any related resources that are blocking changes to the dataset." |
| }, |
| "lastMigrateTime": { |
| "description": "Last time that the Dataset is migrated to AI Platform V2. If any of the AnnotatedDataset is migrated, the last_migration_time in Dataset is also updated.", |
| "format": "google-datetime", |
| "type": "string" |
| }, |
| "inputConfigs": { |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1InputConfig" |
| }, |
| "description": "Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.", |
| "type": "array" |
| }, |
| "description": { |
| "type": "string", |
| "description": "Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long." |
| }, |
| "dataItemCount": { |
| "format": "int64", |
| "type": "string", |
| "description": "Output only. The number of data items in the dataset." |
| } |
| }, |
| "description": "Dataset is the resource to hold your data. You can request multiple labeling tasks for a dataset while each one will generate an AnnotatedDataset.", |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1beta1Dataset" |
| }, |
| "GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata": { |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config used in labeling request.", |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig" |
| } |
| }, |
| "type": "object", |
| "description": "Details of a LabelTextEntityExtraction operation metadata.", |
| "id": "GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata" |
| }, |
| "GoogleCloudDatalabelingV1beta1CreateInstructionMetadata": { |
| "properties": { |
| "partialFailures": { |
| "type": "array", |
| "description": "Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", |
| "items": { |
| "$ref": "GoogleRpcStatus" |
| } |
| }, |
| "createTime": { |
| "type": "string", |
| "description": "Timestamp when create instruction request was created.", |
| "format": "google-datetime" |
| }, |
| "instruction": { |
| "type": "string", |
| "description": "The name of the created Instruction. projects/{project_id}/instructions/{instruction_id}" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1CreateInstructionMetadata", |
| "type": "object", |
| "description": "Metadata of a CreateInstruction operation." |
| }, |
| "GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata": { |
| "type": "object", |
| "description": "Details of a LabelVideoObjectTracking operation metadata.", |
| "properties": { |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", |
| "description": "Basic human annotation config used in labeling request." |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata" |
| }, |
| "GoogleCloudDatalabelingV1beta1AnnotationSpecSet": { |
| "description": "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.", |
| "id": "GoogleCloudDatalabelingV1beta1AnnotationSpecSet", |
| "properties": { |
| "annotationSpecs": { |
| "type": "array", |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec" |
| }, |
| "description": "Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task." |
| }, |
| "displayName": { |
| "description": "Required. The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.", |
| "type": "string" |
| }, |
| "blockingResources": { |
| "items": { |
| "type": "string" |
| }, |
| "description": "Output only. The names of any related resources that are blocking changes to the annotation spec set.", |
| "type": "array" |
| }, |
| "name": { |
| "description": "Output only. The AnnotationSpecSet resource name in the following format: \"projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}\"", |
| "type": "string" |
| }, |
| "description": { |
| "type": "string", |
| "description": "Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long." |
| } |
| }, |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1Attempt": { |
| "properties": { |
| "partialFailures": { |
| "description": "Details of errors that occurred.", |
| "type": "array", |
| "items": { |
| "$ref": "GoogleRpcStatus" |
| } |
| }, |
| "attemptTime": { |
| "type": "string", |
| "format": "google-datetime" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1Attempt", |
| "type": "object", |
| "description": "Records a failed evaluation job run." |
| }, |
| "GoogleCloudDatalabelingV1beta1SentimentConfig": { |
| "id": "GoogleCloudDatalabelingV1beta1SentimentConfig", |
| "properties": { |
| "enableLabelSentimentSelection": { |
| "description": "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.", |
| "type": "boolean" |
| } |
| }, |
| "type": "object", |
| "description": "Config for setting up sentiments." |
| }, |
| "GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse": { |
| "type": "object", |
| "description": "Results of listing annotated datasets for a dataset.", |
| "properties": { |
| "annotatedDatasets": { |
| "description": "The list of annotated datasets to return.", |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1AnnotatedDataset" |
| }, |
| "type": "array" |
| }, |
| "nextPageToken": { |
| "type": "string", |
| "description": "A token to retrieve next page of results." |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse" |
| }, |
| "GoogleCloudDatalabelingV1beta1TextClassificationAnnotation": { |
| "type": "object", |
| "description": "Text classification annotation.", |
| "properties": { |
| "annotationSpec": { |
| "$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec", |
| "description": "Label of the text." |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1TextClassificationAnnotation" |
| }, |
| "GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry": { |
| "id": "GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry", |
| "properties": { |
| "annotationSpec": { |
| "description": "The annotation spec of a predicted label.", |
| "$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec" |
| }, |
| "itemCount": { |
| "format": "int32", |
| "type": "integer", |
| "description": "Number of items predicted to have this label. (The ground truth label for these items is the `Row.annotationSpec` of this entry's parent.)" |
| } |
| }, |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1SequentialSegment": { |
| "id": "GoogleCloudDatalabelingV1beta1SequentialSegment", |
| "description": "Start and end position in a sequence (e.g. text segment).", |
| "type": "object", |
| "properties": { |
| "start": { |
| "type": "integer", |
| "format": "int32", |
| "description": "Start position (inclusive)." |
| }, |
| "end": { |
| "format": "int32", |
| "type": "integer", |
| "description": "End position (exclusive)." |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1alpha1LabelStats": { |
| "type": "object", |
| "description": "Statistics about annotation specs.", |
| "properties": { |
| "exampleCount": { |
| "description": "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.", |
| "additionalProperties": { |
| "format": "int64", |
| "type": "string" |
| }, |
| "type": "object" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1alpha1LabelStats" |
| }, |
| "GoogleCloudDatalabelingV1beta1PdfInstruction": { |
| "properties": { |
| "gcsFileUri": { |
| "type": "string", |
| "description": "PDF file for the instruction. Only gcs path is allowed." |
| } |
| }, |
| "description": "Instruction from a PDF file.", |
| "id": "GoogleCloudDatalabelingV1beta1PdfInstruction", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly": { |
| "id": "GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly", |
| "type": "object", |
| "properties": { |
| "normalizedVertices": { |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1NormalizedVertex" |
| }, |
| "type": "array", |
| "description": "The bounding polygon normalized vertices." |
| } |
| }, |
| "description": "Normalized bounding polygon." |
| }, |
| "GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectTrackingOperationMetadata": { |
| "id": "GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectTrackingOperationMetadata", |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config used in labeling request.", |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig" |
| } |
| }, |
| "description": "Details of a LabelVideoObjectTracking operation metadata.", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1VideoPayload": { |
| "id": "GoogleCloudDatalabelingV1beta1VideoPayload", |
| "type": "object", |
| "properties": { |
| "videoUri": { |
| "type": "string", |
| "description": "Video uri from the user bucket." |
| }, |
| "videoThumbnails": { |
| "type": "array", |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1VideoThumbnail" |
| }, |
| "description": "The list of video thumbnails." |
| }, |
| "signedUri": { |
| "description": "Signed uri of the video file in the service bucket.", |
| "type": "string" |
| }, |
| "mimeType": { |
| "type": "string", |
| "description": "Video format." |
| }, |
| "frameRate": { |
| "type": "number", |
| "format": "float", |
| "description": "FPS of the video." |
| } |
| }, |
| "description": "Container of information of a video." |
| }, |
| "GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata": { |
| "id": "GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata", |
| "description": "Details of a LabelVideoClassification operation metadata.", |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config used in labeling request.", |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig" |
| } |
| }, |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1SegmentationConfig": { |
| "properties": { |
| "instructionMessage": { |
| "type": "string", |
| "description": "Instruction message showed on labelers UI." |
| }, |
| "annotationSpecSet": { |
| "description": "Required. Annotation spec set resource name. format: projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}", |
| "type": "string" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1SegmentationConfig", |
| "description": "Config for image segmentation", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1AnnotationValue": { |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1beta1AnnotationValue", |
| "description": "Annotation value for an example.", |
| "properties": { |
| "videoEventAnnotation": { |
| "description": "Annotation value for video event case.", |
| "$ref": "GoogleCloudDatalabelingV1beta1VideoEventAnnotation" |
| }, |
| "imageBoundingPolyAnnotation": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation", |
| "description": "Annotation value for image bounding box, oriented bounding box and polygon cases." |
| }, |
| "textClassificationAnnotation": { |
| "$ref": "GoogleCloudDatalabelingV1beta1TextClassificationAnnotation", |
| "description": "Annotation value for text classification case." |
| }, |
| "imageClassificationAnnotation": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation", |
| "description": "Annotation value for image classification case." |
| }, |
| "videoObjectTrackingAnnotation": { |
| "$ref": "GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation", |
| "description": "Annotation value for video object detection and tracking case." |
| }, |
| "textEntityExtractionAnnotation": { |
| "$ref": "GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation", |
| "description": "Annotation value for text entity extraction case." |
| }, |
| "imageSegmentationAnnotation": { |
| "description": "Annotation value for image segmentation.", |
| "$ref": "GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation" |
| }, |
| "videoClassificationAnnotation": { |
| "description": "Annotation value for video classification case.", |
| "$ref": "GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation" |
| }, |
| "imagePolylineAnnotation": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation", |
| "description": "Annotation value for image polyline cases. Polyline here is different from BoundingPoly. It is formed by line segments connected to each other but not closed form(Bounding Poly). The line segments can cross each other." |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1TextPayload": { |
| "description": "Container of information about a piece of text.", |
| "type": "object", |
| "properties": { |
| "textContent": { |
| "description": "Text content.", |
| "type": "string" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1TextPayload" |
| }, |
| "GoogleCloudDatalabelingV1beta1VideoEventAnnotation": { |
| "properties": { |
| "timeSegment": { |
| "description": "The time segment of the video to which the annotation applies.", |
| "$ref": "GoogleCloudDatalabelingV1beta1TimeSegment" |
| }, |
| "annotationSpec": { |
| "description": "Label of the event in this annotation.", |
| "$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec" |
| } |
| }, |
| "type": "object", |
| "description": "Video event annotation.", |
| "id": "GoogleCloudDatalabelingV1beta1VideoEventAnnotation" |
| }, |
| "GoogleCloudDatalabelingV1beta1BoundingPoly": { |
| "type": "object", |
| "properties": { |
| "vertices": { |
| "type": "array", |
| "description": "The bounding polygon vertices.", |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1Vertex" |
| } |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1BoundingPoly", |
| "description": "A bounding polygon in the image." |
| }, |
| "GoogleCloudDatalabelingV1beta1ObjectTrackingConfig": { |
| "description": "Config for video object tracking human labeling task.", |
| "properties": { |
| "overlapLength": { |
| "type": "integer", |
| "format": "int32", |
| "description": "The overlap length between different video clips. Users can configure is field in seconds, if not set, default value is 0.3s." |
| }, |
| "clipLength": { |
| "type": "integer", |
| "description": "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.", |
| "format": "int32" |
| }, |
| "annotationSpecSet": { |
| "type": "string", |
| "description": "Required. Annotation spec set resource name." |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1ObjectTrackingConfig", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse": { |
| "type": "object", |
| "properties": { |
| "nextPageToken": { |
| "type": "string", |
| "description": "A token to retrieve next page of results." |
| }, |
| "exampleComparisons": { |
| "description": "A list of example comparisons matching the search criteria.", |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ExampleComparison" |
| }, |
| "type": "array" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse", |
| "description": "Results of searching example comparisons." |
| }, |
| "GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest": { |
| "properties": {}, |
| "id": "GoogleCloudDatalabelingV1beta1PauseEvaluationJobRequest", |
| "type": "object", |
| "description": "Request message for PauseEvaluationJob." |
| }, |
| "GoogleCloudDatalabelingV1beta1FeedbackMessage": { |
| "description": "A feedback message inside a feedback thread.", |
| "type": "object", |
| "properties": { |
| "createTime": { |
| "description": "Create time.", |
| "format": "google-datetime", |
| "type": "string" |
| }, |
| "name": { |
| "type": "string", |
| "description": "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": { |
| "$ref": "GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata" |
| }, |
| "requesterFeedbackMetadata": { |
| "$ref": "GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata" |
| }, |
| "image": { |
| "format": "byte", |
| "description": "The image storing this feedback if the feedback is an image representing operator's comments.", |
| "type": "string" |
| }, |
| "body": { |
| "type": "string", |
| "description": "String content of the feedback. Maximum of 10000 characters." |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1FeedbackMessage" |
| }, |
| "GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata": { |
| "type": "object", |
| "description": "Details of a LabelVideoObjectDetection operation metadata.", |
| "id": "GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata", |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config used in labeling request.", |
| "$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata": { |
| "description": "Metadata on AnnotatedDataset.", |
| "properties": { |
| "objectTrackingConfig": { |
| "description": "Configuration for video object tracking task.", |
| "$ref": "GoogleCloudDatalabelingV1beta1ObjectTrackingConfig" |
| }, |
| "segmentationConfig": { |
| "$ref": "GoogleCloudDatalabelingV1beta1SegmentationConfig", |
| "description": "Configuration for image segmentation task." |
| }, |
| "textEntityExtractionConfig": { |
| "description": "Configuration for text entity extraction task.", |
| "$ref": "GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig" |
| }, |
| "boundingPolyConfig": { |
| "description": "Configuration for image bounding box and bounding poly task.", |
| "$ref": "GoogleCloudDatalabelingV1beta1BoundingPolyConfig" |
| }, |
| "polylineConfig": { |
| "description": "Configuration for image polyline task.", |
| "$ref": "GoogleCloudDatalabelingV1beta1PolylineConfig" |
| }, |
| "imageClassificationConfig": { |
| "description": "Configuration for image classification task.", |
| "$ref": "GoogleCloudDatalabelingV1beta1ImageClassificationConfig" |
| }, |
| "videoClassificationConfig": { |
| "description": "Configuration for video classification task.", |
| "$ref": "GoogleCloudDatalabelingV1beta1VideoClassificationConfig" |
| }, |
| "humanAnnotationConfig": { |
| "$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", |
| "description": "HumanAnnotationConfig used when requesting the human labeling task for this AnnotatedDataset." |
| }, |
| "objectDetectionConfig": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ObjectDetectionConfig", |
| "description": "Configuration for video object detection task." |
| }, |
| "eventConfig": { |
| "description": "Configuration for video event labeling task.", |
| "$ref": "GoogleCloudDatalabelingV1beta1EventConfig" |
| }, |
| "textClassificationConfig": { |
| "description": "Configuration for text classification task.", |
| "$ref": "GoogleCloudDatalabelingV1beta1TextClassificationConfig" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1ObjectDetectionConfig": { |
| "id": "GoogleCloudDatalabelingV1beta1ObjectDetectionConfig", |
| "type": "object", |
| "description": "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.", |
| "properties": { |
| "annotationSpecSet": { |
| "description": "Required. Annotation spec set resource name.", |
| "type": "string" |
| }, |
| "extractionFrameRate": { |
| "description": "Required. Number of frames per second to be extracted from the video.", |
| "type": "number", |
| "format": "double" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1NormalizedPolyline": { |
| "type": "object", |
| "properties": { |
| "normalizedVertices": { |
| "description": "The normalized polyline vertices.", |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1NormalizedVertex" |
| }, |
| "type": "array" |
| } |
| }, |
| "description": "Normalized polyline.", |
| "id": "GoogleCloudDatalabelingV1beta1NormalizedPolyline" |
| }, |
| "GoogleCloudDatalabelingV1beta1ExportDataRequest": { |
| "id": "GoogleCloudDatalabelingV1beta1ExportDataRequest", |
| "type": "object", |
| "description": "Request message for ExportData API.", |
| "properties": { |
| "outputConfig": { |
| "description": "Required. Specify the output destination.", |
| "$ref": "GoogleCloudDatalabelingV1beta1OutputConfig" |
| }, |
| "annotatedDataset": { |
| "type": "string", |
| "description": "Required. Annotated dataset resource name. DataItem in Dataset and their annotations in specified annotated dataset will be exported. It's in format of projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}" |
| }, |
| "userEmailAddress": { |
| "type": "string", |
| "description": "Email of the user who started the export task and should be notified by email. If empty no notification will be sent." |
| }, |
| "filter": { |
| "type": "string", |
| "description": "Optional. Filter is not supported at this moment." |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1CsvInstruction": { |
| "type": "object", |
| "properties": { |
| "gcsFileUri": { |
| "type": "string", |
| "description": "CSV file for the instruction. Only gcs path is allowed." |
| } |
| }, |
| "description": "Deprecated: this instruction format is not supported any more. Instruction from a CSV file.", |
| "id": "GoogleCloudDatalabelingV1beta1CsvInstruction" |
| }, |
| "GoogleCloudDatalabelingV1beta1ImportDataOperationResponse": { |
| "properties": { |
| "totalCount": { |
| "description": "Output only. Total number of examples requested to import", |
| "format": "int32", |
| "type": "integer" |
| }, |
| "importCount": { |
| "type": "integer", |
| "description": "Output only. Number of examples imported successfully.", |
| "format": "int32" |
| }, |
| "dataset": { |
| "description": "Ouptut only. The name of imported dataset.", |
| "type": "string" |
| } |
| }, |
| "description": "Response used for ImportData longrunning operation.", |
| "id": "GoogleCloudDatalabelingV1beta1ImportDataOperationResponse", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1EvaluationMetrics": { |
| "id": "GoogleCloudDatalabelingV1beta1EvaluationMetrics", |
| "properties": { |
| "objectDetectionMetrics": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics" |
| }, |
| "classificationMetrics": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ClassificationMetrics" |
| } |
| }, |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata": { |
| "description": "Details of LabelImagePolyline operation metadata.", |
| "id": "GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata", |
| "type": "object", |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config used in labeling request.", |
| "$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata": { |
| "description": "Details of LabelImageBoundingPoly operation metadata.", |
| "properties": { |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig", |
| "description": "Basic human annotation config used in labeling request." |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata": { |
| "type": "object", |
| "description": "Metadata of a labeling operation, such as LabelImage or LabelVideo. Next tag: 23", |
| "id": "GoogleCloudDatalabelingV1p2alpha1LabelOperationMetadata", |
| "properties": { |
| "createTime": { |
| "type": "string", |
| "format": "google-datetime", |
| "description": "Output only. Timestamp when labeling request was created." |
| }, |
| "textClassificationDetails": { |
| "description": "Details of label text classification operation.", |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1LabelTextClassificationOperationMetadata" |
| }, |
| "dataset": { |
| "description": "Output only. The name of dataset to be labeled. \"projects/*/datasets/*\"", |
| "type": "string" |
| }, |
| "videoEventDetails": { |
| "description": "Details of label video event operation.", |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1LabelVideoEventOperationMetadata" |
| }, |
| "videoClassificationDetails": { |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1LabelVideoClassificationOperationMetadata", |
| "description": "Details of label video classification operation." |
| }, |
| "imageClassificationDetails": { |
| "description": "Details of label image classification operation.", |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1LabelImageClassificationOperationMetadata" |
| }, |
| "imageSegmentationDetails": { |
| "description": "Details of label image segmentation operation.", |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1LabelImageSegmentationOperationMetadata" |
| }, |
| "imagePolylineDetails": { |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata", |
| "description": "Details of label image polyline operation." |
| }, |
| "annotatedDataset": { |
| "description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\".", |
| "type": "string" |
| }, |
| "videoObjectDetectionDetails": { |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectDetectionOperationMetadata", |
| "description": "Details of label video object detection operation." |
| }, |
| "imageBoundingBoxDetails": { |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingBoxOperationMetadata", |
| "description": "Details of label image bounding box operation." |
| }, |
| "textEntityExtractionDetails": { |
| "description": "Details of label text entity extraction operation.", |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1LabelTextEntityExtractionOperationMetadata" |
| }, |
| "videoObjectTrackingDetails": { |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1LabelVideoObjectTrackingOperationMetadata", |
| "description": "Details of label video object tracking operation." |
| }, |
| "imageBoundingPolyDetails": { |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1LabelImageBoundingPolyOperationMetadata", |
| "description": "Details of label image bounding poly operation." |
| }, |
| "progressPercent": { |
| "type": "integer", |
| "format": "int32", |
| "description": "Output only. Progress of label operation. Range: [0, 100]." |
| }, |
| "imageOrientedBoundingBoxDetails": { |
| "description": "Details of label image oriented bounding box operation.", |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1LabelImageOrientedBoundingBoxOperationMetadata" |
| }, |
| "partialFailures": { |
| "items": { |
| "$ref": "GoogleRpcStatus" |
| }, |
| "type": "array", |
| "description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details." |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1LabelTextRequest": { |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1beta1LabelTextRequest", |
| "properties": { |
| "feature": { |
| "enum": [ |
| "FEATURE_UNSPECIFIED", |
| "TEXT_CLASSIFICATION", |
| "TEXT_ENTITY_EXTRACTION" |
| ], |
| "enumDescriptions": [ |
| "", |
| "Label text content to one of more labels.", |
| "Label entities and their span in text." |
| ], |
| "description": "Required. The type of text labeling task.", |
| "type": "string" |
| }, |
| "textEntityExtractionConfig": { |
| "$ref": "GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig", |
| "description": "Configuration for entity extraction task. One of text_classification_config and text_entity_extraction_config is required." |
| }, |
| "textClassificationConfig": { |
| "$ref": "GoogleCloudDatalabelingV1beta1TextClassificationConfig", |
| "description": "Configuration for text classification task. One of text_classification_config and text_entity_extraction_config is required." |
| }, |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", |
| "description": "Required. Basic human annotation config." |
| } |
| }, |
| "description": "Request message for LabelText." |
| }, |
| "GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata": { |
| "id": "GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata", |
| "type": "object", |
| "properties": { |
| "createTime": { |
| "description": "Output only. Timestamp when export dataset request was created.", |
| "format": "google-datetime", |
| "type": "string" |
| }, |
| "annotatedDataset": { |
| "description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\".", |
| "type": "string" |
| }, |
| "partialFailures": { |
| "type": "array", |
| "items": { |
| "$ref": "GoogleRpcStatus" |
| }, |
| "description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details." |
| }, |
| "dataset": { |
| "type": "string", |
| "description": "Output only. The name of dataset to be exported. \"projects/*/datasets/*\"" |
| } |
| }, |
| "description": "Metadata of an ExportData operation." |
| }, |
| "GoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata": { |
| "id": "GoogleCloudDatalabelingV1p2alpha1CreateInstructionMetadata", |
| "type": "object", |
| "properties": { |
| "createTime": { |
| "format": "google-datetime", |
| "description": "Timestamp when create instruction request was created.", |
| "type": "string" |
| }, |
| "instruction": { |
| "description": "The name of the created Instruction. projects/{project_id}/instructions/{instruction_id}", |
| "type": "string" |
| }, |
| "partialFailures": { |
| "description": "Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details.", |
| "type": "array", |
| "items": { |
| "$ref": "GoogleRpcStatus" |
| } |
| } |
| }, |
| "description": "Metadata of a CreateInstruction operation." |
| }, |
| "GoogleCloudDatalabelingV1p2alpha1LabelStats": { |
| "id": "GoogleCloudDatalabelingV1p2alpha1LabelStats", |
| "description": "Statistics about annotation specs.", |
| "type": "object", |
| "properties": { |
| "exampleCount": { |
| "additionalProperties": { |
| "format": "int64", |
| "type": "string" |
| }, |
| "description": "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.", |
| "type": "object" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata": { |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata", |
| "properties": { |
| "createTime": { |
| "format": "google-datetime", |
| "description": "Output only. Timestamp when export dataset request was created.", |
| "type": "string" |
| }, |
| "annotatedDataset": { |
| "type": "string", |
| "description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\"." |
| }, |
| "partialFailures": { |
| "type": "array", |
| "items": { |
| "$ref": "GoogleRpcStatus" |
| }, |
| "description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details." |
| }, |
| "dataset": { |
| "description": "Output only. The name of dataset to be exported. \"projects/*/datasets/*\"", |
| "type": "string" |
| } |
| }, |
| "description": "Metadata of an ExportData operation." |
| }, |
| "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig": { |
| "type": "object", |
| "properties": { |
| "instruction": { |
| "type": "string", |
| "description": "Required. Instruction resource name." |
| }, |
| "questionDuration": { |
| "description": "Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.", |
| "format": "google-duration", |
| "type": "string" |
| }, |
| "userEmailAddress": { |
| "description": "Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent.", |
| "type": "string" |
| }, |
| "languageCode": { |
| "type": "string", |
| "description": "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": { |
| "description": "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.", |
| "type": "integer", |
| "format": "int32" |
| }, |
| "annotatedDatasetDisplayName": { |
| "description": "Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters .", |
| "type": "string" |
| }, |
| "labelGroup": { |
| "description": "Optional. A human-readable label used to logically group labeling tasks. This string must match the regular expression `[a-zA-Z\\\\d_-]{0,128}`.", |
| "type": "string" |
| }, |
| "contributorEmails": { |
| "type": "array", |
| "items": { |
| "type": "string" |
| }, |
| "description": "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/" |
| }, |
| "annotatedDatasetDescription": { |
| "description": "Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long.", |
| "type": "string" |
| } |
| }, |
| "description": "Configuration for how human labeling task should be done.", |
| "id": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig" |
| }, |
| "GoogleCloudDatalabelingV1beta1GcsDestination": { |
| "properties": { |
| "outputUri": { |
| "description": "Required. The output uri of destination file.", |
| "type": "string" |
| }, |
| "mimeType": { |
| "description": "Required. The format of the gcs destination. Only \"text/csv\" and \"application/json\" are supported.", |
| "type": "string" |
| } |
| }, |
| "type": "object", |
| "description": "Export destination of the data.Only gcs path is allowed in output_uri.", |
| "id": "GoogleCloudDatalabelingV1beta1GcsDestination" |
| }, |
| "GoogleCloudDatalabelingV1beta1VideoClassificationConfig": { |
| "description": "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.", |
| "properties": { |
| "annotationSpecSetConfigs": { |
| "description": "Required. The list of annotation spec set configs. Since watching a video clip takes much longer time than an image, we support label with multiple AnnotationSpecSet at the same time. Labels in each AnnotationSpecSet will be shown in a group to contributors. Contributors can select one or more (depending on whether to allow multi label) from each group.", |
| "type": "array", |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig" |
| } |
| }, |
| "applyShotDetection": { |
| "description": "Optional. Option to apply shot detection on the video.", |
| "type": "boolean" |
| } |
| }, |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1beta1VideoClassificationConfig" |
| }, |
| "GoogleCloudDatalabelingV1beta1ImageClassificationConfig": { |
| "description": "Config for image classification human labeling task.", |
| "properties": { |
| "annotationSpecSet": { |
| "type": "string", |
| "description": "Required. Annotation spec set resource name." |
| }, |
| "allowMultiLabel": { |
| "type": "boolean", |
| "description": "Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one image." |
| }, |
| "answerAggregationType": { |
| "description": "Optional. The type of how to aggregate answers.", |
| "enum": [ |
| "STRING_AGGREGATION_TYPE_UNSPECIFIED", |
| "MAJORITY_VOTE", |
| "UNANIMOUS_VOTE", |
| "NO_AGGREGATION" |
| ], |
| "enumDescriptions": [ |
| "", |
| "Majority vote to aggregate answers.", |
| "Unanimous answers will be adopted.", |
| "Preserve all answers by crowd compute." |
| ], |
| "type": "string" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1ImageClassificationConfig", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata": { |
| "type": "object", |
| "description": "Metadata of a labeling operation, such as LabelImage or LabelVideo. Next tag: 23", |
| "id": "GoogleCloudDatalabelingV1p1alpha1LabelOperationMetadata", |
| "properties": { |
| "videoEventDetails": { |
| "description": "Details of label video event operation.", |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1LabelVideoEventOperationMetadata" |
| }, |
| "videoClassificationDetails": { |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1LabelVideoClassificationOperationMetadata", |
| "description": "Details of label video classification operation." |
| }, |
| "createTime": { |
| "type": "string", |
| "description": "Output only. Timestamp when labeling request was created.", |
| "format": "google-datetime" |
| }, |
| "progressPercent": { |
| "type": "integer", |
| "format": "int32", |
| "description": "Output only. Progress of label operation. Range: [0, 100]." |
| }, |
| "imagePolylineDetails": { |
| "description": "Details of label image polyline operation.", |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1LabelImagePolylineOperationMetadata" |
| }, |
| "imageBoundingPolyDetails": { |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingPolyOperationMetadata", |
| "description": "Details of label image bounding poly operation." |
| }, |
| "imageOrientedBoundingBoxDetails": { |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1LabelImageOrientedBoundingBoxOperationMetadata", |
| "description": "Details of label image oriented bounding box operation." |
| }, |
| "imageBoundingBoxDetails": { |
| "description": "Details of label image bounding box operation.", |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1LabelImageBoundingBoxOperationMetadata" |
| }, |
| "videoObjectDetectionDetails": { |
| "description": "Details of label video object detection operation.", |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectDetectionOperationMetadata" |
| }, |
| "dataset": { |
| "description": "Output only. The name of dataset to be labeled. \"projects/*/datasets/*\"", |
| "type": "string" |
| }, |
| "annotatedDataset": { |
| "type": "string", |
| "description": "Output only. The name of annotated dataset in format \"projects/*/datasets/*/annotatedDatasets/*\"." |
| }, |
| "videoObjectTrackingDetails": { |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1LabelVideoObjectTrackingOperationMetadata", |
| "description": "Details of label video object tracking operation." |
| }, |
| "textEntityExtractionDetails": { |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1LabelTextEntityExtractionOperationMetadata", |
| "description": "Details of label text entity extraction operation." |
| }, |
| "imageSegmentationDetails": { |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1LabelImageSegmentationOperationMetadata", |
| "description": "Details of label image segmentation operation." |
| }, |
| "partialFailures": { |
| "type": "array", |
| "items": { |
| "$ref": "GoogleRpcStatus" |
| }, |
| "description": "Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details." |
| }, |
| "imageClassificationDetails": { |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1LabelImageClassificationOperationMetadata", |
| "description": "Details of label image classification operation." |
| }, |
| "textClassificationDetails": { |
| "description": "Details of label text classification operation.", |
| "$ref": "GoogleCloudDatalabelingV1p1alpha1LabelTextClassificationOperationMetadata" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata": { |
| "id": "GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata", |
| "description": "Details of a LabelVideoClassification operation metadata.", |
| "type": "object", |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config used in labeling request.", |
| "$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1ConfusionMatrix": { |
| "description": "Confusion matrix of the model running the classification. Only applicable when the metrics entry aggregates multiple labels. Not applicable when the entry is for a single label.", |
| "id": "GoogleCloudDatalabelingV1beta1ConfusionMatrix", |
| "type": "object", |
| "properties": { |
| "row": { |
| "type": "array", |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1Row" |
| } |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig": { |
| "id": "GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig", |
| "description": "Configuration for how human labeling task should be done.", |
| "properties": { |
| "labelGroup": { |
| "description": "Optional. A human-readable label used to logically group labeling tasks. This string must match the regular expression `[a-zA-Z\\\\d_-]{0,128}`.", |
| "type": "string" |
| }, |
| "contributorEmails": { |
| "items": { |
| "type": "string" |
| }, |
| "description": "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/", |
| "type": "array" |
| }, |
| "annotatedDatasetDescription": { |
| "type": "string", |
| "description": "Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long." |
| }, |
| "questionDuration": { |
| "description": "Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.", |
| "format": "google-duration", |
| "type": "string" |
| }, |
| "replicaCount": { |
| "format": "int32", |
| "type": "integer", |
| "description": "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." |
| }, |
| "annotatedDatasetDisplayName": { |
| "type": "string", |
| "description": "Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters ." |
| }, |
| "userEmailAddress": { |
| "description": "Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent.", |
| "type": "string" |
| }, |
| "languageCode": { |
| "description": "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.", |
| "type": "string" |
| }, |
| "instruction": { |
| "type": "string", |
| "description": "Required. Instruction resource name." |
| } |
| }, |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse": { |
| "type": "object", |
| "properties": { |
| "totalCount": { |
| "format": "int32", |
| "type": "integer", |
| "description": "Output only. Total number of examples requested to import" |
| }, |
| "importCount": { |
| "type": "integer", |
| "description": "Output only. Number of examples imported successfully.", |
| "format": "int32" |
| }, |
| "dataset": { |
| "description": "Ouptut only. The name of imported dataset.", |
| "type": "string" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse", |
| "description": "Response used for ImportData longrunning operation." |
| }, |
| "GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation": { |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation", |
| "properties": { |
| "annotationSpec": { |
| "description": "Label of image.", |
| "$ref": "GoogleCloudDatalabelingV1beta1AnnotationSpec" |
| } |
| }, |
| "description": "Image classification annotation definition." |
| }, |
| "GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata": { |
| "description": "Details of LabelImagePolyline operation metadata.", |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config used in labeling request.", |
| "$ref": "GoogleCloudDatalabelingV1p2alpha1HumanAnnotationConfig" |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1p2alpha1LabelImagePolylineOperationMetadata", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata": { |
| "type": "object", |
| "description": "Details of a LabelImageOrientedBoundingBox operation metadata.", |
| "id": "GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata", |
| "properties": { |
| "basicConfig": { |
| "description": "Basic human annotation config.", |
| "$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata": { |
| "id": "GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata", |
| "type": "object", |
| "properties": { |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig", |
| "description": "Basic human annotation config used in labeling request." |
| } |
| }, |
| "description": "Details of a LabelVideoObjectTracking operation metadata." |
| }, |
| "GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata": { |
| "description": "Details of a LabelVideoClassification operation metadata.", |
| "id": "GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata", |
| "type": "object", |
| "properties": { |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", |
| "description": "Basic human annotation config used in labeling request." |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata": { |
| "type": "object", |
| "description": "Details of a LabelImageOrientedBoundingBox operation metadata.", |
| "properties": { |
| "basicConfig": { |
| "$ref": "GoogleCloudDatalabelingV1beta1HumanAnnotationConfig", |
| "description": "Basic human annotation config." |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata" |
| }, |
| "GoogleCloudDatalabelingV1beta1NormalizedVertex": { |
| "description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.", |
| "id": "GoogleCloudDatalabelingV1beta1NormalizedVertex", |
| "type": "object", |
| "properties": { |
| "x": { |
| "description": "X coordinate.", |
| "format": "float", |
| "type": "number" |
| }, |
| "y": { |
| "type": "number", |
| "description": "Y coordinate.", |
| "format": "float" |
| } |
| } |
| }, |
| "GoogleCloudDatalabelingV1beta1Polyline": { |
| "description": "A line with multiple line segments.", |
| "properties": { |
| "vertices": { |
| "type": "array", |
| "description": "The polyline vertices.", |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1Vertex" |
| } |
| } |
| }, |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1beta1Polyline" |
| }, |
| "GoogleCloudDatalabelingV1beta1Example": { |
| "description": "An Example is a piece of data and its annotation. For example, an image with label \"house\".", |
| "id": "GoogleCloudDatalabelingV1beta1Example", |
| "properties": { |
| "annotations": { |
| "type": "array", |
| "items": { |
| "$ref": "GoogleCloudDatalabelingV1beta1Annotation" |
| }, |
| "description": "Output only. Annotations for the piece of data in Example. One piece of data can have multiple annotations." |
| }, |
| "name": { |
| "description": "Output only. Name of the example, in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}/examples/{example_id}", |
| "type": "string" |
| }, |
| "videoPayload": { |
| "$ref": "GoogleCloudDatalabelingV1beta1VideoPayload", |
| "description": "The video payload, a container of the video uri." |
| }, |
| "textPayload": { |
| "description": "The text payload, a container of the text content.", |
| "$ref": "GoogleCloudDatalabelingV1beta1TextPayload" |
| }, |
| "imagePayload": { |
| "$ref": "GoogleCloudDatalabelingV1beta1ImagePayload", |
| "description": "The image payload, a container of the image bytes/uri." |
| } |
| }, |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1ObjectTrackingFrame": { |
| "properties": { |
| "normalizedBoundingPoly": { |
| "$ref": "GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly" |
| }, |
| "boundingPoly": { |
| "$ref": "GoogleCloudDatalabelingV1beta1BoundingPoly" |
| }, |
| "timeOffset": { |
| "type": "string", |
| "format": "google-duration", |
| "description": "The time offset of this frame relative to the beginning of the video." |
| } |
| }, |
| "id": "GoogleCloudDatalabelingV1beta1ObjectTrackingFrame", |
| "description": "Video frame level annotation for object detection and tracking.", |
| "type": "object" |
| }, |
| "GoogleCloudDatalabelingV1beta1EvaluationConfig": { |
| "description": "Configuration details used for calculating evaluation metrics and creating an Evaluation.", |
| "properties": { |
| "boundingBoxEvaluationOptions": { |
| "$ref": "GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions", |
| "description": "Only specify this field if the related model performs image object detection (`IMAGE_BOUNDING_BOX_ANNOTATION`). Describes how to evaluate bounding boxes." |
| } |
| }, |
| "type": "object", |
| "id": "GoogleCloudDatalabelingV1beta1EvaluationConfig" |
| }, |
| "GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata": { |
| "id": "GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata", |
| "properties": {}, |
| "description": "Metadata describing the feedback from the labeling task requester.", |
| "type": "object" |
| } |
| }, |
| "title": "Data Labeling API", |
| "description": "Public API for Google Cloud AI Data Labeling Service.", |
| "batchPath": "batch" |
| } |