Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.DatasetsResource.AnnotationStoresResource.AnnotationsResource

The "annotations" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.DatasetsResource.AnnotationStoresResource.AnnotationsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudHealthcare.v1beta1
Assembly: Google.Apis.CloudHealthcare.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.DatasetsResource.AnnotationStoresResource.AnnotationsResource

Constructors

AnnotationsResource(IClientService)

Constructs a new resource.

Declaration
public AnnotationsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(Annotation, string)

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.

Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.AnnotationStoresResource.AnnotationsResource.CreateRequest Create(Annotation body, string parent)
Parameters
Type Name Description
Annotation body

The body of the request.

string parent

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

Returns
Type Description
ProjectsResource.LocationsResource.DatasetsResource.AnnotationStoresResource.AnnotationsResource.CreateRequest

Delete(string)

Deletes an Annotation or returns NOT_FOUND if it does not exist.

Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.AnnotationStoresResource.AnnotationsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The resource name of the Annotation to delete.

Returns
Type Description
ProjectsResource.LocationsResource.DatasetsResource.AnnotationStoresResource.AnnotationsResource.DeleteRequest

Get(string)

Gets an Annotation.

Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.AnnotationStoresResource.AnnotationsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The resource name of the Annotation to retrieve.

Returns
Type Description
ProjectsResource.LocationsResource.DatasetsResource.AnnotationStoresResource.AnnotationsResource.GetRequest

List(string)

Lists the Annotations in the given Annotation store for a source resource.

Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.AnnotationStoresResource.AnnotationsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Name of the Annotation store to retrieve Annotations from.

Returns
Type Description
ProjectsResource.LocationsResource.DatasetsResource.AnnotationStoresResource.AnnotationsResource.ListRequest

Patch(Annotation, string)

Updates the Annotation.

Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.AnnotationStoresResource.AnnotationsResource.PatchRequest Patch(Annotation body, string name)
Parameters
Type Name Description
Annotation body

The body of the request.

string name

Identifier. Resource name of the Annotation, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationStores/{annotation_store_id}/annotations/{annotation_id}.

Returns
Type Description
ProjectsResource.LocationsResource.DatasetsResource.AnnotationStoresResource.AnnotationsResource.PatchRequest
In this article
Back to top Generated by DocFX