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 Returns 
 - (::Google::Cloud::AutoML::V1::Document) — Example document.
#document=
def document=(value) -> ::Google::Cloud::AutoML::V1::Document Parameter 
 - value (::Google::Cloud::AutoML::V1::Document) — Example document.
 Returns 
 - (::Google::Cloud::AutoML::V1::Document) — Example document.
#image
def image() -> ::Google::Cloud::AutoML::V1::Image Returns 
 - (::Google::Cloud::AutoML::V1::Image) — Example image.
#image=
def image=(value) -> ::Google::Cloud::AutoML::V1::Image Parameter 
 - value (::Google::Cloud::AutoML::V1::Image) — Example image.
 Returns 
 - (::Google::Cloud::AutoML::V1::Image) — Example image.
#text_snippet
def text_snippet() -> ::Google::Cloud::AutoML::V1::TextSnippet Returns 
 - (::Google::Cloud::AutoML::V1::TextSnippet) — Example text.
#text_snippet=
def text_snippet=(value) -> ::Google::Cloud::AutoML::V1::TextSnippet Parameter 
 - value (::Google::Cloud::AutoML::V1::TextSnippet) — Example text.
 Returns 
 - (::Google::Cloud::AutoML::V1::TextSnippet) — Example text.