Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptionsIndividualPageSelector

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/documentai_v1beta3/classes.rb,
lib/google/apis/documentai_v1beta3/representations.rb,
lib/google/apis/documentai_v1beta3/representations.rb

Overview

A list of individual page numbers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3ProcessOptionsIndividualPageSelector

Returns a new instance of GoogleCloudDocumentaiV1beta3ProcessOptionsIndividualPageSelector.



11738
11739
11740
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11738

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>)


11736
11737
11738
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11736

def pages
  @pages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11743
11744
11745
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11743

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