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.



4345
4346
4347
# File 'lib/google/apis/documentai_v1/classes.rb', line 4345

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

Instance Attribute Details

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

The evaluations requested. Corresponds to the JSON property evaluations



4337
4338
4339
# File 'lib/google/apis/documentai_v1/classes.rb', line 4337

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)


4343
4344
4345
# File 'lib/google/apis/documentai_v1/classes.rb', line 4343

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4350
4351
4352
4353
# File 'lib/google/apis/documentai_v1/classes.rb', line 4350

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