public class CloudHealthcare.Projects.Locations.Datasets.AnnotationStores.Annotations extends Object
| Constructor and Description |
|---|
Annotations() |
| Modifier and Type | Method and Description |
|---|---|
CloudHealthcare.Projects.Locations.Datasets.AnnotationStores.Annotations.Create |
create(String parent,
Annotation content)
Creates a new Annotation record.
|
CloudHealthcare.Projects.Locations.Datasets.AnnotationStores.Annotations.Delete |
delete(String name)
Deletes an Annotation or returns NOT_FOUND if it does not exist.
|
CloudHealthcare.Projects.Locations.Datasets.AnnotationStores.Annotations.Get |
get(String name)
Gets an Annotation.
|
CloudHealthcare.Projects.Locations.Datasets.AnnotationStores.Annotations.List |
list(String parent)
Lists the Annotations in the given Annotation store for a source resource.
|
CloudHealthcare.Projects.Locations.Datasets.AnnotationStores.Annotations.Patch |
patch(String name,
Annotation content)
Updates the Annotation.
|
public CloudHealthcare.Projects.Locations.Datasets.AnnotationStores.Annotations.Create create(String parent, Annotation content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - The name of the Annotation store this annotation belongs to. For example,
`projects/my-
project/locations/us-central1/datasets/mydataset/annotationStores/myannotationstore`.content - the AnnotationIOExceptionpublic CloudHealthcare.Projects.Locations.Datasets.AnnotationStores.Annotations.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The resource name of the Annotation to delete.IOExceptionpublic CloudHealthcare.Projects.Locations.Datasets.AnnotationStores.Annotations.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The resource name of the Annotation to retrieve.IOExceptionpublic CloudHealthcare.Projects.Locations.Datasets.AnnotationStores.Annotations.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Name of the Annotation store to retrieve Annotations from.IOExceptionpublic CloudHealthcare.Projects.Locations.Datasets.AnnotationStores.Annotations.Patch patch(String name, Annotation content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Resource name of the Annotation, of the form
`projects/{project_id}/locations/{location_id}/datasets
/{dataset_id}/annotationStores/{annotation_store_id}/annotations/{annotation_id}`.content - the AnnotationIOExceptionCopyright © 2011–2020 Google. All rights reserved.