google-native logo
Google Cloud Native v0.28.0, Feb 2 23

google-native.documentai/v1.getProcessor

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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: google-native:documentai/v1:getProcessor
  arguments:
    # arguments dictionary

The following arguments are supported:

Location string
ProcessorId string
Project string
Location string
ProcessorId string
Project string
location String
processorId String
project String
location string
processorId string
project string
location String
processorId String
project String

getProcessor Result

The following output properties are available:

CreateTime string

The time the processor was created.

DefaultProcessorVersion string

The default processor version.

DisplayName string

The display name of the processor.

KmsKeyName string

The KMS key used for encryption/decryption in CMEK scenarios. See https://cloud.google.com/security-key-management.

Name string

Immutable. The resource name of the processor. Format: projects/{project}/locations/{location}/processors/{processor}

ProcessEndpoint string

Immutable. The http endpoint that can be called to invoke processing.

State string

The state of the processor.

Type string

The processor type, e.g., OCR_PROCESSOR, INVOICE_PROCESSOR, etc. To get a list of processors types, see FetchProcessorTypes.

CreateTime string

The time the processor was created.

DefaultProcessorVersion string

The default processor version.

DisplayName string

The display name of the processor.

KmsKeyName string

The KMS key used for encryption/decryption in CMEK scenarios. See https://cloud.google.com/security-key-management.

Name string

Immutable. The resource name of the processor. Format: projects/{project}/locations/{location}/processors/{processor}

ProcessEndpoint string

Immutable. The http endpoint that can be called to invoke processing.

State string

The state of the processor.

Type string

The processor type, e.g., OCR_PROCESSOR, INVOICE_PROCESSOR, etc. To get a list of processors types, see FetchProcessorTypes.

createTime String

The time the processor was created.

defaultProcessorVersion String

The default processor version.

displayName String

The display name of the processor.

kmsKeyName String

The KMS key used for encryption/decryption in CMEK scenarios. See https://cloud.google.com/security-key-management.

name String

Immutable. The resource name of the processor. Format: projects/{project}/locations/{location}/processors/{processor}

processEndpoint String

Immutable. The http endpoint that can be called to invoke processing.

state String

The state of the processor.

type String

The processor type, e.g., OCR_PROCESSOR, INVOICE_PROCESSOR, etc. To get a list of processors types, see FetchProcessorTypes.

createTime string

The time the processor was created.

defaultProcessorVersion string

The default processor version.

displayName string

The display name of the processor.

kmsKeyName string

The KMS key used for encryption/decryption in CMEK scenarios. See https://cloud.google.com/security-key-management.

name string

Immutable. The resource name of the processor. Format: projects/{project}/locations/{location}/processors/{processor}

processEndpoint string

Immutable. The http endpoint that can be called to invoke processing.

state string

The state of the processor.

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_version str

The default processor version.

display_name str

The display name of the processor.

kms_key_name str

The KMS key used for encryption/decryption in CMEK scenarios. See https://cloud.google.com/security-key-management.

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.

type str

The processor type, e.g., OCR_PROCESSOR, INVOICE_PROCESSOR, etc. To get a list of processors types, see FetchProcessorTypes.

createTime String

The time the processor was created.

defaultProcessorVersion String

The default processor version.

displayName String

The display name of the processor.

kmsKeyName String

The KMS key used for encryption/decryption in CMEK scenarios. See https://cloud.google.com/security-key-management.

name String

Immutable. The resource name of the processor. Format: projects/{project}/locations/{location}/processors/{processor}

processEndpoint String

Immutable. The http endpoint that can be called to invoke processing.

state String

The state of the processor.

type String

The processor type, e.g., OCR_PROCESSOR, INVOICE_PROCESSOR, etc. To get a list of processors types, see FetchProcessorTypes.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0