Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Document AI Layout Parser config.
Instance Attribute Summary collapse
-
#max_parsing_requests_per_min ⇒ Fixnum
The maximum number of requests the job is allowed to make to the Document AI processor per minute.
-
#processor_name ⇒ String
The full resource name of a Document AI processor or processor version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser
constructor
A new instance of GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser
Returns a new instance of GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser.
26453 26454 26455 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26453 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_parsing_requests_per_min ⇒ Fixnum
The maximum number of requests the job is allowed to make to the Document AI
processor per minute. Consult https://cloud.google.com/document-ai/quotas and
the Quota page for your project to set an appropriate value here. If
unspecified, a default value of 120 QPM would be used.
Corresponds to the JSON property maxParsingRequestsPerMin
26441 26442 26443 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26441 def max_parsing_requests_per_min @max_parsing_requests_per_min end |
#processor_name ⇒ String
The full resource name of a Document AI processor or processor version. The
processor must have type LAYOUT_PARSER_PROCESSOR. If specified, the
additional_config.parse_as_scanned_pdf field must be false. Format: *
projects/project_id/locations/location/processors/processor_id* `
projects/`project_id`/locations/`location`/processors/`processor_id`/
processorVersions/`processor_version_id
Corresponds to the JSON property processorName
26451 26452 26453 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26451 def processor_name @processor_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
26458 26459 26460 26461 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26458 def update!(**args) @max_parsing_requests_per_min = args[:max_parsing_requests_per_min] if args.key?(:max_parsing_requests_per_min) @processor_name = args[:processor_name] if args.key?(:processor_name) end |