Google Cloud Datalabeling V1beta1 Client - Class GetInstructionRequest (0.5.5)

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

Namespace

Google \ Cloud \ DataLabeling \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setName

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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

Returns
Type Description
Google\Cloud\DataLabeling\V1beta1\GetInstructionRequest