Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector
- 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
A list of individual page numbers.
Instance Attribute Summary collapse
-
#pages ⇒ Array<Fixnum>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector
constructor
A new instance of GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector
Returns a new instance of GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector.
6984 6985 6986 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6984 def initialize(**args) update!(**args) end |
Instance Attribute Details
#pages ⇒ Array<Fixnum>
Optional. Indices of the pages (starting from 1).
Corresponds to the JSON property pages
6982 6983 6984 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6982 def pages @pages end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6989 6990 6991 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6989 def update!(**args) @pages = args[:pages] if args.key?(:pages) end |