Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::RagFileParsingConfig::LayoutParser (v1.3.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::RagFileParsingConfig::LayoutParser.

Document AI Layout Parser config.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#max_parsing_requests_per_min

def max_parsing_requests_per_min() -> ::Integer
Returns
  • (::Integer) — 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.

#max_parsing_requests_per_min=

def max_parsing_requests_per_min=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.
Returns
  • (::Integer) — 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.

#processor_name

def processor_name() -> ::String
Returns
  • (::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}

#processor_name=

def processor_name=(value) -> ::String
Parameter
  • value (::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}
Returns
  • (::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}