Cloud AutoML V1 Client - Class GetAnnotationSpecRequest (2.0.0-RC1)

Reference documentation and code samples for the Cloud AutoML V1 Client class GetAnnotationSpecRequest.

Request message for AutoMl.GetAnnotationSpec.

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

Namespace

Google \ Cloud \ AutoMl \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the annotation spec to retrieve.

getName

Required. The resource name of the annotation spec to retrieve.

Returns
Type Description
string

setName

Required. The resource name of the annotation spec to retrieve.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The resource name of the annotation spec to retrieve. Please see Google\Cloud\AutoMl\V1\AutoMlClient::annotationSpecName() for help formatting this field.

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