Undeploy a processor version
Stay organized with collections
Save and categorize content based on your preferences.
After creating a new processor version and deploying it, you can undeploy it if you do not want the processor version to be able to handle processing requests.
Explore further
For detailed documentation that includes this code sample, see the following:
Code sample
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],[],[[["You can undeploy a processor version after it has been created and deployed, preventing it from handling processing requests."],["Undeploying a processor version can be accomplished using the Document AI Python API, with a sample code provided."],["The provided code sample requires setting up Application Default Credentials for authentication to Document AI and uses the `undeploy_processor_version` method."],["The processor version must not be already undeployed and also it cannot be a pre-trained version in order for the undeploy operation to be successful."],["There is documentation available to manage processor versions and a resource to search for other code samples."]]],[]]