Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datalabeling_v1beta1/classes.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb
Overview
Request message of SearchExampleComparisons.
Instance Attribute Summary collapse
-
#page_size ⇒ Fixnum
Optional.
-
#page_token ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest
constructor
A new instance of GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest
Returns a new instance of GoogleCloudDatalabelingV1beta1SearchExampleComparisonsRequest.
4137 4138 4139 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4137 def initialize(**args) update!(**args) end |
Instance Attribute Details
#page_size ⇒ Fixnum
Optional. Requested page size. Server may return fewer results than requested.
Default value is 100.
Corresponds to the JSON property pageSize
4127 4128 4129 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4127 def page_size @page_size end |
#page_token ⇒ String
Optional. A token identifying a page of results for the server to return.
Typically obtained by the nextPageToken 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.
Corresponds to the JSON property pageToken
4135 4136 4137 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4135 def page_token @page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4142 4143 4144 4145 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4142 def update!(**args) @page_size = args[:page_size] if args.key?(:page_size) @page_token = args[:page_token] if args.key?(:page_token) end |