Cloud AutoML V1 API - Class Google::Cloud::AutoML::V1::Dataset (v0.9.0)

Reference documentation and code samples for the Cloud AutoML V1 API class Google::Cloud::AutoML::V1::Dataset.

A workspace for solving a single, particular machine learning (ML) problem. A workspace contains examples that may be annotated.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#create_time=

def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#description

def description() -> ::String
Returns
  • (::String) — User-provided description of the dataset. The description can be up to 25000 characters long.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — User-provided description of the dataset. The description can be up to 25000 characters long.
Returns
  • (::String) — User-provided description of the dataset. The description can be up to 25000 characters long.

#display_name

def display_name() -> ::String
Returns
  • (::String) — Required. The name of the dataset to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the dataset to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.
Returns
  • (::String) — Required. The name of the dataset to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.

#etag

def etag() -> ::String
Returns
  • (::String) — Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
Returns
  • (::String) — Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

#example_count

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

#example_count=

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

#image_classification_dataset_metadata

def image_classification_dataset_metadata() -> ::Google::Cloud::AutoML::V1::ImageClassificationDatasetMetadata
Returns

#image_classification_dataset_metadata=

def image_classification_dataset_metadata=(value) -> ::Google::Cloud::AutoML::V1::ImageClassificationDatasetMetadata
Parameter
Returns

#image_object_detection_dataset_metadata

def image_object_detection_dataset_metadata() -> ::Google::Cloud::AutoML::V1::ImageObjectDetectionDatasetMetadata
Returns

#image_object_detection_dataset_metadata=

def image_object_detection_dataset_metadata=(value) -> ::Google::Cloud::AutoML::V1::ImageObjectDetectionDatasetMetadata
Parameter
Returns

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. The labels with user-defined metadata to organize your dataset.

    Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.

    See https://goo.gl/xmQnxf for more information on and examples of labels.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. The labels with user-defined metadata to organize your dataset.

    Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.

    See https://goo.gl/xmQnxf for more information on and examples of labels.

Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. The labels with user-defined metadata to organize your dataset.

    Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.

    See https://goo.gl/xmQnxf for more information on and examples of labels.

#name

def name() -> ::String
Returns
  • (::String) — Output only. The resource name of the dataset. Form: projects/{project_id}/locations/{location_id}/datasets/{dataset_id}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Output only. The resource name of the dataset. Form: projects/{project_id}/locations/{location_id}/datasets/{dataset_id}
Returns
  • (::String) — Output only. The resource name of the dataset. Form: projects/{project_id}/locations/{location_id}/datasets/{dataset_id}

#text_classification_dataset_metadata

def text_classification_dataset_metadata() -> ::Google::Cloud::AutoML::V1::TextClassificationDatasetMetadata
Returns

#text_classification_dataset_metadata=

def text_classification_dataset_metadata=(value) -> ::Google::Cloud::AutoML::V1::TextClassificationDatasetMetadata
Parameter
Returns

#text_extraction_dataset_metadata

def text_extraction_dataset_metadata() -> ::Google::Cloud::AutoML::V1::TextExtractionDatasetMetadata
Returns

#text_extraction_dataset_metadata=

def text_extraction_dataset_metadata=(value) -> ::Google::Cloud::AutoML::V1::TextExtractionDatasetMetadata
Parameter
Returns

#text_sentiment_dataset_metadata

def text_sentiment_dataset_metadata() -> ::Google::Cloud::AutoML::V1::TextSentimentDatasetMetadata
Returns

#text_sentiment_dataset_metadata=

def text_sentiment_dataset_metadata=(value) -> ::Google::Cloud::AutoML::V1::TextSentimentDatasetMetadata
Parameter
Returns

#translation_dataset_metadata

def translation_dataset_metadata() -> ::Google::Cloud::AutoML::V1::TranslationDatasetMetadata
Returns

#translation_dataset_metadata=

def translation_dataset_metadata=(value) -> ::Google::Cloud::AutoML::V1::TranslationDatasetMetadata
Parameter
Returns