Cloud AutoML V1beta1 API - Class Google::Cloud::AutoML::V1beta1::AnnotationSpec (v0.10.0)

Reference documentation and code samples for the Cloud AutoML V1beta1 API class Google::Cloud::AutoML::V1beta1::AnnotationSpec.

A definition of an annotation spec.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#display_name

def display_name() -> ::String
Returns
  • (::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_]+.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::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_]+.
Returns
  • (::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

def example_count() -> ::Integer
Returns
  • (::Integer) — Output only. The number of examples in the parent dataset labeled by the annotation spec.

#example_count=

def example_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Output only. The number of examples in the parent dataset labeled by the annotation spec.
Returns
  • (::Integer) — Output only. The number of examples in the parent dataset labeled by the annotation spec.

#name

def name() -> ::String
Returns
  • (::String) — Output only. Resource name of the annotation spec. Form:

    'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}'

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Output only. Resource name of the annotation spec. Form:

    'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}'

Returns
  • (::String) — Output only. Resource name of the annotation spec. Form:

    'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}'