Method: annotations.create

Full name: projects.locations.datasets.annotationStores.annotations.create

Creates a new Annotation record. It is valid to create Annotation objects for the same source more than once since a unique ID is assigned to each record by this service.

HTTP request

POST https://healthcare.googleapis.com/v1beta1/{parent=projects/*/locations/*/datasets/*/annotationStores/*}/annotations

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The name of the Annotation store this annotation belongs to. For example, projects/my-project/locations/us-central1/datasets/mydataset/annotationStores/myannotationstore.

Authorization requires the following IAM permission on the specified resource parent:

  • healthcare.annotations.create

Request body

The request body contains an instance of Annotation.

Response body

If successful, the response body contains a newly created instance of Annotation.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-healthcare
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.