essentialcontacts

package
v6.55.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contact

type Contact struct {
	pulumi.CustomResourceState

	// The email address to send notifications to. This does not need to be a Google account.
	Email pulumi.StringOutput `pulumi:"email"`
	// The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
	LanguageTag pulumi.StringOutput `pulumi:"languageTag"`
	// The identifier for the contact. Format: {resourceType}/{resource_id}/contacts/{contact_id}
	Name pulumi.StringOutput `pulumi:"name"`
	// The categories of notifications that the contact will receive communications for.
	NotificationCategorySubscriptions pulumi.StringArrayOutput `pulumi:"notificationCategorySubscriptions"`
	// The resource to save this contact for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}
	Parent pulumi.StringOutput `pulumi:"parent"`
}

A contact that will receive notifications from Google Cloud.

To get more information about Contact, see:

* [API documentation](https://cloud.google.com/resource-manager/docs/reference/essentialcontacts/rest/v1/projects.contacts) * How-to Guides

> **Warning:** If you are using User ADCs (Application Default Credentials) with this resource, you must specify a `billingProject` and set `userProjectOverride` to true in the provider configuration. Otherwise the Essential Contacts API will return a 403 error. Your account must have the `serviceusage.services.use` permission on the `billingProject` you defined.

## Example Usage ### Essential Contact

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/essentialcontacts"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = essentialcontacts.NewContact(ctx, "contact", &essentialcontacts.ContactArgs{
			Parent:      *pulumi.String(project.Id),
			Email:       pulumi.String("foo@bar.com"),
			LanguageTag: pulumi.String("en-GB"),
			NotificationCategorySubscriptions: pulumi.StringArray{
				pulumi.String("ALL"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Contact can be imported using any of these accepted formats

```sh

$ pulumi import gcp:essentialcontacts/contact:Contact default {{name}}

```

func GetContact

func GetContact(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ContactState, opts ...pulumi.ResourceOption) (*Contact, error)

GetContact gets an existing Contact 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 NewContact

func NewContact(ctx *pulumi.Context,
	name string, args *ContactArgs, opts ...pulumi.ResourceOption) (*Contact, error)

NewContact registers a new resource with the given unique name, arguments, and options.

func (*Contact) ElementType

func (*Contact) ElementType() reflect.Type

func (*Contact) ToContactOutput

func (i *Contact) ToContactOutput() ContactOutput

func (*Contact) ToContactOutputWithContext

func (i *Contact) ToContactOutputWithContext(ctx context.Context) ContactOutput

type ContactArgs

type ContactArgs struct {
	// The email address to send notifications to. This does not need to be a Google account.
	Email pulumi.StringInput
	// The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
	LanguageTag pulumi.StringInput
	// The categories of notifications that the contact will receive communications for.
	NotificationCategorySubscriptions pulumi.StringArrayInput
	// The resource to save this contact for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}
	Parent pulumi.StringInput
}

The set of arguments for constructing a Contact resource.

func (ContactArgs) ElementType

func (ContactArgs) ElementType() reflect.Type

type ContactArray

type ContactArray []ContactInput

func (ContactArray) ElementType

func (ContactArray) ElementType() reflect.Type

func (ContactArray) ToContactArrayOutput

func (i ContactArray) ToContactArrayOutput() ContactArrayOutput

func (ContactArray) ToContactArrayOutputWithContext

func (i ContactArray) ToContactArrayOutputWithContext(ctx context.Context) ContactArrayOutput

type ContactArrayInput

type ContactArrayInput interface {
	pulumi.Input

	ToContactArrayOutput() ContactArrayOutput
	ToContactArrayOutputWithContext(context.Context) ContactArrayOutput
}

ContactArrayInput is an input type that accepts ContactArray and ContactArrayOutput values. You can construct a concrete instance of `ContactArrayInput` via:

ContactArray{ ContactArgs{...} }

type ContactArrayOutput

type ContactArrayOutput struct{ *pulumi.OutputState }

func (ContactArrayOutput) ElementType

func (ContactArrayOutput) ElementType() reflect.Type

func (ContactArrayOutput) Index

func (ContactArrayOutput) ToContactArrayOutput

func (o ContactArrayOutput) ToContactArrayOutput() ContactArrayOutput

func (ContactArrayOutput) ToContactArrayOutputWithContext

func (o ContactArrayOutput) ToContactArrayOutputWithContext(ctx context.Context) ContactArrayOutput

type ContactInput

type ContactInput interface {
	pulumi.Input

	ToContactOutput() ContactOutput
	ToContactOutputWithContext(ctx context.Context) ContactOutput
}

type ContactMap

type ContactMap map[string]ContactInput

func (ContactMap) ElementType

func (ContactMap) ElementType() reflect.Type

func (ContactMap) ToContactMapOutput

func (i ContactMap) ToContactMapOutput() ContactMapOutput

func (ContactMap) ToContactMapOutputWithContext

func (i ContactMap) ToContactMapOutputWithContext(ctx context.Context) ContactMapOutput

type ContactMapInput

type ContactMapInput interface {
	pulumi.Input

	ToContactMapOutput() ContactMapOutput
	ToContactMapOutputWithContext(context.Context) ContactMapOutput
}

ContactMapInput is an input type that accepts ContactMap and ContactMapOutput values. You can construct a concrete instance of `ContactMapInput` via:

ContactMap{ "key": ContactArgs{...} }

type ContactMapOutput

type ContactMapOutput struct{ *pulumi.OutputState }

func (ContactMapOutput) ElementType

func (ContactMapOutput) ElementType() reflect.Type

func (ContactMapOutput) MapIndex

func (ContactMapOutput) ToContactMapOutput

func (o ContactMapOutput) ToContactMapOutput() ContactMapOutput

func (ContactMapOutput) ToContactMapOutputWithContext

func (o ContactMapOutput) ToContactMapOutputWithContext(ctx context.Context) ContactMapOutput

type ContactOutput

type ContactOutput struct{ *pulumi.OutputState }

func (ContactOutput) ElementType

func (ContactOutput) ElementType() reflect.Type

func (ContactOutput) Email added in v6.23.0

func (o ContactOutput) Email() pulumi.StringOutput

The email address to send notifications to. This does not need to be a Google account.

func (ContactOutput) LanguageTag added in v6.23.0

func (o ContactOutput) LanguageTag() pulumi.StringOutput

The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.

func (ContactOutput) Name added in v6.23.0

The identifier for the contact. Format: {resourceType}/{resource_id}/contacts/{contact_id}

func (ContactOutput) NotificationCategorySubscriptions added in v6.23.0

func (o ContactOutput) NotificationCategorySubscriptions() pulumi.StringArrayOutput

The categories of notifications that the contact will receive communications for.

func (ContactOutput) Parent added in v6.23.0

func (o ContactOutput) Parent() pulumi.StringOutput

The resource to save this contact for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}

func (ContactOutput) ToContactOutput

func (o ContactOutput) ToContactOutput() ContactOutput

func (ContactOutput) ToContactOutputWithContext

func (o ContactOutput) ToContactOutputWithContext(ctx context.Context) ContactOutput

type ContactState

type ContactState struct {
	// The email address to send notifications to. This does not need to be a Google account.
	Email pulumi.StringPtrInput
	// The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
	LanguageTag pulumi.StringPtrInput
	// The identifier for the contact. Format: {resourceType}/{resource_id}/contacts/{contact_id}
	Name pulumi.StringPtrInput
	// The categories of notifications that the contact will receive communications for.
	NotificationCategorySubscriptions pulumi.StringArrayInput
	// The resource to save this contact for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}
	Parent pulumi.StringPtrInput
}

func (ContactState) ElementType

func (ContactState) ElementType() reflect.Type

type DocumentAiProcessor added in v6.29.0

type DocumentAiProcessor struct {
	pulumi.CustomResourceState

	// The display name. Must be unique.
	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.StringPtrOutput `pulumi:"kmsKeyName"`
	// The location of the resource.
	Location pulumi.StringOutput `pulumi:"location"`
	// The resource name of the processor.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The type of processor. For possible types see the [official list](https://cloud.google.com/document-ai/docs/reference/rest/v1/projects.locations/fetchProcessorTypes#google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes)
	Type pulumi.StringOutput `pulumi:"type"`
}

The first-class citizen for Document AI. Each processor defines how to extract structural information from a document.

To get more information about Processor, see:

* [API documentation](https://cloud.google.com/document-ai/docs/reference/rest/v1/projects.locations.processors) * How-to Guides

## Example Usage ### Documentai Processor

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/essentialcontacts"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := essentialcontacts.NewDocumentAiProcessor(ctx, "processor", &essentialcontacts.DocumentAiProcessorArgs{
			DisplayName: pulumi.String("test-processor"),
			Location:    pulumi.String("us"),
			Type:        pulumi.String("OCR_PROCESSOR"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Processor can be imported using any of these accepted formats

```sh

$ pulumi import gcp:essentialcontacts/documentAiProcessor:DocumentAiProcessor default projects/{{project}}/locations/{{location}}/processors/{{name}}

```

```sh

$ pulumi import gcp:essentialcontacts/documentAiProcessor:DocumentAiProcessor default {{project}}/{{location}}/{{name}}

```

```sh

$ pulumi import gcp:essentialcontacts/documentAiProcessor:DocumentAiProcessor default {{location}}/{{name}}

```

func GetDocumentAiProcessor added in v6.29.0

func GetDocumentAiProcessor(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DocumentAiProcessorState, opts ...pulumi.ResourceOption) (*DocumentAiProcessor, error)

GetDocumentAiProcessor gets an existing DocumentAiProcessor 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 NewDocumentAiProcessor added in v6.29.0

func NewDocumentAiProcessor(ctx *pulumi.Context,
	name string, args *DocumentAiProcessorArgs, opts ...pulumi.ResourceOption) (*DocumentAiProcessor, error)

NewDocumentAiProcessor registers a new resource with the given unique name, arguments, and options.

func (*DocumentAiProcessor) ElementType added in v6.29.0

func (*DocumentAiProcessor) ElementType() reflect.Type

func (*DocumentAiProcessor) ToDocumentAiProcessorOutput added in v6.29.0

func (i *DocumentAiProcessor) ToDocumentAiProcessorOutput() DocumentAiProcessorOutput

func (*DocumentAiProcessor) ToDocumentAiProcessorOutputWithContext added in v6.29.0

func (i *DocumentAiProcessor) ToDocumentAiProcessorOutputWithContext(ctx context.Context) DocumentAiProcessorOutput

type DocumentAiProcessorArgs added in v6.29.0

type DocumentAiProcessorArgs struct {
	// The display name. Must be unique.
	DisplayName pulumi.StringInput
	// The KMS key used for encryption/decryption in CMEK scenarios. See https://cloud.google.com/security-key-management.
	KmsKeyName pulumi.StringPtrInput
	// The location of the resource.
	Location pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The type of processor. For possible types see the [official list](https://cloud.google.com/document-ai/docs/reference/rest/v1/projects.locations/fetchProcessorTypes#google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes)
	Type pulumi.StringInput
}

The set of arguments for constructing a DocumentAiProcessor resource.

func (DocumentAiProcessorArgs) ElementType added in v6.29.0

func (DocumentAiProcessorArgs) ElementType() reflect.Type

type DocumentAiProcessorArray added in v6.29.0

type DocumentAiProcessorArray []DocumentAiProcessorInput

func (DocumentAiProcessorArray) ElementType added in v6.29.0

func (DocumentAiProcessorArray) ElementType() reflect.Type

func (DocumentAiProcessorArray) ToDocumentAiProcessorArrayOutput added in v6.29.0

func (i DocumentAiProcessorArray) ToDocumentAiProcessorArrayOutput() DocumentAiProcessorArrayOutput

func (DocumentAiProcessorArray) ToDocumentAiProcessorArrayOutputWithContext added in v6.29.0

func (i DocumentAiProcessorArray) ToDocumentAiProcessorArrayOutputWithContext(ctx context.Context) DocumentAiProcessorArrayOutput

type DocumentAiProcessorArrayInput added in v6.29.0

type DocumentAiProcessorArrayInput interface {
	pulumi.Input

	ToDocumentAiProcessorArrayOutput() DocumentAiProcessorArrayOutput
	ToDocumentAiProcessorArrayOutputWithContext(context.Context) DocumentAiProcessorArrayOutput
}

DocumentAiProcessorArrayInput is an input type that accepts DocumentAiProcessorArray and DocumentAiProcessorArrayOutput values. You can construct a concrete instance of `DocumentAiProcessorArrayInput` via:

DocumentAiProcessorArray{ DocumentAiProcessorArgs{...} }

type DocumentAiProcessorArrayOutput added in v6.29.0

type DocumentAiProcessorArrayOutput struct{ *pulumi.OutputState }

func (DocumentAiProcessorArrayOutput) ElementType added in v6.29.0

func (DocumentAiProcessorArrayOutput) Index added in v6.29.0

func (DocumentAiProcessorArrayOutput) ToDocumentAiProcessorArrayOutput added in v6.29.0

func (o DocumentAiProcessorArrayOutput) ToDocumentAiProcessorArrayOutput() DocumentAiProcessorArrayOutput

func (DocumentAiProcessorArrayOutput) ToDocumentAiProcessorArrayOutputWithContext added in v6.29.0

func (o DocumentAiProcessorArrayOutput) ToDocumentAiProcessorArrayOutputWithContext(ctx context.Context) DocumentAiProcessorArrayOutput

type DocumentAiProcessorDefaultVersion added in v6.29.0

type DocumentAiProcessorDefaultVersion struct {
	pulumi.CustomResourceState

	// The processor to set the version on.
	Processor pulumi.StringOutput `pulumi:"processor"`
	// The version to set. Using `stable` or `rc` will cause the API to return the latest version in that release channel.
	// Apply `lifecycle.ignore_changes` to the `version` field to suppress this diff.
	Version pulumi.StringOutput `pulumi:"version"`
}

The default version for the processor. Deleting this resource is a no-op, and does not unset the default version.

## Example Usage ### Documentai Default Version

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/essentialcontacts"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		processorDocumentAiProcessor, err := essentialcontacts.NewDocumentAiProcessor(ctx, "processorDocumentAiProcessor", &essentialcontacts.DocumentAiProcessorArgs{
			Location:    pulumi.String("us"),
			DisplayName: pulumi.String("test-processor"),
			Type:        pulumi.String("OCR_PROCESSOR"),
		})
		if err != nil {
			return err
		}
		_, err = essentialcontacts.NewDocumentAiProcessorDefaultVersion(ctx, "processorDocumentAiProcessorDefaultVersion", &essentialcontacts.DocumentAiProcessorDefaultVersionArgs{
			Processor: processorDocumentAiProcessor.ID(),
			Version: processorDocumentAiProcessor.ID().ApplyT(func(id string) (string, error) {
				return fmt.Sprintf("%v/processorVersions/stable", id), nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ProcessorDefaultVersion can be imported using any of these accepted formats

```sh

$ pulumi import gcp:essentialcontacts/documentAiProcessorDefaultVersion:DocumentAiProcessorDefaultVersion default {{processor}}

```

func GetDocumentAiProcessorDefaultVersion added in v6.29.0

func GetDocumentAiProcessorDefaultVersion(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DocumentAiProcessorDefaultVersionState, opts ...pulumi.ResourceOption) (*DocumentAiProcessorDefaultVersion, error)

GetDocumentAiProcessorDefaultVersion gets an existing DocumentAiProcessorDefaultVersion 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 NewDocumentAiProcessorDefaultVersion added in v6.29.0

func NewDocumentAiProcessorDefaultVersion(ctx *pulumi.Context,
	name string, args *DocumentAiProcessorDefaultVersionArgs, opts ...pulumi.ResourceOption) (*DocumentAiProcessorDefaultVersion, error)

NewDocumentAiProcessorDefaultVersion registers a new resource with the given unique name, arguments, and options.

func (*DocumentAiProcessorDefaultVersion) ElementType added in v6.29.0

func (*DocumentAiProcessorDefaultVersion) ToDocumentAiProcessorDefaultVersionOutput added in v6.29.0

func (i *DocumentAiProcessorDefaultVersion) ToDocumentAiProcessorDefaultVersionOutput() DocumentAiProcessorDefaultVersionOutput

func (*DocumentAiProcessorDefaultVersion) ToDocumentAiProcessorDefaultVersionOutputWithContext added in v6.29.0

func (i *DocumentAiProcessorDefaultVersion) ToDocumentAiProcessorDefaultVersionOutputWithContext(ctx context.Context) DocumentAiProcessorDefaultVersionOutput

type DocumentAiProcessorDefaultVersionArgs added in v6.29.0

type DocumentAiProcessorDefaultVersionArgs struct {
	// The processor to set the version on.
	Processor pulumi.StringInput
	// The version to set. Using `stable` or `rc` will cause the API to return the latest version in that release channel.
	// Apply `lifecycle.ignore_changes` to the `version` field to suppress this diff.
	Version pulumi.StringInput
}

The set of arguments for constructing a DocumentAiProcessorDefaultVersion resource.

func (DocumentAiProcessorDefaultVersionArgs) ElementType added in v6.29.0

type DocumentAiProcessorDefaultVersionArray added in v6.29.0

type DocumentAiProcessorDefaultVersionArray []DocumentAiProcessorDefaultVersionInput

func (DocumentAiProcessorDefaultVersionArray) ElementType added in v6.29.0

func (DocumentAiProcessorDefaultVersionArray) ToDocumentAiProcessorDefaultVersionArrayOutput added in v6.29.0

func (i DocumentAiProcessorDefaultVersionArray) ToDocumentAiProcessorDefaultVersionArrayOutput() DocumentAiProcessorDefaultVersionArrayOutput

func (DocumentAiProcessorDefaultVersionArray) ToDocumentAiProcessorDefaultVersionArrayOutputWithContext added in v6.29.0

func (i DocumentAiProcessorDefaultVersionArray) ToDocumentAiProcessorDefaultVersionArrayOutputWithContext(ctx context.Context) DocumentAiProcessorDefaultVersionArrayOutput

type DocumentAiProcessorDefaultVersionArrayInput added in v6.29.0

type DocumentAiProcessorDefaultVersionArrayInput interface {
	pulumi.Input

	ToDocumentAiProcessorDefaultVersionArrayOutput() DocumentAiProcessorDefaultVersionArrayOutput
	ToDocumentAiProcessorDefaultVersionArrayOutputWithContext(context.Context) DocumentAiProcessorDefaultVersionArrayOutput
}

DocumentAiProcessorDefaultVersionArrayInput is an input type that accepts DocumentAiProcessorDefaultVersionArray and DocumentAiProcessorDefaultVersionArrayOutput values. You can construct a concrete instance of `DocumentAiProcessorDefaultVersionArrayInput` via:

DocumentAiProcessorDefaultVersionArray{ DocumentAiProcessorDefaultVersionArgs{...} }

type DocumentAiProcessorDefaultVersionArrayOutput added in v6.29.0

type DocumentAiProcessorDefaultVersionArrayOutput struct{ *pulumi.OutputState }

func (DocumentAiProcessorDefaultVersionArrayOutput) ElementType added in v6.29.0

func (DocumentAiProcessorDefaultVersionArrayOutput) Index added in v6.29.0

func (DocumentAiProcessorDefaultVersionArrayOutput) ToDocumentAiProcessorDefaultVersionArrayOutput added in v6.29.0

func (o DocumentAiProcessorDefaultVersionArrayOutput) ToDocumentAiProcessorDefaultVersionArrayOutput() DocumentAiProcessorDefaultVersionArrayOutput

func (DocumentAiProcessorDefaultVersionArrayOutput) ToDocumentAiProcessorDefaultVersionArrayOutputWithContext added in v6.29.0

func (o DocumentAiProcessorDefaultVersionArrayOutput) ToDocumentAiProcessorDefaultVersionArrayOutputWithContext(ctx context.Context) DocumentAiProcessorDefaultVersionArrayOutput

type DocumentAiProcessorDefaultVersionInput added in v6.29.0

type DocumentAiProcessorDefaultVersionInput interface {
	pulumi.Input

	ToDocumentAiProcessorDefaultVersionOutput() DocumentAiProcessorDefaultVersionOutput
	ToDocumentAiProcessorDefaultVersionOutputWithContext(ctx context.Context) DocumentAiProcessorDefaultVersionOutput
}

type DocumentAiProcessorDefaultVersionMap added in v6.29.0

type DocumentAiProcessorDefaultVersionMap map[string]DocumentAiProcessorDefaultVersionInput

func (DocumentAiProcessorDefaultVersionMap) ElementType added in v6.29.0

func (DocumentAiProcessorDefaultVersionMap) ToDocumentAiProcessorDefaultVersionMapOutput added in v6.29.0

func (i DocumentAiProcessorDefaultVersionMap) ToDocumentAiProcessorDefaultVersionMapOutput() DocumentAiProcessorDefaultVersionMapOutput

func (DocumentAiProcessorDefaultVersionMap) ToDocumentAiProcessorDefaultVersionMapOutputWithContext added in v6.29.0

func (i DocumentAiProcessorDefaultVersionMap) ToDocumentAiProcessorDefaultVersionMapOutputWithContext(ctx context.Context) DocumentAiProcessorDefaultVersionMapOutput

type DocumentAiProcessorDefaultVersionMapInput added in v6.29.0

type DocumentAiProcessorDefaultVersionMapInput interface {
	pulumi.Input

	ToDocumentAiProcessorDefaultVersionMapOutput() DocumentAiProcessorDefaultVersionMapOutput
	ToDocumentAiProcessorDefaultVersionMapOutputWithContext(context.Context) DocumentAiProcessorDefaultVersionMapOutput
}

DocumentAiProcessorDefaultVersionMapInput is an input type that accepts DocumentAiProcessorDefaultVersionMap and DocumentAiProcessorDefaultVersionMapOutput values. You can construct a concrete instance of `DocumentAiProcessorDefaultVersionMapInput` via:

DocumentAiProcessorDefaultVersionMap{ "key": DocumentAiProcessorDefaultVersionArgs{...} }

type DocumentAiProcessorDefaultVersionMapOutput added in v6.29.0

type DocumentAiProcessorDefaultVersionMapOutput struct{ *pulumi.OutputState }

func (DocumentAiProcessorDefaultVersionMapOutput) ElementType added in v6.29.0

func (DocumentAiProcessorDefaultVersionMapOutput) MapIndex added in v6.29.0

func (DocumentAiProcessorDefaultVersionMapOutput) ToDocumentAiProcessorDefaultVersionMapOutput added in v6.29.0

func (o DocumentAiProcessorDefaultVersionMapOutput) ToDocumentAiProcessorDefaultVersionMapOutput() DocumentAiProcessorDefaultVersionMapOutput

func (DocumentAiProcessorDefaultVersionMapOutput) ToDocumentAiProcessorDefaultVersionMapOutputWithContext added in v6.29.0

func (o DocumentAiProcessorDefaultVersionMapOutput) ToDocumentAiProcessorDefaultVersionMapOutputWithContext(ctx context.Context) DocumentAiProcessorDefaultVersionMapOutput

type DocumentAiProcessorDefaultVersionOutput added in v6.29.0

type DocumentAiProcessorDefaultVersionOutput struct{ *pulumi.OutputState }

func (DocumentAiProcessorDefaultVersionOutput) ElementType added in v6.29.0

func (DocumentAiProcessorDefaultVersionOutput) Processor added in v6.29.0

The processor to set the version on.

func (DocumentAiProcessorDefaultVersionOutput) ToDocumentAiProcessorDefaultVersionOutput added in v6.29.0

func (o DocumentAiProcessorDefaultVersionOutput) ToDocumentAiProcessorDefaultVersionOutput() DocumentAiProcessorDefaultVersionOutput

func (DocumentAiProcessorDefaultVersionOutput) ToDocumentAiProcessorDefaultVersionOutputWithContext added in v6.29.0

func (o DocumentAiProcessorDefaultVersionOutput) ToDocumentAiProcessorDefaultVersionOutputWithContext(ctx context.Context) DocumentAiProcessorDefaultVersionOutput

func (DocumentAiProcessorDefaultVersionOutput) Version added in v6.29.0

The version to set. Using `stable` or `rc` will cause the API to return the latest version in that release channel. Apply `lifecycle.ignore_changes` to the `version` field to suppress this diff.

type DocumentAiProcessorDefaultVersionState added in v6.29.0

type DocumentAiProcessorDefaultVersionState struct {
	// The processor to set the version on.
	Processor pulumi.StringPtrInput
	// The version to set. Using `stable` or `rc` will cause the API to return the latest version in that release channel.
	// Apply `lifecycle.ignore_changes` to the `version` field to suppress this diff.
	Version pulumi.StringPtrInput
}

func (DocumentAiProcessorDefaultVersionState) ElementType added in v6.29.0

type DocumentAiProcessorInput added in v6.29.0

type DocumentAiProcessorInput interface {
	pulumi.Input

	ToDocumentAiProcessorOutput() DocumentAiProcessorOutput
	ToDocumentAiProcessorOutputWithContext(ctx context.Context) DocumentAiProcessorOutput
}

type DocumentAiProcessorMap added in v6.29.0

type DocumentAiProcessorMap map[string]DocumentAiProcessorInput

func (DocumentAiProcessorMap) ElementType added in v6.29.0

func (DocumentAiProcessorMap) ElementType() reflect.Type

func (DocumentAiProcessorMap) ToDocumentAiProcessorMapOutput added in v6.29.0

func (i DocumentAiProcessorMap) ToDocumentAiProcessorMapOutput() DocumentAiProcessorMapOutput

func (DocumentAiProcessorMap) ToDocumentAiProcessorMapOutputWithContext added in v6.29.0

func (i DocumentAiProcessorMap) ToDocumentAiProcessorMapOutputWithContext(ctx context.Context) DocumentAiProcessorMapOutput

type DocumentAiProcessorMapInput added in v6.29.0

type DocumentAiProcessorMapInput interface {
	pulumi.Input

	ToDocumentAiProcessorMapOutput() DocumentAiProcessorMapOutput
	ToDocumentAiProcessorMapOutputWithContext(context.Context) DocumentAiProcessorMapOutput
}

DocumentAiProcessorMapInput is an input type that accepts DocumentAiProcessorMap and DocumentAiProcessorMapOutput values. You can construct a concrete instance of `DocumentAiProcessorMapInput` via:

DocumentAiProcessorMap{ "key": DocumentAiProcessorArgs{...} }

type DocumentAiProcessorMapOutput added in v6.29.0

type DocumentAiProcessorMapOutput struct{ *pulumi.OutputState }

func (DocumentAiProcessorMapOutput) ElementType added in v6.29.0

func (DocumentAiProcessorMapOutput) MapIndex added in v6.29.0

func (DocumentAiProcessorMapOutput) ToDocumentAiProcessorMapOutput added in v6.29.0

func (o DocumentAiProcessorMapOutput) ToDocumentAiProcessorMapOutput() DocumentAiProcessorMapOutput

func (DocumentAiProcessorMapOutput) ToDocumentAiProcessorMapOutputWithContext added in v6.29.0

func (o DocumentAiProcessorMapOutput) ToDocumentAiProcessorMapOutputWithContext(ctx context.Context) DocumentAiProcessorMapOutput

type DocumentAiProcessorOutput added in v6.29.0

type DocumentAiProcessorOutput struct{ *pulumi.OutputState }

func (DocumentAiProcessorOutput) DisplayName added in v6.29.0

The display name. Must be unique.

func (DocumentAiProcessorOutput) ElementType added in v6.29.0

func (DocumentAiProcessorOutput) ElementType() reflect.Type

func (DocumentAiProcessorOutput) KmsKeyName added in v6.29.0

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

func (DocumentAiProcessorOutput) Location added in v6.29.0

The location of the resource.

func (DocumentAiProcessorOutput) Name added in v6.29.0

The resource name of the processor.

func (DocumentAiProcessorOutput) Project added in v6.29.0

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (DocumentAiProcessorOutput) ToDocumentAiProcessorOutput added in v6.29.0

func (o DocumentAiProcessorOutput) ToDocumentAiProcessorOutput() DocumentAiProcessorOutput

func (DocumentAiProcessorOutput) ToDocumentAiProcessorOutputWithContext added in v6.29.0

func (o DocumentAiProcessorOutput) ToDocumentAiProcessorOutputWithContext(ctx context.Context) DocumentAiProcessorOutput

type DocumentAiProcessorState added in v6.29.0

type DocumentAiProcessorState struct {
	// The display name. Must be unique.
	DisplayName pulumi.StringPtrInput
	// The KMS key used for encryption/decryption in CMEK scenarios. See https://cloud.google.com/security-key-management.
	KmsKeyName pulumi.StringPtrInput
	// The location of the resource.
	Location pulumi.StringPtrInput
	// The resource name of the processor.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The type of processor. For possible types see the [official list](https://cloud.google.com/document-ai/docs/reference/rest/v1/projects.locations/fetchProcessorTypes#google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes)
	Type pulumi.StringPtrInput
}

func (DocumentAiProcessorState) ElementType added in v6.29.0

func (DocumentAiProcessorState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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