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
more...

Overview

The response from ListEvaluations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1ListEvaluationsResponse

Returns a new instance of GoogleCloudDocumentaiV1ListEvaluationsResponse.

[View source]

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

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

Instance Attribute Details

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

The evaluations requested. Corresponds to the JSON property evaluations


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

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)

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

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

4424
4425
4426
4427
# File 'lib/google/apis/documentai_v1/classes.rb', line 4424

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