Documentation
¶
Index ¶
- type LookupProcessorArgs
- type LookupProcessorOutputArgs
- type LookupProcessorResult
- type LookupProcessorResultOutput
- func (o LookupProcessorResultOutput) CreateTime() pulumi.StringOutput
- func (o LookupProcessorResultOutput) DefaultProcessorVersion() pulumi.StringOutput
- func (o LookupProcessorResultOutput) DisplayName() pulumi.StringOutput
- func (LookupProcessorResultOutput) ElementType() reflect.Type
- func (o LookupProcessorResultOutput) KmsKeyName() pulumi.StringOutput
- func (o LookupProcessorResultOutput) Name() pulumi.StringOutput
- func (o LookupProcessorResultOutput) ProcessEndpoint() pulumi.StringOutput
- func (o LookupProcessorResultOutput) State() pulumi.StringOutput
- func (o LookupProcessorResultOutput) ToLookupProcessorResultOutput() LookupProcessorResultOutput
- func (o LookupProcessorResultOutput) ToLookupProcessorResultOutputWithContext(ctx context.Context) LookupProcessorResultOutput
- func (o LookupProcessorResultOutput) Type() pulumi.StringOutput
- type Processor
- type ProcessorArgs
- type ProcessorInput
- type ProcessorOutput
- type ProcessorState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookupProcessorArgs ¶
type LookupProcessorOutputArgs ¶
type LookupProcessorOutputArgs struct { Location pulumi.StringInput `pulumi:"location"` ProcessorId pulumi.StringInput `pulumi:"processorId"` Project pulumi.StringPtrInput `pulumi:"project"` }
func (LookupProcessorOutputArgs) ElementType ¶
func (LookupProcessorOutputArgs) ElementType() reflect.Type
type LookupProcessorResult ¶
type LookupProcessorResult struct { // The time the processor was created. CreateTime string `pulumi:"createTime"` // The default processor version. DefaultProcessorVersion string `pulumi:"defaultProcessorVersion"` // The display name of the processor. DisplayName string `pulumi:"displayName"` // The KMS key used for encryption/decryption in CMEK scenarios. See https://cloud.google.com/security-key-management. KmsKeyName string `pulumi:"kmsKeyName"` // Immutable. The resource name of the processor. Format: `projects/{project}/locations/{location}/processors/{processor}` Name string `pulumi:"name"` // Immutable. The http endpoint that can be called to invoke processing. ProcessEndpoint string `pulumi:"processEndpoint"` // The state of the processor. State string `pulumi:"state"` // The processor type, e.g., OCR_PROCESSOR, INVOICE_PROCESSOR, etc. To get a list of processors types, see FetchProcessorTypes. Type string `pulumi:"type"` }
func LookupProcessor ¶
func LookupProcessor(ctx *pulumi.Context, args *LookupProcessorArgs, opts ...pulumi.InvokeOption) (*LookupProcessorResult, error)
Gets a processor detail.
type LookupProcessorResultOutput ¶
type LookupProcessorResultOutput struct{ *pulumi.OutputState }
func LookupProcessorOutput ¶
func LookupProcessorOutput(ctx *pulumi.Context, args LookupProcessorOutputArgs, opts ...pulumi.InvokeOption) LookupProcessorResultOutput
func (LookupProcessorResultOutput) CreateTime ¶
func (o LookupProcessorResultOutput) CreateTime() pulumi.StringOutput
The time the processor was created.
func (LookupProcessorResultOutput) DefaultProcessorVersion ¶
func (o LookupProcessorResultOutput) DefaultProcessorVersion() pulumi.StringOutput
The default processor version.
func (LookupProcessorResultOutput) DisplayName ¶
func (o LookupProcessorResultOutput) DisplayName() pulumi.StringOutput
The display name of the processor.
func (LookupProcessorResultOutput) ElementType ¶
func (LookupProcessorResultOutput) ElementType() reflect.Type
func (LookupProcessorResultOutput) KmsKeyName ¶
func (o LookupProcessorResultOutput) KmsKeyName() pulumi.StringOutput
The KMS key used for encryption/decryption in CMEK scenarios. See https://cloud.google.com/security-key-management.
func (LookupProcessorResultOutput) Name ¶
func (o LookupProcessorResultOutput) Name() pulumi.StringOutput
Immutable. The resource name of the processor. Format: `projects/{project}/locations/{location}/processors/{processor}`
func (LookupProcessorResultOutput) ProcessEndpoint ¶
func (o LookupProcessorResultOutput) ProcessEndpoint() pulumi.StringOutput
Immutable. The http endpoint that can be called to invoke processing.
func (LookupProcessorResultOutput) State ¶
func (o LookupProcessorResultOutput) State() pulumi.StringOutput
The state of the processor.
func (LookupProcessorResultOutput) ToLookupProcessorResultOutput ¶
func (o LookupProcessorResultOutput) ToLookupProcessorResultOutput() LookupProcessorResultOutput
func (LookupProcessorResultOutput) ToLookupProcessorResultOutputWithContext ¶
func (o LookupProcessorResultOutput) ToLookupProcessorResultOutputWithContext(ctx context.Context) LookupProcessorResultOutput
func (LookupProcessorResultOutput) Type ¶
func (o LookupProcessorResultOutput) Type() pulumi.StringOutput
The processor type, e.g., OCR_PROCESSOR, INVOICE_PROCESSOR, etc. To get a list of processors types, see FetchProcessorTypes.
type Processor ¶
type Processor struct { pulumi.CustomResourceState // The time the processor was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // The default processor version. DefaultProcessorVersion pulumi.StringOutput `pulumi:"defaultProcessorVersion"` // The display name of the processor. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The KMS key used for encryption/decryption in CMEK scenarios. See https://cloud.google.com/security-key-management. KmsKeyName pulumi.StringOutput `pulumi:"kmsKeyName"` // Immutable. The resource name of the processor. Format: `projects/{project}/locations/{location}/processors/{processor}` Name pulumi.StringOutput `pulumi:"name"` // Immutable. The http endpoint that can be called to invoke processing. ProcessEndpoint pulumi.StringOutput `pulumi:"processEndpoint"` // The state of the processor. State pulumi.StringOutput `pulumi:"state"` // The processor type, e.g., OCR_PROCESSOR, INVOICE_PROCESSOR, etc. To get a list of processors types, see FetchProcessorTypes. Type pulumi.StringOutput `pulumi:"type"` }
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.
func GetProcessor ¶
func GetProcessor(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProcessorState, opts ...pulumi.ResourceOption) (*Processor, error)
GetProcessor gets an existing Processor resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewProcessor ¶
func NewProcessor(ctx *pulumi.Context, name string, args *ProcessorArgs, opts ...pulumi.ResourceOption) (*Processor, error)
NewProcessor registers a new resource with the given unique name, arguments, and options.
func (*Processor) ElementType ¶
func (*Processor) ToProcessorOutput ¶
func (i *Processor) ToProcessorOutput() ProcessorOutput
func (*Processor) ToProcessorOutputWithContext ¶
func (i *Processor) ToProcessorOutputWithContext(ctx context.Context) ProcessorOutput
type ProcessorArgs ¶
type ProcessorArgs struct { // The time the processor was created. CreateTime pulumi.StringPtrInput // The default processor version. DefaultProcessorVersion pulumi.StringPtrInput // The display name of the processor. DisplayName pulumi.StringPtrInput // The KMS key used for encryption/decryption in CMEK scenarios. See https://cloud.google.com/security-key-management. KmsKeyName pulumi.StringPtrInput Location pulumi.StringPtrInput Project pulumi.StringPtrInput // The processor type, e.g., OCR_PROCESSOR, INVOICE_PROCESSOR, etc. To get a list of processors types, see FetchProcessorTypes. Type pulumi.StringPtrInput }
The set of arguments for constructing a Processor resource.
func (ProcessorArgs) ElementType ¶
func (ProcessorArgs) ElementType() reflect.Type
type ProcessorInput ¶
type ProcessorInput interface { pulumi.Input ToProcessorOutput() ProcessorOutput ToProcessorOutputWithContext(ctx context.Context) ProcessorOutput }
type ProcessorOutput ¶
type ProcessorOutput struct{ *pulumi.OutputState }
func (ProcessorOutput) ElementType ¶
func (ProcessorOutput) ElementType() reflect.Type
func (ProcessorOutput) ToProcessorOutput ¶
func (o ProcessorOutput) ToProcessorOutput() ProcessorOutput
func (ProcessorOutput) ToProcessorOutputWithContext ¶
func (o ProcessorOutput) ToProcessorOutputWithContext(ctx context.Context) ProcessorOutput
type ProcessorState ¶
type ProcessorState struct { }
func (ProcessorState) ElementType ¶
func (ProcessorState) ElementType() reflect.Type