Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse

Inherits:
Object
  • Object
show all
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

Results of searching evaluations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse

Returns a new instance of GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse.



4108
4109
4110
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4108

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

Instance Attribute Details

#evaluationsArray<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Evaluation>

The list of evaluations matching the search. Corresponds to the JSON property evaluations



4101
4102
4103
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4101

def evaluations
  @evaluations
end

#next_page_tokenString

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

Returns:

  • (String)


4106
4107
4108
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4106

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4113
4114
4115
4116
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4113

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