Show / Hide Table of Contents

Class ProjectsResource.AnnotationSpecSetsResource

The "annotationSpecSets" collection of methods.

Inheritance
object
ProjectsResource.AnnotationSpecSetsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DataLabeling.v1beta1
Assembly: Google.Apis.DataLabeling.v1beta1.dll
Syntax
public class ProjectsResource.AnnotationSpecSetsResource

Constructors

AnnotationSpecSetsResource(IClientService)

Constructs a new resource.

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

Methods

Create(GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest, string)

Creates an annotation spec set by providing a set of labels.

Declaration
public virtual ProjectsResource.AnnotationSpecSetsResource.CreateRequest Create(GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest body, string parent)
Parameters
Type Name Description
GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest body

The body of the request.

string parent

Required. AnnotationSpecSet resource parent, format: projects/{project_id}

Returns
Type Description
ProjectsResource.AnnotationSpecSetsResource.CreateRequest

Delete(string)

Deletes an annotation spec set by resource name.

Declaration
public virtual ProjectsResource.AnnotationSpecSetsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. AnnotationSpec resource name, format: projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}.

Returns
Type Description
ProjectsResource.AnnotationSpecSetsResource.DeleteRequest

Get(string)

Gets an annotation spec set by resource name.

Declaration
public virtual ProjectsResource.AnnotationSpecSetsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. AnnotationSpecSet resource name, format: projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}

Returns
Type Description
ProjectsResource.AnnotationSpecSetsResource.GetRequest

List(string)

Lists annotation spec sets for a project. Pagination is supported.

Declaration
public virtual ProjectsResource.AnnotationSpecSetsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Parent of AnnotationSpecSet resource, format: projects/{project_id}

Returns
Type Description
ProjectsResource.AnnotationSpecSetsResource.ListRequest
In this article
Back to top Generated by DocFX