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