Cloud AutoML V1beta1 API - Class Google::Cloud::AutoML::V1beta1::ExamplePayload (v0.13.0)

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

Example data used for training or prediction.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#document

def document() -> ::Google::Cloud::AutoML::V1beta1::Document
Returns
  • (::Google::Cloud::AutoML::V1beta1::Document) — Example document.

    Note: The following fields are mutually exclusive: document, image, text_snippet, row. If a field in that set is populated, all other fields in the set will automatically be cleared.

#document=

def document=(value) -> ::Google::Cloud::AutoML::V1beta1::Document
Parameter
  • value (::Google::Cloud::AutoML::V1beta1::Document) — Example document.

    Note: The following fields are mutually exclusive: document, image, text_snippet, row. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::AutoML::V1beta1::Document) — Example document.

    Note: The following fields are mutually exclusive: document, image, text_snippet, row. If a field in that set is populated, all other fields in the set will automatically be cleared.

#image

def image() -> ::Google::Cloud::AutoML::V1beta1::Image
Returns
  • (::Google::Cloud::AutoML::V1beta1::Image) — Example image.

    Note: The following fields are mutually exclusive: image, text_snippet, document, row. If a field in that set is populated, all other fields in the set will automatically be cleared.

#image=

def image=(value) -> ::Google::Cloud::AutoML::V1beta1::Image
Parameter
  • value (::Google::Cloud::AutoML::V1beta1::Image) — Example image.

    Note: The following fields are mutually exclusive: image, text_snippet, document, row. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::AutoML::V1beta1::Image) — Example image.

    Note: The following fields are mutually exclusive: image, text_snippet, document, row. If a field in that set is populated, all other fields in the set will automatically be cleared.

#row

def row() -> ::Google::Cloud::AutoML::V1beta1::Row
Returns
  • (::Google::Cloud::AutoML::V1beta1::Row) — Example relational table row.

    Note: The following fields are mutually exclusive: row, image, text_snippet, document. If a field in that set is populated, all other fields in the set will automatically be cleared.

#row=

def row=(value) -> ::Google::Cloud::AutoML::V1beta1::Row
Parameter
  • value (::Google::Cloud::AutoML::V1beta1::Row) — Example relational table row.

    Note: The following fields are mutually exclusive: row, image, text_snippet, document. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::AutoML::V1beta1::Row) — Example relational table row.

    Note: The following fields are mutually exclusive: row, image, text_snippet, document. If a field in that set is populated, all other fields in the set will automatically be cleared.

#text_snippet

def text_snippet() -> ::Google::Cloud::AutoML::V1beta1::TextSnippet
Returns
  • (::Google::Cloud::AutoML::V1beta1::TextSnippet) — Example text.

    Note: The following fields are mutually exclusive: text_snippet, image, document, row. If a field in that set is populated, all other fields in the set will automatically be cleared.

#text_snippet=

def text_snippet=(value) -> ::Google::Cloud::AutoML::V1beta1::TextSnippet
Parameter
  • value (::Google::Cloud::AutoML::V1beta1::TextSnippet) — Example text.

    Note: The following fields are mutually exclusive: text_snippet, image, document, row. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::AutoML::V1beta1::TextSnippet) — Example text.

    Note: The following fields are mutually exclusive: text_snippet, image, document, row. If a field in that set is populated, all other fields in the set will automatically be cleared.