Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets a processor detail.
Using getProcessor
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getProcessor(args: GetProcessorArgs, opts?: InvokeOptions): Promise<GetProcessorResult>
function getProcessorOutput(args: GetProcessorOutputArgs, opts?: InvokeOptions): Output<GetProcessorResult>def get_processor(location: Optional[str] = None,
processor_id: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProcessorResult
def get_processor_output(location: Optional[pulumi.Input[str]] = None,
processor_id: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProcessorResult]func LookupProcessor(ctx *Context, args *LookupProcessorArgs, opts ...InvokeOption) (*LookupProcessorResult, error)
func LookupProcessorOutput(ctx *Context, args *LookupProcessorOutputArgs, opts ...InvokeOption) LookupProcessorResultOutput> Note: This function is named LookupProcessor in the Go SDK.
public static class GetProcessor
{
public static Task<GetProcessorResult> InvokeAsync(GetProcessorArgs args, InvokeOptions? opts = null)
public static Output<GetProcessorResult> Invoke(GetProcessorInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProcessorResult> getProcessor(GetProcessorArgs args, InvokeOptions options)
public static Output<GetProcessorResult> getProcessor(GetProcessorArgs args, InvokeOptions options)
fn::invoke:
function: google-native:documentai/v1:getProcessor
arguments:
# arguments dictionaryThe following arguments are supported:
- Location string
- Processor
Id string - Project string
- Location string
- Processor
Id string - Project string
- location String
- processor
Id String - project String
- location string
- processor
Id string - project string
- location str
- processor_
id str - project str
- location String
- processor
Id String - project String
getProcessor Result
The following output properties are available:
- 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 and decryption in CMEK scenarios.
- 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.
- Processor
Version List<Pulumi.Aliases Google Native. Document AI. V1. Outputs. Google Cloud Documentai V1Processor Version Alias Response> - The processor version aliases.
- State string
- The state of the processor.
- Type string
- The processor type, such as:
OCR_PROCESSOR,INVOICE_PROCESSOR. To get a list of processor 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 and decryption in CMEK scenarios.
- 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.
- Processor
Version []GoogleAliases Cloud Documentai V1Processor Version Alias Response - The processor version aliases.
- State string
- The state of the processor.
- Type string
- The processor type, such as:
OCR_PROCESSOR,INVOICE_PROCESSOR. To get a list of processor 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 and decryption in CMEK scenarios.
- 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.
- processor
Version List<GoogleAliases Cloud Documentai V1Processor Version Alias Response> - The processor version aliases.
- state String
- The state of the processor.
- type String
- The processor type, such as:
OCR_PROCESSOR,INVOICE_PROCESSOR. To get a list of processor 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 and decryption in CMEK scenarios.
- 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.
- processor
Version GoogleAliases Cloud Documentai V1Processor Version Alias Response[] - The processor version aliases.
- state string
- The state of the processor.
- type string
- The processor type, such as:
OCR_PROCESSOR,INVOICE_PROCESSOR. To get a list of processor 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 and decryption in CMEK scenarios.
- 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.
- processor_
version_ Sequence[Googlealiases Cloud Documentai V1Processor Version Alias Response] - The processor version aliases.
- state str
- The state of the processor.
- type str
- The processor type, such as:
OCR_PROCESSOR,INVOICE_PROCESSOR. To get a list of processor 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 and decryption in CMEK scenarios.
- 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.
- processor
Version List<Property Map>Aliases - The processor version aliases.
- state String
- The state of the processor.
- type String
- The processor type, such as:
OCR_PROCESSOR,INVOICE_PROCESSOR. To get a list of processor types, see FetchProcessorTypes.
Supporting Types
GoogleCloudDocumentaiV1ProcessorVersionAliasResponse
- Alias string
- The alias in the form of
processor_versionresource name. - Processor
Version string - The resource name of aliased processor version.
- Alias string
- The alias in the form of
processor_versionresource name. - Processor
Version string - The resource name of aliased processor version.
- alias String
- The alias in the form of
processor_versionresource name. - processor
Version String - The resource name of aliased processor version.
- alias string
- The alias in the form of
processor_versionresource name. - processor
Version string - The resource name of aliased processor version.
- alias str
- The alias in the form of
processor_versionresource name. - processor_
version str - The resource name of aliased processor version.
- alias String
- The alias in the form of
processor_versionresource name. - processor
Version String - The resource name of aliased processor version.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
