Reference documentation and code samples for the Cloud AutoML V1 API class Google::Cloud::AutoML::V1::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::V1::Document-  (::Google::Cloud::AutoML::V1::Document) — Example document.Note: The following fields are mutually exclusive: document,image,text_snippet. 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::V1::Document-  value (::Google::Cloud::AutoML::V1::Document) — Example document.Note: The following fields are mutually exclusive: document,image,text_snippet. If a field in that set is populated, all other fields in the set will automatically be cleared.
-  (::Google::Cloud::AutoML::V1::Document) — Example document.Note: The following fields are mutually exclusive: document,image,text_snippet. If a field in that set is populated, all other fields in the set will automatically be cleared.
#image
def image() -> ::Google::Cloud::AutoML::V1::Image-  (::Google::Cloud::AutoML::V1::Image) — Example image.Note: The following fields are mutually exclusive: image,text_snippet,document. 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::V1::Image-  value (::Google::Cloud::AutoML::V1::Image) — Example image.Note: The following fields are mutually exclusive: image,text_snippet,document. If a field in that set is populated, all other fields in the set will automatically be cleared.
-  (::Google::Cloud::AutoML::V1::Image) — Example image.Note: The following fields are mutually exclusive: 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::V1::TextSnippet-  (::Google::Cloud::AutoML::V1::TextSnippet) — Example text.Note: The following fields are mutually exclusive: text_snippet,image,document. 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::V1::TextSnippet-  value (::Google::Cloud::AutoML::V1::TextSnippet) — Example text.Note: The following fields are mutually exclusive: text_snippet,image,document. If a field in that set is populated, all other fields in the set will automatically be cleared.
-  (::Google::Cloud::AutoML::V1::TextSnippet) — Example text.Note: The following fields are mutually exclusive: text_snippet,image,document. If a field in that set is populated, all other fields in the set will automatically be cleared.