Google Cloud Ai Platform V1 Client - Class GetAnnotationSpecRequest (0.15.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

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