v1beta3

package
v0.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LookupProcessorArgs

type LookupProcessorArgs struct {
	Location    string  `pulumi:"location"`
	ProcessorId string  `pulumi:"processorId"`
	Project     *string `pulumi:"project"`
}

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 (LookupProcessorResultOutput) CreateTime

The time the processor was created.

func (LookupProcessorResultOutput) DefaultProcessorVersion

func (o LookupProcessorResultOutput) DefaultProcessorVersion() pulumi.StringOutput

The default processor version.

func (LookupProcessorResultOutput) DisplayName

The display name of the processor.

func (LookupProcessorResultOutput) ElementType

func (LookupProcessorResultOutput) KmsKeyName

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

func (LookupProcessorResultOutput) Name

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

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

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) ElementType() reflect.Type

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL