google-native.documentai/v1.Processor
Creates a processor from the type processor that the user chose. The processor will be at “ENABLED” state by default after its creation. Auto-naming is currently not supported for this resource.
Create Processor Resource
new Processor(name: string, args?: ProcessorArgs, opts?: CustomResourceOptions);
@overload
def Processor(resource_name: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
default_processor_version: Optional[str] = None,
display_name: Optional[str] = None,
kms_key_name: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
type: Optional[str] = None)
@overload
def Processor(resource_name: str,
args: Optional[ProcessorArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewProcessor(ctx *Context, name string, args *ProcessorArgs, opts ...ResourceOption) (*Processor, error)
public Processor(string name, ProcessorArgs? args = null, CustomResourceOptions? opts = null)
public Processor(String name, ProcessorArgs args)
public Processor(String name, ProcessorArgs args, CustomResourceOptions options)
type: google-native:documentai/v1:Processor
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProcessorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ProcessorArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProcessorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProcessorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProcessorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Processor Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Processor resource accepts the following input properties:
- Create
Time string The time the processor was created.
- Default
Processor stringVersion The default processor version.
- Display
Name string The display name of the processor.
- Kms
Key stringName The KMS key used for encryption/decryption in CMEK scenarios. See https://cloud.google.com/security-key-management.
- Location string
- Project string
- Type string
The processor type, e.g.,
OCR_PROCESSOR
,INVOICE_PROCESSOR
, etc. To get a list of processors types, see FetchProcessorTypes.
- Create
Time string The time the processor was created.
- Default
Processor stringVersion The default processor version.
- Display
Name string The display name of the processor.
- Kms
Key stringName The KMS key used for encryption/decryption in CMEK scenarios. See https://cloud.google.com/security-key-management.
- Location string
- Project string
- Type string
The processor type, e.g.,
OCR_PROCESSOR
,INVOICE_PROCESSOR
, etc. To get a list of processors types, see FetchProcessorTypes.
- create
Time String The time the processor was created.
- default
Processor StringVersion The default processor version.
- display
Name String The display name of the processor.
- kms
Key StringName The KMS key used for encryption/decryption in CMEK scenarios. See https://cloud.google.com/security-key-management.
- location String
- project String
- type String
The processor type, e.g.,
OCR_PROCESSOR
,INVOICE_PROCESSOR
, etc. To get a list of processors types, see FetchProcessorTypes.
- create
Time string The time the processor was created.
- default
Processor stringVersion The default processor version.
- display
Name string The display name of the processor.
- kms
Key stringName The KMS key used for encryption/decryption in CMEK scenarios. See https://cloud.google.com/security-key-management.
- location string
- project string
- type string
The processor type, e.g.,
OCR_PROCESSOR
,INVOICE_PROCESSOR
, etc. To get a list of processors types, see FetchProcessorTypes.
- create_
time str The time the processor was created.
- default_
processor_ strversion The default processor version.
- display_
name str The display name of the processor.
- kms_
key_ strname The KMS key used for encryption/decryption in CMEK scenarios. See https://cloud.google.com/security-key-management.
- location str
- project str
- type str
The processor type, e.g.,
OCR_PROCESSOR
,INVOICE_PROCESSOR
, etc. To get a list of processors types, see FetchProcessorTypes.
- create
Time String The time the processor was created.
- default
Processor StringVersion The default processor version.
- display
Name String The display name of the processor.
- kms
Key StringName The KMS key used for encryption/decryption in CMEK scenarios. See https://cloud.google.com/security-key-management.
- location String
- project String
- type String
The processor type, e.g.,
OCR_PROCESSOR
,INVOICE_PROCESSOR
, etc. To get a list of processors types, see FetchProcessorTypes.
Outputs
All input properties are implicitly available as output properties. Additionally, the Processor resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
Immutable. The resource name of the processor. Format:
projects/{project}/locations/{location}/processors/{processor}
- Process
Endpoint string Immutable. The http endpoint that can be called to invoke processing.
- State string
The state of the processor.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
Immutable. The resource name of the processor. Format:
projects/{project}/locations/{location}/processors/{processor}
- Process
Endpoint string Immutable. The http endpoint that can be called to invoke processing.
- State string
The state of the processor.
- id String
The provider-assigned unique ID for this managed resource.
- name String
Immutable. The resource name of the processor. Format:
projects/{project}/locations/{location}/processors/{processor}
- process
Endpoint String Immutable. The http endpoint that can be called to invoke processing.
- state String
The state of the processor.
- id string
The provider-assigned unique ID for this managed resource.
- name string
Immutable. The resource name of the processor. Format:
projects/{project}/locations/{location}/processors/{processor}
- process
Endpoint string Immutable. The http endpoint that can be called to invoke processing.
- state string
The state of the processor.
- id str
The provider-assigned unique ID for this managed resource.
- name str
Immutable. The resource name of the processor. Format:
projects/{project}/locations/{location}/processors/{processor}
- process_
endpoint str Immutable. The http endpoint that can be called to invoke processing.
- state str
The state of the processor.
- id String
The provider-assigned unique ID for this managed resource.
- name String
Immutable. The resource name of the processor. Format:
projects/{project}/locations/{location}/processors/{processor}
- process
Endpoint String Immutable. The http endpoint that can be called to invoke processing.
- state String
The state of the processor.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0