discoveryengine

package
v8.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 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 ChatEngine

type ChatEngine struct {
	pulumi.CustomResourceState

	// Configurations for a chat Engine.
	// Structure is documented below.
	ChatEngineConfig ChatEngineChatEngineConfigOutput `pulumi:"chatEngineConfig"`
	// Additional information of the Chat Engine.
	// Structure is documented below.
	ChatEngineMetadatas ChatEngineChatEngineMetadataArrayOutput `pulumi:"chatEngineMetadatas"`
	// The collection ID.
	CollectionId pulumi.StringOutput `pulumi:"collectionId"`
	// Common config spec that specifies the metadata of the engine.
	CommonConfig ChatEngineCommonConfigPtrOutput `pulumi:"commonConfig"`
	// Timestamp the Engine was created at.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The data stores associated with this engine. Multiple DataStores in the same Collection can be associated here. All listed DataStores must be `SOLUTION_TYPE_CHAT`. Adding or removing data stores will force recreation.
	DataStoreIds pulumi.StringArrayOutput `pulumi:"dataStoreIds"`
	// The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The ID to use for chat engine.
	EngineId pulumi.StringOutput `pulumi:"engineId"`
	// The industry vertical that the chat engine registers. Vertical on Engine has to match vertical of the DataStore linked
	// to the engine. Default value: "GENERIC" Possible values: ["GENERIC"]
	IndustryVertical pulumi.StringPtrOutput `pulumi:"industryVertical"`
	// Location.
	Location pulumi.StringOutput `pulumi:"location"`
	// The unique full resource name of the chat engine. Values are of the format
	// `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.
	// This field must be a UTF-8 encoded string with a length limit of 1024
	// characters.
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// Timestamp the Engine was last updated.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Vertex chat and Conversation Engine Chat type

To get more information about ChatEngine, see:

* [API documentation](https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1/projects.locations.collections.engines) * How-to Guides

## Example Usage

### Discoveryengine Chat Engine Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/discoveryengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testDataStore, err := discoveryengine.NewDataStore(ctx, "test_data_store", &discoveryengine.DataStoreArgs{
			Location:         pulumi.String("global"),
			DataStoreId:      pulumi.String("data-store"),
			DisplayName:      pulumi.String("Structured datastore"),
			IndustryVertical: pulumi.String("GENERIC"),
			ContentConfig:    pulumi.String("NO_CONTENT"),
			SolutionTypes: pulumi.StringArray{
				pulumi.String("SOLUTION_TYPE_CHAT"),
			},
		})
		if err != nil {
			return err
		}
		testDataStore2, err := discoveryengine.NewDataStore(ctx, "test_data_store_2", &discoveryengine.DataStoreArgs{
			Location:         testDataStore.Location,
			DataStoreId:      pulumi.String("data-store-2"),
			DisplayName:      pulumi.String("Structured datastore 2"),
			IndustryVertical: pulumi.String("GENERIC"),
			ContentConfig:    pulumi.String("NO_CONTENT"),
			SolutionTypes: pulumi.StringArray{
				pulumi.String("SOLUTION_TYPE_CHAT"),
			},
		})
		if err != nil {
			return err
		}
		_, err = discoveryengine.NewChatEngine(ctx, "primary", &discoveryengine.ChatEngineArgs{
			EngineId:         pulumi.String("chat-engine-id"),
			CollectionId:     pulumi.String("default_collection"),
			Location:         testDataStore.Location,
			DisplayName:      pulumi.String("Chat engine"),
			IndustryVertical: pulumi.String("GENERIC"),
			DataStoreIds: pulumi.StringArray{
				testDataStore.DataStoreId,
				testDataStore2.DataStoreId,
			},
			CommonConfig: &discoveryengine.ChatEngineCommonConfigArgs{
				CompanyName: pulumi.String("test-company"),
			},
			ChatEngineConfig: &discoveryengine.ChatEngineChatEngineConfigArgs{
				AgentCreationConfig: &discoveryengine.ChatEngineChatEngineConfigAgentCreationConfigArgs{
					Business:            pulumi.String("test business name"),
					DefaultLanguageCode: pulumi.String("en"),
					TimeZone:            pulumi.String("America/Los_Angeles"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Discoveryengine Chat Engine Existing Dialogflow Agent

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/diagflow"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/discoveryengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testDataStore, err := discoveryengine.NewDataStore(ctx, "test_data_store", &discoveryengine.DataStoreArgs{
			Location:         pulumi.String("global"),
			DataStoreId:      pulumi.String("data-store"),
			DisplayName:      pulumi.String("Structured datastore"),
			IndustryVertical: pulumi.String("GENERIC"),
			ContentConfig:    pulumi.String("NO_CONTENT"),
			SolutionTypes: pulumi.StringArray{
				pulumi.String("SOLUTION_TYPE_CHAT"),
			},
		})
		if err != nil {
			return err
		}
		agent, err := diagflow.NewCxAgent(ctx, "agent", &diagflow.CxAgentArgs{
			DisplayName:         pulumi.String("dialogflowcx-agent"),
			Location:            pulumi.String("global"),
			DefaultLanguageCode: pulumi.String("en"),
			TimeZone:            pulumi.String("America/Los_Angeles"),
		})
		if err != nil {
			return err
		}
		_, err = discoveryengine.NewChatEngine(ctx, "primary", &discoveryengine.ChatEngineArgs{
			EngineId:         pulumi.String("chat-engine-id"),
			CollectionId:     pulumi.String("default_collection"),
			Location:         testDataStore.Location,
			DisplayName:      pulumi.String("Chat engine"),
			IndustryVertical: pulumi.String("GENERIC"),
			DataStoreIds: pulumi.StringArray{
				testDataStore.DataStoreId,
			},
			CommonConfig: &discoveryengine.ChatEngineCommonConfigArgs{
				CompanyName: pulumi.String("test-company"),
			},
			ChatEngineConfig: &discoveryengine.ChatEngineChatEngineConfigArgs{
				DialogflowAgentToLink: agent.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ChatEngine can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/collections/{{collection_id}}/engines/{{engine_id}}`

* `{{project}}/{{location}}/{{collection_id}}/{{engine_id}}`

* `{{location}}/{{collection_id}}/{{engine_id}}`

When using the `pulumi import` command, ChatEngine can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:discoveryengine/chatEngine:ChatEngine default projects/{{project}}/locations/{{location}}/collections/{{collection_id}}/engines/{{engine_id}} ```

```sh $ pulumi import gcp:discoveryengine/chatEngine:ChatEngine default {{project}}/{{location}}/{{collection_id}}/{{engine_id}} ```

```sh $ pulumi import gcp:discoveryengine/chatEngine:ChatEngine default {{location}}/{{collection_id}}/{{engine_id}} ```

func GetChatEngine

func GetChatEngine(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChatEngineState, opts ...pulumi.ResourceOption) (*ChatEngine, error)

GetChatEngine gets an existing ChatEngine 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 NewChatEngine

func NewChatEngine(ctx *pulumi.Context,
	name string, args *ChatEngineArgs, opts ...pulumi.ResourceOption) (*ChatEngine, error)

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

func (*ChatEngine) ElementType

func (*ChatEngine) ElementType() reflect.Type

func (*ChatEngine) ToChatEngineOutput

func (i *ChatEngine) ToChatEngineOutput() ChatEngineOutput

func (*ChatEngine) ToChatEngineOutputWithContext

func (i *ChatEngine) ToChatEngineOutputWithContext(ctx context.Context) ChatEngineOutput

type ChatEngineArgs

type ChatEngineArgs struct {
	// Configurations for a chat Engine.
	// Structure is documented below.
	ChatEngineConfig ChatEngineChatEngineConfigInput
	// The collection ID.
	CollectionId pulumi.StringInput
	// Common config spec that specifies the metadata of the engine.
	CommonConfig ChatEngineCommonConfigPtrInput
	// The data stores associated with this engine. Multiple DataStores in the same Collection can be associated here. All listed DataStores must be `SOLUTION_TYPE_CHAT`. Adding or removing data stores will force recreation.
	DataStoreIds pulumi.StringArrayInput
	// The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
	DisplayName pulumi.StringInput
	// The ID to use for chat engine.
	EngineId pulumi.StringInput
	// The industry vertical that the chat engine registers. Vertical on Engine has to match vertical of the DataStore linked
	// to the engine. Default value: "GENERIC" Possible values: ["GENERIC"]
	IndustryVertical pulumi.StringPtrInput
	// Location.
	Location pulumi.StringInput
	Project  pulumi.StringPtrInput
}

The set of arguments for constructing a ChatEngine resource.

func (ChatEngineArgs) ElementType

func (ChatEngineArgs) ElementType() reflect.Type

type ChatEngineArray

type ChatEngineArray []ChatEngineInput

func (ChatEngineArray) ElementType

func (ChatEngineArray) ElementType() reflect.Type

func (ChatEngineArray) ToChatEngineArrayOutput

func (i ChatEngineArray) ToChatEngineArrayOutput() ChatEngineArrayOutput

func (ChatEngineArray) ToChatEngineArrayOutputWithContext

func (i ChatEngineArray) ToChatEngineArrayOutputWithContext(ctx context.Context) ChatEngineArrayOutput

type ChatEngineArrayInput

type ChatEngineArrayInput interface {
	pulumi.Input

	ToChatEngineArrayOutput() ChatEngineArrayOutput
	ToChatEngineArrayOutputWithContext(context.Context) ChatEngineArrayOutput
}

ChatEngineArrayInput is an input type that accepts ChatEngineArray and ChatEngineArrayOutput values. You can construct a concrete instance of `ChatEngineArrayInput` via:

ChatEngineArray{ ChatEngineArgs{...} }

type ChatEngineArrayOutput

type ChatEngineArrayOutput struct{ *pulumi.OutputState }

func (ChatEngineArrayOutput) ElementType

func (ChatEngineArrayOutput) ElementType() reflect.Type

func (ChatEngineArrayOutput) Index

func (ChatEngineArrayOutput) ToChatEngineArrayOutput

func (o ChatEngineArrayOutput) ToChatEngineArrayOutput() ChatEngineArrayOutput

func (ChatEngineArrayOutput) ToChatEngineArrayOutputWithContext

func (o ChatEngineArrayOutput) ToChatEngineArrayOutputWithContext(ctx context.Context) ChatEngineArrayOutput

type ChatEngineChatEngineConfig

type ChatEngineChatEngineConfig struct {
	// The configuration to generate the Dialogflow agent that is associated to this Engine.
	// Exactly one of `agentCreationConfig` or `dialogflowAgentToLink` must be set.
	// Structure is documented below.
	AgentCreationConfig *ChatEngineChatEngineConfigAgentCreationConfig `pulumi:"agentCreationConfig"`
	// The resource name of an existing Dialogflow agent to link to this Chat Engine. Format: `projects/<Project_ID>/locations/<Location_ID>/agents/<Agent_ID>`.
	// Exactly one of `agentCreationConfig` or `dialogflowAgentToLink` must be set.
	DialogflowAgentToLink *string `pulumi:"dialogflowAgentToLink"`
}

type ChatEngineChatEngineConfigAgentCreationConfig

type ChatEngineChatEngineConfigAgentCreationConfig struct {
	// Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.
	Business *string `pulumi:"business"`
	// The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.
	DefaultLanguageCode string `pulumi:"defaultLanguageCode"`
	// Agent location for Agent creation, currently supported values: global/us/eu, it needs to be the same region as the Chat Engine.
	//
	// ***
	Location *string `pulumi:"location"`
	// The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
	TimeZone string `pulumi:"timeZone"`
}

type ChatEngineChatEngineConfigAgentCreationConfigArgs

type ChatEngineChatEngineConfigAgentCreationConfigArgs struct {
	// Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.
	Business pulumi.StringPtrInput `pulumi:"business"`
	// The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.
	DefaultLanguageCode pulumi.StringInput `pulumi:"defaultLanguageCode"`
	// Agent location for Agent creation, currently supported values: global/us/eu, it needs to be the same region as the Chat Engine.
	//
	// ***
	Location pulumi.StringPtrInput `pulumi:"location"`
	// The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
	TimeZone pulumi.StringInput `pulumi:"timeZone"`
}

func (ChatEngineChatEngineConfigAgentCreationConfigArgs) ElementType

func (ChatEngineChatEngineConfigAgentCreationConfigArgs) ToChatEngineChatEngineConfigAgentCreationConfigOutput

func (i ChatEngineChatEngineConfigAgentCreationConfigArgs) ToChatEngineChatEngineConfigAgentCreationConfigOutput() ChatEngineChatEngineConfigAgentCreationConfigOutput

func (ChatEngineChatEngineConfigAgentCreationConfigArgs) ToChatEngineChatEngineConfigAgentCreationConfigOutputWithContext

func (i ChatEngineChatEngineConfigAgentCreationConfigArgs) ToChatEngineChatEngineConfigAgentCreationConfigOutputWithContext(ctx context.Context) ChatEngineChatEngineConfigAgentCreationConfigOutput

func (ChatEngineChatEngineConfigAgentCreationConfigArgs) ToChatEngineChatEngineConfigAgentCreationConfigPtrOutput

func (i ChatEngineChatEngineConfigAgentCreationConfigArgs) ToChatEngineChatEngineConfigAgentCreationConfigPtrOutput() ChatEngineChatEngineConfigAgentCreationConfigPtrOutput

func (ChatEngineChatEngineConfigAgentCreationConfigArgs) ToChatEngineChatEngineConfigAgentCreationConfigPtrOutputWithContext

func (i ChatEngineChatEngineConfigAgentCreationConfigArgs) ToChatEngineChatEngineConfigAgentCreationConfigPtrOutputWithContext(ctx context.Context) ChatEngineChatEngineConfigAgentCreationConfigPtrOutput

type ChatEngineChatEngineConfigAgentCreationConfigInput

type ChatEngineChatEngineConfigAgentCreationConfigInput interface {
	pulumi.Input

	ToChatEngineChatEngineConfigAgentCreationConfigOutput() ChatEngineChatEngineConfigAgentCreationConfigOutput
	ToChatEngineChatEngineConfigAgentCreationConfigOutputWithContext(context.Context) ChatEngineChatEngineConfigAgentCreationConfigOutput
}

ChatEngineChatEngineConfigAgentCreationConfigInput is an input type that accepts ChatEngineChatEngineConfigAgentCreationConfigArgs and ChatEngineChatEngineConfigAgentCreationConfigOutput values. You can construct a concrete instance of `ChatEngineChatEngineConfigAgentCreationConfigInput` via:

ChatEngineChatEngineConfigAgentCreationConfigArgs{...}

type ChatEngineChatEngineConfigAgentCreationConfigOutput

type ChatEngineChatEngineConfigAgentCreationConfigOutput struct{ *pulumi.OutputState }

func (ChatEngineChatEngineConfigAgentCreationConfigOutput) Business

Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.

func (ChatEngineChatEngineConfigAgentCreationConfigOutput) DefaultLanguageCode

The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.

func (ChatEngineChatEngineConfigAgentCreationConfigOutput) ElementType

func (ChatEngineChatEngineConfigAgentCreationConfigOutput) Location

Agent location for Agent creation, currently supported values: global/us/eu, it needs to be the same region as the Chat Engine.

***

func (ChatEngineChatEngineConfigAgentCreationConfigOutput) TimeZone

The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.

func (ChatEngineChatEngineConfigAgentCreationConfigOutput) ToChatEngineChatEngineConfigAgentCreationConfigOutput

func (o ChatEngineChatEngineConfigAgentCreationConfigOutput) ToChatEngineChatEngineConfigAgentCreationConfigOutput() ChatEngineChatEngineConfigAgentCreationConfigOutput

func (ChatEngineChatEngineConfigAgentCreationConfigOutput) ToChatEngineChatEngineConfigAgentCreationConfigOutputWithContext

func (o ChatEngineChatEngineConfigAgentCreationConfigOutput) ToChatEngineChatEngineConfigAgentCreationConfigOutputWithContext(ctx context.Context) ChatEngineChatEngineConfigAgentCreationConfigOutput

func (ChatEngineChatEngineConfigAgentCreationConfigOutput) ToChatEngineChatEngineConfigAgentCreationConfigPtrOutput

func (o ChatEngineChatEngineConfigAgentCreationConfigOutput) ToChatEngineChatEngineConfigAgentCreationConfigPtrOutput() ChatEngineChatEngineConfigAgentCreationConfigPtrOutput

func (ChatEngineChatEngineConfigAgentCreationConfigOutput) ToChatEngineChatEngineConfigAgentCreationConfigPtrOutputWithContext

func (o ChatEngineChatEngineConfigAgentCreationConfigOutput) ToChatEngineChatEngineConfigAgentCreationConfigPtrOutputWithContext(ctx context.Context) ChatEngineChatEngineConfigAgentCreationConfigPtrOutput

type ChatEngineChatEngineConfigAgentCreationConfigPtrInput

type ChatEngineChatEngineConfigAgentCreationConfigPtrInput interface {
	pulumi.Input

	ToChatEngineChatEngineConfigAgentCreationConfigPtrOutput() ChatEngineChatEngineConfigAgentCreationConfigPtrOutput
	ToChatEngineChatEngineConfigAgentCreationConfigPtrOutputWithContext(context.Context) ChatEngineChatEngineConfigAgentCreationConfigPtrOutput
}

ChatEngineChatEngineConfigAgentCreationConfigPtrInput is an input type that accepts ChatEngineChatEngineConfigAgentCreationConfigArgs, ChatEngineChatEngineConfigAgentCreationConfigPtr and ChatEngineChatEngineConfigAgentCreationConfigPtrOutput values. You can construct a concrete instance of `ChatEngineChatEngineConfigAgentCreationConfigPtrInput` via:

        ChatEngineChatEngineConfigAgentCreationConfigArgs{...}

or:

        nil

type ChatEngineChatEngineConfigAgentCreationConfigPtrOutput

type ChatEngineChatEngineConfigAgentCreationConfigPtrOutput struct{ *pulumi.OutputState }

func (ChatEngineChatEngineConfigAgentCreationConfigPtrOutput) Business

Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.

func (ChatEngineChatEngineConfigAgentCreationConfigPtrOutput) DefaultLanguageCode

The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.

func (ChatEngineChatEngineConfigAgentCreationConfigPtrOutput) Elem

func (ChatEngineChatEngineConfigAgentCreationConfigPtrOutput) ElementType

func (ChatEngineChatEngineConfigAgentCreationConfigPtrOutput) Location

Agent location for Agent creation, currently supported values: global/us/eu, it needs to be the same region as the Chat Engine.

***

func (ChatEngineChatEngineConfigAgentCreationConfigPtrOutput) TimeZone

The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.

func (ChatEngineChatEngineConfigAgentCreationConfigPtrOutput) ToChatEngineChatEngineConfigAgentCreationConfigPtrOutput

func (ChatEngineChatEngineConfigAgentCreationConfigPtrOutput) ToChatEngineChatEngineConfigAgentCreationConfigPtrOutputWithContext

func (o ChatEngineChatEngineConfigAgentCreationConfigPtrOutput) ToChatEngineChatEngineConfigAgentCreationConfigPtrOutputWithContext(ctx context.Context) ChatEngineChatEngineConfigAgentCreationConfigPtrOutput

type ChatEngineChatEngineConfigArgs

type ChatEngineChatEngineConfigArgs struct {
	// The configuration to generate the Dialogflow agent that is associated to this Engine.
	// Exactly one of `agentCreationConfig` or `dialogflowAgentToLink` must be set.
	// Structure is documented below.
	AgentCreationConfig ChatEngineChatEngineConfigAgentCreationConfigPtrInput `pulumi:"agentCreationConfig"`
	// The resource name of an existing Dialogflow agent to link to this Chat Engine. Format: `projects/<Project_ID>/locations/<Location_ID>/agents/<Agent_ID>`.
	// Exactly one of `agentCreationConfig` or `dialogflowAgentToLink` must be set.
	DialogflowAgentToLink pulumi.StringPtrInput `pulumi:"dialogflowAgentToLink"`
}

func (ChatEngineChatEngineConfigArgs) ElementType

func (ChatEngineChatEngineConfigArgs) ToChatEngineChatEngineConfigOutput

func (i ChatEngineChatEngineConfigArgs) ToChatEngineChatEngineConfigOutput() ChatEngineChatEngineConfigOutput

func (ChatEngineChatEngineConfigArgs) ToChatEngineChatEngineConfigOutputWithContext

func (i ChatEngineChatEngineConfigArgs) ToChatEngineChatEngineConfigOutputWithContext(ctx context.Context) ChatEngineChatEngineConfigOutput

func (ChatEngineChatEngineConfigArgs) ToChatEngineChatEngineConfigPtrOutput

func (i ChatEngineChatEngineConfigArgs) ToChatEngineChatEngineConfigPtrOutput() ChatEngineChatEngineConfigPtrOutput

func (ChatEngineChatEngineConfigArgs) ToChatEngineChatEngineConfigPtrOutputWithContext

func (i ChatEngineChatEngineConfigArgs) ToChatEngineChatEngineConfigPtrOutputWithContext(ctx context.Context) ChatEngineChatEngineConfigPtrOutput

type ChatEngineChatEngineConfigInput

type ChatEngineChatEngineConfigInput interface {
	pulumi.Input

	ToChatEngineChatEngineConfigOutput() ChatEngineChatEngineConfigOutput
	ToChatEngineChatEngineConfigOutputWithContext(context.Context) ChatEngineChatEngineConfigOutput
}

ChatEngineChatEngineConfigInput is an input type that accepts ChatEngineChatEngineConfigArgs and ChatEngineChatEngineConfigOutput values. You can construct a concrete instance of `ChatEngineChatEngineConfigInput` via:

ChatEngineChatEngineConfigArgs{...}

type ChatEngineChatEngineConfigOutput

type ChatEngineChatEngineConfigOutput struct{ *pulumi.OutputState }

func (ChatEngineChatEngineConfigOutput) AgentCreationConfig

The configuration to generate the Dialogflow agent that is associated to this Engine. Exactly one of `agentCreationConfig` or `dialogflowAgentToLink` must be set. Structure is documented below.

func (o ChatEngineChatEngineConfigOutput) DialogflowAgentToLink() pulumi.StringPtrOutput

The resource name of an existing Dialogflow agent to link to this Chat Engine. Format: `projects/<Project_ID>/locations/<Location_ID>/agents/<Agent_ID>`. Exactly one of `agentCreationConfig` or `dialogflowAgentToLink` must be set.

func (ChatEngineChatEngineConfigOutput) ElementType

func (ChatEngineChatEngineConfigOutput) ToChatEngineChatEngineConfigOutput

func (o ChatEngineChatEngineConfigOutput) ToChatEngineChatEngineConfigOutput() ChatEngineChatEngineConfigOutput

func (ChatEngineChatEngineConfigOutput) ToChatEngineChatEngineConfigOutputWithContext

func (o ChatEngineChatEngineConfigOutput) ToChatEngineChatEngineConfigOutputWithContext(ctx context.Context) ChatEngineChatEngineConfigOutput

func (ChatEngineChatEngineConfigOutput) ToChatEngineChatEngineConfigPtrOutput

func (o ChatEngineChatEngineConfigOutput) ToChatEngineChatEngineConfigPtrOutput() ChatEngineChatEngineConfigPtrOutput

func (ChatEngineChatEngineConfigOutput) ToChatEngineChatEngineConfigPtrOutputWithContext

func (o ChatEngineChatEngineConfigOutput) ToChatEngineChatEngineConfigPtrOutputWithContext(ctx context.Context) ChatEngineChatEngineConfigPtrOutput

type ChatEngineChatEngineConfigPtrInput

type ChatEngineChatEngineConfigPtrInput interface {
	pulumi.Input

	ToChatEngineChatEngineConfigPtrOutput() ChatEngineChatEngineConfigPtrOutput
	ToChatEngineChatEngineConfigPtrOutputWithContext(context.Context) ChatEngineChatEngineConfigPtrOutput
}

ChatEngineChatEngineConfigPtrInput is an input type that accepts ChatEngineChatEngineConfigArgs, ChatEngineChatEngineConfigPtr and ChatEngineChatEngineConfigPtrOutput values. You can construct a concrete instance of `ChatEngineChatEngineConfigPtrInput` via:

        ChatEngineChatEngineConfigArgs{...}

or:

        nil

type ChatEngineChatEngineConfigPtrOutput

type ChatEngineChatEngineConfigPtrOutput struct{ *pulumi.OutputState }

func (ChatEngineChatEngineConfigPtrOutput) AgentCreationConfig

The configuration to generate the Dialogflow agent that is associated to this Engine. Exactly one of `agentCreationConfig` or `dialogflowAgentToLink` must be set. Structure is documented below.

The resource name of an existing Dialogflow agent to link to this Chat Engine. Format: `projects/<Project_ID>/locations/<Location_ID>/agents/<Agent_ID>`. Exactly one of `agentCreationConfig` or `dialogflowAgentToLink` must be set.

func (ChatEngineChatEngineConfigPtrOutput) Elem

func (ChatEngineChatEngineConfigPtrOutput) ElementType

func (ChatEngineChatEngineConfigPtrOutput) ToChatEngineChatEngineConfigPtrOutput

func (o ChatEngineChatEngineConfigPtrOutput) ToChatEngineChatEngineConfigPtrOutput() ChatEngineChatEngineConfigPtrOutput

func (ChatEngineChatEngineConfigPtrOutput) ToChatEngineChatEngineConfigPtrOutputWithContext

func (o ChatEngineChatEngineConfigPtrOutput) ToChatEngineChatEngineConfigPtrOutputWithContext(ctx context.Context) ChatEngineChatEngineConfigPtrOutput

type ChatEngineChatEngineMetadata

type ChatEngineChatEngineMetadata struct {
	// (Output)
	// The resource name of a Dialogflow agent, that this Chat Engine refers to.
	DialogflowAgent *string `pulumi:"dialogflowAgent"`
}

type ChatEngineChatEngineMetadataArgs

type ChatEngineChatEngineMetadataArgs struct {
	// (Output)
	// The resource name of a Dialogflow agent, that this Chat Engine refers to.
	DialogflowAgent pulumi.StringPtrInput `pulumi:"dialogflowAgent"`
}

func (ChatEngineChatEngineMetadataArgs) ElementType

func (ChatEngineChatEngineMetadataArgs) ToChatEngineChatEngineMetadataOutput

func (i ChatEngineChatEngineMetadataArgs) ToChatEngineChatEngineMetadataOutput() ChatEngineChatEngineMetadataOutput

func (ChatEngineChatEngineMetadataArgs) ToChatEngineChatEngineMetadataOutputWithContext

func (i ChatEngineChatEngineMetadataArgs) ToChatEngineChatEngineMetadataOutputWithContext(ctx context.Context) ChatEngineChatEngineMetadataOutput

type ChatEngineChatEngineMetadataArray

type ChatEngineChatEngineMetadataArray []ChatEngineChatEngineMetadataInput

func (ChatEngineChatEngineMetadataArray) ElementType

func (ChatEngineChatEngineMetadataArray) ToChatEngineChatEngineMetadataArrayOutput

func (i ChatEngineChatEngineMetadataArray) ToChatEngineChatEngineMetadataArrayOutput() ChatEngineChatEngineMetadataArrayOutput

func (ChatEngineChatEngineMetadataArray) ToChatEngineChatEngineMetadataArrayOutputWithContext

func (i ChatEngineChatEngineMetadataArray) ToChatEngineChatEngineMetadataArrayOutputWithContext(ctx context.Context) ChatEngineChatEngineMetadataArrayOutput

type ChatEngineChatEngineMetadataArrayInput

type ChatEngineChatEngineMetadataArrayInput interface {
	pulumi.Input

	ToChatEngineChatEngineMetadataArrayOutput() ChatEngineChatEngineMetadataArrayOutput
	ToChatEngineChatEngineMetadataArrayOutputWithContext(context.Context) ChatEngineChatEngineMetadataArrayOutput
}

ChatEngineChatEngineMetadataArrayInput is an input type that accepts ChatEngineChatEngineMetadataArray and ChatEngineChatEngineMetadataArrayOutput values. You can construct a concrete instance of `ChatEngineChatEngineMetadataArrayInput` via:

ChatEngineChatEngineMetadataArray{ ChatEngineChatEngineMetadataArgs{...} }

type ChatEngineChatEngineMetadataArrayOutput

type ChatEngineChatEngineMetadataArrayOutput struct{ *pulumi.OutputState }

func (ChatEngineChatEngineMetadataArrayOutput) ElementType

func (ChatEngineChatEngineMetadataArrayOutput) Index

func (ChatEngineChatEngineMetadataArrayOutput) ToChatEngineChatEngineMetadataArrayOutput

func (o ChatEngineChatEngineMetadataArrayOutput) ToChatEngineChatEngineMetadataArrayOutput() ChatEngineChatEngineMetadataArrayOutput

func (ChatEngineChatEngineMetadataArrayOutput) ToChatEngineChatEngineMetadataArrayOutputWithContext

func (o ChatEngineChatEngineMetadataArrayOutput) ToChatEngineChatEngineMetadataArrayOutputWithContext(ctx context.Context) ChatEngineChatEngineMetadataArrayOutput

type ChatEngineChatEngineMetadataInput

type ChatEngineChatEngineMetadataInput interface {
	pulumi.Input

	ToChatEngineChatEngineMetadataOutput() ChatEngineChatEngineMetadataOutput
	ToChatEngineChatEngineMetadataOutputWithContext(context.Context) ChatEngineChatEngineMetadataOutput
}

ChatEngineChatEngineMetadataInput is an input type that accepts ChatEngineChatEngineMetadataArgs and ChatEngineChatEngineMetadataOutput values. You can construct a concrete instance of `ChatEngineChatEngineMetadataInput` via:

ChatEngineChatEngineMetadataArgs{...}

type ChatEngineChatEngineMetadataOutput

type ChatEngineChatEngineMetadataOutput struct{ *pulumi.OutputState }

func (ChatEngineChatEngineMetadataOutput) DialogflowAgent

(Output) The resource name of a Dialogflow agent, that this Chat Engine refers to.

func (ChatEngineChatEngineMetadataOutput) ElementType

func (ChatEngineChatEngineMetadataOutput) ToChatEngineChatEngineMetadataOutput

func (o ChatEngineChatEngineMetadataOutput) ToChatEngineChatEngineMetadataOutput() ChatEngineChatEngineMetadataOutput

func (ChatEngineChatEngineMetadataOutput) ToChatEngineChatEngineMetadataOutputWithContext

func (o ChatEngineChatEngineMetadataOutput) ToChatEngineChatEngineMetadataOutputWithContext(ctx context.Context) ChatEngineChatEngineMetadataOutput

type ChatEngineCommonConfig

type ChatEngineCommonConfig struct {
	// The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.
	CompanyName *string `pulumi:"companyName"`
}

type ChatEngineCommonConfigArgs

type ChatEngineCommonConfigArgs struct {
	// The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.
	CompanyName pulumi.StringPtrInput `pulumi:"companyName"`
}

func (ChatEngineCommonConfigArgs) ElementType

func (ChatEngineCommonConfigArgs) ElementType() reflect.Type

func (ChatEngineCommonConfigArgs) ToChatEngineCommonConfigOutput

func (i ChatEngineCommonConfigArgs) ToChatEngineCommonConfigOutput() ChatEngineCommonConfigOutput

func (ChatEngineCommonConfigArgs) ToChatEngineCommonConfigOutputWithContext

func (i ChatEngineCommonConfigArgs) ToChatEngineCommonConfigOutputWithContext(ctx context.Context) ChatEngineCommonConfigOutput

func (ChatEngineCommonConfigArgs) ToChatEngineCommonConfigPtrOutput

func (i ChatEngineCommonConfigArgs) ToChatEngineCommonConfigPtrOutput() ChatEngineCommonConfigPtrOutput

func (ChatEngineCommonConfigArgs) ToChatEngineCommonConfigPtrOutputWithContext

func (i ChatEngineCommonConfigArgs) ToChatEngineCommonConfigPtrOutputWithContext(ctx context.Context) ChatEngineCommonConfigPtrOutput

type ChatEngineCommonConfigInput

type ChatEngineCommonConfigInput interface {
	pulumi.Input

	ToChatEngineCommonConfigOutput() ChatEngineCommonConfigOutput
	ToChatEngineCommonConfigOutputWithContext(context.Context) ChatEngineCommonConfigOutput
}

ChatEngineCommonConfigInput is an input type that accepts ChatEngineCommonConfigArgs and ChatEngineCommonConfigOutput values. You can construct a concrete instance of `ChatEngineCommonConfigInput` via:

ChatEngineCommonConfigArgs{...}

type ChatEngineCommonConfigOutput

type ChatEngineCommonConfigOutput struct{ *pulumi.OutputState }

func (ChatEngineCommonConfigOutput) CompanyName

The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.

func (ChatEngineCommonConfigOutput) ElementType

func (ChatEngineCommonConfigOutput) ToChatEngineCommonConfigOutput

func (o ChatEngineCommonConfigOutput) ToChatEngineCommonConfigOutput() ChatEngineCommonConfigOutput

func (ChatEngineCommonConfigOutput) ToChatEngineCommonConfigOutputWithContext

func (o ChatEngineCommonConfigOutput) ToChatEngineCommonConfigOutputWithContext(ctx context.Context) ChatEngineCommonConfigOutput

func (ChatEngineCommonConfigOutput) ToChatEngineCommonConfigPtrOutput

func (o ChatEngineCommonConfigOutput) ToChatEngineCommonConfigPtrOutput() ChatEngineCommonConfigPtrOutput

func (ChatEngineCommonConfigOutput) ToChatEngineCommonConfigPtrOutputWithContext

func (o ChatEngineCommonConfigOutput) ToChatEngineCommonConfigPtrOutputWithContext(ctx context.Context) ChatEngineCommonConfigPtrOutput

type ChatEngineCommonConfigPtrInput

type ChatEngineCommonConfigPtrInput interface {
	pulumi.Input

	ToChatEngineCommonConfigPtrOutput() ChatEngineCommonConfigPtrOutput
	ToChatEngineCommonConfigPtrOutputWithContext(context.Context) ChatEngineCommonConfigPtrOutput
}

ChatEngineCommonConfigPtrInput is an input type that accepts ChatEngineCommonConfigArgs, ChatEngineCommonConfigPtr and ChatEngineCommonConfigPtrOutput values. You can construct a concrete instance of `ChatEngineCommonConfigPtrInput` via:

        ChatEngineCommonConfigArgs{...}

or:

        nil

type ChatEngineCommonConfigPtrOutput

type ChatEngineCommonConfigPtrOutput struct{ *pulumi.OutputState }

func (ChatEngineCommonConfigPtrOutput) CompanyName

The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.

func (ChatEngineCommonConfigPtrOutput) Elem

func (ChatEngineCommonConfigPtrOutput) ElementType

func (ChatEngineCommonConfigPtrOutput) ToChatEngineCommonConfigPtrOutput

func (o ChatEngineCommonConfigPtrOutput) ToChatEngineCommonConfigPtrOutput() ChatEngineCommonConfigPtrOutput

func (ChatEngineCommonConfigPtrOutput) ToChatEngineCommonConfigPtrOutputWithContext

func (o ChatEngineCommonConfigPtrOutput) ToChatEngineCommonConfigPtrOutputWithContext(ctx context.Context) ChatEngineCommonConfigPtrOutput

type ChatEngineInput

type ChatEngineInput interface {
	pulumi.Input

	ToChatEngineOutput() ChatEngineOutput
	ToChatEngineOutputWithContext(ctx context.Context) ChatEngineOutput
}

type ChatEngineMap

type ChatEngineMap map[string]ChatEngineInput

func (ChatEngineMap) ElementType

func (ChatEngineMap) ElementType() reflect.Type

func (ChatEngineMap) ToChatEngineMapOutput

func (i ChatEngineMap) ToChatEngineMapOutput() ChatEngineMapOutput

func (ChatEngineMap) ToChatEngineMapOutputWithContext

func (i ChatEngineMap) ToChatEngineMapOutputWithContext(ctx context.Context) ChatEngineMapOutput

type ChatEngineMapInput

type ChatEngineMapInput interface {
	pulumi.Input

	ToChatEngineMapOutput() ChatEngineMapOutput
	ToChatEngineMapOutputWithContext(context.Context) ChatEngineMapOutput
}

ChatEngineMapInput is an input type that accepts ChatEngineMap and ChatEngineMapOutput values. You can construct a concrete instance of `ChatEngineMapInput` via:

ChatEngineMap{ "key": ChatEngineArgs{...} }

type ChatEngineMapOutput

type ChatEngineMapOutput struct{ *pulumi.OutputState }

func (ChatEngineMapOutput) ElementType

func (ChatEngineMapOutput) ElementType() reflect.Type

func (ChatEngineMapOutput) MapIndex

func (ChatEngineMapOutput) ToChatEngineMapOutput

func (o ChatEngineMapOutput) ToChatEngineMapOutput() ChatEngineMapOutput

func (ChatEngineMapOutput) ToChatEngineMapOutputWithContext

func (o ChatEngineMapOutput) ToChatEngineMapOutputWithContext(ctx context.Context) ChatEngineMapOutput

type ChatEngineOutput

type ChatEngineOutput struct{ *pulumi.OutputState }

func (ChatEngineOutput) ChatEngineConfig

Configurations for a chat Engine. Structure is documented below.

func (ChatEngineOutput) ChatEngineMetadatas

Additional information of the Chat Engine. Structure is documented below.

func (ChatEngineOutput) CollectionId

func (o ChatEngineOutput) CollectionId() pulumi.StringOutput

The collection ID.

func (ChatEngineOutput) CommonConfig

Common config spec that specifies the metadata of the engine.

func (ChatEngineOutput) CreateTime

func (o ChatEngineOutput) CreateTime() pulumi.StringOutput

Timestamp the Engine was created at.

func (ChatEngineOutput) DataStoreIds

func (o ChatEngineOutput) DataStoreIds() pulumi.StringArrayOutput

The data stores associated with this engine. Multiple DataStores in the same Collection can be associated here. All listed DataStores must be `SOLUTION_TYPE_CHAT`. Adding or removing data stores will force recreation.

func (ChatEngineOutput) DisplayName

func (o ChatEngineOutput) DisplayName() pulumi.StringOutput

The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.

func (ChatEngineOutput) ElementType

func (ChatEngineOutput) ElementType() reflect.Type

func (ChatEngineOutput) EngineId

func (o ChatEngineOutput) EngineId() pulumi.StringOutput

The ID to use for chat engine.

func (ChatEngineOutput) IndustryVertical

func (o ChatEngineOutput) IndustryVertical() pulumi.StringPtrOutput

The industry vertical that the chat engine registers. Vertical on Engine has to match vertical of the DataStore linked to the engine. Default value: "GENERIC" Possible values: ["GENERIC"]

func (ChatEngineOutput) Location

func (o ChatEngineOutput) Location() pulumi.StringOutput

Location.

func (ChatEngineOutput) Name

The unique full resource name of the chat engine. Values are of the format `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.

func (ChatEngineOutput) Project

func (o ChatEngineOutput) Project() pulumi.StringOutput

func (ChatEngineOutput) ToChatEngineOutput

func (o ChatEngineOutput) ToChatEngineOutput() ChatEngineOutput

func (ChatEngineOutput) ToChatEngineOutputWithContext

func (o ChatEngineOutput) ToChatEngineOutputWithContext(ctx context.Context) ChatEngineOutput

func (ChatEngineOutput) UpdateTime

func (o ChatEngineOutput) UpdateTime() pulumi.StringOutput

Timestamp the Engine was last updated.

type ChatEngineState

type ChatEngineState struct {
	// Configurations for a chat Engine.
	// Structure is documented below.
	ChatEngineConfig ChatEngineChatEngineConfigPtrInput
	// Additional information of the Chat Engine.
	// Structure is documented below.
	ChatEngineMetadatas ChatEngineChatEngineMetadataArrayInput
	// The collection ID.
	CollectionId pulumi.StringPtrInput
	// Common config spec that specifies the metadata of the engine.
	CommonConfig ChatEngineCommonConfigPtrInput
	// Timestamp the Engine was created at.
	CreateTime pulumi.StringPtrInput
	// The data stores associated with this engine. Multiple DataStores in the same Collection can be associated here. All listed DataStores must be `SOLUTION_TYPE_CHAT`. Adding or removing data stores will force recreation.
	DataStoreIds pulumi.StringArrayInput
	// The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
	DisplayName pulumi.StringPtrInput
	// The ID to use for chat engine.
	EngineId pulumi.StringPtrInput
	// The industry vertical that the chat engine registers. Vertical on Engine has to match vertical of the DataStore linked
	// to the engine. Default value: "GENERIC" Possible values: ["GENERIC"]
	IndustryVertical pulumi.StringPtrInput
	// Location.
	Location pulumi.StringPtrInput
	// The unique full resource name of the chat engine. Values are of the format
	// `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.
	// This field must be a UTF-8 encoded string with a length limit of 1024
	// characters.
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	// Timestamp the Engine was last updated.
	UpdateTime pulumi.StringPtrInput
}

func (ChatEngineState) ElementType

func (ChatEngineState) ElementType() reflect.Type

type DataStore

type DataStore struct {
	pulumi.CustomResourceState

	// The content config of the data store.
	// Possible values are: `NO_CONTENT`, `CONTENT_REQUIRED`, `PUBLIC_WEBSITE`.
	ContentConfig pulumi.StringOutput `pulumi:"contentConfig"`
	// If true, an advanced data store for site search will be created. If the
	// data store is not configured as site search (GENERIC vertical and
	// PUBLIC_WEBSITE contentConfig), this flag will be ignored.
	CreateAdvancedSiteSearch pulumi.BoolPtrOutput `pulumi:"createAdvancedSiteSearch"`
	// Timestamp when the DataStore was created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The unique id of the data store.
	//
	// ***
	DataStoreId pulumi.StringOutput `pulumi:"dataStoreId"`
	// The id of the default Schema associated with this data store.
	DefaultSchemaId pulumi.StringOutput `pulumi:"defaultSchemaId"`
	// The display name of the data store. This field must be a UTF-8 encoded
	// string with a length limit of 128 characters.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// Configuration for Document understanding and enrichment.
	// Structure is documented below.
	DocumentProcessingConfig DataStoreDocumentProcessingConfigPtrOutput `pulumi:"documentProcessingConfig"`
	// The industry vertical that the data store registers.
	// Possible values are: `GENERIC`, `MEDIA`, `HEALTHCARE_FHIR`.
	IndustryVertical pulumi.StringOutput `pulumi:"industryVertical"`
	// The geographic location where the data store should reside. The value can
	// only be one of "global", "us" and "eu".
	Location pulumi.StringOutput `pulumi:"location"`
	// The unique full resource name of the data store. Values are of the format
	// `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
	// This field must be a UTF-8 encoded string with a length limit of 1024
	// characters.
	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"`
	// A boolean flag indicating whether to skip the default schema creation for
	// the data store. Only enable this flag if you are certain that the default
	// schema is incompatible with your use case.
	// If set to true, you must manually create a schema for the data store
	// before any documents can be ingested.
	// This flag cannot be specified if `data_store.starting_schema` is
	// specified.
	SkipDefaultSchemaCreation pulumi.BoolPtrOutput `pulumi:"skipDefaultSchemaCreation"`
	// The solutions that the data store enrolls.
	// Each value may be one of: `SOLUTION_TYPE_RECOMMENDATION`, `SOLUTION_TYPE_SEARCH`, `SOLUTION_TYPE_CHAT`, `SOLUTION_TYPE_GENERATIVE_CHAT`.
	SolutionTypes pulumi.StringArrayOutput `pulumi:"solutionTypes"`
}

Data store is a collection of websites and documents used to find answers for end-user's questions in Discovery Engine (a.k.a. Vertex AI Search and Conversation).

To get more information about DataStore, see:

* [API documentation](https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1/projects.locations.collections.dataStores) * How-to Guides

## Example Usage

### Discoveryengine Datastore Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/discoveryengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := discoveryengine.NewDataStore(ctx, "basic", &discoveryengine.DataStoreArgs{
			Location:         pulumi.String("global"),
			DataStoreId:      pulumi.String("data-store-id"),
			DisplayName:      pulumi.String("tf-test-structured-datastore"),
			IndustryVertical: pulumi.String("GENERIC"),
			ContentConfig:    pulumi.String("NO_CONTENT"),
			SolutionTypes: pulumi.StringArray{
				pulumi.String("SOLUTION_TYPE_SEARCH"),
			},
			CreateAdvancedSiteSearch:  pulumi.Bool(false),
			SkipDefaultSchemaCreation: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Discoveryengine Datastore Document Processing Config

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/discoveryengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := discoveryengine.NewDataStore(ctx, "document_processing_config", &discoveryengine.DataStoreArgs{
			Location:         pulumi.String("global"),
			DataStoreId:      pulumi.String("data-store-id"),
			DisplayName:      pulumi.String("tf-test-structured-datastore"),
			IndustryVertical: pulumi.String("GENERIC"),
			ContentConfig:    pulumi.String("NO_CONTENT"),
			SolutionTypes: pulumi.StringArray{
				pulumi.String("SOLUTION_TYPE_SEARCH"),
			},
			CreateAdvancedSiteSearch: pulumi.Bool(false),
			DocumentProcessingConfig: &discoveryengine.DataStoreDocumentProcessingConfigArgs{
				DefaultParsingConfig: &discoveryengine.DataStoreDocumentProcessingConfigDefaultParsingConfigArgs{
					DigitalParsingConfig: &discoveryengine.DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgs{},
				},
				ParsingConfigOverrides: discoveryengine.DataStoreDocumentProcessingConfigParsingConfigOverrideArray{
					&discoveryengine.DataStoreDocumentProcessingConfigParsingConfigOverrideArgs{
						FileType: pulumi.String("pdf"),
						OcrParsingConfig: &discoveryengine.DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs{
							UseNativeText: pulumi.Bool(true),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

DataStore can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/collections/default_collection/dataStores/{{data_store_id}}`

* `{{project}}/{{location}}/{{data_store_id}}`

* `{{location}}/{{data_store_id}}`

When using the `pulumi import` command, DataStore can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:discoveryengine/dataStore:DataStore default projects/{{project}}/locations/{{location}}/collections/default_collection/dataStores/{{data_store_id}} ```

```sh $ pulumi import gcp:discoveryengine/dataStore:DataStore default {{project}}/{{location}}/{{data_store_id}} ```

```sh $ pulumi import gcp:discoveryengine/dataStore:DataStore default {{location}}/{{data_store_id}} ```

func GetDataStore

func GetDataStore(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DataStoreState, opts ...pulumi.ResourceOption) (*DataStore, error)

GetDataStore gets an existing DataStore 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 NewDataStore

func NewDataStore(ctx *pulumi.Context,
	name string, args *DataStoreArgs, opts ...pulumi.ResourceOption) (*DataStore, error)

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

func (*DataStore) ElementType

func (*DataStore) ElementType() reflect.Type

func (*DataStore) ToDataStoreOutput

func (i *DataStore) ToDataStoreOutput() DataStoreOutput

func (*DataStore) ToDataStoreOutputWithContext

func (i *DataStore) ToDataStoreOutputWithContext(ctx context.Context) DataStoreOutput

type DataStoreArgs

type DataStoreArgs struct {
	// The content config of the data store.
	// Possible values are: `NO_CONTENT`, `CONTENT_REQUIRED`, `PUBLIC_WEBSITE`.
	ContentConfig pulumi.StringInput
	// If true, an advanced data store for site search will be created. If the
	// data store is not configured as site search (GENERIC vertical and
	// PUBLIC_WEBSITE contentConfig), this flag will be ignored.
	CreateAdvancedSiteSearch pulumi.BoolPtrInput
	// The unique id of the data store.
	//
	// ***
	DataStoreId pulumi.StringInput
	// The display name of the data store. This field must be a UTF-8 encoded
	// string with a length limit of 128 characters.
	DisplayName pulumi.StringInput
	// Configuration for Document understanding and enrichment.
	// Structure is documented below.
	DocumentProcessingConfig DataStoreDocumentProcessingConfigPtrInput
	// The industry vertical that the data store registers.
	// Possible values are: `GENERIC`, `MEDIA`, `HEALTHCARE_FHIR`.
	IndustryVertical pulumi.StringInput
	// The geographic location where the data store should reside. The value can
	// only be one of "global", "us" and "eu".
	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
	// A boolean flag indicating whether to skip the default schema creation for
	// the data store. Only enable this flag if you are certain that the default
	// schema is incompatible with your use case.
	// If set to true, you must manually create a schema for the data store
	// before any documents can be ingested.
	// This flag cannot be specified if `data_store.starting_schema` is
	// specified.
	SkipDefaultSchemaCreation pulumi.BoolPtrInput
	// The solutions that the data store enrolls.
	// Each value may be one of: `SOLUTION_TYPE_RECOMMENDATION`, `SOLUTION_TYPE_SEARCH`, `SOLUTION_TYPE_CHAT`, `SOLUTION_TYPE_GENERATIVE_CHAT`.
	SolutionTypes pulumi.StringArrayInput
}

The set of arguments for constructing a DataStore resource.

func (DataStoreArgs) ElementType

func (DataStoreArgs) ElementType() reflect.Type

type DataStoreArray

type DataStoreArray []DataStoreInput

func (DataStoreArray) ElementType

func (DataStoreArray) ElementType() reflect.Type

func (DataStoreArray) ToDataStoreArrayOutput

func (i DataStoreArray) ToDataStoreArrayOutput() DataStoreArrayOutput

func (DataStoreArray) ToDataStoreArrayOutputWithContext

func (i DataStoreArray) ToDataStoreArrayOutputWithContext(ctx context.Context) DataStoreArrayOutput

type DataStoreArrayInput

type DataStoreArrayInput interface {
	pulumi.Input

	ToDataStoreArrayOutput() DataStoreArrayOutput
	ToDataStoreArrayOutputWithContext(context.Context) DataStoreArrayOutput
}

DataStoreArrayInput is an input type that accepts DataStoreArray and DataStoreArrayOutput values. You can construct a concrete instance of `DataStoreArrayInput` via:

DataStoreArray{ DataStoreArgs{...} }

type DataStoreArrayOutput

type DataStoreArrayOutput struct{ *pulumi.OutputState }

func (DataStoreArrayOutput) ElementType

func (DataStoreArrayOutput) ElementType() reflect.Type

func (DataStoreArrayOutput) Index

func (DataStoreArrayOutput) ToDataStoreArrayOutput

func (o DataStoreArrayOutput) ToDataStoreArrayOutput() DataStoreArrayOutput

func (DataStoreArrayOutput) ToDataStoreArrayOutputWithContext

func (o DataStoreArrayOutput) ToDataStoreArrayOutputWithContext(ctx context.Context) DataStoreArrayOutput

type DataStoreDocumentProcessingConfig

type DataStoreDocumentProcessingConfig struct {
	// Whether chunking mode is enabled.
	// Structure is documented below.
	ChunkingConfig *DataStoreDocumentProcessingConfigChunkingConfig `pulumi:"chunkingConfig"`
	// Configurations for default Document parser. If not specified, this resource
	// will be configured to use a default DigitalParsingConfig, and the default parsing
	// config will be applied to all file types for Document parsing.
	// Structure is documented below.
	DefaultParsingConfig *DataStoreDocumentProcessingConfigDefaultParsingConfig `pulumi:"defaultParsingConfig"`
	// (Output)
	// The full resource name of the Document Processing Config. Format:
	// `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig`.
	Name *string `pulumi:"name"`
	// Map from file type to override the default parsing configuration based on the file type. Supported keys:
	ParsingConfigOverrides []DataStoreDocumentProcessingConfigParsingConfigOverride `pulumi:"parsingConfigOverrides"`
}

type DataStoreDocumentProcessingConfigArgs

type DataStoreDocumentProcessingConfigArgs struct {
	// Whether chunking mode is enabled.
	// Structure is documented below.
	ChunkingConfig DataStoreDocumentProcessingConfigChunkingConfigPtrInput `pulumi:"chunkingConfig"`
	// Configurations for default Document parser. If not specified, this resource
	// will be configured to use a default DigitalParsingConfig, and the default parsing
	// config will be applied to all file types for Document parsing.
	// Structure is documented below.
	DefaultParsingConfig DataStoreDocumentProcessingConfigDefaultParsingConfigPtrInput `pulumi:"defaultParsingConfig"`
	// (Output)
	// The full resource name of the Document Processing Config. Format:
	// `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig`.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Map from file type to override the default parsing configuration based on the file type. Supported keys:
	ParsingConfigOverrides DataStoreDocumentProcessingConfigParsingConfigOverrideArrayInput `pulumi:"parsingConfigOverrides"`
}

func (DataStoreDocumentProcessingConfigArgs) ElementType

func (DataStoreDocumentProcessingConfigArgs) ToDataStoreDocumentProcessingConfigOutput

func (i DataStoreDocumentProcessingConfigArgs) ToDataStoreDocumentProcessingConfigOutput() DataStoreDocumentProcessingConfigOutput

func (DataStoreDocumentProcessingConfigArgs) ToDataStoreDocumentProcessingConfigOutputWithContext

func (i DataStoreDocumentProcessingConfigArgs) ToDataStoreDocumentProcessingConfigOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigOutput

func (DataStoreDocumentProcessingConfigArgs) ToDataStoreDocumentProcessingConfigPtrOutput

func (i DataStoreDocumentProcessingConfigArgs) ToDataStoreDocumentProcessingConfigPtrOutput() DataStoreDocumentProcessingConfigPtrOutput

func (DataStoreDocumentProcessingConfigArgs) ToDataStoreDocumentProcessingConfigPtrOutputWithContext

func (i DataStoreDocumentProcessingConfigArgs) ToDataStoreDocumentProcessingConfigPtrOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigPtrOutput

type DataStoreDocumentProcessingConfigChunkingConfig added in v8.1.0

type DataStoreDocumentProcessingConfigChunkingConfig struct {
	// Configuration for the layout based chunking.
	// Structure is documented below.
	LayoutBasedChunkingConfig *DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig `pulumi:"layoutBasedChunkingConfig"`
}

type DataStoreDocumentProcessingConfigChunkingConfigArgs added in v8.1.0

type DataStoreDocumentProcessingConfigChunkingConfigArgs struct {
	// Configuration for the layout based chunking.
	// Structure is documented below.
	LayoutBasedChunkingConfig DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrInput `pulumi:"layoutBasedChunkingConfig"`
}

func (DataStoreDocumentProcessingConfigChunkingConfigArgs) ElementType added in v8.1.0

func (DataStoreDocumentProcessingConfigChunkingConfigArgs) ToDataStoreDocumentProcessingConfigChunkingConfigOutput added in v8.1.0

func (i DataStoreDocumentProcessingConfigChunkingConfigArgs) ToDataStoreDocumentProcessingConfigChunkingConfigOutput() DataStoreDocumentProcessingConfigChunkingConfigOutput

func (DataStoreDocumentProcessingConfigChunkingConfigArgs) ToDataStoreDocumentProcessingConfigChunkingConfigOutputWithContext added in v8.1.0

func (i DataStoreDocumentProcessingConfigChunkingConfigArgs) ToDataStoreDocumentProcessingConfigChunkingConfigOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigChunkingConfigOutput

func (DataStoreDocumentProcessingConfigChunkingConfigArgs) ToDataStoreDocumentProcessingConfigChunkingConfigPtrOutput added in v8.1.0

func (i DataStoreDocumentProcessingConfigChunkingConfigArgs) ToDataStoreDocumentProcessingConfigChunkingConfigPtrOutput() DataStoreDocumentProcessingConfigChunkingConfigPtrOutput

func (DataStoreDocumentProcessingConfigChunkingConfigArgs) ToDataStoreDocumentProcessingConfigChunkingConfigPtrOutputWithContext added in v8.1.0

func (i DataStoreDocumentProcessingConfigChunkingConfigArgs) ToDataStoreDocumentProcessingConfigChunkingConfigPtrOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigChunkingConfigPtrOutput

type DataStoreDocumentProcessingConfigChunkingConfigInput added in v8.1.0

type DataStoreDocumentProcessingConfigChunkingConfigInput interface {
	pulumi.Input

	ToDataStoreDocumentProcessingConfigChunkingConfigOutput() DataStoreDocumentProcessingConfigChunkingConfigOutput
	ToDataStoreDocumentProcessingConfigChunkingConfigOutputWithContext(context.Context) DataStoreDocumentProcessingConfigChunkingConfigOutput
}

DataStoreDocumentProcessingConfigChunkingConfigInput is an input type that accepts DataStoreDocumentProcessingConfigChunkingConfigArgs and DataStoreDocumentProcessingConfigChunkingConfigOutput values. You can construct a concrete instance of `DataStoreDocumentProcessingConfigChunkingConfigInput` via:

DataStoreDocumentProcessingConfigChunkingConfigArgs{...}

type DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig added in v8.1.0

type DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig struct {
	// The token size limit for each chunk.
	// Supported values: 100-500 (inclusive). Default value: 500.
	ChunkSize *int `pulumi:"chunkSize"`
	// Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss.
	// Default value: False.
	IncludeAncestorHeadings *bool `pulumi:"includeAncestorHeadings"`
}

type DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs added in v8.1.0

type DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs struct {
	// The token size limit for each chunk.
	// Supported values: 100-500 (inclusive). Default value: 500.
	ChunkSize pulumi.IntPtrInput `pulumi:"chunkSize"`
	// Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss.
	// Default value: False.
	IncludeAncestorHeadings pulumi.BoolPtrInput `pulumi:"includeAncestorHeadings"`
}

func (DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs) ElementType added in v8.1.0

func (DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs) ToDataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigOutput added in v8.1.0

func (DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs) ToDataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigOutputWithContext added in v8.1.0

func (DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs) ToDataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrOutput added in v8.1.0

func (DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs) ToDataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrOutputWithContext added in v8.1.0

func (i DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs) ToDataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrOutput

type DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigInput added in v8.1.0

type DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigInput interface {
	pulumi.Input

	ToDataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigOutput() DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigOutput
	ToDataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigOutputWithContext(context.Context) DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigOutput
}

DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigInput is an input type that accepts DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs and DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigOutput values. You can construct a concrete instance of `DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigInput` via:

DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs{...}

type DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigOutput added in v8.1.0

type DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigOutput struct{ *pulumi.OutputState }

func (DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigOutput) ChunkSize added in v8.1.0

The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.

func (DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigOutput) ElementType added in v8.1.0

func (DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigOutput) IncludeAncestorHeadings added in v8.1.0

Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.

func (DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigOutput) ToDataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigOutput added in v8.1.0

func (DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigOutput) ToDataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigOutputWithContext added in v8.1.0

func (DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigOutput) ToDataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrOutput added in v8.1.0

func (DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigOutput) ToDataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrOutputWithContext added in v8.1.0

type DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrInput added in v8.1.0

type DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrInput interface {
	pulumi.Input

	ToDataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrOutput() DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrOutput
	ToDataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrOutputWithContext(context.Context) DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrOutput
}

DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrInput is an input type that accepts DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs, DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtr and DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrOutput values. You can construct a concrete instance of `DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrInput` via:

        DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigArgs{...}

or:

        nil

type DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrOutput added in v8.1.0

type DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrOutput struct{ *pulumi.OutputState }

func (DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrOutput) ChunkSize added in v8.1.0

The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.

func (DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrOutput) Elem added in v8.1.0

func (DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrOutput) ElementType added in v8.1.0

func (DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrOutput) IncludeAncestorHeadings added in v8.1.0

Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.

func (DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrOutput) ToDataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrOutput added in v8.1.0

func (DataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrOutput) ToDataStoreDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfigPtrOutputWithContext added in v8.1.0

type DataStoreDocumentProcessingConfigChunkingConfigOutput added in v8.1.0

type DataStoreDocumentProcessingConfigChunkingConfigOutput struct{ *pulumi.OutputState }

func (DataStoreDocumentProcessingConfigChunkingConfigOutput) ElementType added in v8.1.0

func (DataStoreDocumentProcessingConfigChunkingConfigOutput) LayoutBasedChunkingConfig added in v8.1.0

Configuration for the layout based chunking. Structure is documented below.

func (DataStoreDocumentProcessingConfigChunkingConfigOutput) ToDataStoreDocumentProcessingConfigChunkingConfigOutput added in v8.1.0

func (DataStoreDocumentProcessingConfigChunkingConfigOutput) ToDataStoreDocumentProcessingConfigChunkingConfigOutputWithContext added in v8.1.0

func (o DataStoreDocumentProcessingConfigChunkingConfigOutput) ToDataStoreDocumentProcessingConfigChunkingConfigOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigChunkingConfigOutput

func (DataStoreDocumentProcessingConfigChunkingConfigOutput) ToDataStoreDocumentProcessingConfigChunkingConfigPtrOutput added in v8.1.0

func (o DataStoreDocumentProcessingConfigChunkingConfigOutput) ToDataStoreDocumentProcessingConfigChunkingConfigPtrOutput() DataStoreDocumentProcessingConfigChunkingConfigPtrOutput

func (DataStoreDocumentProcessingConfigChunkingConfigOutput) ToDataStoreDocumentProcessingConfigChunkingConfigPtrOutputWithContext added in v8.1.0

func (o DataStoreDocumentProcessingConfigChunkingConfigOutput) ToDataStoreDocumentProcessingConfigChunkingConfigPtrOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigChunkingConfigPtrOutput

type DataStoreDocumentProcessingConfigChunkingConfigPtrInput added in v8.1.0

type DataStoreDocumentProcessingConfigChunkingConfigPtrInput interface {
	pulumi.Input

	ToDataStoreDocumentProcessingConfigChunkingConfigPtrOutput() DataStoreDocumentProcessingConfigChunkingConfigPtrOutput
	ToDataStoreDocumentProcessingConfigChunkingConfigPtrOutputWithContext(context.Context) DataStoreDocumentProcessingConfigChunkingConfigPtrOutput
}

DataStoreDocumentProcessingConfigChunkingConfigPtrInput is an input type that accepts DataStoreDocumentProcessingConfigChunkingConfigArgs, DataStoreDocumentProcessingConfigChunkingConfigPtr and DataStoreDocumentProcessingConfigChunkingConfigPtrOutput values. You can construct a concrete instance of `DataStoreDocumentProcessingConfigChunkingConfigPtrInput` via:

        DataStoreDocumentProcessingConfigChunkingConfigArgs{...}

or:

        nil

type DataStoreDocumentProcessingConfigChunkingConfigPtrOutput added in v8.1.0

type DataStoreDocumentProcessingConfigChunkingConfigPtrOutput struct{ *pulumi.OutputState }

func (DataStoreDocumentProcessingConfigChunkingConfigPtrOutput) Elem added in v8.1.0

func (DataStoreDocumentProcessingConfigChunkingConfigPtrOutput) ElementType added in v8.1.0

func (DataStoreDocumentProcessingConfigChunkingConfigPtrOutput) LayoutBasedChunkingConfig added in v8.1.0

Configuration for the layout based chunking. Structure is documented below.

func (DataStoreDocumentProcessingConfigChunkingConfigPtrOutput) ToDataStoreDocumentProcessingConfigChunkingConfigPtrOutput added in v8.1.0

func (DataStoreDocumentProcessingConfigChunkingConfigPtrOutput) ToDataStoreDocumentProcessingConfigChunkingConfigPtrOutputWithContext added in v8.1.0

func (o DataStoreDocumentProcessingConfigChunkingConfigPtrOutput) ToDataStoreDocumentProcessingConfigChunkingConfigPtrOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigChunkingConfigPtrOutput

type DataStoreDocumentProcessingConfigDefaultParsingConfig

type DataStoreDocumentProcessingConfigDefaultParsingConfig struct {
	// Configurations applied to digital parser.
	DigitalParsingConfig *DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfig `pulumi:"digitalParsingConfig"`
	// Configurations applied to layout parser.
	LayoutParsingConfig *DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfig `pulumi:"layoutParsingConfig"`
	// Configurations applied to OCR parser. Currently it only applies to PDFs.
	// Structure is documented below.
	OcrParsingConfig *DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfig `pulumi:"ocrParsingConfig"`
}

type DataStoreDocumentProcessingConfigDefaultParsingConfigArgs

type DataStoreDocumentProcessingConfigDefaultParsingConfigArgs struct {
	// Configurations applied to digital parser.
	DigitalParsingConfig DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigPtrInput `pulumi:"digitalParsingConfig"`
	// Configurations applied to layout parser.
	LayoutParsingConfig DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrInput `pulumi:"layoutParsingConfig"`
	// Configurations applied to OCR parser. Currently it only applies to PDFs.
	// Structure is documented below.
	OcrParsingConfig DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrInput `pulumi:"ocrParsingConfig"`
}

func (DataStoreDocumentProcessingConfigDefaultParsingConfigArgs) ElementType

func (DataStoreDocumentProcessingConfigDefaultParsingConfigArgs) ToDataStoreDocumentProcessingConfigDefaultParsingConfigOutput

func (DataStoreDocumentProcessingConfigDefaultParsingConfigArgs) ToDataStoreDocumentProcessingConfigDefaultParsingConfigOutputWithContext

func (i DataStoreDocumentProcessingConfigDefaultParsingConfigArgs) ToDataStoreDocumentProcessingConfigDefaultParsingConfigOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigDefaultParsingConfigOutput

func (DataStoreDocumentProcessingConfigDefaultParsingConfigArgs) ToDataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutput

func (DataStoreDocumentProcessingConfigDefaultParsingConfigArgs) ToDataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutputWithContext

func (i DataStoreDocumentProcessingConfigDefaultParsingConfigArgs) ToDataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutput

type DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfig

type DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfig struct {
}

type DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgs

type DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgs struct {
}

func (DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgs) ElementType

func (DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgs) ToDataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigOutput

func (DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgs) ToDataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigOutputWithContext

func (DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgs) ToDataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigPtrOutput

func (DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgs) ToDataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigPtrOutputWithContext

type DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigInput

type DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigInput interface {
	pulumi.Input

	ToDataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigOutput() DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigOutput
	ToDataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigOutputWithContext(context.Context) DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigOutput
}

DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigInput is an input type that accepts DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgs and DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigOutput values. You can construct a concrete instance of `DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigInput` via:

DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgs{...}

type DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigOutput

type DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigOutput struct{ *pulumi.OutputState }

func (DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigOutput) ElementType

func (DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigOutput

func (DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigOutputWithContext

func (DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigPtrOutput

func (DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigPtrOutputWithContext

type DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigPtrInput

type DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigPtrInput interface {
	pulumi.Input

	ToDataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigPtrOutput() DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigPtrOutput
	ToDataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigPtrOutputWithContext(context.Context) DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigPtrOutput
}

DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigPtrInput is an input type that accepts DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgs, DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigPtr and DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigPtrOutput values. You can construct a concrete instance of `DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigPtrInput` via:

        DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigArgs{...}

or:

        nil

type DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigPtrOutput

type DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigPtrOutput struct{ *pulumi.OutputState }

func (DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigPtrOutput) ElementType

func (DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigPtrOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigPtrOutput

func (DataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigPtrOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigDigitalParsingConfigPtrOutputWithContext

type DataStoreDocumentProcessingConfigDefaultParsingConfigInput

type DataStoreDocumentProcessingConfigDefaultParsingConfigInput interface {
	pulumi.Input

	ToDataStoreDocumentProcessingConfigDefaultParsingConfigOutput() DataStoreDocumentProcessingConfigDefaultParsingConfigOutput
	ToDataStoreDocumentProcessingConfigDefaultParsingConfigOutputWithContext(context.Context) DataStoreDocumentProcessingConfigDefaultParsingConfigOutput
}

DataStoreDocumentProcessingConfigDefaultParsingConfigInput is an input type that accepts DataStoreDocumentProcessingConfigDefaultParsingConfigArgs and DataStoreDocumentProcessingConfigDefaultParsingConfigOutput values. You can construct a concrete instance of `DataStoreDocumentProcessingConfigDefaultParsingConfigInput` via:

DataStoreDocumentProcessingConfigDefaultParsingConfigArgs{...}

type DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfig added in v8.1.0

type DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfig struct {
}

type DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgs added in v8.1.0

type DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgs struct {
}

func (DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgs) ElementType added in v8.1.0

func (DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgs) ToDataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigOutput added in v8.1.0

func (DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgs) ToDataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigOutputWithContext added in v8.1.0

func (DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgs) ToDataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrOutput added in v8.1.0

func (DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgs) ToDataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrOutputWithContext added in v8.1.0

func (i DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgs) ToDataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrOutput

type DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigInput added in v8.1.0

type DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigInput interface {
	pulumi.Input

	ToDataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigOutput() DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigOutput
	ToDataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigOutputWithContext(context.Context) DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigOutput
}

DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigInput is an input type that accepts DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgs and DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigOutput values. You can construct a concrete instance of `DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigInput` via:

DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgs{...}

type DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigOutput added in v8.1.0

type DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigOutput struct{ *pulumi.OutputState }

func (DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigOutput) ElementType added in v8.1.0

func (DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigOutput added in v8.1.0

func (DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigOutputWithContext added in v8.1.0

func (DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrOutput added in v8.1.0

func (DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrOutputWithContext added in v8.1.0

type DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrInput added in v8.1.0

type DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrInput interface {
	pulumi.Input

	ToDataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrOutput() DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrOutput
	ToDataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrOutputWithContext(context.Context) DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrOutput
}

DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrInput is an input type that accepts DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgs, DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtr and DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrOutput values. You can construct a concrete instance of `DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrInput` via:

        DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigArgs{...}

or:

        nil

type DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrOutput added in v8.1.0

type DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrOutput struct{ *pulumi.OutputState }

func (DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrOutput) Elem added in v8.1.0

func (DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrOutput) ElementType added in v8.1.0

func (DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrOutput added in v8.1.0

func (DataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigLayoutParsingConfigPtrOutputWithContext added in v8.1.0

type DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfig

type DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfig struct {
	// If true, will use native text instead of OCR text on pages containing native text.
	UseNativeText *bool `pulumi:"useNativeText"`
}

type DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs

type DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs struct {
	// If true, will use native text instead of OCR text on pages containing native text.
	UseNativeText pulumi.BoolPtrInput `pulumi:"useNativeText"`
}

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs) ElementType

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs) ToDataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigOutput

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs) ToDataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigOutputWithContext

func (i DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs) ToDataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigOutput

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs) ToDataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrOutput

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs) ToDataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrOutputWithContext

func (i DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs) ToDataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrOutput

type DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigInput

type DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigInput interface {
	pulumi.Input

	ToDataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigOutput() DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigOutput
	ToDataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigOutputWithContext(context.Context) DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigOutput
}

DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigInput is an input type that accepts DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs and DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigOutput values. You can construct a concrete instance of `DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigInput` via:

DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs{...}

type DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigOutput

type DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigOutput struct{ *pulumi.OutputState }

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigOutput) ElementType

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigOutput

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigOutputWithContext

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrOutput

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrOutputWithContext

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigOutput) UseNativeText

If true, will use native text instead of OCR text on pages containing native text.

type DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrInput

type DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrInput interface {
	pulumi.Input

	ToDataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrOutput() DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrOutput
	ToDataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrOutputWithContext(context.Context) DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrOutput
}

DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrInput is an input type that accepts DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs, DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtr and DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrOutput values. You can construct a concrete instance of `DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrInput` via:

        DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs{...}

or:

        nil

type DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrOutput

type DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrOutput struct{ *pulumi.OutputState }

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrOutput) Elem

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrOutput) ElementType

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrOutput

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrOutputWithContext

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigPtrOutput) UseNativeText

If true, will use native text instead of OCR text on pages containing native text.

type DataStoreDocumentProcessingConfigDefaultParsingConfigOutput

type DataStoreDocumentProcessingConfigDefaultParsingConfigOutput struct{ *pulumi.OutputState }

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOutput) DigitalParsingConfig

Configurations applied to digital parser.

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOutput) ElementType

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOutput) LayoutParsingConfig added in v8.1.0

Configurations applied to layout parser.

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOutput) OcrParsingConfig

Configurations applied to OCR parser. Currently it only applies to PDFs. Structure is documented below.

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigOutput

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigOutputWithContext

func (o DataStoreDocumentProcessingConfigDefaultParsingConfigOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigDefaultParsingConfigOutput

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutput

func (DataStoreDocumentProcessingConfigDefaultParsingConfigOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutputWithContext

func (o DataStoreDocumentProcessingConfigDefaultParsingConfigOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutput

type DataStoreDocumentProcessingConfigDefaultParsingConfigPtrInput

type DataStoreDocumentProcessingConfigDefaultParsingConfigPtrInput interface {
	pulumi.Input

	ToDataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutput() DataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutput
	ToDataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutputWithContext(context.Context) DataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutput
}

DataStoreDocumentProcessingConfigDefaultParsingConfigPtrInput is an input type that accepts DataStoreDocumentProcessingConfigDefaultParsingConfigArgs, DataStoreDocumentProcessingConfigDefaultParsingConfigPtr and DataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutput values. You can construct a concrete instance of `DataStoreDocumentProcessingConfigDefaultParsingConfigPtrInput` via:

        DataStoreDocumentProcessingConfigDefaultParsingConfigArgs{...}

or:

        nil

type DataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutput

type DataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutput struct{ *pulumi.OutputState }

func (DataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutput) DigitalParsingConfig

Configurations applied to digital parser.

func (DataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutput) Elem

func (DataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutput) ElementType

func (DataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutput) LayoutParsingConfig added in v8.1.0

Configurations applied to layout parser.

func (DataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutput) OcrParsingConfig

Configurations applied to OCR parser. Currently it only applies to PDFs. Structure is documented below.

func (DataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutput

func (DataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutputWithContext

func (o DataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutput) ToDataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigDefaultParsingConfigPtrOutput

type DataStoreDocumentProcessingConfigInput

type DataStoreDocumentProcessingConfigInput interface {
	pulumi.Input

	ToDataStoreDocumentProcessingConfigOutput() DataStoreDocumentProcessingConfigOutput
	ToDataStoreDocumentProcessingConfigOutputWithContext(context.Context) DataStoreDocumentProcessingConfigOutput
}

DataStoreDocumentProcessingConfigInput is an input type that accepts DataStoreDocumentProcessingConfigArgs and DataStoreDocumentProcessingConfigOutput values. You can construct a concrete instance of `DataStoreDocumentProcessingConfigInput` via:

DataStoreDocumentProcessingConfigArgs{...}

type DataStoreDocumentProcessingConfigOutput

type DataStoreDocumentProcessingConfigOutput struct{ *pulumi.OutputState }

func (DataStoreDocumentProcessingConfigOutput) ChunkingConfig added in v8.1.0

Whether chunking mode is enabled. Structure is documented below.

func (DataStoreDocumentProcessingConfigOutput) DefaultParsingConfig

Configurations for default Document parser. If not specified, this resource will be configured to use a default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing. Structure is documented below.

func (DataStoreDocumentProcessingConfigOutput) ElementType

func (DataStoreDocumentProcessingConfigOutput) Name

(Output) The full resource name of the Document Processing Config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig`.

func (DataStoreDocumentProcessingConfigOutput) ParsingConfigOverrides

Map from file type to override the default parsing configuration based on the file type. Supported keys:

func (DataStoreDocumentProcessingConfigOutput) ToDataStoreDocumentProcessingConfigOutput

func (o DataStoreDocumentProcessingConfigOutput) ToDataStoreDocumentProcessingConfigOutput() DataStoreDocumentProcessingConfigOutput

func (DataStoreDocumentProcessingConfigOutput) ToDataStoreDocumentProcessingConfigOutputWithContext

func (o DataStoreDocumentProcessingConfigOutput) ToDataStoreDocumentProcessingConfigOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigOutput

func (DataStoreDocumentProcessingConfigOutput) ToDataStoreDocumentProcessingConfigPtrOutput

func (o DataStoreDocumentProcessingConfigOutput) ToDataStoreDocumentProcessingConfigPtrOutput() DataStoreDocumentProcessingConfigPtrOutput

func (DataStoreDocumentProcessingConfigOutput) ToDataStoreDocumentProcessingConfigPtrOutputWithContext

func (o DataStoreDocumentProcessingConfigOutput) ToDataStoreDocumentProcessingConfigPtrOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigPtrOutput

type DataStoreDocumentProcessingConfigParsingConfigOverride

type DataStoreDocumentProcessingConfigParsingConfigOverride struct {
	// Configurations applied to digital parser.
	DigitalParsingConfig *DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfig `pulumi:"digitalParsingConfig"`
	// The identifier for this object. Format specified above.
	FileType string `pulumi:"fileType"`
	// Configurations applied to layout parser.
	LayoutParsingConfig *DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfig `pulumi:"layoutParsingConfig"`
	// Configurations applied to OCR parser. Currently it only applies to PDFs.
	// Structure is documented below.
	OcrParsingConfig *DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfig `pulumi:"ocrParsingConfig"`
}

type DataStoreDocumentProcessingConfigParsingConfigOverrideArgs

type DataStoreDocumentProcessingConfigParsingConfigOverrideArgs struct {
	// Configurations applied to digital parser.
	DigitalParsingConfig DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigPtrInput `pulumi:"digitalParsingConfig"`
	// The identifier for this object. Format specified above.
	FileType pulumi.StringInput `pulumi:"fileType"`
	// Configurations applied to layout parser.
	LayoutParsingConfig DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigPtrInput `pulumi:"layoutParsingConfig"`
	// Configurations applied to OCR parser. Currently it only applies to PDFs.
	// Structure is documented below.
	OcrParsingConfig DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrInput `pulumi:"ocrParsingConfig"`
}

func (DataStoreDocumentProcessingConfigParsingConfigOverrideArgs) ElementType

func (DataStoreDocumentProcessingConfigParsingConfigOverrideArgs) ToDataStoreDocumentProcessingConfigParsingConfigOverrideOutput

func (DataStoreDocumentProcessingConfigParsingConfigOverrideArgs) ToDataStoreDocumentProcessingConfigParsingConfigOverrideOutputWithContext

func (i DataStoreDocumentProcessingConfigParsingConfigOverrideArgs) ToDataStoreDocumentProcessingConfigParsingConfigOverrideOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigParsingConfigOverrideOutput

type DataStoreDocumentProcessingConfigParsingConfigOverrideArray

type DataStoreDocumentProcessingConfigParsingConfigOverrideArray []DataStoreDocumentProcessingConfigParsingConfigOverrideInput

func (DataStoreDocumentProcessingConfigParsingConfigOverrideArray) ElementType

func (DataStoreDocumentProcessingConfigParsingConfigOverrideArray) ToDataStoreDocumentProcessingConfigParsingConfigOverrideArrayOutput

func (DataStoreDocumentProcessingConfigParsingConfigOverrideArray) ToDataStoreDocumentProcessingConfigParsingConfigOverrideArrayOutputWithContext

func (i DataStoreDocumentProcessingConfigParsingConfigOverrideArray) ToDataStoreDocumentProcessingConfigParsingConfigOverrideArrayOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigParsingConfigOverrideArrayOutput

type DataStoreDocumentProcessingConfigParsingConfigOverrideArrayInput

type DataStoreDocumentProcessingConfigParsingConfigOverrideArrayInput interface {
	pulumi.Input

	ToDataStoreDocumentProcessingConfigParsingConfigOverrideArrayOutput() DataStoreDocumentProcessingConfigParsingConfigOverrideArrayOutput
	ToDataStoreDocumentProcessingConfigParsingConfigOverrideArrayOutputWithContext(context.Context) DataStoreDocumentProcessingConfigParsingConfigOverrideArrayOutput
}

DataStoreDocumentProcessingConfigParsingConfigOverrideArrayInput is an input type that accepts DataStoreDocumentProcessingConfigParsingConfigOverrideArray and DataStoreDocumentProcessingConfigParsingConfigOverrideArrayOutput values. You can construct a concrete instance of `DataStoreDocumentProcessingConfigParsingConfigOverrideArrayInput` via:

DataStoreDocumentProcessingConfigParsingConfigOverrideArray{ DataStoreDocumentProcessingConfigParsingConfigOverrideArgs{...} }

type DataStoreDocumentProcessingConfigParsingConfigOverrideArrayOutput

type DataStoreDocumentProcessingConfigParsingConfigOverrideArrayOutput struct{ *pulumi.OutputState }

func (DataStoreDocumentProcessingConfigParsingConfigOverrideArrayOutput) ElementType

func (DataStoreDocumentProcessingConfigParsingConfigOverrideArrayOutput) Index

func (DataStoreDocumentProcessingConfigParsingConfigOverrideArrayOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideArrayOutput

func (DataStoreDocumentProcessingConfigParsingConfigOverrideArrayOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideArrayOutputWithContext

func (o DataStoreDocumentProcessingConfigParsingConfigOverrideArrayOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideArrayOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigParsingConfigOverrideArrayOutput

type DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfig

type DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfig struct {
}

type DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigArgs

type DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigArgs struct {
}

func (DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigArgs) ElementType

func (DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigArgs) ToDataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigOutput

func (DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigArgs) ToDataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigOutputWithContext

func (DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigArgs) ToDataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigPtrOutput

func (DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigArgs) ToDataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigPtrOutputWithContext

type DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigInput

type DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigInput interface {
	pulumi.Input

	ToDataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigOutput() DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigOutput
	ToDataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigOutputWithContext(context.Context) DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigOutput
}

DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigInput is an input type that accepts DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigArgs and DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigOutput values. You can construct a concrete instance of `DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigInput` via:

DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigArgs{...}

type DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigOutput

type DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigOutput struct{ *pulumi.OutputState }

func (DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigOutput) ElementType

func (DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigOutput

func (DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigOutputWithContext

func (DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigPtrOutput

func (DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigPtrOutputWithContext

type DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigPtrInput

type DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigPtrInput interface {
	pulumi.Input

	ToDataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigPtrOutput() DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigPtrOutput
	ToDataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigPtrOutputWithContext(context.Context) DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigPtrOutput
}

DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigPtrInput is an input type that accepts DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigArgs, DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigPtr and DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigPtrOutput values. You can construct a concrete instance of `DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigPtrInput` via:

        DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigArgs{...}

or:

        nil

type DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigPtrOutput

type DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigPtrOutput struct{ *pulumi.OutputState }

func (DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigPtrOutput) ElementType

func (DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigPtrOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigPtrOutput

func (DataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigPtrOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideDigitalParsingConfigPtrOutputWithContext

type DataStoreDocumentProcessingConfigParsingConfigOverrideInput

type DataStoreDocumentProcessingConfigParsingConfigOverrideInput interface {
	pulumi.Input

	ToDataStoreDocumentProcessingConfigParsingConfigOverrideOutput() DataStoreDocumentProcessingConfigParsingConfigOverrideOutput
	ToDataStoreDocumentProcessingConfigParsingConfigOverrideOutputWithContext(context.Context) DataStoreDocumentProcessingConfigParsingConfigOverrideOutput
}

DataStoreDocumentProcessingConfigParsingConfigOverrideInput is an input type that accepts DataStoreDocumentProcessingConfigParsingConfigOverrideArgs and DataStoreDocumentProcessingConfigParsingConfigOverrideOutput values. You can construct a concrete instance of `DataStoreDocumentProcessingConfigParsingConfigOverrideInput` via:

DataStoreDocumentProcessingConfigParsingConfigOverrideArgs{...}

type DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfig added in v8.1.0

type DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfig struct {
}

type DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgs added in v8.1.0

type DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgs struct {
}

func (DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgs) ElementType added in v8.1.0

func (DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgs) ToDataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigOutput added in v8.1.0

func (DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgs) ToDataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigOutputWithContext added in v8.1.0

func (DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgs) ToDataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigPtrOutput added in v8.1.0

func (DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgs) ToDataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigPtrOutputWithContext added in v8.1.0

type DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigInput added in v8.1.0

type DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigInput interface {
	pulumi.Input

	ToDataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigOutput() DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigOutput
	ToDataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigOutputWithContext(context.Context) DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigOutput
}

DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigInput is an input type that accepts DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgs and DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigOutput values. You can construct a concrete instance of `DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigInput` via:

DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgs{...}

type DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigOutput added in v8.1.0

type DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigOutput struct{ *pulumi.OutputState }

func (DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigOutput) ElementType added in v8.1.0

func (DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigOutput added in v8.1.0

func (DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigOutputWithContext added in v8.1.0

func (DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigPtrOutput added in v8.1.0

func (DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigPtrOutputWithContext added in v8.1.0

type DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigPtrInput added in v8.1.0

type DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigPtrInput interface {
	pulumi.Input

	ToDataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigPtrOutput() DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigPtrOutput
	ToDataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigPtrOutputWithContext(context.Context) DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigPtrOutput
}

DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigPtrInput is an input type that accepts DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgs, DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigPtr and DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigPtrOutput values. You can construct a concrete instance of `DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigPtrInput` via:

        DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigArgs{...}

or:

        nil

type DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigPtrOutput added in v8.1.0

type DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigPtrOutput struct{ *pulumi.OutputState }

func (DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigPtrOutput) Elem added in v8.1.0

func (DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigPtrOutput) ElementType added in v8.1.0

func (DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigPtrOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigPtrOutput added in v8.1.0

func (DataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigPtrOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideLayoutParsingConfigPtrOutputWithContext added in v8.1.0

type DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfig

type DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfig struct {
	// If true, will use native text instead of OCR text on pages containing native text.
	UseNativeText *bool `pulumi:"useNativeText"`
}

type DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs

type DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs struct {
	// If true, will use native text instead of OCR text on pages containing native text.
	UseNativeText pulumi.BoolPtrInput `pulumi:"useNativeText"`
}

func (DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs) ElementType

func (DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs) ToDataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigOutput

func (DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs) ToDataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigOutputWithContext

func (DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs) ToDataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrOutput

func (DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs) ToDataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrOutputWithContext

func (i DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs) ToDataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrOutput

type DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigInput

type DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigInput interface {
	pulumi.Input

	ToDataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigOutput() DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigOutput
	ToDataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigOutputWithContext(context.Context) DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigOutput
}

DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigInput is an input type that accepts DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs and DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigOutput values. You can construct a concrete instance of `DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigInput` via:

DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs{...}

type DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigOutput

type DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigOutput struct{ *pulumi.OutputState }

func (DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigOutput) ElementType

func (DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigOutput

func (DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigOutputWithContext

func (DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrOutput

func (DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrOutputWithContext

func (DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigOutput) UseNativeText

If true, will use native text instead of OCR text on pages containing native text.

type DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrInput

type DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrInput interface {
	pulumi.Input

	ToDataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrOutput() DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrOutput
	ToDataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrOutputWithContext(context.Context) DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrOutput
}

DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrInput is an input type that accepts DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs, DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtr and DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrOutput values. You can construct a concrete instance of `DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrInput` via:

        DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigArgs{...}

or:

        nil

type DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrOutput

type DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrOutput struct{ *pulumi.OutputState }

func (DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrOutput) Elem

func (DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrOutput) ElementType

func (DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrOutput

func (DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrOutputWithContext

func (DataStoreDocumentProcessingConfigParsingConfigOverrideOcrParsingConfigPtrOutput) UseNativeText

If true, will use native text instead of OCR text on pages containing native text.

type DataStoreDocumentProcessingConfigParsingConfigOverrideOutput

type DataStoreDocumentProcessingConfigParsingConfigOverrideOutput struct{ *pulumi.OutputState }

func (DataStoreDocumentProcessingConfigParsingConfigOverrideOutput) DigitalParsingConfig

Configurations applied to digital parser.

func (DataStoreDocumentProcessingConfigParsingConfigOverrideOutput) ElementType

func (DataStoreDocumentProcessingConfigParsingConfigOverrideOutput) FileType

The identifier for this object. Format specified above.

func (DataStoreDocumentProcessingConfigParsingConfigOverrideOutput) LayoutParsingConfig added in v8.1.0

Configurations applied to layout parser.

func (DataStoreDocumentProcessingConfigParsingConfigOverrideOutput) OcrParsingConfig

Configurations applied to OCR parser. Currently it only applies to PDFs. Structure is documented below.

func (DataStoreDocumentProcessingConfigParsingConfigOverrideOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideOutput

func (DataStoreDocumentProcessingConfigParsingConfigOverrideOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideOutputWithContext

func (o DataStoreDocumentProcessingConfigParsingConfigOverrideOutput) ToDataStoreDocumentProcessingConfigParsingConfigOverrideOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigParsingConfigOverrideOutput

type DataStoreDocumentProcessingConfigPtrInput

type DataStoreDocumentProcessingConfigPtrInput interface {
	pulumi.Input

	ToDataStoreDocumentProcessingConfigPtrOutput() DataStoreDocumentProcessingConfigPtrOutput
	ToDataStoreDocumentProcessingConfigPtrOutputWithContext(context.Context) DataStoreDocumentProcessingConfigPtrOutput
}

DataStoreDocumentProcessingConfigPtrInput is an input type that accepts DataStoreDocumentProcessingConfigArgs, DataStoreDocumentProcessingConfigPtr and DataStoreDocumentProcessingConfigPtrOutput values. You can construct a concrete instance of `DataStoreDocumentProcessingConfigPtrInput` via:

        DataStoreDocumentProcessingConfigArgs{...}

or:

        nil

type DataStoreDocumentProcessingConfigPtrOutput

type DataStoreDocumentProcessingConfigPtrOutput struct{ *pulumi.OutputState }

func (DataStoreDocumentProcessingConfigPtrOutput) ChunkingConfig added in v8.1.0

Whether chunking mode is enabled. Structure is documented below.

func (DataStoreDocumentProcessingConfigPtrOutput) DefaultParsingConfig

Configurations for default Document parser. If not specified, this resource will be configured to use a default DigitalParsingConfig, and the default parsing config will be applied to all file types for Document parsing. Structure is documented below.

func (DataStoreDocumentProcessingConfigPtrOutput) Elem

func (DataStoreDocumentProcessingConfigPtrOutput) ElementType

func (DataStoreDocumentProcessingConfigPtrOutput) Name

(Output) The full resource name of the Document Processing Config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig`.

func (DataStoreDocumentProcessingConfigPtrOutput) ParsingConfigOverrides

Map from file type to override the default parsing configuration based on the file type. Supported keys:

func (DataStoreDocumentProcessingConfigPtrOutput) ToDataStoreDocumentProcessingConfigPtrOutput

func (o DataStoreDocumentProcessingConfigPtrOutput) ToDataStoreDocumentProcessingConfigPtrOutput() DataStoreDocumentProcessingConfigPtrOutput

func (DataStoreDocumentProcessingConfigPtrOutput) ToDataStoreDocumentProcessingConfigPtrOutputWithContext

func (o DataStoreDocumentProcessingConfigPtrOutput) ToDataStoreDocumentProcessingConfigPtrOutputWithContext(ctx context.Context) DataStoreDocumentProcessingConfigPtrOutput

type DataStoreInput

type DataStoreInput interface {
	pulumi.Input

	ToDataStoreOutput() DataStoreOutput
	ToDataStoreOutputWithContext(ctx context.Context) DataStoreOutput
}

type DataStoreMap

type DataStoreMap map[string]DataStoreInput

func (DataStoreMap) ElementType

func (DataStoreMap) ElementType() reflect.Type

func (DataStoreMap) ToDataStoreMapOutput

func (i DataStoreMap) ToDataStoreMapOutput() DataStoreMapOutput

func (DataStoreMap) ToDataStoreMapOutputWithContext

func (i DataStoreMap) ToDataStoreMapOutputWithContext(ctx context.Context) DataStoreMapOutput

type DataStoreMapInput

type DataStoreMapInput interface {
	pulumi.Input

	ToDataStoreMapOutput() DataStoreMapOutput
	ToDataStoreMapOutputWithContext(context.Context) DataStoreMapOutput
}

DataStoreMapInput is an input type that accepts DataStoreMap and DataStoreMapOutput values. You can construct a concrete instance of `DataStoreMapInput` via:

DataStoreMap{ "key": DataStoreArgs{...} }

type DataStoreMapOutput

type DataStoreMapOutput struct{ *pulumi.OutputState }

func (DataStoreMapOutput) ElementType

func (DataStoreMapOutput) ElementType() reflect.Type

func (DataStoreMapOutput) MapIndex

func (DataStoreMapOutput) ToDataStoreMapOutput

func (o DataStoreMapOutput) ToDataStoreMapOutput() DataStoreMapOutput

func (DataStoreMapOutput) ToDataStoreMapOutputWithContext

func (o DataStoreMapOutput) ToDataStoreMapOutputWithContext(ctx context.Context) DataStoreMapOutput

type DataStoreOutput

type DataStoreOutput struct{ *pulumi.OutputState }

func (DataStoreOutput) ContentConfig

func (o DataStoreOutput) ContentConfig() pulumi.StringOutput

The content config of the data store. Possible values are: `NO_CONTENT`, `CONTENT_REQUIRED`, `PUBLIC_WEBSITE`.

func (DataStoreOutput) CreateAdvancedSiteSearch

func (o DataStoreOutput) CreateAdvancedSiteSearch() pulumi.BoolPtrOutput

If true, an advanced data store for site search will be created. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE contentConfig), this flag will be ignored.

func (DataStoreOutput) CreateTime

func (o DataStoreOutput) CreateTime() pulumi.StringOutput

Timestamp when the DataStore was created.

func (DataStoreOutput) DataStoreId

func (o DataStoreOutput) DataStoreId() pulumi.StringOutput

The unique id of the data store.

***

func (DataStoreOutput) DefaultSchemaId

func (o DataStoreOutput) DefaultSchemaId() pulumi.StringOutput

The id of the default Schema associated with this data store.

func (DataStoreOutput) DisplayName

func (o DataStoreOutput) DisplayName() pulumi.StringOutput

The display name of the data store. This field must be a UTF-8 encoded string with a length limit of 128 characters.

func (DataStoreOutput) DocumentProcessingConfig

func (o DataStoreOutput) DocumentProcessingConfig() DataStoreDocumentProcessingConfigPtrOutput

Configuration for Document understanding and enrichment. Structure is documented below.

func (DataStoreOutput) ElementType

func (DataStoreOutput) ElementType() reflect.Type

func (DataStoreOutput) IndustryVertical

func (o DataStoreOutput) IndustryVertical() pulumi.StringOutput

The industry vertical that the data store registers. Possible values are: `GENERIC`, `MEDIA`, `HEALTHCARE_FHIR`.

func (DataStoreOutput) Location

func (o DataStoreOutput) Location() pulumi.StringOutput

The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".

func (DataStoreOutput) Name

The unique full resource name of the data store. Values are of the format `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.

func (DataStoreOutput) Project

func (o DataStoreOutput) Project() pulumi.StringOutput

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

func (DataStoreOutput) SkipDefaultSchemaCreation

func (o DataStoreOutput) SkipDefaultSchemaCreation() pulumi.BoolPtrOutput

A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if `data_store.starting_schema` is specified.

func (DataStoreOutput) SolutionTypes

func (o DataStoreOutput) SolutionTypes() pulumi.StringArrayOutput

The solutions that the data store enrolls. Each value may be one of: `SOLUTION_TYPE_RECOMMENDATION`, `SOLUTION_TYPE_SEARCH`, `SOLUTION_TYPE_CHAT`, `SOLUTION_TYPE_GENERATIVE_CHAT`.

func (DataStoreOutput) ToDataStoreOutput

func (o DataStoreOutput) ToDataStoreOutput() DataStoreOutput

func (DataStoreOutput) ToDataStoreOutputWithContext

func (o DataStoreOutput) ToDataStoreOutputWithContext(ctx context.Context) DataStoreOutput

type DataStoreState

type DataStoreState struct {
	// The content config of the data store.
	// Possible values are: `NO_CONTENT`, `CONTENT_REQUIRED`, `PUBLIC_WEBSITE`.
	ContentConfig pulumi.StringPtrInput
	// If true, an advanced data store for site search will be created. If the
	// data store is not configured as site search (GENERIC vertical and
	// PUBLIC_WEBSITE contentConfig), this flag will be ignored.
	CreateAdvancedSiteSearch pulumi.BoolPtrInput
	// Timestamp when the DataStore was created.
	CreateTime pulumi.StringPtrInput
	// The unique id of the data store.
	//
	// ***
	DataStoreId pulumi.StringPtrInput
	// The id of the default Schema associated with this data store.
	DefaultSchemaId pulumi.StringPtrInput
	// The display name of the data store. This field must be a UTF-8 encoded
	// string with a length limit of 128 characters.
	DisplayName pulumi.StringPtrInput
	// Configuration for Document understanding and enrichment.
	// Structure is documented below.
	DocumentProcessingConfig DataStoreDocumentProcessingConfigPtrInput
	// The industry vertical that the data store registers.
	// Possible values are: `GENERIC`, `MEDIA`, `HEALTHCARE_FHIR`.
	IndustryVertical pulumi.StringPtrInput
	// The geographic location where the data store should reside. The value can
	// only be one of "global", "us" and "eu".
	Location pulumi.StringPtrInput
	// The unique full resource name of the data store. Values are of the format
	// `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
	// This field must be a UTF-8 encoded string with a length limit of 1024
	// characters.
	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
	// A boolean flag indicating whether to skip the default schema creation for
	// the data store. Only enable this flag if you are certain that the default
	// schema is incompatible with your use case.
	// If set to true, you must manually create a schema for the data store
	// before any documents can be ingested.
	// This flag cannot be specified if `data_store.starting_schema` is
	// specified.
	SkipDefaultSchemaCreation pulumi.BoolPtrInput
	// The solutions that the data store enrolls.
	// Each value may be one of: `SOLUTION_TYPE_RECOMMENDATION`, `SOLUTION_TYPE_SEARCH`, `SOLUTION_TYPE_CHAT`, `SOLUTION_TYPE_GENERATIVE_CHAT`.
	SolutionTypes pulumi.StringArrayInput
}

func (DataStoreState) ElementType

func (DataStoreState) ElementType() reflect.Type

type Schema

type Schema struct {
	pulumi.CustomResourceState

	// The unique id of the data store.
	DataStoreId pulumi.StringOutput `pulumi:"dataStoreId"`
	// The JSON representation of the schema.
	JsonSchema pulumi.StringPtrOutput `pulumi:"jsonSchema"`
	// The geographic location where the data store should reside. The value can
	// only be one of "global", "us" and "eu".
	Location pulumi.StringOutput `pulumi:"location"`
	// The unique full resource name of the schema. Values are of the format
	// `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/schemas/{schema_id}`.
	// This field must be a UTF-8 encoded string with a length limit of 1024
	// characters.
	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 unique id of the schema.
	//
	// ***
	SchemaId pulumi.StringOutput `pulumi:"schemaId"`
}

Schema defines the structure and layout of a type of document data.

To get more information about Schema, see:

* [API documentation](https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1/projects.locations.collections.dataStores.schemas) * How-to Guides

## Example Usage

### Discoveryengine Schema Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/discoveryengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		basicDataStore, err := discoveryengine.NewDataStore(ctx, "basic", &discoveryengine.DataStoreArgs{
			Location:         pulumi.String("global"),
			DataStoreId:      pulumi.String("data-store-id"),
			DisplayName:      pulumi.String("tf-test-structured-datastore"),
			IndustryVertical: pulumi.String("GENERIC"),
			ContentConfig:    pulumi.String("NO_CONTENT"),
			SolutionTypes: pulumi.StringArray{
				pulumi.String("SOLUTION_TYPE_SEARCH"),
			},
			CreateAdvancedSiteSearch:  pulumi.Bool(false),
			SkipDefaultSchemaCreation: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = discoveryengine.NewSchema(ctx, "basic", &discoveryengine.SchemaArgs{
			Location:    basicDataStore.Location,
			DataStoreId: basicDataStore.DataStoreId,
			SchemaId:    pulumi.String("schema-id"),
			JsonSchema:  pulumi.String("{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"datetime_detection\":true,\"type\":\"object\",\"geolocation_detection\":true}"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Schema can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/collections/default_collection/dataStores/{{data_store_id}}/schemas/{{schema_id}}`

* `{{project}}/{{location}}/{{data_store_id}}/{{schema_id}}`

* `{{location}}/{{data_store_id}}/{{schema_id}}`

When using the `pulumi import` command, Schema can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:discoveryengine/schema:Schema default projects/{{project}}/locations/{{location}}/collections/default_collection/dataStores/{{data_store_id}}/schemas/{{schema_id}} ```

```sh $ pulumi import gcp:discoveryengine/schema:Schema default {{project}}/{{location}}/{{data_store_id}}/{{schema_id}} ```

```sh $ pulumi import gcp:discoveryengine/schema:Schema default {{location}}/{{data_store_id}}/{{schema_id}} ```

func GetSchema

func GetSchema(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SchemaState, opts ...pulumi.ResourceOption) (*Schema, error)

GetSchema gets an existing Schema 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 NewSchema

func NewSchema(ctx *pulumi.Context,
	name string, args *SchemaArgs, opts ...pulumi.ResourceOption) (*Schema, error)

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

func (*Schema) ElementType

func (*Schema) ElementType() reflect.Type

func (*Schema) ToSchemaOutput

func (i *Schema) ToSchemaOutput() SchemaOutput

func (*Schema) ToSchemaOutputWithContext

func (i *Schema) ToSchemaOutputWithContext(ctx context.Context) SchemaOutput

type SchemaArgs

type SchemaArgs struct {
	// The unique id of the data store.
	DataStoreId pulumi.StringInput
	// The JSON representation of the schema.
	JsonSchema pulumi.StringPtrInput
	// The geographic location where the data store should reside. The value can
	// only be one of "global", "us" and "eu".
	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 unique id of the schema.
	//
	// ***
	SchemaId pulumi.StringInput
}

The set of arguments for constructing a Schema resource.

func (SchemaArgs) ElementType

func (SchemaArgs) ElementType() reflect.Type

type SchemaArray

type SchemaArray []SchemaInput

func (SchemaArray) ElementType

func (SchemaArray) ElementType() reflect.Type

func (SchemaArray) ToSchemaArrayOutput

func (i SchemaArray) ToSchemaArrayOutput() SchemaArrayOutput

func (SchemaArray) ToSchemaArrayOutputWithContext

func (i SchemaArray) ToSchemaArrayOutputWithContext(ctx context.Context) SchemaArrayOutput

type SchemaArrayInput

type SchemaArrayInput interface {
	pulumi.Input

	ToSchemaArrayOutput() SchemaArrayOutput
	ToSchemaArrayOutputWithContext(context.Context) SchemaArrayOutput
}

SchemaArrayInput is an input type that accepts SchemaArray and SchemaArrayOutput values. You can construct a concrete instance of `SchemaArrayInput` via:

SchemaArray{ SchemaArgs{...} }

type SchemaArrayOutput

type SchemaArrayOutput struct{ *pulumi.OutputState }

func (SchemaArrayOutput) ElementType

func (SchemaArrayOutput) ElementType() reflect.Type

func (SchemaArrayOutput) Index

func (SchemaArrayOutput) ToSchemaArrayOutput

func (o SchemaArrayOutput) ToSchemaArrayOutput() SchemaArrayOutput

func (SchemaArrayOutput) ToSchemaArrayOutputWithContext

func (o SchemaArrayOutput) ToSchemaArrayOutputWithContext(ctx context.Context) SchemaArrayOutput

type SchemaInput

type SchemaInput interface {
	pulumi.Input

	ToSchemaOutput() SchemaOutput
	ToSchemaOutputWithContext(ctx context.Context) SchemaOutput
}

type SchemaMap

type SchemaMap map[string]SchemaInput

func (SchemaMap) ElementType

func (SchemaMap) ElementType() reflect.Type

func (SchemaMap) ToSchemaMapOutput

func (i SchemaMap) ToSchemaMapOutput() SchemaMapOutput

func (SchemaMap) ToSchemaMapOutputWithContext

func (i SchemaMap) ToSchemaMapOutputWithContext(ctx context.Context) SchemaMapOutput

type SchemaMapInput

type SchemaMapInput interface {
	pulumi.Input

	ToSchemaMapOutput() SchemaMapOutput
	ToSchemaMapOutputWithContext(context.Context) SchemaMapOutput
}

SchemaMapInput is an input type that accepts SchemaMap and SchemaMapOutput values. You can construct a concrete instance of `SchemaMapInput` via:

SchemaMap{ "key": SchemaArgs{...} }

type SchemaMapOutput

type SchemaMapOutput struct{ *pulumi.OutputState }

func (SchemaMapOutput) ElementType

func (SchemaMapOutput) ElementType() reflect.Type

func (SchemaMapOutput) MapIndex

func (SchemaMapOutput) ToSchemaMapOutput

func (o SchemaMapOutput) ToSchemaMapOutput() SchemaMapOutput

func (SchemaMapOutput) ToSchemaMapOutputWithContext

func (o SchemaMapOutput) ToSchemaMapOutputWithContext(ctx context.Context) SchemaMapOutput

type SchemaOutput

type SchemaOutput struct{ *pulumi.OutputState }

func (SchemaOutput) DataStoreId

func (o SchemaOutput) DataStoreId() pulumi.StringOutput

The unique id of the data store.

func (SchemaOutput) ElementType

func (SchemaOutput) ElementType() reflect.Type

func (SchemaOutput) JsonSchema

func (o SchemaOutput) JsonSchema() pulumi.StringPtrOutput

The JSON representation of the schema.

func (SchemaOutput) Location

func (o SchemaOutput) Location() pulumi.StringOutput

The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".

func (SchemaOutput) Name

func (o SchemaOutput) Name() pulumi.StringOutput

The unique full resource name of the schema. Values are of the format `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/schemas/{schema_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.

func (SchemaOutput) Project

func (o SchemaOutput) Project() pulumi.StringOutput

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

func (SchemaOutput) SchemaId

func (o SchemaOutput) SchemaId() pulumi.StringOutput

The unique id of the schema.

***

func (SchemaOutput) ToSchemaOutput

func (o SchemaOutput) ToSchemaOutput() SchemaOutput

func (SchemaOutput) ToSchemaOutputWithContext

func (o SchemaOutput) ToSchemaOutputWithContext(ctx context.Context) SchemaOutput

type SchemaState

type SchemaState struct {
	// The unique id of the data store.
	DataStoreId pulumi.StringPtrInput
	// The JSON representation of the schema.
	JsonSchema pulumi.StringPtrInput
	// The geographic location where the data store should reside. The value can
	// only be one of "global", "us" and "eu".
	Location pulumi.StringPtrInput
	// The unique full resource name of the schema. Values are of the format
	// `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/schemas/{schema_id}`.
	// This field must be a UTF-8 encoded string with a length limit of 1024
	// characters.
	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 unique id of the schema.
	//
	// ***
	SchemaId pulumi.StringPtrInput
}

func (SchemaState) ElementType

func (SchemaState) ElementType() reflect.Type

type SearchEngine

type SearchEngine struct {
	pulumi.CustomResourceState

	// The collection ID.
	CollectionId pulumi.StringOutput `pulumi:"collectionId"`
	// Common config spec that specifies the metadata of the engine.
	CommonConfig SearchEngineCommonConfigPtrOutput `pulumi:"commonConfig"`
	// Timestamp the Engine was created at.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The data stores associated with this engine. For SOLUTION_TYPE_SEARCH type of engines, they can only associate with at most one data store.
	DataStoreIds pulumi.StringArrayOutput `pulumi:"dataStoreIds"`
	// Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// Unique ID to use for Search Engine App.
	EngineId pulumi.StringOutput `pulumi:"engineId"`
	// The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore:
	// If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine.
	// Default value: "GENERIC" Possible values: ["GENERIC", "MEDIA", "HEALTHCARE_FHIR"]
	IndustryVertical pulumi.StringPtrOutput `pulumi:"industryVertical"`
	// Location.
	Location pulumi.StringOutput `pulumi:"location"`
	// The unique full resource name of the search engine. Values are of the format
	// `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.
	// This field must be a UTF-8 encoded string with a length limit of 1024
	// characters.
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// Configurations for a Search Engine.
	// Structure is documented below.
	SearchEngineConfig SearchEngineSearchEngineConfigOutput `pulumi:"searchEngineConfig"`
	// Timestamp the Engine was last updated.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Vertex AI Search and Conversation can be used to create a search engine or a chat application by connecting it with a datastore

To get more information about SearchEngine, see:

* [API documentation](https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1/projects.locations.collections.engines) * How-to Guides

## Example Usage

### Discoveryengine Searchengine Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/discoveryengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		basic, err := discoveryengine.NewDataStore(ctx, "basic", &discoveryengine.DataStoreArgs{
			Location:         pulumi.String("global"),
			DataStoreId:      pulumi.String("example-datastore-id"),
			DisplayName:      pulumi.String("tf-test-structured-datastore"),
			IndustryVertical: pulumi.String("GENERIC"),
			ContentConfig:    pulumi.String("NO_CONTENT"),
			SolutionTypes: pulumi.StringArray{
				pulumi.String("SOLUTION_TYPE_SEARCH"),
			},
			CreateAdvancedSiteSearch: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		_, err = discoveryengine.NewSearchEngine(ctx, "basic", &discoveryengine.SearchEngineArgs{
			EngineId:     pulumi.String("example-engine-id"),
			CollectionId: pulumi.String("default_collection"),
			Location:     basic.Location,
			DisplayName:  pulumi.String("Example Display Name"),
			DataStoreIds: pulumi.StringArray{
				basic.DataStoreId,
			},
			SearchEngineConfig: &discoveryengine.SearchEngineSearchEngineConfigArgs{},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SearchEngine can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/collections/{{collection_id}}/engines/{{engine_id}}`

* `{{project}}/{{location}}/{{collection_id}}/{{engine_id}}`

* `{{location}}/{{collection_id}}/{{engine_id}}`

When using the `pulumi import` command, SearchEngine can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:discoveryengine/searchEngine:SearchEngine default projects/{{project}}/locations/{{location}}/collections/{{collection_id}}/engines/{{engine_id}} ```

```sh $ pulumi import gcp:discoveryengine/searchEngine:SearchEngine default {{project}}/{{location}}/{{collection_id}}/{{engine_id}} ```

```sh $ pulumi import gcp:discoveryengine/searchEngine:SearchEngine default {{location}}/{{collection_id}}/{{engine_id}} ```

func GetSearchEngine

func GetSearchEngine(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SearchEngineState, opts ...pulumi.ResourceOption) (*SearchEngine, error)

GetSearchEngine gets an existing SearchEngine 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 NewSearchEngine

func NewSearchEngine(ctx *pulumi.Context,
	name string, args *SearchEngineArgs, opts ...pulumi.ResourceOption) (*SearchEngine, error)

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

func (*SearchEngine) ElementType

func (*SearchEngine) ElementType() reflect.Type

func (*SearchEngine) ToSearchEngineOutput

func (i *SearchEngine) ToSearchEngineOutput() SearchEngineOutput

func (*SearchEngine) ToSearchEngineOutputWithContext

func (i *SearchEngine) ToSearchEngineOutputWithContext(ctx context.Context) SearchEngineOutput

type SearchEngineArgs

type SearchEngineArgs struct {
	// The collection ID.
	CollectionId pulumi.StringInput
	// Common config spec that specifies the metadata of the engine.
	CommonConfig SearchEngineCommonConfigPtrInput
	// The data stores associated with this engine. For SOLUTION_TYPE_SEARCH type of engines, they can only associate with at most one data store.
	DataStoreIds pulumi.StringArrayInput
	// Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
	DisplayName pulumi.StringInput
	// Unique ID to use for Search Engine App.
	EngineId pulumi.StringInput
	// The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore:
	// If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine.
	// Default value: "GENERIC" Possible values: ["GENERIC", "MEDIA", "HEALTHCARE_FHIR"]
	IndustryVertical pulumi.StringPtrInput
	// Location.
	Location pulumi.StringInput
	Project  pulumi.StringPtrInput
	// Configurations for a Search Engine.
	// Structure is documented below.
	SearchEngineConfig SearchEngineSearchEngineConfigInput
}

The set of arguments for constructing a SearchEngine resource.

func (SearchEngineArgs) ElementType

func (SearchEngineArgs) ElementType() reflect.Type

type SearchEngineArray

type SearchEngineArray []SearchEngineInput

func (SearchEngineArray) ElementType

func (SearchEngineArray) ElementType() reflect.Type

func (SearchEngineArray) ToSearchEngineArrayOutput

func (i SearchEngineArray) ToSearchEngineArrayOutput() SearchEngineArrayOutput

func (SearchEngineArray) ToSearchEngineArrayOutputWithContext

func (i SearchEngineArray) ToSearchEngineArrayOutputWithContext(ctx context.Context) SearchEngineArrayOutput

type SearchEngineArrayInput

type SearchEngineArrayInput interface {
	pulumi.Input

	ToSearchEngineArrayOutput() SearchEngineArrayOutput
	ToSearchEngineArrayOutputWithContext(context.Context) SearchEngineArrayOutput
}

SearchEngineArrayInput is an input type that accepts SearchEngineArray and SearchEngineArrayOutput values. You can construct a concrete instance of `SearchEngineArrayInput` via:

SearchEngineArray{ SearchEngineArgs{...} }

type SearchEngineArrayOutput

type SearchEngineArrayOutput struct{ *pulumi.OutputState }

func (SearchEngineArrayOutput) ElementType

func (SearchEngineArrayOutput) ElementType() reflect.Type

func (SearchEngineArrayOutput) Index

func (SearchEngineArrayOutput) ToSearchEngineArrayOutput

func (o SearchEngineArrayOutput) ToSearchEngineArrayOutput() SearchEngineArrayOutput

func (SearchEngineArrayOutput) ToSearchEngineArrayOutputWithContext

func (o SearchEngineArrayOutput) ToSearchEngineArrayOutputWithContext(ctx context.Context) SearchEngineArrayOutput

type SearchEngineCommonConfig

type SearchEngineCommonConfig struct {
	// The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.cd
	CompanyName *string `pulumi:"companyName"`
}

type SearchEngineCommonConfigArgs

type SearchEngineCommonConfigArgs struct {
	// The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.cd
	CompanyName pulumi.StringPtrInput `pulumi:"companyName"`
}

func (SearchEngineCommonConfigArgs) ElementType

func (SearchEngineCommonConfigArgs) ToSearchEngineCommonConfigOutput

func (i SearchEngineCommonConfigArgs) ToSearchEngineCommonConfigOutput() SearchEngineCommonConfigOutput

func (SearchEngineCommonConfigArgs) ToSearchEngineCommonConfigOutputWithContext

func (i SearchEngineCommonConfigArgs) ToSearchEngineCommonConfigOutputWithContext(ctx context.Context) SearchEngineCommonConfigOutput

func (SearchEngineCommonConfigArgs) ToSearchEngineCommonConfigPtrOutput

func (i SearchEngineCommonConfigArgs) ToSearchEngineCommonConfigPtrOutput() SearchEngineCommonConfigPtrOutput

func (SearchEngineCommonConfigArgs) ToSearchEngineCommonConfigPtrOutputWithContext

func (i SearchEngineCommonConfigArgs) ToSearchEngineCommonConfigPtrOutputWithContext(ctx context.Context) SearchEngineCommonConfigPtrOutput

type SearchEngineCommonConfigInput

type SearchEngineCommonConfigInput interface {
	pulumi.Input

	ToSearchEngineCommonConfigOutput() SearchEngineCommonConfigOutput
	ToSearchEngineCommonConfigOutputWithContext(context.Context) SearchEngineCommonConfigOutput
}

SearchEngineCommonConfigInput is an input type that accepts SearchEngineCommonConfigArgs and SearchEngineCommonConfigOutput values. You can construct a concrete instance of `SearchEngineCommonConfigInput` via:

SearchEngineCommonConfigArgs{...}

type SearchEngineCommonConfigOutput

type SearchEngineCommonConfigOutput struct{ *pulumi.OutputState }

func (SearchEngineCommonConfigOutput) CompanyName

The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.cd

func (SearchEngineCommonConfigOutput) ElementType

func (SearchEngineCommonConfigOutput) ToSearchEngineCommonConfigOutput

func (o SearchEngineCommonConfigOutput) ToSearchEngineCommonConfigOutput() SearchEngineCommonConfigOutput

func (SearchEngineCommonConfigOutput) ToSearchEngineCommonConfigOutputWithContext

func (o SearchEngineCommonConfigOutput) ToSearchEngineCommonConfigOutputWithContext(ctx context.Context) SearchEngineCommonConfigOutput

func (SearchEngineCommonConfigOutput) ToSearchEngineCommonConfigPtrOutput

func (o SearchEngineCommonConfigOutput) ToSearchEngineCommonConfigPtrOutput() SearchEngineCommonConfigPtrOutput

func (SearchEngineCommonConfigOutput) ToSearchEngineCommonConfigPtrOutputWithContext

func (o SearchEngineCommonConfigOutput) ToSearchEngineCommonConfigPtrOutputWithContext(ctx context.Context) SearchEngineCommonConfigPtrOutput

type SearchEngineCommonConfigPtrInput

type SearchEngineCommonConfigPtrInput interface {
	pulumi.Input

	ToSearchEngineCommonConfigPtrOutput() SearchEngineCommonConfigPtrOutput
	ToSearchEngineCommonConfigPtrOutputWithContext(context.Context) SearchEngineCommonConfigPtrOutput
}

SearchEngineCommonConfigPtrInput is an input type that accepts SearchEngineCommonConfigArgs, SearchEngineCommonConfigPtr and SearchEngineCommonConfigPtrOutput values. You can construct a concrete instance of `SearchEngineCommonConfigPtrInput` via:

        SearchEngineCommonConfigArgs{...}

or:

        nil

type SearchEngineCommonConfigPtrOutput

type SearchEngineCommonConfigPtrOutput struct{ *pulumi.OutputState }

func (SearchEngineCommonConfigPtrOutput) CompanyName

The name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.cd

func (SearchEngineCommonConfigPtrOutput) Elem

func (SearchEngineCommonConfigPtrOutput) ElementType

func (SearchEngineCommonConfigPtrOutput) ToSearchEngineCommonConfigPtrOutput

func (o SearchEngineCommonConfigPtrOutput) ToSearchEngineCommonConfigPtrOutput() SearchEngineCommonConfigPtrOutput

func (SearchEngineCommonConfigPtrOutput) ToSearchEngineCommonConfigPtrOutputWithContext

func (o SearchEngineCommonConfigPtrOutput) ToSearchEngineCommonConfigPtrOutputWithContext(ctx context.Context) SearchEngineCommonConfigPtrOutput

type SearchEngineInput

type SearchEngineInput interface {
	pulumi.Input

	ToSearchEngineOutput() SearchEngineOutput
	ToSearchEngineOutputWithContext(ctx context.Context) SearchEngineOutput
}

type SearchEngineMap

type SearchEngineMap map[string]SearchEngineInput

func (SearchEngineMap) ElementType

func (SearchEngineMap) ElementType() reflect.Type

func (SearchEngineMap) ToSearchEngineMapOutput

func (i SearchEngineMap) ToSearchEngineMapOutput() SearchEngineMapOutput

func (SearchEngineMap) ToSearchEngineMapOutputWithContext

func (i SearchEngineMap) ToSearchEngineMapOutputWithContext(ctx context.Context) SearchEngineMapOutput

type SearchEngineMapInput

type SearchEngineMapInput interface {
	pulumi.Input

	ToSearchEngineMapOutput() SearchEngineMapOutput
	ToSearchEngineMapOutputWithContext(context.Context) SearchEngineMapOutput
}

SearchEngineMapInput is an input type that accepts SearchEngineMap and SearchEngineMapOutput values. You can construct a concrete instance of `SearchEngineMapInput` via:

SearchEngineMap{ "key": SearchEngineArgs{...} }

type SearchEngineMapOutput

type SearchEngineMapOutput struct{ *pulumi.OutputState }

func (SearchEngineMapOutput) ElementType

func (SearchEngineMapOutput) ElementType() reflect.Type

func (SearchEngineMapOutput) MapIndex

func (SearchEngineMapOutput) ToSearchEngineMapOutput

func (o SearchEngineMapOutput) ToSearchEngineMapOutput() SearchEngineMapOutput

func (SearchEngineMapOutput) ToSearchEngineMapOutputWithContext

func (o SearchEngineMapOutput) ToSearchEngineMapOutputWithContext(ctx context.Context) SearchEngineMapOutput

type SearchEngineOutput

type SearchEngineOutput struct{ *pulumi.OutputState }

func (SearchEngineOutput) CollectionId

func (o SearchEngineOutput) CollectionId() pulumi.StringOutput

The collection ID.

func (SearchEngineOutput) CommonConfig

Common config spec that specifies the metadata of the engine.

func (SearchEngineOutput) CreateTime

func (o SearchEngineOutput) CreateTime() pulumi.StringOutput

Timestamp the Engine was created at.

func (SearchEngineOutput) DataStoreIds

func (o SearchEngineOutput) DataStoreIds() pulumi.StringArrayOutput

The data stores associated with this engine. For SOLUTION_TYPE_SEARCH type of engines, they can only associate with at most one data store.

func (SearchEngineOutput) DisplayName

func (o SearchEngineOutput) DisplayName() pulumi.StringOutput

Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.

func (SearchEngineOutput) ElementType

func (SearchEngineOutput) ElementType() reflect.Type

func (SearchEngineOutput) EngineId

func (o SearchEngineOutput) EngineId() pulumi.StringOutput

Unique ID to use for Search Engine App.

func (SearchEngineOutput) IndustryVertical

func (o SearchEngineOutput) IndustryVertical() pulumi.StringPtrOutput

The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine. Default value: "GENERIC" Possible values: ["GENERIC", "MEDIA", "HEALTHCARE_FHIR"]

func (SearchEngineOutput) Location

func (o SearchEngineOutput) Location() pulumi.StringOutput

Location.

func (SearchEngineOutput) Name

The unique full resource name of the search engine. Values are of the format `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.

func (SearchEngineOutput) Project

func (SearchEngineOutput) SearchEngineConfig

Configurations for a Search Engine. Structure is documented below.

func (SearchEngineOutput) ToSearchEngineOutput

func (o SearchEngineOutput) ToSearchEngineOutput() SearchEngineOutput

func (SearchEngineOutput) ToSearchEngineOutputWithContext

func (o SearchEngineOutput) ToSearchEngineOutputWithContext(ctx context.Context) SearchEngineOutput

func (SearchEngineOutput) UpdateTime

func (o SearchEngineOutput) UpdateTime() pulumi.StringOutput

Timestamp the Engine was last updated.

type SearchEngineSearchEngineConfig

type SearchEngineSearchEngineConfig struct {
	// The add-on that this search engine enables.
	// Each value may be one of: `SEARCH_ADD_ON_LLM`.
	//
	// ***
	SearchAddOns []string `pulumi:"searchAddOns"`
	// The search feature tier of this engine. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified.
	// Default value is `SEARCH_TIER_STANDARD`.
	// Possible values are: `SEARCH_TIER_STANDARD`, `SEARCH_TIER_ENTERPRISE`.
	SearchTier *string `pulumi:"searchTier"`
}

type SearchEngineSearchEngineConfigArgs

type SearchEngineSearchEngineConfigArgs struct {
	// The add-on that this search engine enables.
	// Each value may be one of: `SEARCH_ADD_ON_LLM`.
	//
	// ***
	SearchAddOns pulumi.StringArrayInput `pulumi:"searchAddOns"`
	// The search feature tier of this engine. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified.
	// Default value is `SEARCH_TIER_STANDARD`.
	// Possible values are: `SEARCH_TIER_STANDARD`, `SEARCH_TIER_ENTERPRISE`.
	SearchTier pulumi.StringPtrInput `pulumi:"searchTier"`
}

func (SearchEngineSearchEngineConfigArgs) ElementType

func (SearchEngineSearchEngineConfigArgs) ToSearchEngineSearchEngineConfigOutput

func (i SearchEngineSearchEngineConfigArgs) ToSearchEngineSearchEngineConfigOutput() SearchEngineSearchEngineConfigOutput

func (SearchEngineSearchEngineConfigArgs) ToSearchEngineSearchEngineConfigOutputWithContext

func (i SearchEngineSearchEngineConfigArgs) ToSearchEngineSearchEngineConfigOutputWithContext(ctx context.Context) SearchEngineSearchEngineConfigOutput

func (SearchEngineSearchEngineConfigArgs) ToSearchEngineSearchEngineConfigPtrOutput

func (i SearchEngineSearchEngineConfigArgs) ToSearchEngineSearchEngineConfigPtrOutput() SearchEngineSearchEngineConfigPtrOutput

func (SearchEngineSearchEngineConfigArgs) ToSearchEngineSearchEngineConfigPtrOutputWithContext

func (i SearchEngineSearchEngineConfigArgs) ToSearchEngineSearchEngineConfigPtrOutputWithContext(ctx context.Context) SearchEngineSearchEngineConfigPtrOutput

type SearchEngineSearchEngineConfigInput

type SearchEngineSearchEngineConfigInput interface {
	pulumi.Input

	ToSearchEngineSearchEngineConfigOutput() SearchEngineSearchEngineConfigOutput
	ToSearchEngineSearchEngineConfigOutputWithContext(context.Context) SearchEngineSearchEngineConfigOutput
}

SearchEngineSearchEngineConfigInput is an input type that accepts SearchEngineSearchEngineConfigArgs and SearchEngineSearchEngineConfigOutput values. You can construct a concrete instance of `SearchEngineSearchEngineConfigInput` via:

SearchEngineSearchEngineConfigArgs{...}

type SearchEngineSearchEngineConfigOutput

type SearchEngineSearchEngineConfigOutput struct{ *pulumi.OutputState }

func (SearchEngineSearchEngineConfigOutput) ElementType

func (SearchEngineSearchEngineConfigOutput) SearchAddOns

The add-on that this search engine enables. Each value may be one of: `SEARCH_ADD_ON_LLM`.

***

func (SearchEngineSearchEngineConfigOutput) SearchTier

The search feature tier of this engine. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. Default value is `SEARCH_TIER_STANDARD`. Possible values are: `SEARCH_TIER_STANDARD`, `SEARCH_TIER_ENTERPRISE`.

func (SearchEngineSearchEngineConfigOutput) ToSearchEngineSearchEngineConfigOutput

func (o SearchEngineSearchEngineConfigOutput) ToSearchEngineSearchEngineConfigOutput() SearchEngineSearchEngineConfigOutput

func (SearchEngineSearchEngineConfigOutput) ToSearchEngineSearchEngineConfigOutputWithContext

func (o SearchEngineSearchEngineConfigOutput) ToSearchEngineSearchEngineConfigOutputWithContext(ctx context.Context) SearchEngineSearchEngineConfigOutput

func (SearchEngineSearchEngineConfigOutput) ToSearchEngineSearchEngineConfigPtrOutput

func (o SearchEngineSearchEngineConfigOutput) ToSearchEngineSearchEngineConfigPtrOutput() SearchEngineSearchEngineConfigPtrOutput

func (SearchEngineSearchEngineConfigOutput) ToSearchEngineSearchEngineConfigPtrOutputWithContext

func (o SearchEngineSearchEngineConfigOutput) ToSearchEngineSearchEngineConfigPtrOutputWithContext(ctx context.Context) SearchEngineSearchEngineConfigPtrOutput

type SearchEngineSearchEngineConfigPtrInput

type SearchEngineSearchEngineConfigPtrInput interface {
	pulumi.Input

	ToSearchEngineSearchEngineConfigPtrOutput() SearchEngineSearchEngineConfigPtrOutput
	ToSearchEngineSearchEngineConfigPtrOutputWithContext(context.Context) SearchEngineSearchEngineConfigPtrOutput
}

SearchEngineSearchEngineConfigPtrInput is an input type that accepts SearchEngineSearchEngineConfigArgs, SearchEngineSearchEngineConfigPtr and SearchEngineSearchEngineConfigPtrOutput values. You can construct a concrete instance of `SearchEngineSearchEngineConfigPtrInput` via:

        SearchEngineSearchEngineConfigArgs{...}

or:

        nil

type SearchEngineSearchEngineConfigPtrOutput

type SearchEngineSearchEngineConfigPtrOutput struct{ *pulumi.OutputState }

func (SearchEngineSearchEngineConfigPtrOutput) Elem

func (SearchEngineSearchEngineConfigPtrOutput) ElementType

func (SearchEngineSearchEngineConfigPtrOutput) SearchAddOns

The add-on that this search engine enables. Each value may be one of: `SEARCH_ADD_ON_LLM`.

***

func (SearchEngineSearchEngineConfigPtrOutput) SearchTier

The search feature tier of this engine. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. Default value is `SEARCH_TIER_STANDARD`. Possible values are: `SEARCH_TIER_STANDARD`, `SEARCH_TIER_ENTERPRISE`.

func (SearchEngineSearchEngineConfigPtrOutput) ToSearchEngineSearchEngineConfigPtrOutput

func (o SearchEngineSearchEngineConfigPtrOutput) ToSearchEngineSearchEngineConfigPtrOutput() SearchEngineSearchEngineConfigPtrOutput

func (SearchEngineSearchEngineConfigPtrOutput) ToSearchEngineSearchEngineConfigPtrOutputWithContext

func (o SearchEngineSearchEngineConfigPtrOutput) ToSearchEngineSearchEngineConfigPtrOutputWithContext(ctx context.Context) SearchEngineSearchEngineConfigPtrOutput

type SearchEngineState

type SearchEngineState struct {
	// The collection ID.
	CollectionId pulumi.StringPtrInput
	// Common config spec that specifies the metadata of the engine.
	CommonConfig SearchEngineCommonConfigPtrInput
	// Timestamp the Engine was created at.
	CreateTime pulumi.StringPtrInput
	// The data stores associated with this engine. For SOLUTION_TYPE_SEARCH type of engines, they can only associate with at most one data store.
	DataStoreIds pulumi.StringArrayInput
	// Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters.
	DisplayName pulumi.StringPtrInput
	// Unique ID to use for Search Engine App.
	EngineId pulumi.StringPtrInput
	// The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore:
	// If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine.
	// Default value: "GENERIC" Possible values: ["GENERIC", "MEDIA", "HEALTHCARE_FHIR"]
	IndustryVertical pulumi.StringPtrInput
	// Location.
	Location pulumi.StringPtrInput
	// The unique full resource name of the search engine. Values are of the format
	// `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.
	// This field must be a UTF-8 encoded string with a length limit of 1024
	// characters.
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	// Configurations for a Search Engine.
	// Structure is documented below.
	SearchEngineConfig SearchEngineSearchEngineConfigPtrInput
	// Timestamp the Engine was last updated.
	UpdateTime pulumi.StringPtrInput
}

func (SearchEngineState) ElementType

func (SearchEngineState) ElementType() reflect.Type

type TargetSite added in v8.3.0

type TargetSite struct {
	pulumi.CustomResourceState

	// The unique id of the data store.
	//
	// ***
	DataStoreId pulumi.StringOutput `pulumi:"dataStoreId"`
	// If set to false, a uriPattern is generated to include all pages whose
	// address contains the provided_uri_pattern. If set to true, an uriPattern
	// is generated to try to be an exact match of the providedUriPattern or
	// just the specific page if the providedUriPattern is a specific one.
	// providedUriPattern is always normalized to generate the URI pattern to
	// be used by the search engine.
	ExactMatch pulumi.BoolPtrOutput `pulumi:"exactMatch"`
	// Site search indexing failure reasons.
	// Structure is documented below.
	FailureReasons TargetSiteFailureReasonArrayOutput `pulumi:"failureReasons"`
	// This is system-generated based on the `providedUriPattern`.
	GeneratedUriPattern pulumi.StringOutput `pulumi:"generatedUriPattern"`
	// The indexing status.
	IndexingStatus pulumi.StringOutput `pulumi:"indexingStatus"`
	// The geographic location where the data store should reside. The value can
	// only be one of "global", "us" and "eu".
	Location pulumi.StringOutput `pulumi:"location"`
	// The unique full resource name of the target site. Values are of the format
	// `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/siteSearchEngine/targetSites/{target_site_id}`.
	// This field must be a UTF-8 encoded string with a length limit of 1024
	// characters.
	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 user provided URI pattern from which the `generatedUriPattern` is
	// generated.
	ProvidedUriPattern pulumi.StringOutput `pulumi:"providedUriPattern"`
	// Root domain of the `providedUriPattern`.
	RootDomainUri pulumi.StringOutput `pulumi:"rootDomainUri"`
	// Site ownership and validity verification status.
	// Structure is documented below.
	SiteVerificationInfos TargetSiteSiteVerificationInfoArrayOutput `pulumi:"siteVerificationInfos"`
	// The unique id of the target site.
	TargetSiteId pulumi.StringOutput `pulumi:"targetSiteId"`
	// The possible target site types.
	// Possible values are: `INCLUDE`, `EXCLUDE`.
	Type pulumi.StringPtrOutput `pulumi:"type"`
	// The target site's last updated time.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

TargetSite represents a URI pattern that the users want to confine their search.

To get more information about TargetSite, see:

* [API documentation](https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1/projects.locations.collections.dataStores.siteSearchEngine.targetSites)

## Example Usage

### Discoveryengine Targetsite Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/discoveryengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		basicDataStore, err := discoveryengine.NewDataStore(ctx, "basic", &discoveryengine.DataStoreArgs{
			Location:         pulumi.String("global"),
			DataStoreId:      pulumi.String("data-store-id"),
			DisplayName:      pulumi.String("tf-test-basic-site-search-datastore"),
			IndustryVertical: pulumi.String("GENERIC"),
			ContentConfig:    pulumi.String("PUBLIC_WEBSITE"),
			SolutionTypes: pulumi.StringArray{
				pulumi.String("SOLUTION_TYPE_SEARCH"),
			},
			CreateAdvancedSiteSearch:  pulumi.Bool(false),
			SkipDefaultSchemaCreation: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		_, err = discoveryengine.NewTargetSite(ctx, "basic", &discoveryengine.TargetSiteArgs{
			Location:           basicDataStore.Location,
			DataStoreId:        basicDataStore.DataStoreId,
			ProvidedUriPattern: pulumi.String("http://cloud.google.com/docs/*"),
			Type:               pulumi.String("INCLUDE"),
			ExactMatch:         pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Discoveryengine Targetsite Advanced

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/discoveryengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		advancedDataStore, err := discoveryengine.NewDataStore(ctx, "advanced", &discoveryengine.DataStoreArgs{
			Location:         pulumi.String("global"),
			DataStoreId:      pulumi.String("data-store-id"),
			DisplayName:      pulumi.String("tf-test-advanced-site-search-datastore"),
			IndustryVertical: pulumi.String("GENERIC"),
			ContentConfig:    pulumi.String("PUBLIC_WEBSITE"),
			SolutionTypes: pulumi.StringArray{
				pulumi.String("SOLUTION_TYPE_SEARCH"),
			},
			CreateAdvancedSiteSearch:  pulumi.Bool(true),
			SkipDefaultSchemaCreation: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		_, err = discoveryengine.NewTargetSite(ctx, "advanced", &discoveryengine.TargetSiteArgs{
			Location:           advancedDataStore.Location,
			DataStoreId:        advancedDataStore.DataStoreId,
			ProvidedUriPattern: pulumi.String("http://cloud.google.com/docs/*"),
			Type:               pulumi.String("INCLUDE"),
			ExactMatch:         pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

TargetSite can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/collections/default_collection/dataStores/{{data_store_id}}/siteSearchEngine/targetSites/{{target_site_id}}`

* `{{project}}/{{location}}/{{data_store_id}}/{{target_site_id}}`

* `{{location}}/{{data_store_id}}/{{target_site_id}}`

When using the `pulumi import` command, TargetSite can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:discoveryengine/targetSite:TargetSite default projects/{{project}}/locations/{{location}}/collections/default_collection/dataStores/{{data_store_id}}/siteSearchEngine/targetSites/{{target_site_id}} ```

```sh $ pulumi import gcp:discoveryengine/targetSite:TargetSite default {{project}}/{{location}}/{{data_store_id}}/{{target_site_id}} ```

```sh $ pulumi import gcp:discoveryengine/targetSite:TargetSite default {{location}}/{{data_store_id}}/{{target_site_id}} ```

func GetTargetSite added in v8.3.0

func GetTargetSite(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TargetSiteState, opts ...pulumi.ResourceOption) (*TargetSite, error)

GetTargetSite gets an existing TargetSite 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 NewTargetSite added in v8.3.0

func NewTargetSite(ctx *pulumi.Context,
	name string, args *TargetSiteArgs, opts ...pulumi.ResourceOption) (*TargetSite, error)

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

func (*TargetSite) ElementType added in v8.3.0

func (*TargetSite) ElementType() reflect.Type

func (*TargetSite) ToTargetSiteOutput added in v8.3.0

func (i *TargetSite) ToTargetSiteOutput() TargetSiteOutput

func (*TargetSite) ToTargetSiteOutputWithContext added in v8.3.0

func (i *TargetSite) ToTargetSiteOutputWithContext(ctx context.Context) TargetSiteOutput

type TargetSiteArgs added in v8.3.0

type TargetSiteArgs struct {
	// The unique id of the data store.
	//
	// ***
	DataStoreId pulumi.StringInput
	// If set to false, a uriPattern is generated to include all pages whose
	// address contains the provided_uri_pattern. If set to true, an uriPattern
	// is generated to try to be an exact match of the providedUriPattern or
	// just the specific page if the providedUriPattern is a specific one.
	// providedUriPattern is always normalized to generate the URI pattern to
	// be used by the search engine.
	ExactMatch pulumi.BoolPtrInput
	// The geographic location where the data store should reside. The value can
	// only be one of "global", "us" and "eu".
	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 user provided URI pattern from which the `generatedUriPattern` is
	// generated.
	ProvidedUriPattern pulumi.StringInput
	// The possible target site types.
	// Possible values are: `INCLUDE`, `EXCLUDE`.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a TargetSite resource.

func (TargetSiteArgs) ElementType added in v8.3.0

func (TargetSiteArgs) ElementType() reflect.Type

type TargetSiteArray added in v8.3.0

type TargetSiteArray []TargetSiteInput

func (TargetSiteArray) ElementType added in v8.3.0

func (TargetSiteArray) ElementType() reflect.Type

func (TargetSiteArray) ToTargetSiteArrayOutput added in v8.3.0

func (i TargetSiteArray) ToTargetSiteArrayOutput() TargetSiteArrayOutput

func (TargetSiteArray) ToTargetSiteArrayOutputWithContext added in v8.3.0

func (i TargetSiteArray) ToTargetSiteArrayOutputWithContext(ctx context.Context) TargetSiteArrayOutput

type TargetSiteArrayInput added in v8.3.0

type TargetSiteArrayInput interface {
	pulumi.Input

	ToTargetSiteArrayOutput() TargetSiteArrayOutput
	ToTargetSiteArrayOutputWithContext(context.Context) TargetSiteArrayOutput
}

TargetSiteArrayInput is an input type that accepts TargetSiteArray and TargetSiteArrayOutput values. You can construct a concrete instance of `TargetSiteArrayInput` via:

TargetSiteArray{ TargetSiteArgs{...} }

type TargetSiteArrayOutput added in v8.3.0

type TargetSiteArrayOutput struct{ *pulumi.OutputState }

func (TargetSiteArrayOutput) ElementType added in v8.3.0

func (TargetSiteArrayOutput) ElementType() reflect.Type

func (TargetSiteArrayOutput) Index added in v8.3.0

func (TargetSiteArrayOutput) ToTargetSiteArrayOutput added in v8.3.0

func (o TargetSiteArrayOutput) ToTargetSiteArrayOutput() TargetSiteArrayOutput

func (TargetSiteArrayOutput) ToTargetSiteArrayOutputWithContext added in v8.3.0

func (o TargetSiteArrayOutput) ToTargetSiteArrayOutputWithContext(ctx context.Context) TargetSiteArrayOutput

type TargetSiteFailureReason added in v8.3.0

type TargetSiteFailureReason struct {
	// Site verification state indicating the ownership and validity.
	// Structure is documented below.
	QuotaFailure *TargetSiteFailureReasonQuotaFailure `pulumi:"quotaFailure"`
}

type TargetSiteFailureReasonArgs added in v8.3.0

type TargetSiteFailureReasonArgs struct {
	// Site verification state indicating the ownership and validity.
	// Structure is documented below.
	QuotaFailure TargetSiteFailureReasonQuotaFailurePtrInput `pulumi:"quotaFailure"`
}

func (TargetSiteFailureReasonArgs) ElementType added in v8.3.0

func (TargetSiteFailureReasonArgs) ToTargetSiteFailureReasonOutput added in v8.3.0

func (i TargetSiteFailureReasonArgs) ToTargetSiteFailureReasonOutput() TargetSiteFailureReasonOutput

func (TargetSiteFailureReasonArgs) ToTargetSiteFailureReasonOutputWithContext added in v8.3.0

func (i TargetSiteFailureReasonArgs) ToTargetSiteFailureReasonOutputWithContext(ctx context.Context) TargetSiteFailureReasonOutput

type TargetSiteFailureReasonArray added in v8.3.0

type TargetSiteFailureReasonArray []TargetSiteFailureReasonInput

func (TargetSiteFailureReasonArray) ElementType added in v8.3.0

func (TargetSiteFailureReasonArray) ToTargetSiteFailureReasonArrayOutput added in v8.3.0

func (i TargetSiteFailureReasonArray) ToTargetSiteFailureReasonArrayOutput() TargetSiteFailureReasonArrayOutput

func (TargetSiteFailureReasonArray) ToTargetSiteFailureReasonArrayOutputWithContext added in v8.3.0

func (i TargetSiteFailureReasonArray) ToTargetSiteFailureReasonArrayOutputWithContext(ctx context.Context) TargetSiteFailureReasonArrayOutput

type TargetSiteFailureReasonArrayInput added in v8.3.0

type TargetSiteFailureReasonArrayInput interface {
	pulumi.Input

	ToTargetSiteFailureReasonArrayOutput() TargetSiteFailureReasonArrayOutput
	ToTargetSiteFailureReasonArrayOutputWithContext(context.Context) TargetSiteFailureReasonArrayOutput
}

TargetSiteFailureReasonArrayInput is an input type that accepts TargetSiteFailureReasonArray and TargetSiteFailureReasonArrayOutput values. You can construct a concrete instance of `TargetSiteFailureReasonArrayInput` via:

TargetSiteFailureReasonArray{ TargetSiteFailureReasonArgs{...} }

type TargetSiteFailureReasonArrayOutput added in v8.3.0

type TargetSiteFailureReasonArrayOutput struct{ *pulumi.OutputState }

func (TargetSiteFailureReasonArrayOutput) ElementType added in v8.3.0

func (TargetSiteFailureReasonArrayOutput) Index added in v8.3.0

func (TargetSiteFailureReasonArrayOutput) ToTargetSiteFailureReasonArrayOutput added in v8.3.0

func (o TargetSiteFailureReasonArrayOutput) ToTargetSiteFailureReasonArrayOutput() TargetSiteFailureReasonArrayOutput

func (TargetSiteFailureReasonArrayOutput) ToTargetSiteFailureReasonArrayOutputWithContext added in v8.3.0

func (o TargetSiteFailureReasonArrayOutput) ToTargetSiteFailureReasonArrayOutputWithContext(ctx context.Context) TargetSiteFailureReasonArrayOutput

type TargetSiteFailureReasonInput added in v8.3.0

type TargetSiteFailureReasonInput interface {
	pulumi.Input

	ToTargetSiteFailureReasonOutput() TargetSiteFailureReasonOutput
	ToTargetSiteFailureReasonOutputWithContext(context.Context) TargetSiteFailureReasonOutput
}

TargetSiteFailureReasonInput is an input type that accepts TargetSiteFailureReasonArgs and TargetSiteFailureReasonOutput values. You can construct a concrete instance of `TargetSiteFailureReasonInput` via:

TargetSiteFailureReasonArgs{...}

type TargetSiteFailureReasonOutput added in v8.3.0

type TargetSiteFailureReasonOutput struct{ *pulumi.OutputState }

func (TargetSiteFailureReasonOutput) ElementType added in v8.3.0

func (TargetSiteFailureReasonOutput) QuotaFailure added in v8.3.0

Site verification state indicating the ownership and validity. Structure is documented below.

func (TargetSiteFailureReasonOutput) ToTargetSiteFailureReasonOutput added in v8.3.0

func (o TargetSiteFailureReasonOutput) ToTargetSiteFailureReasonOutput() TargetSiteFailureReasonOutput

func (TargetSiteFailureReasonOutput) ToTargetSiteFailureReasonOutputWithContext added in v8.3.0

func (o TargetSiteFailureReasonOutput) ToTargetSiteFailureReasonOutputWithContext(ctx context.Context) TargetSiteFailureReasonOutput

type TargetSiteFailureReasonQuotaFailure added in v8.3.0

type TargetSiteFailureReasonQuotaFailure struct {
	// This number is an estimation on how much total quota this project
	// needs to successfully complete indexing.
	TotalRequiredQuota *int `pulumi:"totalRequiredQuota"`
}

type TargetSiteFailureReasonQuotaFailureArgs added in v8.3.0

type TargetSiteFailureReasonQuotaFailureArgs struct {
	// This number is an estimation on how much total quota this project
	// needs to successfully complete indexing.
	TotalRequiredQuota pulumi.IntPtrInput `pulumi:"totalRequiredQuota"`
}

func (TargetSiteFailureReasonQuotaFailureArgs) ElementType added in v8.3.0

func (TargetSiteFailureReasonQuotaFailureArgs) ToTargetSiteFailureReasonQuotaFailureOutput added in v8.3.0

func (i TargetSiteFailureReasonQuotaFailureArgs) ToTargetSiteFailureReasonQuotaFailureOutput() TargetSiteFailureReasonQuotaFailureOutput

func (TargetSiteFailureReasonQuotaFailureArgs) ToTargetSiteFailureReasonQuotaFailureOutputWithContext added in v8.3.0

func (i TargetSiteFailureReasonQuotaFailureArgs) ToTargetSiteFailureReasonQuotaFailureOutputWithContext(ctx context.Context) TargetSiteFailureReasonQuotaFailureOutput

func (TargetSiteFailureReasonQuotaFailureArgs) ToTargetSiteFailureReasonQuotaFailurePtrOutput added in v8.3.0

func (i TargetSiteFailureReasonQuotaFailureArgs) ToTargetSiteFailureReasonQuotaFailurePtrOutput() TargetSiteFailureReasonQuotaFailurePtrOutput

func (TargetSiteFailureReasonQuotaFailureArgs) ToTargetSiteFailureReasonQuotaFailurePtrOutputWithContext added in v8.3.0

func (i TargetSiteFailureReasonQuotaFailureArgs) ToTargetSiteFailureReasonQuotaFailurePtrOutputWithContext(ctx context.Context) TargetSiteFailureReasonQuotaFailurePtrOutput

type TargetSiteFailureReasonQuotaFailureInput added in v8.3.0

type TargetSiteFailureReasonQuotaFailureInput interface {
	pulumi.Input

	ToTargetSiteFailureReasonQuotaFailureOutput() TargetSiteFailureReasonQuotaFailureOutput
	ToTargetSiteFailureReasonQuotaFailureOutputWithContext(context.Context) TargetSiteFailureReasonQuotaFailureOutput
}

TargetSiteFailureReasonQuotaFailureInput is an input type that accepts TargetSiteFailureReasonQuotaFailureArgs and TargetSiteFailureReasonQuotaFailureOutput values. You can construct a concrete instance of `TargetSiteFailureReasonQuotaFailureInput` via:

TargetSiteFailureReasonQuotaFailureArgs{...}

type TargetSiteFailureReasonQuotaFailureOutput added in v8.3.0

type TargetSiteFailureReasonQuotaFailureOutput struct{ *pulumi.OutputState }

func (TargetSiteFailureReasonQuotaFailureOutput) ElementType added in v8.3.0

func (TargetSiteFailureReasonQuotaFailureOutput) ToTargetSiteFailureReasonQuotaFailureOutput added in v8.3.0

func (o TargetSiteFailureReasonQuotaFailureOutput) ToTargetSiteFailureReasonQuotaFailureOutput() TargetSiteFailureReasonQuotaFailureOutput

func (TargetSiteFailureReasonQuotaFailureOutput) ToTargetSiteFailureReasonQuotaFailureOutputWithContext added in v8.3.0

func (o TargetSiteFailureReasonQuotaFailureOutput) ToTargetSiteFailureReasonQuotaFailureOutputWithContext(ctx context.Context) TargetSiteFailureReasonQuotaFailureOutput

func (TargetSiteFailureReasonQuotaFailureOutput) ToTargetSiteFailureReasonQuotaFailurePtrOutput added in v8.3.0

func (o TargetSiteFailureReasonQuotaFailureOutput) ToTargetSiteFailureReasonQuotaFailurePtrOutput() TargetSiteFailureReasonQuotaFailurePtrOutput

func (TargetSiteFailureReasonQuotaFailureOutput) ToTargetSiteFailureReasonQuotaFailurePtrOutputWithContext added in v8.3.0

func (o TargetSiteFailureReasonQuotaFailureOutput) ToTargetSiteFailureReasonQuotaFailurePtrOutputWithContext(ctx context.Context) TargetSiteFailureReasonQuotaFailurePtrOutput

func (TargetSiteFailureReasonQuotaFailureOutput) TotalRequiredQuota added in v8.3.0

This number is an estimation on how much total quota this project needs to successfully complete indexing.

type TargetSiteFailureReasonQuotaFailurePtrInput added in v8.3.0

type TargetSiteFailureReasonQuotaFailurePtrInput interface {
	pulumi.Input

	ToTargetSiteFailureReasonQuotaFailurePtrOutput() TargetSiteFailureReasonQuotaFailurePtrOutput
	ToTargetSiteFailureReasonQuotaFailurePtrOutputWithContext(context.Context) TargetSiteFailureReasonQuotaFailurePtrOutput
}

TargetSiteFailureReasonQuotaFailurePtrInput is an input type that accepts TargetSiteFailureReasonQuotaFailureArgs, TargetSiteFailureReasonQuotaFailurePtr and TargetSiteFailureReasonQuotaFailurePtrOutput values. You can construct a concrete instance of `TargetSiteFailureReasonQuotaFailurePtrInput` via:

        TargetSiteFailureReasonQuotaFailureArgs{...}

or:

        nil

type TargetSiteFailureReasonQuotaFailurePtrOutput added in v8.3.0

type TargetSiteFailureReasonQuotaFailurePtrOutput struct{ *pulumi.OutputState }

func (TargetSiteFailureReasonQuotaFailurePtrOutput) Elem added in v8.3.0

func (TargetSiteFailureReasonQuotaFailurePtrOutput) ElementType added in v8.3.0

func (TargetSiteFailureReasonQuotaFailurePtrOutput) ToTargetSiteFailureReasonQuotaFailurePtrOutput added in v8.3.0

func (o TargetSiteFailureReasonQuotaFailurePtrOutput) ToTargetSiteFailureReasonQuotaFailurePtrOutput() TargetSiteFailureReasonQuotaFailurePtrOutput

func (TargetSiteFailureReasonQuotaFailurePtrOutput) ToTargetSiteFailureReasonQuotaFailurePtrOutputWithContext added in v8.3.0

func (o TargetSiteFailureReasonQuotaFailurePtrOutput) ToTargetSiteFailureReasonQuotaFailurePtrOutputWithContext(ctx context.Context) TargetSiteFailureReasonQuotaFailurePtrOutput

func (TargetSiteFailureReasonQuotaFailurePtrOutput) TotalRequiredQuota added in v8.3.0

This number is an estimation on how much total quota this project needs to successfully complete indexing.

type TargetSiteInput added in v8.3.0

type TargetSiteInput interface {
	pulumi.Input

	ToTargetSiteOutput() TargetSiteOutput
	ToTargetSiteOutputWithContext(ctx context.Context) TargetSiteOutput
}

type TargetSiteMap added in v8.3.0

type TargetSiteMap map[string]TargetSiteInput

func (TargetSiteMap) ElementType added in v8.3.0

func (TargetSiteMap) ElementType() reflect.Type

func (TargetSiteMap) ToTargetSiteMapOutput added in v8.3.0

func (i TargetSiteMap) ToTargetSiteMapOutput() TargetSiteMapOutput

func (TargetSiteMap) ToTargetSiteMapOutputWithContext added in v8.3.0

func (i TargetSiteMap) ToTargetSiteMapOutputWithContext(ctx context.Context) TargetSiteMapOutput

type TargetSiteMapInput added in v8.3.0

type TargetSiteMapInput interface {
	pulumi.Input

	ToTargetSiteMapOutput() TargetSiteMapOutput
	ToTargetSiteMapOutputWithContext(context.Context) TargetSiteMapOutput
}

TargetSiteMapInput is an input type that accepts TargetSiteMap and TargetSiteMapOutput values. You can construct a concrete instance of `TargetSiteMapInput` via:

TargetSiteMap{ "key": TargetSiteArgs{...} }

type TargetSiteMapOutput added in v8.3.0

type TargetSiteMapOutput struct{ *pulumi.OutputState }

func (TargetSiteMapOutput) ElementType added in v8.3.0

func (TargetSiteMapOutput) ElementType() reflect.Type

func (TargetSiteMapOutput) MapIndex added in v8.3.0

func (TargetSiteMapOutput) ToTargetSiteMapOutput added in v8.3.0

func (o TargetSiteMapOutput) ToTargetSiteMapOutput() TargetSiteMapOutput

func (TargetSiteMapOutput) ToTargetSiteMapOutputWithContext added in v8.3.0

func (o TargetSiteMapOutput) ToTargetSiteMapOutputWithContext(ctx context.Context) TargetSiteMapOutput

type TargetSiteOutput added in v8.3.0

type TargetSiteOutput struct{ *pulumi.OutputState }

func (TargetSiteOutput) DataStoreId added in v8.3.0

func (o TargetSiteOutput) DataStoreId() pulumi.StringOutput

The unique id of the data store.

***

func (TargetSiteOutput) ElementType added in v8.3.0

func (TargetSiteOutput) ElementType() reflect.Type

func (TargetSiteOutput) ExactMatch added in v8.3.0

func (o TargetSiteOutput) ExactMatch() pulumi.BoolPtrOutput

If set to false, a uriPattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uriPattern is generated to try to be an exact match of the providedUriPattern or just the specific page if the providedUriPattern is a specific one. providedUriPattern is always normalized to generate the URI pattern to be used by the search engine.

func (TargetSiteOutput) FailureReasons added in v8.3.0

Site search indexing failure reasons. Structure is documented below.

func (TargetSiteOutput) GeneratedUriPattern added in v8.3.0

func (o TargetSiteOutput) GeneratedUriPattern() pulumi.StringOutput

This is system-generated based on the `providedUriPattern`.

func (TargetSiteOutput) IndexingStatus added in v8.3.0

func (o TargetSiteOutput) IndexingStatus() pulumi.StringOutput

The indexing status.

func (TargetSiteOutput) Location added in v8.3.0

func (o TargetSiteOutput) Location() pulumi.StringOutput

The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".

func (TargetSiteOutput) Name added in v8.3.0

The unique full resource name of the target site. Values are of the format `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/siteSearchEngine/targetSites/{target_site_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.

func (TargetSiteOutput) Project added in v8.3.0

func (o TargetSiteOutput) Project() pulumi.StringOutput

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

func (TargetSiteOutput) ProvidedUriPattern added in v8.3.0

func (o TargetSiteOutput) ProvidedUriPattern() pulumi.StringOutput

The user provided URI pattern from which the `generatedUriPattern` is generated.

func (TargetSiteOutput) RootDomainUri added in v8.3.0

func (o TargetSiteOutput) RootDomainUri() pulumi.StringOutput

Root domain of the `providedUriPattern`.

func (TargetSiteOutput) SiteVerificationInfos added in v8.3.0

Site ownership and validity verification status. Structure is documented below.

func (TargetSiteOutput) TargetSiteId added in v8.3.0

func (o TargetSiteOutput) TargetSiteId() pulumi.StringOutput

The unique id of the target site.

func (TargetSiteOutput) ToTargetSiteOutput added in v8.3.0

func (o TargetSiteOutput) ToTargetSiteOutput() TargetSiteOutput

func (TargetSiteOutput) ToTargetSiteOutputWithContext added in v8.3.0

func (o TargetSiteOutput) ToTargetSiteOutputWithContext(ctx context.Context) TargetSiteOutput

func (TargetSiteOutput) Type added in v8.3.0

The possible target site types. Possible values are: `INCLUDE`, `EXCLUDE`.

func (TargetSiteOutput) UpdateTime added in v8.3.0

func (o TargetSiteOutput) UpdateTime() pulumi.StringOutput

The target site's last updated time.

type TargetSiteSiteVerificationInfo added in v8.3.0

type TargetSiteSiteVerificationInfo struct {
	// Site verification state indicating the ownership and validity.
	// Possible values are: `VERIFIED`, `UNVERIFIED`, `EXEMPTED`.
	SiteVerificationState *string `pulumi:"siteVerificationState"`
	// Latest site verification time.
	VerifyTime *string `pulumi:"verifyTime"`
}

type TargetSiteSiteVerificationInfoArgs added in v8.3.0

type TargetSiteSiteVerificationInfoArgs struct {
	// Site verification state indicating the ownership and validity.
	// Possible values are: `VERIFIED`, `UNVERIFIED`, `EXEMPTED`.
	SiteVerificationState pulumi.StringPtrInput `pulumi:"siteVerificationState"`
	// Latest site verification time.
	VerifyTime pulumi.StringPtrInput `pulumi:"verifyTime"`
}

func (TargetSiteSiteVerificationInfoArgs) ElementType added in v8.3.0

func (TargetSiteSiteVerificationInfoArgs) ToTargetSiteSiteVerificationInfoOutput added in v8.3.0

func (i TargetSiteSiteVerificationInfoArgs) ToTargetSiteSiteVerificationInfoOutput() TargetSiteSiteVerificationInfoOutput

func (TargetSiteSiteVerificationInfoArgs) ToTargetSiteSiteVerificationInfoOutputWithContext added in v8.3.0

func (i TargetSiteSiteVerificationInfoArgs) ToTargetSiteSiteVerificationInfoOutputWithContext(ctx context.Context) TargetSiteSiteVerificationInfoOutput

type TargetSiteSiteVerificationInfoArray added in v8.3.0

type TargetSiteSiteVerificationInfoArray []TargetSiteSiteVerificationInfoInput

func (TargetSiteSiteVerificationInfoArray) ElementType added in v8.3.0

func (TargetSiteSiteVerificationInfoArray) ToTargetSiteSiteVerificationInfoArrayOutput added in v8.3.0

func (i TargetSiteSiteVerificationInfoArray) ToTargetSiteSiteVerificationInfoArrayOutput() TargetSiteSiteVerificationInfoArrayOutput

func (TargetSiteSiteVerificationInfoArray) ToTargetSiteSiteVerificationInfoArrayOutputWithContext added in v8.3.0

func (i TargetSiteSiteVerificationInfoArray) ToTargetSiteSiteVerificationInfoArrayOutputWithContext(ctx context.Context) TargetSiteSiteVerificationInfoArrayOutput

type TargetSiteSiteVerificationInfoArrayInput added in v8.3.0

type TargetSiteSiteVerificationInfoArrayInput interface {
	pulumi.Input

	ToTargetSiteSiteVerificationInfoArrayOutput() TargetSiteSiteVerificationInfoArrayOutput
	ToTargetSiteSiteVerificationInfoArrayOutputWithContext(context.Context) TargetSiteSiteVerificationInfoArrayOutput
}

TargetSiteSiteVerificationInfoArrayInput is an input type that accepts TargetSiteSiteVerificationInfoArray and TargetSiteSiteVerificationInfoArrayOutput values. You can construct a concrete instance of `TargetSiteSiteVerificationInfoArrayInput` via:

TargetSiteSiteVerificationInfoArray{ TargetSiteSiteVerificationInfoArgs{...} }

type TargetSiteSiteVerificationInfoArrayOutput added in v8.3.0

type TargetSiteSiteVerificationInfoArrayOutput struct{ *pulumi.OutputState }

func (TargetSiteSiteVerificationInfoArrayOutput) ElementType added in v8.3.0

func (TargetSiteSiteVerificationInfoArrayOutput) Index added in v8.3.0

func (TargetSiteSiteVerificationInfoArrayOutput) ToTargetSiteSiteVerificationInfoArrayOutput added in v8.3.0

func (o TargetSiteSiteVerificationInfoArrayOutput) ToTargetSiteSiteVerificationInfoArrayOutput() TargetSiteSiteVerificationInfoArrayOutput

func (TargetSiteSiteVerificationInfoArrayOutput) ToTargetSiteSiteVerificationInfoArrayOutputWithContext added in v8.3.0

func (o TargetSiteSiteVerificationInfoArrayOutput) ToTargetSiteSiteVerificationInfoArrayOutputWithContext(ctx context.Context) TargetSiteSiteVerificationInfoArrayOutput

type TargetSiteSiteVerificationInfoInput added in v8.3.0

type TargetSiteSiteVerificationInfoInput interface {
	pulumi.Input

	ToTargetSiteSiteVerificationInfoOutput() TargetSiteSiteVerificationInfoOutput
	ToTargetSiteSiteVerificationInfoOutputWithContext(context.Context) TargetSiteSiteVerificationInfoOutput
}

TargetSiteSiteVerificationInfoInput is an input type that accepts TargetSiteSiteVerificationInfoArgs and TargetSiteSiteVerificationInfoOutput values. You can construct a concrete instance of `TargetSiteSiteVerificationInfoInput` via:

TargetSiteSiteVerificationInfoArgs{...}

type TargetSiteSiteVerificationInfoOutput added in v8.3.0

type TargetSiteSiteVerificationInfoOutput struct{ *pulumi.OutputState }

func (TargetSiteSiteVerificationInfoOutput) ElementType added in v8.3.0

func (TargetSiteSiteVerificationInfoOutput) SiteVerificationState added in v8.3.0

Site verification state indicating the ownership and validity. Possible values are: `VERIFIED`, `UNVERIFIED`, `EXEMPTED`.

func (TargetSiteSiteVerificationInfoOutput) ToTargetSiteSiteVerificationInfoOutput added in v8.3.0

func (o TargetSiteSiteVerificationInfoOutput) ToTargetSiteSiteVerificationInfoOutput() TargetSiteSiteVerificationInfoOutput

func (TargetSiteSiteVerificationInfoOutput) ToTargetSiteSiteVerificationInfoOutputWithContext added in v8.3.0

func (o TargetSiteSiteVerificationInfoOutput) ToTargetSiteSiteVerificationInfoOutputWithContext(ctx context.Context) TargetSiteSiteVerificationInfoOutput

func (TargetSiteSiteVerificationInfoOutput) VerifyTime added in v8.3.0

Latest site verification time.

type TargetSiteState added in v8.3.0

type TargetSiteState struct {
	// The unique id of the data store.
	//
	// ***
	DataStoreId pulumi.StringPtrInput
	// If set to false, a uriPattern is generated to include all pages whose
	// address contains the provided_uri_pattern. If set to true, an uriPattern
	// is generated to try to be an exact match of the providedUriPattern or
	// just the specific page if the providedUriPattern is a specific one.
	// providedUriPattern is always normalized to generate the URI pattern to
	// be used by the search engine.
	ExactMatch pulumi.BoolPtrInput
	// Site search indexing failure reasons.
	// Structure is documented below.
	FailureReasons TargetSiteFailureReasonArrayInput
	// This is system-generated based on the `providedUriPattern`.
	GeneratedUriPattern pulumi.StringPtrInput
	// The indexing status.
	IndexingStatus pulumi.StringPtrInput
	// The geographic location where the data store should reside. The value can
	// only be one of "global", "us" and "eu".
	Location pulumi.StringPtrInput
	// The unique full resource name of the target site. Values are of the format
	// `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/siteSearchEngine/targetSites/{target_site_id}`.
	// This field must be a UTF-8 encoded string with a length limit of 1024
	// characters.
	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 user provided URI pattern from which the `generatedUriPattern` is
	// generated.
	ProvidedUriPattern pulumi.StringPtrInput
	// Root domain of the `providedUriPattern`.
	RootDomainUri pulumi.StringPtrInput
	// Site ownership and validity verification status.
	// Structure is documented below.
	SiteVerificationInfos TargetSiteSiteVerificationInfoArrayInput
	// The unique id of the target site.
	TargetSiteId pulumi.StringPtrInput
	// The possible target site types.
	// Possible values are: `INCLUDE`, `EXCLUDE`.
	Type pulumi.StringPtrInput
	// The target site's last updated time.
	UpdateTime pulumi.StringPtrInput
}

func (TargetSiteState) ElementType added in v8.3.0

func (TargetSiteState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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