Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ListEvaluationsResponse

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

Overview

The response from ListEvaluations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1ListEvaluationsResponse

Returns a new instance of GoogleCloudDocumentaiV1ListEvaluationsResponse.



4835
4836
4837
# File 'lib/google/apis/documentai_v1/classes.rb', line 4835

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

Instance Attribute Details

#evaluationsArray<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Evaluation>

The evaluations requested. Corresponds to the JSON property evaluations



4827
4828
4829
# File 'lib/google/apis/documentai_v1/classes.rb', line 4827

def evaluations
  @evaluations
end

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


4833
4834
4835
# File 'lib/google/apis/documentai_v1/classes.rb', line 4833

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4840
4841
4842
4843
# File 'lib/google/apis/documentai_v1/classes.rb', line 4840

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