Liking cljdoc? Tell your friends :D

happygapi.documentai.projects

Cloud Document AI API: projects. Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML. See: https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects

Cloud Document AI API: projects.
Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML.
See: https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects
raw docstring

locations-fetchProcessorTypes$clj

(locations-fetchProcessorTypes$ auth parameters)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/fetchProcessorTypes

Required parameters: parent

Optional parameters: none

Fetches processor types. Note that we don't use ListProcessorTypes here, because it isn't paginated.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/fetchProcessorTypes

Required parameters: parent

Optional parameters: none

Fetches processor types. Note that we don't use ListProcessorTypes here, because it isn't paginated.
sourceraw docstring

locations-get$clj

(locations-get$ auth parameters)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/get

Required parameters: name

Optional parameters: none

Gets information about a location.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/get

Required parameters: name

Optional parameters: none

Gets information about a location.
sourceraw docstring

locations-list$clj

(locations-list$ auth parameters)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/list

Required parameters: name

Optional parameters: pageToken, pageSize, filter

Lists information about the supported locations for this service.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/list

Required parameters: name

Optional parameters: pageToken, pageSize, filter

Lists information about the supported locations for this service.
sourceraw docstring

locations-operations-cancel$clj

(locations-operations-cancel$ auth parameters)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/operations/cancel

Required parameters: name

Optional parameters: none

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/operations/cancel

Required parameters: name

Optional parameters: none

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
sourceraw docstring

locations-operations-get$clj

(locations-operations-get$ auth parameters)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/operations/get

Required parameters: name

Optional parameters: none

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/operations/get

Required parameters: name

Optional parameters: none

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
sourceraw docstring

locations-operations-list$clj

(locations-operations-list$ auth parameters)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/operations/list

Required parameters: name

Optional parameters: pageToken, pageSize, filter

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/operations/list

Required parameters: name

Optional parameters: pageToken, pageSize, filter

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
sourceraw docstring

locations-processors-batchProcess$clj

(locations-processors-batchProcess$ auth parameters body)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/batchProcess

Required parameters: name

Optional parameters: none

Body:

{:inputDocuments {:gcsDocuments GoogleCloudDocumentaiV1GcsDocuments, :gcsPrefix GoogleCloudDocumentaiV1GcsPrefix}, :processOptions {:ocrConfig GoogleCloudDocumentaiV1OcrConfig, :fromEnd integer, :individualPageSelector GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector, :fromStart integer, :schemaOverride GoogleCloudDocumentaiV1DocumentSchema}, :documentOutputConfig {:gcsOutputConfig GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig}, :labels {}, :skipHumanReview boolean}

LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/batchProcess

Required parameters: name

Optional parameters: none

Body: 

{:inputDocuments {:gcsDocuments GoogleCloudDocumentaiV1GcsDocuments,
                  :gcsPrefix GoogleCloudDocumentaiV1GcsPrefix},
 :processOptions {:ocrConfig GoogleCloudDocumentaiV1OcrConfig,
                  :fromEnd integer,
                  :individualPageSelector GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector,
                  :fromStart integer,
                  :schemaOverride GoogleCloudDocumentaiV1DocumentSchema},
 :documentOutputConfig {:gcsOutputConfig GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig},
 :labels {},
 :skipHumanReview boolean}

LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.
sourceraw docstring

locations-processors-create$clj

(locations-processors-create$ auth parameters body)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/create

Required parameters: parent

Optional parameters: none

Body:

{:displayName string, :name string, :createTime string, :type string, :state string, :kmsKeyName string, :processorVersionAliases [{:alias string, :processorVersion string}], :processEndpoint string, :defaultProcessorVersion string}

Creates a processor from the ProcessorType provided. The processor will be at ENABLED state by default after its creation.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/create

Required parameters: parent

Optional parameters: none

Body: 

{:displayName string,
 :name string,
 :createTime string,
 :type string,
 :state string,
 :kmsKeyName string,
 :processorVersionAliases [{:alias string, :processorVersion string}],
 :processEndpoint string,
 :defaultProcessorVersion string}

Creates a processor from the ProcessorType provided. The processor will be at `ENABLED` state by default after its creation.
sourceraw docstring

locations-processors-delete$clj

(locations-processors-delete$ auth parameters)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/delete

Required parameters: name

Optional parameters: none

Deletes the processor, unloads all deployed model artifacts if it was enabled and then deletes all artifacts associated with this processor.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/delete

Required parameters: name

Optional parameters: none

Deletes the processor, unloads all deployed model artifacts if it was enabled and then deletes all artifacts associated with this processor.
sourceraw docstring

locations-processors-disable$clj

(locations-processors-disable$ auth parameters body)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/disable

Required parameters: name

Optional parameters: none

Body:

{}

Disables a processor

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/disable

Required parameters: name

Optional parameters: none

Body: 

{}

Disables a processor
sourceraw docstring

locations-processors-enable$clj

(locations-processors-enable$ auth parameters body)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/enable

Required parameters: name

Optional parameters: none

Body:

{}

Enables a processor

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/enable

Required parameters: name

Optional parameters: none

Body: 

{}

Enables a processor
sourceraw docstring

locations-processors-get$clj

(locations-processors-get$ auth parameters)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/get

Required parameters: name

Optional parameters: none

Gets a processor detail.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/get

Required parameters: name

Optional parameters: none

Gets a processor detail.
sourceraw docstring

locations-processors-humanReviewConfig-reviewDocument$clj

(locations-processors-humanReviewConfig-reviewDocument$ auth parameters body)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/humanReviewConfig/reviewDocument

Required parameters: humanReviewConfig

Optional parameters: none

Body:

{:inlineDocument {:textChanges [GoogleCloudDocumentaiV1DocumentTextChange], :content string, :textStyles [GoogleCloudDocumentaiV1DocumentStyle], :shardInfo GoogleCloudDocumentaiV1DocumentShardInfo, :entities [GoogleCloudDocumentaiV1DocumentEntity], :entityRelations [GoogleCloudDocumentaiV1DocumentEntityRelation], :pages [GoogleCloudDocumentaiV1DocumentPage], :mimeType string, :revisions [GoogleCloudDocumentaiV1DocumentRevision], :error GoogleRpcStatus, :uri string, :text string}, :documentSchema {:metadata GoogleCloudDocumentaiV1DocumentSchemaMetadata, :displayName string, :description string, :entityTypes [GoogleCloudDocumentaiV1DocumentSchemaEntityType]}, :enableSchemaValidation boolean, :priority string}

Send a document for Human Review. The input document should be processed by the specified processor.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/humanReviewConfig/reviewDocument

Required parameters: humanReviewConfig

Optional parameters: none

Body: 

{:inlineDocument {:textChanges [GoogleCloudDocumentaiV1DocumentTextChange],
                  :content string,
                  :textStyles [GoogleCloudDocumentaiV1DocumentStyle],
                  :shardInfo GoogleCloudDocumentaiV1DocumentShardInfo,
                  :entities [GoogleCloudDocumentaiV1DocumentEntity],
                  :entityRelations [GoogleCloudDocumentaiV1DocumentEntityRelation],
                  :pages [GoogleCloudDocumentaiV1DocumentPage],
                  :mimeType string,
                  :revisions [GoogleCloudDocumentaiV1DocumentRevision],
                  :error GoogleRpcStatus,
                  :uri string,
                  :text string},
 :documentSchema {:metadata GoogleCloudDocumentaiV1DocumentSchemaMetadata,
                  :displayName string,
                  :description string,
                  :entityTypes [GoogleCloudDocumentaiV1DocumentSchemaEntityType]},
 :enableSchemaValidation boolean,
 :priority string}

Send a document for Human Review. The input document should be processed by the specified processor.
sourceraw docstring

locations-processors-list$clj

(locations-processors-list$ auth parameters)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/list

Required parameters: parent

Optional parameters: pageToken, pageSize

Lists all processors which belong to this project.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/list

Required parameters: parent

Optional parameters: pageToken, pageSize

Lists all processors which belong to this project.
sourceraw docstring

locations-processors-process$clj

(locations-processors-process$ auth parameters body)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/process

Required parameters: name

Optional parameters: none

Body:

{:inlineDocument {:textChanges [GoogleCloudDocumentaiV1DocumentTextChange], :content string, :textStyles [GoogleCloudDocumentaiV1DocumentStyle], :shardInfo GoogleCloudDocumentaiV1DocumentShardInfo, :entities [GoogleCloudDocumentaiV1DocumentEntity], :entityRelations [GoogleCloudDocumentaiV1DocumentEntityRelation], :pages [GoogleCloudDocumentaiV1DocumentPage], :mimeType string, :revisions [GoogleCloudDocumentaiV1DocumentRevision], :error GoogleRpcStatus, :uri string, :text string}, :fieldMask string, :labels {}, :skipHumanReview boolean, :rawDocument {:displayName string, :mimeType string, :content string}, :processOptions {:ocrConfig GoogleCloudDocumentaiV1OcrConfig, :fromEnd integer, :individualPageSelector GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector, :fromStart integer, :schemaOverride GoogleCloudDocumentaiV1DocumentSchema}, :gcsDocument {:gcsUri string, :mimeType string}}

Processes a single document.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/process

Required parameters: name

Optional parameters: none

Body: 

{:inlineDocument {:textChanges [GoogleCloudDocumentaiV1DocumentTextChange],
                  :content string,
                  :textStyles [GoogleCloudDocumentaiV1DocumentStyle],
                  :shardInfo GoogleCloudDocumentaiV1DocumentShardInfo,
                  :entities [GoogleCloudDocumentaiV1DocumentEntity],
                  :entityRelations [GoogleCloudDocumentaiV1DocumentEntityRelation],
                  :pages [GoogleCloudDocumentaiV1DocumentPage],
                  :mimeType string,
                  :revisions [GoogleCloudDocumentaiV1DocumentRevision],
                  :error GoogleRpcStatus,
                  :uri string,
                  :text string},
 :fieldMask string,
 :labels {},
 :skipHumanReview boolean,
 :rawDocument {:displayName string, :mimeType string, :content string},
 :processOptions {:ocrConfig GoogleCloudDocumentaiV1OcrConfig,
                  :fromEnd integer,
                  :individualPageSelector GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector,
                  :fromStart integer,
                  :schemaOverride GoogleCloudDocumentaiV1DocumentSchema},
 :gcsDocument {:gcsUri string, :mimeType string}}

Processes a single document.
sourceraw docstring

locations-processors-processorVersions-batchProcess$clj

(locations-processors-processorVersions-batchProcess$ auth parameters body)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/processorVersions/batchProcess

Required parameters: name

Optional parameters: none

Body:

{:inputDocuments {:gcsDocuments GoogleCloudDocumentaiV1GcsDocuments, :gcsPrefix GoogleCloudDocumentaiV1GcsPrefix}, :processOptions {:ocrConfig GoogleCloudDocumentaiV1OcrConfig, :fromEnd integer, :individualPageSelector GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector, :fromStart integer, :schemaOverride GoogleCloudDocumentaiV1DocumentSchema}, :documentOutputConfig {:gcsOutputConfig GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig}, :labels {}, :skipHumanReview boolean}

LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/processorVersions/batchProcess

Required parameters: name

Optional parameters: none

Body: 

{:inputDocuments {:gcsDocuments GoogleCloudDocumentaiV1GcsDocuments,
                  :gcsPrefix GoogleCloudDocumentaiV1GcsPrefix},
 :processOptions {:ocrConfig GoogleCloudDocumentaiV1OcrConfig,
                  :fromEnd integer,
                  :individualPageSelector GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector,
                  :fromStart integer,
                  :schemaOverride GoogleCloudDocumentaiV1DocumentSchema},
 :documentOutputConfig {:gcsOutputConfig GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig},
 :labels {},
 :skipHumanReview boolean}

LRO endpoint to batch process many documents. The output is written to Cloud Storage as JSON in the [Document] format.
sourceraw docstring

locations-processors-processorVersions-delete$clj

(locations-processors-processorVersions-delete$ auth parameters)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/processorVersions/delete

Required parameters: name

Optional parameters: none

Deletes the processor version, all artifacts under the processor version will be deleted.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/processorVersions/delete

Required parameters: name

Optional parameters: none

Deletes the processor version, all artifacts under the processor version will be deleted.
sourceraw docstring

locations-processors-processorVersions-deploy$clj

(locations-processors-processorVersions-deploy$ auth parameters body)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/processorVersions/deploy

Required parameters: name

Optional parameters: none

Body:

{}

Deploys the processor version.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/processorVersions/deploy

Required parameters: name

Optional parameters: none

Body: 

{}

Deploys the processor version.
sourceraw docstring

locations-processors-processorVersions-evaluateProcessorVersion$clj

(locations-processors-processorVersions-evaluateProcessorVersion$ auth
                                                                  parameters
                                                                  body)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/processorVersions/evaluateProcessorVersion

Required parameters: processorVersion

Optional parameters: none

Body:

{:evaluationDocuments {:gcsDocuments GoogleCloudDocumentaiV1GcsDocuments, :gcsPrefix GoogleCloudDocumentaiV1GcsPrefix}}

Evaluates a ProcessorVersion against annotated documents, producing an Evaluation.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/processorVersions/evaluateProcessorVersion

Required parameters: processorVersion

Optional parameters: none

Body: 

{:evaluationDocuments {:gcsDocuments GoogleCloudDocumentaiV1GcsDocuments,
                       :gcsPrefix GoogleCloudDocumentaiV1GcsPrefix}}

Evaluates a ProcessorVersion against annotated documents, producing an Evaluation.
sourceraw docstring

locations-processors-processorVersions-evaluations-get$clj

(locations-processors-processorVersions-evaluations-get$ auth parameters)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/processorVersions/evaluations/get

Required parameters: name

Optional parameters: none

Retrieves a specific evaluation.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/processorVersions/evaluations/get

Required parameters: name

Optional parameters: none

Retrieves a specific evaluation.
sourceraw docstring

locations-processors-processorVersions-evaluations-list$clj

(locations-processors-processorVersions-evaluations-list$ auth parameters)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/processorVersions/evaluations/list

Required parameters: parent

Optional parameters: pageSize, pageToken

Retrieves a set of evaluations for a given processor version.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/processorVersions/evaluations/list

Required parameters: parent

Optional parameters: pageSize, pageToken

Retrieves a set of evaluations for a given processor version.
sourceraw docstring

locations-processors-processorVersions-get$clj

(locations-processors-processorVersions-get$ auth parameters)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/processorVersions/get

Required parameters: name

Optional parameters: none

Gets a processor version detail.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/processorVersions/get

Required parameters: name

Optional parameters: none

Gets a processor version detail.
sourceraw docstring

locations-processors-processorVersions-list$clj

(locations-processors-processorVersions-list$ auth parameters)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/processorVersions/list

Required parameters: parent

Optional parameters: pageToken, pageSize

Lists all versions of a processor.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/processorVersions/list

Required parameters: parent

Optional parameters: pageToken, pageSize

Lists all versions of a processor.
sourceraw docstring

locations-processors-processorVersions-process$clj

(locations-processors-processorVersions-process$ auth parameters body)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/processorVersions/process

Required parameters: name

Optional parameters: none

Body:

{:inlineDocument {:textChanges [GoogleCloudDocumentaiV1DocumentTextChange], :content string, :textStyles [GoogleCloudDocumentaiV1DocumentStyle], :shardInfo GoogleCloudDocumentaiV1DocumentShardInfo, :entities [GoogleCloudDocumentaiV1DocumentEntity], :entityRelations [GoogleCloudDocumentaiV1DocumentEntityRelation], :pages [GoogleCloudDocumentaiV1DocumentPage], :mimeType string, :revisions [GoogleCloudDocumentaiV1DocumentRevision], :error GoogleRpcStatus, :uri string, :text string}, :fieldMask string, :labels {}, :skipHumanReview boolean, :rawDocument {:displayName string, :mimeType string, :content string}, :processOptions {:ocrConfig GoogleCloudDocumentaiV1OcrConfig, :fromEnd integer, :individualPageSelector GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector, :fromStart integer, :schemaOverride GoogleCloudDocumentaiV1DocumentSchema}, :gcsDocument {:gcsUri string, :mimeType string}}

Processes a single document.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/processorVersions/process

Required parameters: name

Optional parameters: none

Body: 

{:inlineDocument {:textChanges [GoogleCloudDocumentaiV1DocumentTextChange],
                  :content string,
                  :textStyles [GoogleCloudDocumentaiV1DocumentStyle],
                  :shardInfo GoogleCloudDocumentaiV1DocumentShardInfo,
                  :entities [GoogleCloudDocumentaiV1DocumentEntity],
                  :entityRelations [GoogleCloudDocumentaiV1DocumentEntityRelation],
                  :pages [GoogleCloudDocumentaiV1DocumentPage],
                  :mimeType string,
                  :revisions [GoogleCloudDocumentaiV1DocumentRevision],
                  :error GoogleRpcStatus,
                  :uri string,
                  :text string},
 :fieldMask string,
 :labels {},
 :skipHumanReview boolean,
 :rawDocument {:displayName string, :mimeType string, :content string},
 :processOptions {:ocrConfig GoogleCloudDocumentaiV1OcrConfig,
                  :fromEnd integer,
                  :individualPageSelector GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector,
                  :fromStart integer,
                  :schemaOverride GoogleCloudDocumentaiV1DocumentSchema},
 :gcsDocument {:gcsUri string, :mimeType string}}

Processes a single document.
sourceraw docstring

locations-processors-processorVersions-train$clj

(locations-processors-processorVersions-train$ auth parameters body)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/processorVersions/train

Required parameters: parent

Optional parameters: none

Body:

{:baseProcessorVersion string, :documentSchema {:metadata GoogleCloudDocumentaiV1DocumentSchemaMetadata, :displayName string, :description string, :entityTypes [GoogleCloudDocumentaiV1DocumentSchemaEntityType]}, :processorVersion {:modelType string, :deprecationInfo GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo, :kmsKeyVersionName string, :displayName string, :name string, :createTime string, :state string, :googleManaged boolean, :latestEvaluation GoogleCloudDocumentaiV1EvaluationReference, :kmsKeyName string, :documentSchema GoogleCloudDocumentaiV1DocumentSchema}, :foundationModelTuningOptions {:trainSteps integer, :learningRateMultiplier number}, :inputData {:testDocuments GoogleCloudDocumentaiV1BatchDocumentsInputConfig, :trainingDocuments GoogleCloudDocumentaiV1BatchDocumentsInputConfig}, :customDocumentExtractionOptions {:trainingMethod string}}

Trains a new processor version. Operation metadata is returned as TrainProcessorVersionMetadata.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/processorVersions/train

Required parameters: parent

Optional parameters: none

Body: 

{:baseProcessorVersion string,
 :documentSchema {:metadata GoogleCloudDocumentaiV1DocumentSchemaMetadata,
                  :displayName string,
                  :description string,
                  :entityTypes [GoogleCloudDocumentaiV1DocumentSchemaEntityType]},
 :processorVersion {:modelType string,
                    :deprecationInfo GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo,
                    :kmsKeyVersionName string,
                    :displayName string,
                    :name string,
                    :createTime string,
                    :state string,
                    :googleManaged boolean,
                    :latestEvaluation GoogleCloudDocumentaiV1EvaluationReference,
                    :kmsKeyName string,
                    :documentSchema GoogleCloudDocumentaiV1DocumentSchema},
 :foundationModelTuningOptions {:trainSteps integer,
                                :learningRateMultiplier number},
 :inputData {:testDocuments GoogleCloudDocumentaiV1BatchDocumentsInputConfig,
             :trainingDocuments GoogleCloudDocumentaiV1BatchDocumentsInputConfig},
 :customDocumentExtractionOptions {:trainingMethod string}}

Trains a new processor version. Operation metadata is returned as TrainProcessorVersionMetadata.
sourceraw docstring

locations-processors-processorVersions-undeploy$clj

(locations-processors-processorVersions-undeploy$ auth parameters body)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/processorVersions/undeploy

Required parameters: name

Optional parameters: none

Body:

{}

Undeploys the processor version.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/processorVersions/undeploy

Required parameters: name

Optional parameters: none

Body: 

{}

Undeploys the processor version.
sourceraw docstring

locations-processors-setDefaultProcessorVersion$clj

(locations-processors-setDefaultProcessorVersion$ auth parameters body)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/setDefaultProcessorVersion

Required parameters: processor

Optional parameters: none

Body:

{:defaultProcessorVersion string}

Set the default (active) version of a Processor that will be used in ProcessDocument and BatchProcessDocuments.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processors/setDefaultProcessorVersion

Required parameters: processor

Optional parameters: none

Body: 

{:defaultProcessorVersion string}

Set the default (active) version of a Processor that will be used in ProcessDocument and BatchProcessDocuments.
sourceraw docstring

locations-processorTypes-get$clj

(locations-processorTypes-get$ auth parameters)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processorTypes/get

Required parameters: name

Optional parameters: none

Gets a processor type detail.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processorTypes/get

Required parameters: name

Optional parameters: none

Gets a processor type detail.
sourceraw docstring

locations-processorTypes-list$clj

(locations-processorTypes-list$ auth parameters)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processorTypes/list

Required parameters: parent

Optional parameters: pageToken, pageSize

Lists the processor types that exist.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/locations/processorTypes/list

Required parameters: parent

Optional parameters: pageToken, pageSize

Lists the processor types that exist.
sourceraw docstring

operations-get$clj

(operations-get$ auth parameters)

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/operations/get

Required parameters: name

Optional parameters: none

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

https://cloud.google.com/document-ai/docs/api/reference/rest/v1/projects/operations/get

Required parameters: name

Optional parameters: none

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close