Google Cloud Datalabeling V1beta1 Client - Class GetInstructionRequest (0.2.0)

Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class GetInstructionRequest.

Request message for GetInstruction.

Generated from protobuf message google.cloud.datalabeling.v1beta1.GetInstructionRequest

Methods

build

Parameter
NameDescription
name string

Required. Instruction resource name, format: projects/{project_id}/instructions/{instruction_id} Please see {@see \Google\Cloud\DataLabeling\V1beta1\DataLabelingServiceClient::instructionName()} for help formatting this field.

Returns
TypeDescription
Google\Cloud\DataLabeling\V1beta1\GetInstructionRequest

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}

getName

Required. Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}

Returns
TypeDescription
string

setName

Required. Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this