Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.datalabeling/v1beta1.getInstruction
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets an instruction by resource name.
Using getInstruction
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getInstruction(args: GetInstructionArgs, opts?: InvokeOptions): Promise<GetInstructionResult>
function getInstructionOutput(args: GetInstructionOutputArgs, opts?: InvokeOptions): Output<GetInstructionResult>
def get_instruction(instruction_id: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstructionResult
def get_instruction_output(instruction_id: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstructionResult]
func LookupInstruction(ctx *Context, args *LookupInstructionArgs, opts ...InvokeOption) (*LookupInstructionResult, error)
func LookupInstructionOutput(ctx *Context, args *LookupInstructionOutputArgs, opts ...InvokeOption) LookupInstructionResultOutput
> Note: This function is named LookupInstruction
in the Go SDK.
public static class GetInstruction
{
public static Task<GetInstructionResult> InvokeAsync(GetInstructionArgs args, InvokeOptions? opts = null)
public static Output<GetInstructionResult> Invoke(GetInstructionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstructionResult> getInstruction(GetInstructionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:datalabeling/v1beta1:getInstruction
arguments:
# arguments dictionary
The following arguments are supported:
- Instruction
Id string - Project string
- Instruction
Id string - Project string
- instruction
Id String - project String
- instruction
Id string - project string
- instruction_
id str - project str
- instruction
Id String - project String
getInstruction Result
The following output properties are available:
- Blocking
Resources List<string> - The names of any related resources that are blocking changes to the instruction.
- Create
Time string - Creation time of instruction.
- Csv
Instruction Pulumi.Google Native. Data Labeling. V1Beta1. Outputs. Google Cloud Datalabeling V1beta1Csv Instruction Response - Deprecated: this instruction format is not supported any more. Instruction from a CSV file, such as for classification task. The CSV file should have exact two columns, in the following format: * The first column is labeled data, such as an image reference, text. * The second column is comma separated labels associated with data.
- Data
Type string - The data type of this instruction.
- Description string
- Optional. User-provided description of the instruction. The description can be up to 10000 characters long.
- Display
Name string - The display name of the instruction. Maximum of 64 characters.
- Name string
- Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}
- Pdf
Instruction Pulumi.Google Native. Data Labeling. V1Beta1. Outputs. Google Cloud Datalabeling V1beta1Pdf Instruction Response - Instruction from a PDF document. The PDF should be in a Cloud Storage bucket.
- Update
Time string - Last update time of instruction.
- Blocking
Resources []string - The names of any related resources that are blocking changes to the instruction.
- Create
Time string - Creation time of instruction.
- Csv
Instruction GoogleCloud Datalabeling V1beta1Csv Instruction Response - Deprecated: this instruction format is not supported any more. Instruction from a CSV file, such as for classification task. The CSV file should have exact two columns, in the following format: * The first column is labeled data, such as an image reference, text. * The second column is comma separated labels associated with data.
- Data
Type string - The data type of this instruction.
- Description string
- Optional. User-provided description of the instruction. The description can be up to 10000 characters long.
- Display
Name string - The display name of the instruction. Maximum of 64 characters.
- Name string
- Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}
- Pdf
Instruction GoogleCloud Datalabeling V1beta1Pdf Instruction Response - Instruction from a PDF document. The PDF should be in a Cloud Storage bucket.
- Update
Time string - Last update time of instruction.
- blocking
Resources List<String> - The names of any related resources that are blocking changes to the instruction.
- create
Time String - Creation time of instruction.
- csv
Instruction GoogleCloud Datalabeling V1beta1Csv Instruction Response - Deprecated: this instruction format is not supported any more. Instruction from a CSV file, such as for classification task. The CSV file should have exact two columns, in the following format: * The first column is labeled data, such as an image reference, text. * The second column is comma separated labels associated with data.
- data
Type String - The data type of this instruction.
- description String
- Optional. User-provided description of the instruction. The description can be up to 10000 characters long.
- display
Name String - The display name of the instruction. Maximum of 64 characters.
- name String
- Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}
- pdf
Instruction GoogleCloud Datalabeling V1beta1Pdf Instruction Response - Instruction from a PDF document. The PDF should be in a Cloud Storage bucket.
- update
Time String - Last update time of instruction.
- blocking
Resources string[] - The names of any related resources that are blocking changes to the instruction.
- create
Time string - Creation time of instruction.
- csv
Instruction GoogleCloud Datalabeling V1beta1Csv Instruction Response - Deprecated: this instruction format is not supported any more. Instruction from a CSV file, such as for classification task. The CSV file should have exact two columns, in the following format: * The first column is labeled data, such as an image reference, text. * The second column is comma separated labels associated with data.
- data
Type string - The data type of this instruction.
- description string
- Optional. User-provided description of the instruction. The description can be up to 10000 characters long.
- display
Name string - The display name of the instruction. Maximum of 64 characters.
- name string
- Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}
- pdf
Instruction GoogleCloud Datalabeling V1beta1Pdf Instruction Response - Instruction from a PDF document. The PDF should be in a Cloud Storage bucket.
- update
Time string - Last update time of instruction.
- blocking_
resources Sequence[str] - The names of any related resources that are blocking changes to the instruction.
- create_
time str - Creation time of instruction.
- csv_
instruction GoogleCloud Datalabeling V1beta1Csv Instruction Response - Deprecated: this instruction format is not supported any more. Instruction from a CSV file, such as for classification task. The CSV file should have exact two columns, in the following format: * The first column is labeled data, such as an image reference, text. * The second column is comma separated labels associated with data.
- data_
type str - The data type of this instruction.
- description str
- Optional. User-provided description of the instruction. The description can be up to 10000 characters long.
- display_
name str - The display name of the instruction. Maximum of 64 characters.
- name str
- Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}
- pdf_
instruction GoogleCloud Datalabeling V1beta1Pdf Instruction Response - Instruction from a PDF document. The PDF should be in a Cloud Storage bucket.
- update_
time str - Last update time of instruction.
- blocking
Resources List<String> - The names of any related resources that are blocking changes to the instruction.
- create
Time String - Creation time of instruction.
- csv
Instruction Property Map - Deprecated: this instruction format is not supported any more. Instruction from a CSV file, such as for classification task. The CSV file should have exact two columns, in the following format: * The first column is labeled data, such as an image reference, text. * The second column is comma separated labels associated with data.
- data
Type String - The data type of this instruction.
- description String
- Optional. User-provided description of the instruction. The description can be up to 10000 characters long.
- display
Name String - The display name of the instruction. Maximum of 64 characters.
- name String
- Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}
- pdf
Instruction Property Map - Instruction from a PDF document. The PDF should be in a Cloud Storage bucket.
- update
Time String - Last update time of instruction.
Supporting Types
GoogleCloudDatalabelingV1beta1CsvInstructionResponse
- Gcs
File stringUri - CSV file for the instruction. Only gcs path is allowed.
- Gcs
File stringUri - CSV file for the instruction. Only gcs path is allowed.
- gcs
File StringUri - CSV file for the instruction. Only gcs path is allowed.
- gcs
File stringUri - CSV file for the instruction. Only gcs path is allowed.
- gcs_
file_ struri - CSV file for the instruction. Only gcs path is allowed.
- gcs
File StringUri - CSV file for the instruction. Only gcs path is allowed.
GoogleCloudDatalabelingV1beta1PdfInstructionResponse
- Gcs
File stringUri - PDF file for the instruction. Only gcs path is allowed.
- Gcs
File stringUri - PDF file for the instruction. Only gcs path is allowed.
- gcs
File StringUri - PDF file for the instruction. Only gcs path is allowed.
- gcs
File stringUri - PDF file for the instruction. Only gcs path is allowed.
- gcs_
file_ struri - PDF file for the instruction. Only gcs path is allowed.
- gcs
File StringUri - PDF file for the instruction. Only gcs path is allowed.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi