Google Cloud Ai Platform V1 Client - Class GetAnnotationSpecRequest (0.20.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
NameDescription
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
TypeDescription
string

setName

Required. The name of the AnnotationSpec resource.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getReadMask

Mask specifying which fields to read.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasReadMask

clearReadMask

setReadMask

Mask specifying which fields to read.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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
TypeDescription
Google\Cloud\AIPlatform\V1\GetAnnotationSpecRequest