Google Cloud Ai Platform V1 Client - Class GetAnnotationSpecRequest (1.19.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 DatasetServiceClient::annotationSpecName() for help formatting this field.

Returns
Type Description
GetAnnotationSpecRequest

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月08日 UTC.