Class ProjectsResource.AnnotationSpecSetsResource
The "annotationSpecSets" collection of methods.
Inherited Members
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:
|
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 |