Reference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API class Google::Cloud::DataLabeling::V1beta1::SearchExampleComparisonsRequest.
Request message of SearchExampleComparisons.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#page_size
defpage_size()->::Integer
Returns
(::Integer) โ Optional. Requested page size. Server may return fewer results than
requested. Default value is 100.
#page_size=
defpage_size=(value)->::Integer
Parameter
value (::Integer) โ Optional. Requested page size. Server may return fewer results than
requested. Default value is 100.
Returns
(::Integer) โ Optional. Requested page size. Server may return fewer results than
requested. Default value is 100.
#page_token
defpage_token()->::String
Returns
(::String) โ Optional. A token identifying a page of results for the server to return.
Typically obtained by the
[nextPageToken][SearchExampleComparisons.next_page_token] of the response
to a previous search rquest.
If you don't specify this field, the API call requests the first page of
the search.
#page_token=
defpage_token=(value)->::String
Parameter
value (::String) โ Optional. A token identifying a page of results for the server to return.
Typically obtained by the
[nextPageToken][SearchExampleComparisons.next_page_token] of the response
to a previous search rquest.
If you don't specify this field, the API call requests the first page of
the search.
Returns
(::String) โ Optional. A token identifying a page of results for the server to return.
Typically obtained by the
[nextPageToken][SearchExampleComparisons.next_page_token] of the response
to a previous search rquest.
If you don't specify this field, the API call requests the first page of
the search.
#parent
defparent()->::String
Returns
(::String) โ Required. Name of the Evaluation resource to search for example
comparisons from. Format:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# AI Platform Data Labeling Service V1beta1 API - Class Google::Cloud::DataLabeling::V1beta1::SearchExampleComparisonsRequest (v0.11.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.11.1 (latest)](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-SearchExampleComparisonsRequest)\n- [0.11.0](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.11.0/Google-Cloud-DataLabeling-V1beta1-SearchExampleComparisonsRequest)\n- [0.10.1](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.10.1/Google-Cloud-DataLabeling-V1beta1-SearchExampleComparisonsRequest)\n- [0.9.0](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.9.0/Google-Cloud-DataLabeling-V1beta1-SearchExampleComparisonsRequest)\n- [0.8.1](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.8.1/Google-Cloud-DataLabeling-V1beta1-SearchExampleComparisonsRequest)\n- [0.7.2](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.7.2/Google-Cloud-DataLabeling-V1beta1-SearchExampleComparisonsRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.6.0/Google-Cloud-DataLabeling-V1beta1-SearchExampleComparisonsRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.5.0/Google-Cloud-DataLabeling-V1beta1-SearchExampleComparisonsRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.4.0/Google-Cloud-DataLabeling-V1beta1-SearchExampleComparisonsRequest)\n- [0.3.5](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/0.3.5/Google-Cloud-DataLabeling-V1beta1-SearchExampleComparisonsRequest) \nReference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API class Google::Cloud::DataLabeling::V1beta1::SearchExampleComparisonsRequest.\n\nRequest message of SearchExampleComparisons. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #page_size\n\n def page_size() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Optional. Requested page size. Server may return fewer results than requested. Default value is 100.\n\n### #page_size=\n\n def page_size=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Optional. Requested page size. Server may return fewer results than requested. Default value is 100. \n**Returns**\n\n- (::Integer) --- Optional. Requested page size. Server may return fewer results than requested. Default value is 100.\n\n### #page_token\n\n def page_token() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. A token identifying a page of results for the server to return. Typically obtained by the \\[nextPageToken\\]\\[SearchExampleComparisons.next_page_token\\] of the response to a previous search rquest.\n\n If you don't specify this field, the API call requests the first page of\n the search.\n\n### #page_token=\n\n def page_token=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. A token identifying a page of results for the server to return. Typically obtained by the \\[nextPageToken\\]\\[SearchExampleComparisons.next_page_token\\] of the response to a previous search rquest.\n\n\n If you don't specify this field, the API call requests the first page of\nthe search. \n**Returns**\n\n- (::String) --- Optional. A token identifying a page of results for the server to return. Typically obtained by the \\[nextPageToken\\]\\[SearchExampleComparisons.next_page_token\\] of the response to a previous search rquest.\n\n If you don't specify this field, the API call requests the first page of\n the search.\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. Name of the [Evaluation](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-Evaluation \"Google::Cloud::DataLabeling::V1beta1::Evaluation (class)\") resource to search for example comparisons from. Format:\n\n\n \"projects/\u003cvar translate=\"no\"\u003e{project_id}\u003c/var\u003e/datasets/\u003cvar translate=\"no\"\u003e{dataset_id}\u003c/var\u003e/evaluations/\u003cvar translate=\"no\"\u003e{evaluation_id}\u003c/var\u003e\"\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. Name of the [Evaluation](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-Evaluation \"Google::Cloud::DataLabeling::V1beta1::Evaluation (class)\") resource to search for example comparisons from. Format:\n\n\n\"projects/\u003cvar translate=\"no\"\u003e{project_id}\u003c/var\u003e/datasets/\u003cvar translate=\"no\"\u003e{dataset_id}\u003c/var\u003e/evaluations/\u003cvar translate=\"no\"\u003e{evaluation_id}\u003c/var\u003e\" \n**Returns**\n\n- (::String) --- Required. Name of the [Evaluation](/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-Evaluation \"Google::Cloud::DataLabeling::V1beta1::Evaluation (class)\") resource to search for example comparisons from. Format:\n\n\n \"projects/\u003cvar translate=\"no\"\u003e{project_id}\u003c/var\u003e/datasets/\u003cvar translate=\"no\"\u003e{dataset_id}\u003c/var\u003e/evaluations/\u003cvar translate=\"no\"\u003e{evaluation_id}\u003c/var\u003e\""]]