NAME
Google::Cloud::Datalabeling::V1beta1::Instruction - Compiled Protocol Buffers messages for google/cloud/datalabeling/v1beta1/instruction.proto
SYNOPSIS
use Google::Cloud::Datalabeling::V1beta1::Instruction;
my $msg = Google::Cloud::Datalabeling::V1beta1::Instruction::Instruction->new({
name => $name,
display_name => $display_name,
description => $description,
create_time => $create_time,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Datalabeling::V1beta1::Instruction::Instruction->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/datalabeling/v1beta1/instruction.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Datalabeling::V1beta1::Instruction::Instruction
Instruction of how to perform the labeling task for human operators. Currently only PDF instruction is supported.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. The display name of the instruction. Maximum of 64 characters.
$msg->description()/$msg->description($value)Type:
StringOptional. User-provided description of the instruction. The description can be up to 10000 characters long.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Creation time of instruction.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Last update time of instruction.
$msg->data_type()/$msg->data_type($value)Type:
Enum(Google::Cloud::Datalabeling::V1beta1::DataType)Required. The data type of this instruction.
$msg->csv_instruction()/$msg->csv_instruction($value)Type:
Message(Google::Cloud::Datalabeling::V1beta1::Instruction::CsvInstruction)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.
$msg->pdf_instruction()/$msg->pdf_instruction($value)Type:
Message(Google::Cloud::Datalabeling::V1beta1::Instruction::PdfInstruction)Instruction from a PDF document. The PDF should be in a Cloud Storage bucket.
$msg->blocking_resources()/$msg->blocking_resources($value)Type:
StringOutput only. The names of any related resources that are blocking changes to the instruction.
Google::Cloud::Datalabeling::V1beta1::Instruction::CsvInstruction
Deprecated: this instruction format is not supported any more. Instruction from a CSV file.
Inherits from Protobuf::Message.
Accessors
$msg->gcs_file_uri()/$msg->gcs_file_uri($value)Type:
StringCSV file for the instruction. Only gcs path is allowed.
Google::Cloud::Datalabeling::V1beta1::Instruction::PdfInstruction
Instruction from a PDF file.
Inherits from Protobuf::Message.
Accessors
$msg->gcs_file_uri()/$msg->gcs_file_uri($value)Type:
StringPDF file for the instruction. Only gcs path is allowed.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Datalabeling::V1beta1::Instruction::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.