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