Class ProjectsResource.InstructionsResource
The "instructions" collection of methods.
Inherited Members
Namespace: Google.Apis.DataLabeling.v1beta1
Assembly: Google.Apis.DataLabeling.v1beta1.dll
Syntax
public class ProjectsResource.InstructionsResource
Constructors
InstructionsResource(IClientService)
Constructs a new resource.
Declaration
public InstructionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudDatalabelingV1beta1CreateInstructionRequest, string)
Creates an instruction for how data should be labeled.
Declaration
public virtual ProjectsResource.InstructionsResource.CreateRequest Create(GoogleCloudDatalabelingV1beta1CreateInstructionRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDatalabelingV1beta1CreateInstructionRequest | body | The body of the request. |
string | parent | Required. Instruction resource parent, format: projects/{project_id} |
Returns
Type | Description |
---|---|
ProjectsResource.InstructionsResource.CreateRequest |
Delete(string)
Deletes an instruction object by resource name.
Declaration
public virtual ProjectsResource.InstructionsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Instruction resource name, format: projects/{project_id}/instructions/{instruction_id} |
Returns
Type | Description |
---|---|
ProjectsResource.InstructionsResource.DeleteRequest |
Get(string)
Gets an instruction by resource name.
Declaration
public virtual ProjectsResource.InstructionsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Instruction resource name, format: projects/{project_id}/instructions/{instruction_id} |
Returns
Type | Description |
---|---|
ProjectsResource.InstructionsResource.GetRequest |
List(string)
Lists instructions for a project. Pagination is supported.
Declaration
public virtual ProjectsResource.InstructionsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Instruction resource parent, format: projects/{project_id} |
Returns
Type | Description |
---|---|
ProjectsResource.InstructionsResource.ListRequest |