Cloud AutoML V1 API - Class Google::Cloud::AutoML::V1::ExamplePayload (v0.5.1)

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

#document=

def document=(value) -> ::Google::Cloud::AutoML::V1::Document
Parameter
Returns

#image

def image() -> ::Google::Cloud::AutoML::V1::Image
Returns

#image=

def image=(value) -> ::Google::Cloud::AutoML::V1::Image
Parameter
Returns

#text_snippet

def text_snippet() -> ::Google::Cloud::AutoML::V1::TextSnippet
Returns

#text_snippet=

def text_snippet=(value) -> ::Google::Cloud::AutoML::V1::TextSnippet
Parameter
Returns