Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datalabeling_v1beta1/classes.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb

Overview

Results of searching example comparisons.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse

Returns a new instance of GoogleCloudDatalabelingV1beta1SearchExampleComparisonsResponse.



4162
4163
4164
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 4162

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#example_comparisonsArray<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ExampleComparison>

A list of example comparisons matching the search criteria. Corresponds to the JSON property exampleComparisons



4155
4156
4157
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 4155

def example_comparisons
  @example_comparisons
end

#next_page_tokenString

A token to retrieve next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


4160
4161
4162
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 4160

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4167
4168
4169
4170
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 4167

def update!(**args)
  @example_comparisons = args[:example_comparisons] if args.key?(:example_comparisons)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end