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

Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setName

Required. The name of the AnnotationSpec resource.

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

Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getReadMask

Mask specifying which fields to read.

Generated from protobuf field .google.protobuf.FieldMask read_mask = 2;

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasReadMask

clearReadMask

setReadMask

Mask specifying which fields to read.

Generated from protobuf field .google.protobuf.FieldMask read_mask = 2;

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