Reference documentation and code samples for the Cloud AutoML V1 Client class AnnotationSpec.
A definition of an annotation spec.
Generated from protobuf message google.cloud.automl.v1.AnnotationSpec
Namespace
Google \ Cloud \ AutoMl \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. Resource name of the annotation spec. Form: 'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}'
↳ display_name
string
Required. The name of the annotation spec to show in the interface. The name can be up to 32 characters long and must match the regexp [a-zA-Z0-9_]+
.
↳ example_count
int
Output only. The number of examples in the parent dataset labeled by the annotation spec.
getName
Output only. Resource name of the annotation spec.
Form: 'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}'
string
setName
Output only. Resource name of the annotation spec.
Form: 'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}'
var
string
$this
getDisplayName
Required. The name of the annotation spec to show in the interface. The name can be
up to 32 characters long and must match the regexp [a-zA-Z0-9_]+
.
string
setDisplayName
Required. The name of the annotation spec to show in the interface. The name can be
up to 32 characters long and must match the regexp [a-zA-Z0-9_]+
.
var
string
$this
getExampleCount
Output only. The number of examples in the parent dataset labeled by the annotation spec.
int
setExampleCount
Output only. The number of examples in the parent dataset labeled by the annotation spec.
var
int
$this