Class: Google::Cloud::AutoML::V1beta1::ExamplePayload

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/automl/v1beta1/data_items.rb

Overview

Example data used for training or prediction.

Instance Attribute Summary collapse

Instance Attribute Details

#document::Google::Cloud::AutoML::V1beta1::Document

Returns 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.



232
233
234
235
# File 'proto_docs/google/cloud/automl/v1beta1/data_items.rb', line 232

class ExamplePayload
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#image::Google::Cloud::AutoML::V1beta1::Image

Returns 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.



232
233
234
235
# File 'proto_docs/google/cloud/automl/v1beta1/data_items.rb', line 232

class ExamplePayload
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#row::Google::Cloud::AutoML::V1beta1::Row

Returns 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.



232
233
234
235
# File 'proto_docs/google/cloud/automl/v1beta1/data_items.rb', line 232

class ExamplePayload
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#text_snippet::Google::Cloud::AutoML::V1beta1::TextSnippet

Returns 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.



232
233
234
235
# File 'proto_docs/google/cloud/automl/v1beta1/data_items.rb', line 232

class ExamplePayload
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end