Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector

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

A list of individual page numbers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector

Returns a new instance of GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector.

[View source]

4705
4706
4707
# File 'lib/google/apis/documentai_v1/classes.rb', line 4705

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

Instance Attribute Details

#pagesArray<Fixnum>

Optional. Indices of the pages (starting from 1). Corresponds to the JSON property pages

Returns:

  • (Array<Fixnum>)

4703
4704
4705
# File 'lib/google/apis/documentai_v1/classes.rb', line 4703

def pages
  @pages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

4710
4711
4712
# File 'lib/google/apis/documentai_v1/classes.rb', line 4710

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