Google Cloud Ai Platform V1 Client - Class GetAnnotationSpecRequest (1.4.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class GetAnnotationSpecRequest.

Request message for DatasetService.GetAnnotationSpec.

Generated from protobuf message google.cloud.aiplatform.v1.GetAnnotationSpecRequest

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the AnnotationSpec resource. Format: projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}

↳ read_mask Google\Protobuf\FieldMask

Mask specifying which fields to read.

getName

Required. The name of the AnnotationSpec resource.

Format: projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}

Returns
Type Description
string

setName

Required. The name of the AnnotationSpec resource.

Format: projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}

Parameter
Name Description
var string
Returns
Type Description
$this

getReadMask

Mask specifying which fields to read.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasReadMask

clearReadMask

setReadMask

Mask specifying which fields to read.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the AnnotationSpec resource. Format: projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec} Please see Google\Cloud\AIPlatform\V1\DatasetServiceClient::annotationSpecName() for help formatting this field.

Returns
Type Description
Google\Cloud\AIPlatform\V1\GetAnnotationSpecRequest