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.



4413
4414
4415
# File 'lib/google/apis/documentai_v1/classes.rb', line 4413

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

Instance Attribute Details

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

The evaluations requested. Corresponds to the JSON property evaluations



4405
4406
4407
# File 'lib/google/apis/documentai_v1/classes.rb', line 4405

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)


4411
4412
4413
# File 'lib/google/apis/documentai_v1/classes.rb', line 4411

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4418
4419
4420
4421
# File 'lib/google/apis/documentai_v1/classes.rb', line 4418

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