v3

package
v0.32.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dataset added in v0.28.0

type Dataset struct {
	pulumi.CustomResourceState

	// Timestamp when this dataset was created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The name of the dataset to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The number of examples in the dataset.
	ExampleCount pulumi.IntOutput    `pulumi:"exampleCount"`
	Location     pulumi.StringOutput `pulumi:"location"`
	// The resource name of the dataset, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}`
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// The BCP-47 language code of the source language.
	SourceLanguageCode pulumi.StringOutput `pulumi:"sourceLanguageCode"`
	// The BCP-47 language code of the target language.
	TargetLanguageCode pulumi.StringOutput `pulumi:"targetLanguageCode"`
	// Number of test examples (sentence pairs).
	TestExampleCount pulumi.IntOutput `pulumi:"testExampleCount"`
	// Number of training examples (sentence pairs).
	TrainExampleCount pulumi.IntOutput `pulumi:"trainExampleCount"`
	// Timestamp when this dataset was last updated.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// Number of validation examples (sentence pairs).
	ValidateExampleCount pulumi.IntOutput `pulumi:"validateExampleCount"`
}

Creates a Dataset.

func GetDataset added in v0.28.0

func GetDataset(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatasetState, opts ...pulumi.ResourceOption) (*Dataset, error)

GetDataset gets an existing Dataset 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 NewDataset added in v0.28.0

func NewDataset(ctx *pulumi.Context,
	name string, args *DatasetArgs, opts ...pulumi.ResourceOption) (*Dataset, error)

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

func (*Dataset) ElementType added in v0.28.0

func (*Dataset) ElementType() reflect.Type

func (*Dataset) ToDatasetOutput added in v0.28.0

func (i *Dataset) ToDatasetOutput() DatasetOutput

func (*Dataset) ToDatasetOutputWithContext added in v0.28.0

func (i *Dataset) ToDatasetOutputWithContext(ctx context.Context) DatasetOutput

type DatasetArgs added in v0.28.0

type DatasetArgs struct {
	// The name of the dataset to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.
	DisplayName pulumi.StringPtrInput
	Location    pulumi.StringPtrInput
	// The resource name of the dataset, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}`
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	// The BCP-47 language code of the source language.
	SourceLanguageCode pulumi.StringPtrInput
	// The BCP-47 language code of the target language.
	TargetLanguageCode pulumi.StringPtrInput
}

The set of arguments for constructing a Dataset resource.

func (DatasetArgs) ElementType added in v0.28.0

func (DatasetArgs) ElementType() reflect.Type

type DatasetInput added in v0.28.0

type DatasetInput interface {
	pulumi.Input

	ToDatasetOutput() DatasetOutput
	ToDatasetOutputWithContext(ctx context.Context) DatasetOutput
}

type DatasetOutput added in v0.28.0

type DatasetOutput struct{ *pulumi.OutputState }

func (DatasetOutput) CreateTime added in v0.28.0

func (o DatasetOutput) CreateTime() pulumi.StringOutput

Timestamp when this dataset was created.

func (DatasetOutput) DisplayName added in v0.28.0

func (o DatasetOutput) DisplayName() pulumi.StringOutput

The name of the dataset to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.

func (DatasetOutput) ElementType added in v0.28.0

func (DatasetOutput) ElementType() reflect.Type

func (DatasetOutput) ExampleCount added in v0.28.0

func (o DatasetOutput) ExampleCount() pulumi.IntOutput

The number of examples in the dataset.

func (DatasetOutput) Location added in v0.28.0

func (o DatasetOutput) Location() pulumi.StringOutput

func (DatasetOutput) Name added in v0.28.0

The resource name of the dataset, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}`

func (DatasetOutput) Project added in v0.28.0

func (o DatasetOutput) Project() pulumi.StringOutput

func (DatasetOutput) SourceLanguageCode added in v0.28.0

func (o DatasetOutput) SourceLanguageCode() pulumi.StringOutput

The BCP-47 language code of the source language.

func (DatasetOutput) TargetLanguageCode added in v0.28.0

func (o DatasetOutput) TargetLanguageCode() pulumi.StringOutput

The BCP-47 language code of the target language.

func (DatasetOutput) TestExampleCount added in v0.28.0

func (o DatasetOutput) TestExampleCount() pulumi.IntOutput

Number of test examples (sentence pairs).

func (DatasetOutput) ToDatasetOutput added in v0.28.0

func (o DatasetOutput) ToDatasetOutput() DatasetOutput

func (DatasetOutput) ToDatasetOutputWithContext added in v0.28.0

func (o DatasetOutput) ToDatasetOutputWithContext(ctx context.Context) DatasetOutput

func (DatasetOutput) TrainExampleCount added in v0.28.0

func (o DatasetOutput) TrainExampleCount() pulumi.IntOutput

Number of training examples (sentence pairs).

func (DatasetOutput) UpdateTime added in v0.28.0

func (o DatasetOutput) UpdateTime() pulumi.StringOutput

Timestamp when this dataset was last updated.

func (DatasetOutput) ValidateExampleCount added in v0.28.0

func (o DatasetOutput) ValidateExampleCount() pulumi.IntOutput

Number of validation examples (sentence pairs).

type DatasetState added in v0.28.0

type DatasetState struct {
}

func (DatasetState) ElementType added in v0.28.0

func (DatasetState) ElementType() reflect.Type

type GcsSource

type GcsSource struct {
	// Source data URI. For example, `gs://my_bucket/my_object`.
	InputUri string `pulumi:"inputUri"`
}

The Google Cloud Storage location for the input content.

type GcsSourceArgs

type GcsSourceArgs struct {
	// Source data URI. For example, `gs://my_bucket/my_object`.
	InputUri pulumi.StringInput `pulumi:"inputUri"`
}

The Google Cloud Storage location for the input content.

func (GcsSourceArgs) ElementType

func (GcsSourceArgs) ElementType() reflect.Type

func (GcsSourceArgs) ToGcsSourceOutput

func (i GcsSourceArgs) ToGcsSourceOutput() GcsSourceOutput

func (GcsSourceArgs) ToGcsSourceOutputWithContext

func (i GcsSourceArgs) ToGcsSourceOutputWithContext(ctx context.Context) GcsSourceOutput

type GcsSourceInput

type GcsSourceInput interface {
	pulumi.Input

	ToGcsSourceOutput() GcsSourceOutput
	ToGcsSourceOutputWithContext(context.Context) GcsSourceOutput
}

GcsSourceInput is an input type that accepts GcsSourceArgs and GcsSourceOutput values. You can construct a concrete instance of `GcsSourceInput` via:

GcsSourceArgs{...}

type GcsSourceOutput

type GcsSourceOutput struct{ *pulumi.OutputState }

The Google Cloud Storage location for the input content.

func (GcsSourceOutput) ElementType

func (GcsSourceOutput) ElementType() reflect.Type

func (GcsSourceOutput) InputUri

func (o GcsSourceOutput) InputUri() pulumi.StringOutput

Source data URI. For example, `gs://my_bucket/my_object`.

func (GcsSourceOutput) ToGcsSourceOutput

func (o GcsSourceOutput) ToGcsSourceOutput() GcsSourceOutput

func (GcsSourceOutput) ToGcsSourceOutputWithContext

func (o GcsSourceOutput) ToGcsSourceOutputWithContext(ctx context.Context) GcsSourceOutput

type GcsSourceResponse

type GcsSourceResponse struct {
	// Source data URI. For example, `gs://my_bucket/my_object`.
	InputUri string `pulumi:"inputUri"`
}

The Google Cloud Storage location for the input content.

type GcsSourceResponseOutput

type GcsSourceResponseOutput struct{ *pulumi.OutputState }

The Google Cloud Storage location for the input content.

func (GcsSourceResponseOutput) ElementType

func (GcsSourceResponseOutput) ElementType() reflect.Type

func (GcsSourceResponseOutput) InputUri

Source data URI. For example, `gs://my_bucket/my_object`.

func (GcsSourceResponseOutput) ToGcsSourceResponseOutput

func (o GcsSourceResponseOutput) ToGcsSourceResponseOutput() GcsSourceResponseOutput

func (GcsSourceResponseOutput) ToGcsSourceResponseOutputWithContext

func (o GcsSourceResponseOutput) ToGcsSourceResponseOutputWithContext(ctx context.Context) GcsSourceResponseOutput

type Glossary

type Glossary struct {
	pulumi.CustomResourceState

	// Optional. The display name of the glossary.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// When the glossary creation was finished.
	EndTime pulumi.StringOutput `pulumi:"endTime"`
	// The number of entries defined in the glossary.
	EntryCount pulumi.IntOutput `pulumi:"entryCount"`
	// Provides examples to build the glossary from. Total glossary must not exceed 10M Unicode codepoints.
	InputConfig GlossaryInputConfigResponseOutput `pulumi:"inputConfig"`
	// Used with equivalent term set glossaries.
	LanguageCodesSet LanguageCodesSetResponseOutput `pulumi:"languageCodesSet"`
	// Used with unidirectional glossaries.
	LanguagePair LanguageCodePairResponseOutput `pulumi:"languagePair"`
	Location     pulumi.StringOutput            `pulumi:"location"`
	// The resource name of the glossary. Glossary names have the form `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`.
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// When CreateGlossary was called.
	SubmitTime pulumi.StringOutput `pulumi:"submitTime"`
}

Creates a glossary and returns the long-running operation. Returns NOT_FOUND, if the project doesn't exist.

func GetGlossary

func GetGlossary(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GlossaryState, opts ...pulumi.ResourceOption) (*Glossary, error)

GetGlossary gets an existing Glossary 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 NewGlossary

func NewGlossary(ctx *pulumi.Context,
	name string, args *GlossaryArgs, opts ...pulumi.ResourceOption) (*Glossary, error)

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

func (*Glossary) ElementType

func (*Glossary) ElementType() reflect.Type

func (*Glossary) ToGlossaryOutput

func (i *Glossary) ToGlossaryOutput() GlossaryOutput

func (*Glossary) ToGlossaryOutputWithContext

func (i *Glossary) ToGlossaryOutputWithContext(ctx context.Context) GlossaryOutput

type GlossaryArgs

type GlossaryArgs struct {
	// Optional. The display name of the glossary.
	DisplayName pulumi.StringPtrInput
	// Provides examples to build the glossary from. Total glossary must not exceed 10M Unicode codepoints.
	InputConfig GlossaryInputConfigInput
	// Used with equivalent term set glossaries.
	LanguageCodesSet LanguageCodesSetPtrInput
	// Used with unidirectional glossaries.
	LanguagePair LanguageCodePairPtrInput
	Location     pulumi.StringPtrInput
	// The resource name of the glossary. Glossary names have the form `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`.
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a Glossary resource.

func (GlossaryArgs) ElementType

func (GlossaryArgs) ElementType() reflect.Type

type GlossaryEntry added in v0.23.0

type GlossaryEntry struct {
	pulumi.CustomResourceState

	// Describes the glossary entry.
	Description pulumi.StringOutput `pulumi:"description"`
	GlossaryId  pulumi.StringOutput `pulumi:"glossaryId"`
	Location    pulumi.StringOutput `pulumi:"location"`
	// The resource name of the entry. Format: "projects/*/locations/*/glossaries/*/glossaryEntries/*"
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// Used for an unidirectional glossary.
	TermsPair GlossaryTermsPairResponseOutput `pulumi:"termsPair"`
	// Used for an equivalent term sets glossary.
	TermsSet GlossaryTermsSetResponseOutput `pulumi:"termsSet"`
}

Creates a glossary entry.

func GetGlossaryEntry added in v0.23.0

func GetGlossaryEntry(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GlossaryEntryState, opts ...pulumi.ResourceOption) (*GlossaryEntry, error)

GetGlossaryEntry gets an existing GlossaryEntry 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 NewGlossaryEntry added in v0.23.0

func NewGlossaryEntry(ctx *pulumi.Context,
	name string, args *GlossaryEntryArgs, opts ...pulumi.ResourceOption) (*GlossaryEntry, error)

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

func (*GlossaryEntry) ElementType added in v0.23.0

func (*GlossaryEntry) ElementType() reflect.Type

func (*GlossaryEntry) ToGlossaryEntryOutput added in v0.23.0

func (i *GlossaryEntry) ToGlossaryEntryOutput() GlossaryEntryOutput

func (*GlossaryEntry) ToGlossaryEntryOutputWithContext added in v0.23.0

func (i *GlossaryEntry) ToGlossaryEntryOutputWithContext(ctx context.Context) GlossaryEntryOutput

type GlossaryEntryArgs added in v0.23.0

type GlossaryEntryArgs struct {
	// Describes the glossary entry.
	Description pulumi.StringPtrInput
	GlossaryId  pulumi.StringInput
	Location    pulumi.StringPtrInput
	// The resource name of the entry. Format: "projects/*/locations/*/glossaries/*/glossaryEntries/*"
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	// Used for an unidirectional glossary.
	TermsPair GlossaryTermsPairPtrInput
	// Used for an equivalent term sets glossary.
	TermsSet GlossaryTermsSetPtrInput
}

The set of arguments for constructing a GlossaryEntry resource.

func (GlossaryEntryArgs) ElementType added in v0.23.0

func (GlossaryEntryArgs) ElementType() reflect.Type

type GlossaryEntryInput added in v0.23.0

type GlossaryEntryInput interface {
	pulumi.Input

	ToGlossaryEntryOutput() GlossaryEntryOutput
	ToGlossaryEntryOutputWithContext(ctx context.Context) GlossaryEntryOutput
}

type GlossaryEntryOutput added in v0.23.0

type GlossaryEntryOutput struct{ *pulumi.OutputState }

func (GlossaryEntryOutput) Description added in v0.23.0

func (o GlossaryEntryOutput) Description() pulumi.StringOutput

Describes the glossary entry.

func (GlossaryEntryOutput) ElementType added in v0.23.0

func (GlossaryEntryOutput) ElementType() reflect.Type

func (GlossaryEntryOutput) GlossaryId added in v0.23.0

func (o GlossaryEntryOutput) GlossaryId() pulumi.StringOutput

func (GlossaryEntryOutput) Location added in v0.23.0

func (GlossaryEntryOutput) Name added in v0.23.0

The resource name of the entry. Format: "projects/*/locations/*/glossaries/*/glossaryEntries/*"

func (GlossaryEntryOutput) Project added in v0.23.0

func (GlossaryEntryOutput) TermsPair added in v0.23.0

Used for an unidirectional glossary.

func (GlossaryEntryOutput) TermsSet added in v0.23.0

Used for an equivalent term sets glossary.

func (GlossaryEntryOutput) ToGlossaryEntryOutput added in v0.23.0

func (o GlossaryEntryOutput) ToGlossaryEntryOutput() GlossaryEntryOutput

func (GlossaryEntryOutput) ToGlossaryEntryOutputWithContext added in v0.23.0

func (o GlossaryEntryOutput) ToGlossaryEntryOutputWithContext(ctx context.Context) GlossaryEntryOutput

type GlossaryEntryState added in v0.23.0

type GlossaryEntryState struct {
}

func (GlossaryEntryState) ElementType added in v0.23.0

func (GlossaryEntryState) ElementType() reflect.Type

type GlossaryInput

type GlossaryInput interface {
	pulumi.Input

	ToGlossaryOutput() GlossaryOutput
	ToGlossaryOutputWithContext(ctx context.Context) GlossaryOutput
}

type GlossaryInputConfig

type GlossaryInputConfig struct {
	// Google Cloud Storage location of glossary data. File format is determined based on the filename extension. API returns [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file formats. Wildcards are not allowed. This must be a single file in one of the following formats: For unidirectional glossaries: - TSV/CSV (`.tsv`/`.csv`): Two column file, tab- or comma-separated. The first column is source text. The second column is target text. No headers in this file. The first row contains data and not column names. - TMX (`.tmx`): TMX file with parallel data defining source/target term pairs. For equivalent term sets glossaries: - CSV (`.csv`): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - [glossaries](https://cloud.google.com/translate/docs/advanced/glossary).
	GcsSource GcsSource `pulumi:"gcsSource"`
}

Input configuration for glossaries.

type GlossaryInputConfigArgs

type GlossaryInputConfigArgs struct {
	// Google Cloud Storage location of glossary data. File format is determined based on the filename extension. API returns [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file formats. Wildcards are not allowed. This must be a single file in one of the following formats: For unidirectional glossaries: - TSV/CSV (`.tsv`/`.csv`): Two column file, tab- or comma-separated. The first column is source text. The second column is target text. No headers in this file. The first row contains data and not column names. - TMX (`.tmx`): TMX file with parallel data defining source/target term pairs. For equivalent term sets glossaries: - CSV (`.csv`): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - [glossaries](https://cloud.google.com/translate/docs/advanced/glossary).
	GcsSource GcsSourceInput `pulumi:"gcsSource"`
}

Input configuration for glossaries.

func (GlossaryInputConfigArgs) ElementType

func (GlossaryInputConfigArgs) ElementType() reflect.Type

func (GlossaryInputConfigArgs) ToGlossaryInputConfigOutput

func (i GlossaryInputConfigArgs) ToGlossaryInputConfigOutput() GlossaryInputConfigOutput

func (GlossaryInputConfigArgs) ToGlossaryInputConfigOutputWithContext

func (i GlossaryInputConfigArgs) ToGlossaryInputConfigOutputWithContext(ctx context.Context) GlossaryInputConfigOutput

type GlossaryInputConfigInput

type GlossaryInputConfigInput interface {
	pulumi.Input

	ToGlossaryInputConfigOutput() GlossaryInputConfigOutput
	ToGlossaryInputConfigOutputWithContext(context.Context) GlossaryInputConfigOutput
}

GlossaryInputConfigInput is an input type that accepts GlossaryInputConfigArgs and GlossaryInputConfigOutput values. You can construct a concrete instance of `GlossaryInputConfigInput` via:

GlossaryInputConfigArgs{...}

type GlossaryInputConfigOutput

type GlossaryInputConfigOutput struct{ *pulumi.OutputState }

Input configuration for glossaries.

func (GlossaryInputConfigOutput) ElementType

func (GlossaryInputConfigOutput) ElementType() reflect.Type

func (GlossaryInputConfigOutput) GcsSource

Google Cloud Storage location of glossary data. File format is determined based on the filename extension. API returns [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file formats. Wildcards are not allowed. This must be a single file in one of the following formats: For unidirectional glossaries: - TSV/CSV (`.tsv`/`.csv`): Two column file, tab- or comma-separated. The first column is source text. The second column is target text. No headers in this file. The first row contains data and not column names. - TMX (`.tmx`): TMX file with parallel data defining source/target term pairs. For equivalent term sets glossaries: - CSV (`.csv`): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - [glossaries](https://cloud.google.com/translate/docs/advanced/glossary).

func (GlossaryInputConfigOutput) ToGlossaryInputConfigOutput

func (o GlossaryInputConfigOutput) ToGlossaryInputConfigOutput() GlossaryInputConfigOutput

func (GlossaryInputConfigOutput) ToGlossaryInputConfigOutputWithContext

func (o GlossaryInputConfigOutput) ToGlossaryInputConfigOutputWithContext(ctx context.Context) GlossaryInputConfigOutput

type GlossaryInputConfigResponse

type GlossaryInputConfigResponse struct {
	// Google Cloud Storage location of glossary data. File format is determined based on the filename extension. API returns [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file formats. Wildcards are not allowed. This must be a single file in one of the following formats: For unidirectional glossaries: - TSV/CSV (`.tsv`/`.csv`): Two column file, tab- or comma-separated. The first column is source text. The second column is target text. No headers in this file. The first row contains data and not column names. - TMX (`.tmx`): TMX file with parallel data defining source/target term pairs. For equivalent term sets glossaries: - CSV (`.csv`): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - [glossaries](https://cloud.google.com/translate/docs/advanced/glossary).
	GcsSource GcsSourceResponse `pulumi:"gcsSource"`
}

Input configuration for glossaries.

type GlossaryInputConfigResponseOutput

type GlossaryInputConfigResponseOutput struct{ *pulumi.OutputState }

Input configuration for glossaries.

func (GlossaryInputConfigResponseOutput) ElementType

func (GlossaryInputConfigResponseOutput) GcsSource

Google Cloud Storage location of glossary data. File format is determined based on the filename extension. API returns [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file formats. Wildcards are not allowed. This must be a single file in one of the following formats: For unidirectional glossaries: - TSV/CSV (`.tsv`/`.csv`): Two column file, tab- or comma-separated. The first column is source text. The second column is target text. No headers in this file. The first row contains data and not column names. - TMX (`.tmx`): TMX file with parallel data defining source/target term pairs. For equivalent term sets glossaries: - CSV (`.csv`): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - [glossaries](https://cloud.google.com/translate/docs/advanced/glossary).

func (GlossaryInputConfigResponseOutput) ToGlossaryInputConfigResponseOutput

func (o GlossaryInputConfigResponseOutput) ToGlossaryInputConfigResponseOutput() GlossaryInputConfigResponseOutput

func (GlossaryInputConfigResponseOutput) ToGlossaryInputConfigResponseOutputWithContext

func (o GlossaryInputConfigResponseOutput) ToGlossaryInputConfigResponseOutputWithContext(ctx context.Context) GlossaryInputConfigResponseOutput

type GlossaryOutput

type GlossaryOutput struct{ *pulumi.OutputState }

func (GlossaryOutput) DisplayName added in v0.23.0

func (o GlossaryOutput) DisplayName() pulumi.StringOutput

Optional. The display name of the glossary.

func (GlossaryOutput) ElementType

func (GlossaryOutput) ElementType() reflect.Type

func (GlossaryOutput) EndTime added in v0.19.0

func (o GlossaryOutput) EndTime() pulumi.StringOutput

When the glossary creation was finished.

func (GlossaryOutput) EntryCount added in v0.19.0

func (o GlossaryOutput) EntryCount() pulumi.IntOutput

The number of entries defined in the glossary.

func (GlossaryOutput) InputConfig added in v0.19.0

Provides examples to build the glossary from. Total glossary must not exceed 10M Unicode codepoints.

func (GlossaryOutput) LanguageCodesSet added in v0.19.0

func (o GlossaryOutput) LanguageCodesSet() LanguageCodesSetResponseOutput

Used with equivalent term set glossaries.

func (GlossaryOutput) LanguagePair added in v0.19.0

Used with unidirectional glossaries.

func (GlossaryOutput) Location added in v0.21.0

func (o GlossaryOutput) Location() pulumi.StringOutput

func (GlossaryOutput) Name added in v0.19.0

The resource name of the glossary. Glossary names have the form `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`.

func (GlossaryOutput) Project added in v0.21.0

func (o GlossaryOutput) Project() pulumi.StringOutput

func (GlossaryOutput) SubmitTime added in v0.19.0

func (o GlossaryOutput) SubmitTime() pulumi.StringOutput

When CreateGlossary was called.

func (GlossaryOutput) ToGlossaryOutput

func (o GlossaryOutput) ToGlossaryOutput() GlossaryOutput

func (GlossaryOutput) ToGlossaryOutputWithContext

func (o GlossaryOutput) ToGlossaryOutputWithContext(ctx context.Context) GlossaryOutput

type GlossaryState

type GlossaryState struct {
}

func (GlossaryState) ElementType

func (GlossaryState) ElementType() reflect.Type

type GlossaryTerm added in v0.23.0

type GlossaryTerm struct {
	// The language for this glossary term.
	LanguageCode *string `pulumi:"languageCode"`
	// The text for the glossary term.
	Text *string `pulumi:"text"`
}

Represents a single glossary term

type GlossaryTermArgs added in v0.23.0

type GlossaryTermArgs struct {
	// The language for this glossary term.
	LanguageCode pulumi.StringPtrInput `pulumi:"languageCode"`
	// The text for the glossary term.
	Text pulumi.StringPtrInput `pulumi:"text"`
}

Represents a single glossary term

func (GlossaryTermArgs) ElementType added in v0.23.0

func (GlossaryTermArgs) ElementType() reflect.Type

func (GlossaryTermArgs) ToGlossaryTermOutput added in v0.23.0

func (i GlossaryTermArgs) ToGlossaryTermOutput() GlossaryTermOutput

func (GlossaryTermArgs) ToGlossaryTermOutputWithContext added in v0.23.0

func (i GlossaryTermArgs) ToGlossaryTermOutputWithContext(ctx context.Context) GlossaryTermOutput

func (GlossaryTermArgs) ToGlossaryTermPtrOutput added in v0.23.0

func (i GlossaryTermArgs) ToGlossaryTermPtrOutput() GlossaryTermPtrOutput

func (GlossaryTermArgs) ToGlossaryTermPtrOutputWithContext added in v0.23.0

func (i GlossaryTermArgs) ToGlossaryTermPtrOutputWithContext(ctx context.Context) GlossaryTermPtrOutput

type GlossaryTermArray added in v0.23.0

type GlossaryTermArray []GlossaryTermInput

func (GlossaryTermArray) ElementType added in v0.23.0

func (GlossaryTermArray) ElementType() reflect.Type

func (GlossaryTermArray) ToGlossaryTermArrayOutput added in v0.23.0

func (i GlossaryTermArray) ToGlossaryTermArrayOutput() GlossaryTermArrayOutput

func (GlossaryTermArray) ToGlossaryTermArrayOutputWithContext added in v0.23.0

func (i GlossaryTermArray) ToGlossaryTermArrayOutputWithContext(ctx context.Context) GlossaryTermArrayOutput

type GlossaryTermArrayInput added in v0.23.0

type GlossaryTermArrayInput interface {
	pulumi.Input

	ToGlossaryTermArrayOutput() GlossaryTermArrayOutput
	ToGlossaryTermArrayOutputWithContext(context.Context) GlossaryTermArrayOutput
}

GlossaryTermArrayInput is an input type that accepts GlossaryTermArray and GlossaryTermArrayOutput values. You can construct a concrete instance of `GlossaryTermArrayInput` via:

GlossaryTermArray{ GlossaryTermArgs{...} }

type GlossaryTermArrayOutput added in v0.23.0

type GlossaryTermArrayOutput struct{ *pulumi.OutputState }

func (GlossaryTermArrayOutput) ElementType added in v0.23.0

func (GlossaryTermArrayOutput) ElementType() reflect.Type

func (GlossaryTermArrayOutput) Index added in v0.23.0

func (GlossaryTermArrayOutput) ToGlossaryTermArrayOutput added in v0.23.0

func (o GlossaryTermArrayOutput) ToGlossaryTermArrayOutput() GlossaryTermArrayOutput

func (GlossaryTermArrayOutput) ToGlossaryTermArrayOutputWithContext added in v0.23.0

func (o GlossaryTermArrayOutput) ToGlossaryTermArrayOutputWithContext(ctx context.Context) GlossaryTermArrayOutput

type GlossaryTermInput added in v0.23.0

type GlossaryTermInput interface {
	pulumi.Input

	ToGlossaryTermOutput() GlossaryTermOutput
	ToGlossaryTermOutputWithContext(context.Context) GlossaryTermOutput
}

GlossaryTermInput is an input type that accepts GlossaryTermArgs and GlossaryTermOutput values. You can construct a concrete instance of `GlossaryTermInput` via:

GlossaryTermArgs{...}

type GlossaryTermOutput added in v0.23.0

type GlossaryTermOutput struct{ *pulumi.OutputState }

Represents a single glossary term

func (GlossaryTermOutput) ElementType added in v0.23.0

func (GlossaryTermOutput) ElementType() reflect.Type

func (GlossaryTermOutput) LanguageCode added in v0.23.0

func (o GlossaryTermOutput) LanguageCode() pulumi.StringPtrOutput

The language for this glossary term.

func (GlossaryTermOutput) Text added in v0.23.0

The text for the glossary term.

func (GlossaryTermOutput) ToGlossaryTermOutput added in v0.23.0

func (o GlossaryTermOutput) ToGlossaryTermOutput() GlossaryTermOutput

func (GlossaryTermOutput) ToGlossaryTermOutputWithContext added in v0.23.0

func (o GlossaryTermOutput) ToGlossaryTermOutputWithContext(ctx context.Context) GlossaryTermOutput

func (GlossaryTermOutput) ToGlossaryTermPtrOutput added in v0.23.0

func (o GlossaryTermOutput) ToGlossaryTermPtrOutput() GlossaryTermPtrOutput

func (GlossaryTermOutput) ToGlossaryTermPtrOutputWithContext added in v0.23.0

func (o GlossaryTermOutput) ToGlossaryTermPtrOutputWithContext(ctx context.Context) GlossaryTermPtrOutput

type GlossaryTermPtrInput added in v0.23.0

type GlossaryTermPtrInput interface {
	pulumi.Input

	ToGlossaryTermPtrOutput() GlossaryTermPtrOutput
	ToGlossaryTermPtrOutputWithContext(context.Context) GlossaryTermPtrOutput
}

GlossaryTermPtrInput is an input type that accepts GlossaryTermArgs, GlossaryTermPtr and GlossaryTermPtrOutput values. You can construct a concrete instance of `GlossaryTermPtrInput` via:

        GlossaryTermArgs{...}

or:

        nil

func GlossaryTermPtr added in v0.23.0

func GlossaryTermPtr(v *GlossaryTermArgs) GlossaryTermPtrInput

type GlossaryTermPtrOutput added in v0.23.0

type GlossaryTermPtrOutput struct{ *pulumi.OutputState }

func (GlossaryTermPtrOutput) Elem added in v0.23.0

func (GlossaryTermPtrOutput) ElementType added in v0.23.0

func (GlossaryTermPtrOutput) ElementType() reflect.Type

func (GlossaryTermPtrOutput) LanguageCode added in v0.23.0

func (o GlossaryTermPtrOutput) LanguageCode() pulumi.StringPtrOutput

The language for this glossary term.

func (GlossaryTermPtrOutput) Text added in v0.23.0

The text for the glossary term.

func (GlossaryTermPtrOutput) ToGlossaryTermPtrOutput added in v0.23.0

func (o GlossaryTermPtrOutput) ToGlossaryTermPtrOutput() GlossaryTermPtrOutput

func (GlossaryTermPtrOutput) ToGlossaryTermPtrOutputWithContext added in v0.23.0

func (o GlossaryTermPtrOutput) ToGlossaryTermPtrOutputWithContext(ctx context.Context) GlossaryTermPtrOutput

type GlossaryTermResponse added in v0.23.0

type GlossaryTermResponse struct {
	// The language for this glossary term.
	LanguageCode string `pulumi:"languageCode"`
	// The text for the glossary term.
	Text string `pulumi:"text"`
}

Represents a single glossary term

type GlossaryTermResponseArrayOutput added in v0.23.0

type GlossaryTermResponseArrayOutput struct{ *pulumi.OutputState }

func (GlossaryTermResponseArrayOutput) ElementType added in v0.23.0

func (GlossaryTermResponseArrayOutput) Index added in v0.23.0

func (GlossaryTermResponseArrayOutput) ToGlossaryTermResponseArrayOutput added in v0.23.0

func (o GlossaryTermResponseArrayOutput) ToGlossaryTermResponseArrayOutput() GlossaryTermResponseArrayOutput

func (GlossaryTermResponseArrayOutput) ToGlossaryTermResponseArrayOutputWithContext added in v0.23.0

func (o GlossaryTermResponseArrayOutput) ToGlossaryTermResponseArrayOutputWithContext(ctx context.Context) GlossaryTermResponseArrayOutput

type GlossaryTermResponseOutput added in v0.23.0

type GlossaryTermResponseOutput struct{ *pulumi.OutputState }

Represents a single glossary term

func (GlossaryTermResponseOutput) ElementType added in v0.23.0

func (GlossaryTermResponseOutput) ElementType() reflect.Type

func (GlossaryTermResponseOutput) LanguageCode added in v0.23.0

The language for this glossary term.

func (GlossaryTermResponseOutput) Text added in v0.23.0

The text for the glossary term.

func (GlossaryTermResponseOutput) ToGlossaryTermResponseOutput added in v0.23.0

func (o GlossaryTermResponseOutput) ToGlossaryTermResponseOutput() GlossaryTermResponseOutput

func (GlossaryTermResponseOutput) ToGlossaryTermResponseOutputWithContext added in v0.23.0

func (o GlossaryTermResponseOutput) ToGlossaryTermResponseOutputWithContext(ctx context.Context) GlossaryTermResponseOutput

type GlossaryTermsPair added in v0.23.0

type GlossaryTermsPair struct {
	// The source term is the term that will get match in the text,
	SourceTerm *GlossaryTerm `pulumi:"sourceTerm"`
	// The term that will replace the match source term.
	TargetTerm *GlossaryTerm `pulumi:"targetTerm"`
}

Represents a single entry for an unidirectional glossary.

type GlossaryTermsPairArgs added in v0.23.0

type GlossaryTermsPairArgs struct {
	// The source term is the term that will get match in the text,
	SourceTerm GlossaryTermPtrInput `pulumi:"sourceTerm"`
	// The term that will replace the match source term.
	TargetTerm GlossaryTermPtrInput `pulumi:"targetTerm"`
}

Represents a single entry for an unidirectional glossary.

func (GlossaryTermsPairArgs) ElementType added in v0.23.0

func (GlossaryTermsPairArgs) ElementType() reflect.Type

func (GlossaryTermsPairArgs) ToGlossaryTermsPairOutput added in v0.23.0

func (i GlossaryTermsPairArgs) ToGlossaryTermsPairOutput() GlossaryTermsPairOutput

func (GlossaryTermsPairArgs) ToGlossaryTermsPairOutputWithContext added in v0.23.0

func (i GlossaryTermsPairArgs) ToGlossaryTermsPairOutputWithContext(ctx context.Context) GlossaryTermsPairOutput

func (GlossaryTermsPairArgs) ToGlossaryTermsPairPtrOutput added in v0.23.0

func (i GlossaryTermsPairArgs) ToGlossaryTermsPairPtrOutput() GlossaryTermsPairPtrOutput

func (GlossaryTermsPairArgs) ToGlossaryTermsPairPtrOutputWithContext added in v0.23.0

func (i GlossaryTermsPairArgs) ToGlossaryTermsPairPtrOutputWithContext(ctx context.Context) GlossaryTermsPairPtrOutput

type GlossaryTermsPairInput added in v0.23.0

type GlossaryTermsPairInput interface {
	pulumi.Input

	ToGlossaryTermsPairOutput() GlossaryTermsPairOutput
	ToGlossaryTermsPairOutputWithContext(context.Context) GlossaryTermsPairOutput
}

GlossaryTermsPairInput is an input type that accepts GlossaryTermsPairArgs and GlossaryTermsPairOutput values. You can construct a concrete instance of `GlossaryTermsPairInput` via:

GlossaryTermsPairArgs{...}

type GlossaryTermsPairOutput added in v0.23.0

type GlossaryTermsPairOutput struct{ *pulumi.OutputState }

Represents a single entry for an unidirectional glossary.

func (GlossaryTermsPairOutput) ElementType added in v0.23.0

func (GlossaryTermsPairOutput) ElementType() reflect.Type

func (GlossaryTermsPairOutput) SourceTerm added in v0.23.0

The source term is the term that will get match in the text,

func (GlossaryTermsPairOutput) TargetTerm added in v0.23.0

The term that will replace the match source term.

func (GlossaryTermsPairOutput) ToGlossaryTermsPairOutput added in v0.23.0

func (o GlossaryTermsPairOutput) ToGlossaryTermsPairOutput() GlossaryTermsPairOutput

func (GlossaryTermsPairOutput) ToGlossaryTermsPairOutputWithContext added in v0.23.0

func (o GlossaryTermsPairOutput) ToGlossaryTermsPairOutputWithContext(ctx context.Context) GlossaryTermsPairOutput

func (GlossaryTermsPairOutput) ToGlossaryTermsPairPtrOutput added in v0.23.0

func (o GlossaryTermsPairOutput) ToGlossaryTermsPairPtrOutput() GlossaryTermsPairPtrOutput

func (GlossaryTermsPairOutput) ToGlossaryTermsPairPtrOutputWithContext added in v0.23.0

func (o GlossaryTermsPairOutput) ToGlossaryTermsPairPtrOutputWithContext(ctx context.Context) GlossaryTermsPairPtrOutput

type GlossaryTermsPairPtrInput added in v0.23.0

type GlossaryTermsPairPtrInput interface {
	pulumi.Input

	ToGlossaryTermsPairPtrOutput() GlossaryTermsPairPtrOutput
	ToGlossaryTermsPairPtrOutputWithContext(context.Context) GlossaryTermsPairPtrOutput
}

GlossaryTermsPairPtrInput is an input type that accepts GlossaryTermsPairArgs, GlossaryTermsPairPtr and GlossaryTermsPairPtrOutput values. You can construct a concrete instance of `GlossaryTermsPairPtrInput` via:

        GlossaryTermsPairArgs{...}

or:

        nil

func GlossaryTermsPairPtr added in v0.23.0

func GlossaryTermsPairPtr(v *GlossaryTermsPairArgs) GlossaryTermsPairPtrInput

type GlossaryTermsPairPtrOutput added in v0.23.0

type GlossaryTermsPairPtrOutput struct{ *pulumi.OutputState }

func (GlossaryTermsPairPtrOutput) Elem added in v0.23.0

func (GlossaryTermsPairPtrOutput) ElementType added in v0.23.0

func (GlossaryTermsPairPtrOutput) ElementType() reflect.Type

func (GlossaryTermsPairPtrOutput) SourceTerm added in v0.23.0

The source term is the term that will get match in the text,

func (GlossaryTermsPairPtrOutput) TargetTerm added in v0.23.0

The term that will replace the match source term.

func (GlossaryTermsPairPtrOutput) ToGlossaryTermsPairPtrOutput added in v0.23.0

func (o GlossaryTermsPairPtrOutput) ToGlossaryTermsPairPtrOutput() GlossaryTermsPairPtrOutput

func (GlossaryTermsPairPtrOutput) ToGlossaryTermsPairPtrOutputWithContext added in v0.23.0

func (o GlossaryTermsPairPtrOutput) ToGlossaryTermsPairPtrOutputWithContext(ctx context.Context) GlossaryTermsPairPtrOutput

type GlossaryTermsPairResponse added in v0.23.0

type GlossaryTermsPairResponse struct {
	// The source term is the term that will get match in the text,
	SourceTerm GlossaryTermResponse `pulumi:"sourceTerm"`
	// The term that will replace the match source term.
	TargetTerm GlossaryTermResponse `pulumi:"targetTerm"`
}

Represents a single entry for an unidirectional glossary.

type GlossaryTermsPairResponseOutput added in v0.23.0

type GlossaryTermsPairResponseOutput struct{ *pulumi.OutputState }

Represents a single entry for an unidirectional glossary.

func (GlossaryTermsPairResponseOutput) ElementType added in v0.23.0

func (GlossaryTermsPairResponseOutput) SourceTerm added in v0.23.0

The source term is the term that will get match in the text,

func (GlossaryTermsPairResponseOutput) TargetTerm added in v0.23.0

The term that will replace the match source term.

func (GlossaryTermsPairResponseOutput) ToGlossaryTermsPairResponseOutput added in v0.23.0

func (o GlossaryTermsPairResponseOutput) ToGlossaryTermsPairResponseOutput() GlossaryTermsPairResponseOutput

func (GlossaryTermsPairResponseOutput) ToGlossaryTermsPairResponseOutputWithContext added in v0.23.0

func (o GlossaryTermsPairResponseOutput) ToGlossaryTermsPairResponseOutputWithContext(ctx context.Context) GlossaryTermsPairResponseOutput

type GlossaryTermsSet added in v0.23.0

type GlossaryTermsSet struct {
	// Each term in the set represents a term that can be replaced by the other terms.
	Terms []GlossaryTerm `pulumi:"terms"`
}

Represents a single entry for an equivalent term set glossary. This is used for equivalent term sets where each term can be replaced by the other terms in the set.

type GlossaryTermsSetArgs added in v0.23.0

type GlossaryTermsSetArgs struct {
	// Each term in the set represents a term that can be replaced by the other terms.
	Terms GlossaryTermArrayInput `pulumi:"terms"`
}

Represents a single entry for an equivalent term set glossary. This is used for equivalent term sets where each term can be replaced by the other terms in the set.

func (GlossaryTermsSetArgs) ElementType added in v0.23.0

func (GlossaryTermsSetArgs) ElementType() reflect.Type

func (GlossaryTermsSetArgs) ToGlossaryTermsSetOutput added in v0.23.0

func (i GlossaryTermsSetArgs) ToGlossaryTermsSetOutput() GlossaryTermsSetOutput

func (GlossaryTermsSetArgs) ToGlossaryTermsSetOutputWithContext added in v0.23.0

func (i GlossaryTermsSetArgs) ToGlossaryTermsSetOutputWithContext(ctx context.Context) GlossaryTermsSetOutput

func (GlossaryTermsSetArgs) ToGlossaryTermsSetPtrOutput added in v0.23.0

func (i GlossaryTermsSetArgs) ToGlossaryTermsSetPtrOutput() GlossaryTermsSetPtrOutput

func (GlossaryTermsSetArgs) ToGlossaryTermsSetPtrOutputWithContext added in v0.23.0

func (i GlossaryTermsSetArgs) ToGlossaryTermsSetPtrOutputWithContext(ctx context.Context) GlossaryTermsSetPtrOutput

type GlossaryTermsSetInput added in v0.23.0

type GlossaryTermsSetInput interface {
	pulumi.Input

	ToGlossaryTermsSetOutput() GlossaryTermsSetOutput
	ToGlossaryTermsSetOutputWithContext(context.Context) GlossaryTermsSetOutput
}

GlossaryTermsSetInput is an input type that accepts GlossaryTermsSetArgs and GlossaryTermsSetOutput values. You can construct a concrete instance of `GlossaryTermsSetInput` via:

GlossaryTermsSetArgs{...}

type GlossaryTermsSetOutput added in v0.23.0

type GlossaryTermsSetOutput struct{ *pulumi.OutputState }

Represents a single entry for an equivalent term set glossary. This is used for equivalent term sets where each term can be replaced by the other terms in the set.

func (GlossaryTermsSetOutput) ElementType added in v0.23.0

func (GlossaryTermsSetOutput) ElementType() reflect.Type

func (GlossaryTermsSetOutput) Terms added in v0.23.0

Each term in the set represents a term that can be replaced by the other terms.

func (GlossaryTermsSetOutput) ToGlossaryTermsSetOutput added in v0.23.0

func (o GlossaryTermsSetOutput) ToGlossaryTermsSetOutput() GlossaryTermsSetOutput

func (GlossaryTermsSetOutput) ToGlossaryTermsSetOutputWithContext added in v0.23.0

func (o GlossaryTermsSetOutput) ToGlossaryTermsSetOutputWithContext(ctx context.Context) GlossaryTermsSetOutput

func (GlossaryTermsSetOutput) ToGlossaryTermsSetPtrOutput added in v0.23.0

func (o GlossaryTermsSetOutput) ToGlossaryTermsSetPtrOutput() GlossaryTermsSetPtrOutput

func (GlossaryTermsSetOutput) ToGlossaryTermsSetPtrOutputWithContext added in v0.23.0

func (o GlossaryTermsSetOutput) ToGlossaryTermsSetPtrOutputWithContext(ctx context.Context) GlossaryTermsSetPtrOutput

type GlossaryTermsSetPtrInput added in v0.23.0

type GlossaryTermsSetPtrInput interface {
	pulumi.Input

	ToGlossaryTermsSetPtrOutput() GlossaryTermsSetPtrOutput
	ToGlossaryTermsSetPtrOutputWithContext(context.Context) GlossaryTermsSetPtrOutput
}

GlossaryTermsSetPtrInput is an input type that accepts GlossaryTermsSetArgs, GlossaryTermsSetPtr and GlossaryTermsSetPtrOutput values. You can construct a concrete instance of `GlossaryTermsSetPtrInput` via:

        GlossaryTermsSetArgs{...}

or:

        nil

func GlossaryTermsSetPtr added in v0.23.0

func GlossaryTermsSetPtr(v *GlossaryTermsSetArgs) GlossaryTermsSetPtrInput

type GlossaryTermsSetPtrOutput added in v0.23.0

type GlossaryTermsSetPtrOutput struct{ *pulumi.OutputState }

func (GlossaryTermsSetPtrOutput) Elem added in v0.23.0

func (GlossaryTermsSetPtrOutput) ElementType added in v0.23.0

func (GlossaryTermsSetPtrOutput) ElementType() reflect.Type

func (GlossaryTermsSetPtrOutput) Terms added in v0.23.0

Each term in the set represents a term that can be replaced by the other terms.

func (GlossaryTermsSetPtrOutput) ToGlossaryTermsSetPtrOutput added in v0.23.0

func (o GlossaryTermsSetPtrOutput) ToGlossaryTermsSetPtrOutput() GlossaryTermsSetPtrOutput

func (GlossaryTermsSetPtrOutput) ToGlossaryTermsSetPtrOutputWithContext added in v0.23.0

func (o GlossaryTermsSetPtrOutput) ToGlossaryTermsSetPtrOutputWithContext(ctx context.Context) GlossaryTermsSetPtrOutput

type GlossaryTermsSetResponse added in v0.23.0

type GlossaryTermsSetResponse struct {
	// Each term in the set represents a term that can be replaced by the other terms.
	Terms []GlossaryTermResponse `pulumi:"terms"`
}

Represents a single entry for an equivalent term set glossary. This is used for equivalent term sets where each term can be replaced by the other terms in the set.

type GlossaryTermsSetResponseOutput added in v0.23.0

type GlossaryTermsSetResponseOutput struct{ *pulumi.OutputState }

Represents a single entry for an equivalent term set glossary. This is used for equivalent term sets where each term can be replaced by the other terms in the set.

func (GlossaryTermsSetResponseOutput) ElementType added in v0.23.0

func (GlossaryTermsSetResponseOutput) Terms added in v0.23.0

Each term in the set represents a term that can be replaced by the other terms.

func (GlossaryTermsSetResponseOutput) ToGlossaryTermsSetResponseOutput added in v0.23.0

func (o GlossaryTermsSetResponseOutput) ToGlossaryTermsSetResponseOutput() GlossaryTermsSetResponseOutput

func (GlossaryTermsSetResponseOutput) ToGlossaryTermsSetResponseOutputWithContext added in v0.23.0

func (o GlossaryTermsSetResponseOutput) ToGlossaryTermsSetResponseOutputWithContext(ctx context.Context) GlossaryTermsSetResponseOutput

type LanguageCodePair

type LanguageCodePair struct {
	// The ISO-639 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code.
	SourceLanguageCode string `pulumi:"sourceLanguageCode"`
	// The ISO-639 language code for translation output, for example, "zh-CN". Expected to be an exact match for GlossaryTerm.language_code.
	TargetLanguageCode string `pulumi:"targetLanguageCode"`
}

Used with unidirectional glossaries.

type LanguageCodePairArgs

type LanguageCodePairArgs struct {
	// The ISO-639 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code.
	SourceLanguageCode pulumi.StringInput `pulumi:"sourceLanguageCode"`
	// The ISO-639 language code for translation output, for example, "zh-CN". Expected to be an exact match for GlossaryTerm.language_code.
	TargetLanguageCode pulumi.StringInput `pulumi:"targetLanguageCode"`
}

Used with unidirectional glossaries.

func (LanguageCodePairArgs) ElementType

func (LanguageCodePairArgs) ElementType() reflect.Type

func (LanguageCodePairArgs) ToLanguageCodePairOutput

func (i LanguageCodePairArgs) ToLanguageCodePairOutput() LanguageCodePairOutput

func (LanguageCodePairArgs) ToLanguageCodePairOutputWithContext

func (i LanguageCodePairArgs) ToLanguageCodePairOutputWithContext(ctx context.Context) LanguageCodePairOutput

func (LanguageCodePairArgs) ToLanguageCodePairPtrOutput

func (i LanguageCodePairArgs) ToLanguageCodePairPtrOutput() LanguageCodePairPtrOutput

func (LanguageCodePairArgs) ToLanguageCodePairPtrOutputWithContext

func (i LanguageCodePairArgs) ToLanguageCodePairPtrOutputWithContext(ctx context.Context) LanguageCodePairPtrOutput

type LanguageCodePairInput

type LanguageCodePairInput interface {
	pulumi.Input

	ToLanguageCodePairOutput() LanguageCodePairOutput
	ToLanguageCodePairOutputWithContext(context.Context) LanguageCodePairOutput
}

LanguageCodePairInput is an input type that accepts LanguageCodePairArgs and LanguageCodePairOutput values. You can construct a concrete instance of `LanguageCodePairInput` via:

LanguageCodePairArgs{...}

type LanguageCodePairOutput

type LanguageCodePairOutput struct{ *pulumi.OutputState }

Used with unidirectional glossaries.

func (LanguageCodePairOutput) ElementType

func (LanguageCodePairOutput) ElementType() reflect.Type

func (LanguageCodePairOutput) SourceLanguageCode

func (o LanguageCodePairOutput) SourceLanguageCode() pulumi.StringOutput

The ISO-639 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code.

func (LanguageCodePairOutput) TargetLanguageCode

func (o LanguageCodePairOutput) TargetLanguageCode() pulumi.StringOutput

The ISO-639 language code for translation output, for example, "zh-CN". Expected to be an exact match for GlossaryTerm.language_code.

func (LanguageCodePairOutput) ToLanguageCodePairOutput

func (o LanguageCodePairOutput) ToLanguageCodePairOutput() LanguageCodePairOutput

func (LanguageCodePairOutput) ToLanguageCodePairOutputWithContext

func (o LanguageCodePairOutput) ToLanguageCodePairOutputWithContext(ctx context.Context) LanguageCodePairOutput

func (LanguageCodePairOutput) ToLanguageCodePairPtrOutput

func (o LanguageCodePairOutput) ToLanguageCodePairPtrOutput() LanguageCodePairPtrOutput

func (LanguageCodePairOutput) ToLanguageCodePairPtrOutputWithContext

func (o LanguageCodePairOutput) ToLanguageCodePairPtrOutputWithContext(ctx context.Context) LanguageCodePairPtrOutput

type LanguageCodePairPtrInput

type LanguageCodePairPtrInput interface {
	pulumi.Input

	ToLanguageCodePairPtrOutput() LanguageCodePairPtrOutput
	ToLanguageCodePairPtrOutputWithContext(context.Context) LanguageCodePairPtrOutput
}

LanguageCodePairPtrInput is an input type that accepts LanguageCodePairArgs, LanguageCodePairPtr and LanguageCodePairPtrOutput values. You can construct a concrete instance of `LanguageCodePairPtrInput` via:

        LanguageCodePairArgs{...}

or:

        nil

type LanguageCodePairPtrOutput

type LanguageCodePairPtrOutput struct{ *pulumi.OutputState }

func (LanguageCodePairPtrOutput) Elem

func (LanguageCodePairPtrOutput) ElementType

func (LanguageCodePairPtrOutput) ElementType() reflect.Type

func (LanguageCodePairPtrOutput) SourceLanguageCode

func (o LanguageCodePairPtrOutput) SourceLanguageCode() pulumi.StringPtrOutput

The ISO-639 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code.

func (LanguageCodePairPtrOutput) TargetLanguageCode

func (o LanguageCodePairPtrOutput) TargetLanguageCode() pulumi.StringPtrOutput

The ISO-639 language code for translation output, for example, "zh-CN". Expected to be an exact match for GlossaryTerm.language_code.

func (LanguageCodePairPtrOutput) ToLanguageCodePairPtrOutput

func (o LanguageCodePairPtrOutput) ToLanguageCodePairPtrOutput() LanguageCodePairPtrOutput

func (LanguageCodePairPtrOutput) ToLanguageCodePairPtrOutputWithContext

func (o LanguageCodePairPtrOutput) ToLanguageCodePairPtrOutputWithContext(ctx context.Context) LanguageCodePairPtrOutput

type LanguageCodePairResponse

type LanguageCodePairResponse struct {
	// The ISO-639 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code.
	SourceLanguageCode string `pulumi:"sourceLanguageCode"`
	// The ISO-639 language code for translation output, for example, "zh-CN". Expected to be an exact match for GlossaryTerm.language_code.
	TargetLanguageCode string `pulumi:"targetLanguageCode"`
}

Used with unidirectional glossaries.

type LanguageCodePairResponseOutput

type LanguageCodePairResponseOutput struct{ *pulumi.OutputState }

Used with unidirectional glossaries.

func (LanguageCodePairResponseOutput) ElementType

func (LanguageCodePairResponseOutput) SourceLanguageCode

func (o LanguageCodePairResponseOutput) SourceLanguageCode() pulumi.StringOutput

The ISO-639 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code.

func (LanguageCodePairResponseOutput) TargetLanguageCode

func (o LanguageCodePairResponseOutput) TargetLanguageCode() pulumi.StringOutput

The ISO-639 language code for translation output, for example, "zh-CN". Expected to be an exact match for GlossaryTerm.language_code.

func (LanguageCodePairResponseOutput) ToLanguageCodePairResponseOutput

func (o LanguageCodePairResponseOutput) ToLanguageCodePairResponseOutput() LanguageCodePairResponseOutput

func (LanguageCodePairResponseOutput) ToLanguageCodePairResponseOutputWithContext

func (o LanguageCodePairResponseOutput) ToLanguageCodePairResponseOutputWithContext(ctx context.Context) LanguageCodePairResponseOutput

type LanguageCodesSet

type LanguageCodesSet struct {
	// The ISO-639 language code(s) for terms defined in the glossary. All entries are unique. The list contains at least two entries. Expected to be an exact match for GlossaryTerm.language_code.
	LanguageCodes []string `pulumi:"languageCodes"`
}

Used with equivalent term set glossaries.

type LanguageCodesSetArgs

type LanguageCodesSetArgs struct {
	// The ISO-639 language code(s) for terms defined in the glossary. All entries are unique. The list contains at least two entries. Expected to be an exact match for GlossaryTerm.language_code.
	LanguageCodes pulumi.StringArrayInput `pulumi:"languageCodes"`
}

Used with equivalent term set glossaries.

func (LanguageCodesSetArgs) ElementType

func (LanguageCodesSetArgs) ElementType() reflect.Type

func (LanguageCodesSetArgs) ToLanguageCodesSetOutput

func (i LanguageCodesSetArgs) ToLanguageCodesSetOutput() LanguageCodesSetOutput

func (LanguageCodesSetArgs) ToLanguageCodesSetOutputWithContext

func (i LanguageCodesSetArgs) ToLanguageCodesSetOutputWithContext(ctx context.Context) LanguageCodesSetOutput

func (LanguageCodesSetArgs) ToLanguageCodesSetPtrOutput

func (i LanguageCodesSetArgs) ToLanguageCodesSetPtrOutput() LanguageCodesSetPtrOutput

func (LanguageCodesSetArgs) ToLanguageCodesSetPtrOutputWithContext

func (i LanguageCodesSetArgs) ToLanguageCodesSetPtrOutputWithContext(ctx context.Context) LanguageCodesSetPtrOutput

type LanguageCodesSetInput

type LanguageCodesSetInput interface {
	pulumi.Input

	ToLanguageCodesSetOutput() LanguageCodesSetOutput
	ToLanguageCodesSetOutputWithContext(context.Context) LanguageCodesSetOutput
}

LanguageCodesSetInput is an input type that accepts LanguageCodesSetArgs and LanguageCodesSetOutput values. You can construct a concrete instance of `LanguageCodesSetInput` via:

LanguageCodesSetArgs{...}

type LanguageCodesSetOutput

type LanguageCodesSetOutput struct{ *pulumi.OutputState }

Used with equivalent term set glossaries.

func (LanguageCodesSetOutput) ElementType

func (LanguageCodesSetOutput) ElementType() reflect.Type

func (LanguageCodesSetOutput) LanguageCodes

The ISO-639 language code(s) for terms defined in the glossary. All entries are unique. The list contains at least two entries. Expected to be an exact match for GlossaryTerm.language_code.

func (LanguageCodesSetOutput) ToLanguageCodesSetOutput

func (o LanguageCodesSetOutput) ToLanguageCodesSetOutput() LanguageCodesSetOutput

func (LanguageCodesSetOutput) ToLanguageCodesSetOutputWithContext

func (o LanguageCodesSetOutput) ToLanguageCodesSetOutputWithContext(ctx context.Context) LanguageCodesSetOutput

func (LanguageCodesSetOutput) ToLanguageCodesSetPtrOutput

func (o LanguageCodesSetOutput) ToLanguageCodesSetPtrOutput() LanguageCodesSetPtrOutput

func (LanguageCodesSetOutput) ToLanguageCodesSetPtrOutputWithContext

func (o LanguageCodesSetOutput) ToLanguageCodesSetPtrOutputWithContext(ctx context.Context) LanguageCodesSetPtrOutput

type LanguageCodesSetPtrInput

type LanguageCodesSetPtrInput interface {
	pulumi.Input

	ToLanguageCodesSetPtrOutput() LanguageCodesSetPtrOutput
	ToLanguageCodesSetPtrOutputWithContext(context.Context) LanguageCodesSetPtrOutput
}

LanguageCodesSetPtrInput is an input type that accepts LanguageCodesSetArgs, LanguageCodesSetPtr and LanguageCodesSetPtrOutput values. You can construct a concrete instance of `LanguageCodesSetPtrInput` via:

        LanguageCodesSetArgs{...}

or:

        nil

type LanguageCodesSetPtrOutput

type LanguageCodesSetPtrOutput struct{ *pulumi.OutputState }

func (LanguageCodesSetPtrOutput) Elem

func (LanguageCodesSetPtrOutput) ElementType

func (LanguageCodesSetPtrOutput) ElementType() reflect.Type

func (LanguageCodesSetPtrOutput) LanguageCodes

The ISO-639 language code(s) for terms defined in the glossary. All entries are unique. The list contains at least two entries. Expected to be an exact match for GlossaryTerm.language_code.

func (LanguageCodesSetPtrOutput) ToLanguageCodesSetPtrOutput

func (o LanguageCodesSetPtrOutput) ToLanguageCodesSetPtrOutput() LanguageCodesSetPtrOutput

func (LanguageCodesSetPtrOutput) ToLanguageCodesSetPtrOutputWithContext

func (o LanguageCodesSetPtrOutput) ToLanguageCodesSetPtrOutputWithContext(ctx context.Context) LanguageCodesSetPtrOutput

type LanguageCodesSetResponse

type LanguageCodesSetResponse struct {
	// The ISO-639 language code(s) for terms defined in the glossary. All entries are unique. The list contains at least two entries. Expected to be an exact match for GlossaryTerm.language_code.
	LanguageCodes []string `pulumi:"languageCodes"`
}

Used with equivalent term set glossaries.

type LanguageCodesSetResponseOutput

type LanguageCodesSetResponseOutput struct{ *pulumi.OutputState }

Used with equivalent term set glossaries.

func (LanguageCodesSetResponseOutput) ElementType

func (LanguageCodesSetResponseOutput) LanguageCodes

The ISO-639 language code(s) for terms defined in the glossary. All entries are unique. The list contains at least two entries. Expected to be an exact match for GlossaryTerm.language_code.

func (LanguageCodesSetResponseOutput) ToLanguageCodesSetResponseOutput

func (o LanguageCodesSetResponseOutput) ToLanguageCodesSetResponseOutput() LanguageCodesSetResponseOutput

func (LanguageCodesSetResponseOutput) ToLanguageCodesSetResponseOutputWithContext

func (o LanguageCodesSetResponseOutput) ToLanguageCodesSetResponseOutputWithContext(ctx context.Context) LanguageCodesSetResponseOutput

type LookupDatasetArgs added in v0.28.0

type LookupDatasetArgs struct {
	DatasetId string  `pulumi:"datasetId"`
	Location  string  `pulumi:"location"`
	Project   *string `pulumi:"project"`
}

type LookupDatasetOutputArgs added in v0.28.0

type LookupDatasetOutputArgs struct {
	DatasetId pulumi.StringInput    `pulumi:"datasetId"`
	Location  pulumi.StringInput    `pulumi:"location"`
	Project   pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupDatasetOutputArgs) ElementType added in v0.28.0

func (LookupDatasetOutputArgs) ElementType() reflect.Type

type LookupDatasetResult added in v0.28.0

type LookupDatasetResult struct {
	// Timestamp when this dataset was created.
	CreateTime string `pulumi:"createTime"`
	// The name of the dataset to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.
	DisplayName string `pulumi:"displayName"`
	// The number of examples in the dataset.
	ExampleCount int `pulumi:"exampleCount"`
	// The resource name of the dataset, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}`
	Name string `pulumi:"name"`
	// The BCP-47 language code of the source language.
	SourceLanguageCode string `pulumi:"sourceLanguageCode"`
	// The BCP-47 language code of the target language.
	TargetLanguageCode string `pulumi:"targetLanguageCode"`
	// Number of test examples (sentence pairs).
	TestExampleCount int `pulumi:"testExampleCount"`
	// Number of training examples (sentence pairs).
	TrainExampleCount int `pulumi:"trainExampleCount"`
	// Timestamp when this dataset was last updated.
	UpdateTime string `pulumi:"updateTime"`
	// Number of validation examples (sentence pairs).
	ValidateExampleCount int `pulumi:"validateExampleCount"`
}

func LookupDataset added in v0.28.0

func LookupDataset(ctx *pulumi.Context, args *LookupDatasetArgs, opts ...pulumi.InvokeOption) (*LookupDatasetResult, error)

Gets a Dataset.

type LookupDatasetResultOutput added in v0.28.0

type LookupDatasetResultOutput struct{ *pulumi.OutputState }

func LookupDatasetOutput added in v0.28.0

func LookupDatasetOutput(ctx *pulumi.Context, args LookupDatasetOutputArgs, opts ...pulumi.InvokeOption) LookupDatasetResultOutput

func (LookupDatasetResultOutput) CreateTime added in v0.28.0

Timestamp when this dataset was created.

func (LookupDatasetResultOutput) DisplayName added in v0.28.0

The name of the dataset to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.

func (LookupDatasetResultOutput) ElementType added in v0.28.0

func (LookupDatasetResultOutput) ElementType() reflect.Type

func (LookupDatasetResultOutput) ExampleCount added in v0.28.0

func (o LookupDatasetResultOutput) ExampleCount() pulumi.IntOutput

The number of examples in the dataset.

func (LookupDatasetResultOutput) Name added in v0.28.0

The resource name of the dataset, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}`

func (LookupDatasetResultOutput) SourceLanguageCode added in v0.28.0

func (o LookupDatasetResultOutput) SourceLanguageCode() pulumi.StringOutput

The BCP-47 language code of the source language.

func (LookupDatasetResultOutput) TargetLanguageCode added in v0.28.0

func (o LookupDatasetResultOutput) TargetLanguageCode() pulumi.StringOutput

The BCP-47 language code of the target language.

func (LookupDatasetResultOutput) TestExampleCount added in v0.28.0

func (o LookupDatasetResultOutput) TestExampleCount() pulumi.IntOutput

Number of test examples (sentence pairs).

func (LookupDatasetResultOutput) ToLookupDatasetResultOutput added in v0.28.0

func (o LookupDatasetResultOutput) ToLookupDatasetResultOutput() LookupDatasetResultOutput

func (LookupDatasetResultOutput) ToLookupDatasetResultOutputWithContext added in v0.28.0

func (o LookupDatasetResultOutput) ToLookupDatasetResultOutputWithContext(ctx context.Context) LookupDatasetResultOutput

func (LookupDatasetResultOutput) TrainExampleCount added in v0.28.0

func (o LookupDatasetResultOutput) TrainExampleCount() pulumi.IntOutput

Number of training examples (sentence pairs).

func (LookupDatasetResultOutput) UpdateTime added in v0.28.0

Timestamp when this dataset was last updated.

func (LookupDatasetResultOutput) ValidateExampleCount added in v0.28.0

func (o LookupDatasetResultOutput) ValidateExampleCount() pulumi.IntOutput

Number of validation examples (sentence pairs).

type LookupGlossaryArgs added in v0.4.0

type LookupGlossaryArgs struct {
	GlossaryId string  `pulumi:"glossaryId"`
	Location   string  `pulumi:"location"`
	Project    *string `pulumi:"project"`
}

type LookupGlossaryEntryArgs added in v0.23.0

type LookupGlossaryEntryArgs struct {
	GlossaryEntryId string  `pulumi:"glossaryEntryId"`
	GlossaryId      string  `pulumi:"glossaryId"`
	Location        string  `pulumi:"location"`
	Project         *string `pulumi:"project"`
}

type LookupGlossaryEntryOutputArgs added in v0.23.0

type LookupGlossaryEntryOutputArgs struct {
	GlossaryEntryId pulumi.StringInput    `pulumi:"glossaryEntryId"`
	GlossaryId      pulumi.StringInput    `pulumi:"glossaryId"`
	Location        pulumi.StringInput    `pulumi:"location"`
	Project         pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupGlossaryEntryOutputArgs) ElementType added in v0.23.0

type LookupGlossaryEntryResult added in v0.23.0

type LookupGlossaryEntryResult struct {
	// Describes the glossary entry.
	Description string `pulumi:"description"`
	// The resource name of the entry. Format: "projects/*/locations/*/glossaries/*/glossaryEntries/*"
	Name string `pulumi:"name"`
	// Used for an unidirectional glossary.
	TermsPair GlossaryTermsPairResponse `pulumi:"termsPair"`
	// Used for an equivalent term sets glossary.
	TermsSet GlossaryTermsSetResponse `pulumi:"termsSet"`
}

func LookupGlossaryEntry added in v0.23.0

func LookupGlossaryEntry(ctx *pulumi.Context, args *LookupGlossaryEntryArgs, opts ...pulumi.InvokeOption) (*LookupGlossaryEntryResult, error)

Gets a single glossary entry by the given id.

type LookupGlossaryEntryResultOutput added in v0.23.0

type LookupGlossaryEntryResultOutput struct{ *pulumi.OutputState }

func LookupGlossaryEntryOutput added in v0.23.0

func (LookupGlossaryEntryResultOutput) Description added in v0.23.0

Describes the glossary entry.

func (LookupGlossaryEntryResultOutput) ElementType added in v0.23.0

func (LookupGlossaryEntryResultOutput) Name added in v0.23.0

The resource name of the entry. Format: "projects/*/locations/*/glossaries/*/glossaryEntries/*"

func (LookupGlossaryEntryResultOutput) TermsPair added in v0.23.0

Used for an unidirectional glossary.

func (LookupGlossaryEntryResultOutput) TermsSet added in v0.23.0

Used for an equivalent term sets glossary.

func (LookupGlossaryEntryResultOutput) ToLookupGlossaryEntryResultOutput added in v0.23.0

func (o LookupGlossaryEntryResultOutput) ToLookupGlossaryEntryResultOutput() LookupGlossaryEntryResultOutput

func (LookupGlossaryEntryResultOutput) ToLookupGlossaryEntryResultOutputWithContext added in v0.23.0

func (o LookupGlossaryEntryResultOutput) ToLookupGlossaryEntryResultOutputWithContext(ctx context.Context) LookupGlossaryEntryResultOutput

type LookupGlossaryOutputArgs added in v0.8.0

type LookupGlossaryOutputArgs struct {
	GlossaryId pulumi.StringInput    `pulumi:"glossaryId"`
	Location   pulumi.StringInput    `pulumi:"location"`
	Project    pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupGlossaryOutputArgs) ElementType added in v0.8.0

func (LookupGlossaryOutputArgs) ElementType() reflect.Type

type LookupGlossaryResult added in v0.4.0

type LookupGlossaryResult struct {
	// Optional. The display name of the glossary.
	DisplayName string `pulumi:"displayName"`
	// When the glossary creation was finished.
	EndTime string `pulumi:"endTime"`
	// The number of entries defined in the glossary.
	EntryCount int `pulumi:"entryCount"`
	// Provides examples to build the glossary from. Total glossary must not exceed 10M Unicode codepoints.
	InputConfig GlossaryInputConfigResponse `pulumi:"inputConfig"`
	// Used with equivalent term set glossaries.
	LanguageCodesSet LanguageCodesSetResponse `pulumi:"languageCodesSet"`
	// Used with unidirectional glossaries.
	LanguagePair LanguageCodePairResponse `pulumi:"languagePair"`
	// The resource name of the glossary. Glossary names have the form `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`.
	Name string `pulumi:"name"`
	// When CreateGlossary was called.
	SubmitTime string `pulumi:"submitTime"`
}

func LookupGlossary added in v0.4.0

func LookupGlossary(ctx *pulumi.Context, args *LookupGlossaryArgs, opts ...pulumi.InvokeOption) (*LookupGlossaryResult, error)

Gets a glossary. Returns NOT_FOUND, if the glossary doesn't exist.

type LookupGlossaryResultOutput added in v0.8.0

type LookupGlossaryResultOutput struct{ *pulumi.OutputState }

func LookupGlossaryOutput added in v0.8.0

func LookupGlossaryOutput(ctx *pulumi.Context, args LookupGlossaryOutputArgs, opts ...pulumi.InvokeOption) LookupGlossaryResultOutput

func (LookupGlossaryResultOutput) DisplayName added in v0.23.0

Optional. The display name of the glossary.

func (LookupGlossaryResultOutput) ElementType added in v0.8.0

func (LookupGlossaryResultOutput) ElementType() reflect.Type

func (LookupGlossaryResultOutput) EndTime added in v0.8.0

When the glossary creation was finished.

func (LookupGlossaryResultOutput) EntryCount added in v0.8.0

The number of entries defined in the glossary.

func (LookupGlossaryResultOutput) InputConfig added in v0.8.0

Provides examples to build the glossary from. Total glossary must not exceed 10M Unicode codepoints.

func (LookupGlossaryResultOutput) LanguageCodesSet added in v0.8.0

Used with equivalent term set glossaries.

func (LookupGlossaryResultOutput) LanguagePair added in v0.8.0

Used with unidirectional glossaries.

func (LookupGlossaryResultOutput) Name added in v0.8.0

The resource name of the glossary. Glossary names have the form `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`.

func (LookupGlossaryResultOutput) SubmitTime added in v0.8.0

When CreateGlossary was called.

func (LookupGlossaryResultOutput) ToLookupGlossaryResultOutput added in v0.8.0

func (o LookupGlossaryResultOutput) ToLookupGlossaryResultOutput() LookupGlossaryResultOutput

func (LookupGlossaryResultOutput) ToLookupGlossaryResultOutputWithContext added in v0.8.0

func (o LookupGlossaryResultOutput) ToLookupGlossaryResultOutputWithContext(ctx context.Context) LookupGlossaryResultOutput

type LookupModelArgs added in v0.28.0

type LookupModelArgs struct {
	Location string  `pulumi:"location"`
	ModelId  string  `pulumi:"modelId"`
	Project  *string `pulumi:"project"`
}

type LookupModelOutputArgs added in v0.28.0

type LookupModelOutputArgs struct {
	Location pulumi.StringInput    `pulumi:"location"`
	ModelId  pulumi.StringInput    `pulumi:"modelId"`
	Project  pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupModelOutputArgs) ElementType added in v0.28.0

func (LookupModelOutputArgs) ElementType() reflect.Type

type LookupModelResult added in v0.28.0

type LookupModelResult struct {
	// Timestamp when the model resource was created, which is also when the training started.
	CreateTime string `pulumi:"createTime"`
	// The dataset from which the model is trained, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}`
	Dataset string `pulumi:"dataset"`
	// The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.
	DisplayName string `pulumi:"displayName"`
	// The resource name of the model, in form of `projects/{project-number-or-id}/locations/{location_id}/models/{model_id}`
	Name string `pulumi:"name"`
	// The BCP-47 language code of the source language.
	SourceLanguageCode string `pulumi:"sourceLanguageCode"`
	// The BCP-47 language code of the target language.
	TargetLanguageCode string `pulumi:"targetLanguageCode"`
	// Number of examples (sentence pairs) used to test the model.
	TestExampleCount int `pulumi:"testExampleCount"`
	// Number of examples (sentence pairs) used to train the model.
	TrainExampleCount int `pulumi:"trainExampleCount"`
	// Timestamp when this model was last updated.
	UpdateTime string `pulumi:"updateTime"`
	// Number of examples (sentence pairs) used to validate the model.
	ValidateExampleCount int `pulumi:"validateExampleCount"`
}

func LookupModel added in v0.28.0

func LookupModel(ctx *pulumi.Context, args *LookupModelArgs, opts ...pulumi.InvokeOption) (*LookupModelResult, error)

Gets a model.

type LookupModelResultOutput added in v0.28.0

type LookupModelResultOutput struct{ *pulumi.OutputState }

func LookupModelOutput added in v0.28.0

func LookupModelOutput(ctx *pulumi.Context, args LookupModelOutputArgs, opts ...pulumi.InvokeOption) LookupModelResultOutput

func (LookupModelResultOutput) CreateTime added in v0.28.0

Timestamp when the model resource was created, which is also when the training started.

func (LookupModelResultOutput) Dataset added in v0.28.0

The dataset from which the model is trained, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}`

func (LookupModelResultOutput) DisplayName added in v0.28.0

The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.

func (LookupModelResultOutput) ElementType added in v0.28.0

func (LookupModelResultOutput) ElementType() reflect.Type

func (LookupModelResultOutput) Name added in v0.28.0

The resource name of the model, in form of `projects/{project-number-or-id}/locations/{location_id}/models/{model_id}`

func (LookupModelResultOutput) SourceLanguageCode added in v0.28.0

func (o LookupModelResultOutput) SourceLanguageCode() pulumi.StringOutput

The BCP-47 language code of the source language.

func (LookupModelResultOutput) TargetLanguageCode added in v0.28.0

func (o LookupModelResultOutput) TargetLanguageCode() pulumi.StringOutput

The BCP-47 language code of the target language.

func (LookupModelResultOutput) TestExampleCount added in v0.28.0

func (o LookupModelResultOutput) TestExampleCount() pulumi.IntOutput

Number of examples (sentence pairs) used to test the model.

func (LookupModelResultOutput) ToLookupModelResultOutput added in v0.28.0

func (o LookupModelResultOutput) ToLookupModelResultOutput() LookupModelResultOutput

func (LookupModelResultOutput) ToLookupModelResultOutputWithContext added in v0.28.0

func (o LookupModelResultOutput) ToLookupModelResultOutputWithContext(ctx context.Context) LookupModelResultOutput

func (LookupModelResultOutput) TrainExampleCount added in v0.28.0

func (o LookupModelResultOutput) TrainExampleCount() pulumi.IntOutput

Number of examples (sentence pairs) used to train the model.

func (LookupModelResultOutput) UpdateTime added in v0.28.0

Timestamp when this model was last updated.

func (LookupModelResultOutput) ValidateExampleCount added in v0.28.0

func (o LookupModelResultOutput) ValidateExampleCount() pulumi.IntOutput

Number of examples (sentence pairs) used to validate the model.

type Model added in v0.28.0

type Model struct {
	pulumi.CustomResourceState

	// Timestamp when the model resource was created, which is also when the training started.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The dataset from which the model is trained, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}`
	Dataset pulumi.StringOutput `pulumi:"dataset"`
	// The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	Location    pulumi.StringOutput `pulumi:"location"`
	// The resource name of the model, in form of `projects/{project-number-or-id}/locations/{location_id}/models/{model_id}`
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// The BCP-47 language code of the source language.
	SourceLanguageCode pulumi.StringOutput `pulumi:"sourceLanguageCode"`
	// The BCP-47 language code of the target language.
	TargetLanguageCode pulumi.StringOutput `pulumi:"targetLanguageCode"`
	// Number of examples (sentence pairs) used to test the model.
	TestExampleCount pulumi.IntOutput `pulumi:"testExampleCount"`
	// Number of examples (sentence pairs) used to train the model.
	TrainExampleCount pulumi.IntOutput `pulumi:"trainExampleCount"`
	// Timestamp when this model was last updated.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// Number of examples (sentence pairs) used to validate the model.
	ValidateExampleCount pulumi.IntOutput `pulumi:"validateExampleCount"`
}

Creates a Model.

func GetModel added in v0.28.0

func GetModel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ModelState, opts ...pulumi.ResourceOption) (*Model, error)

GetModel gets an existing Model 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 NewModel added in v0.28.0

func NewModel(ctx *pulumi.Context,
	name string, args *ModelArgs, opts ...pulumi.ResourceOption) (*Model, error)

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

func (*Model) ElementType added in v0.28.0

func (*Model) ElementType() reflect.Type

func (*Model) ToModelOutput added in v0.28.0

func (i *Model) ToModelOutput() ModelOutput

func (*Model) ToModelOutputWithContext added in v0.28.0

func (i *Model) ToModelOutputWithContext(ctx context.Context) ModelOutput

type ModelArgs added in v0.28.0

type ModelArgs struct {
	// The dataset from which the model is trained, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}`
	Dataset pulumi.StringPtrInput
	// The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.
	DisplayName pulumi.StringPtrInput
	Location    pulumi.StringPtrInput
	// The resource name of the model, in form of `projects/{project-number-or-id}/locations/{location_id}/models/{model_id}`
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a Model resource.

func (ModelArgs) ElementType added in v0.28.0

func (ModelArgs) ElementType() reflect.Type

type ModelInput added in v0.28.0

type ModelInput interface {
	pulumi.Input

	ToModelOutput() ModelOutput
	ToModelOutputWithContext(ctx context.Context) ModelOutput
}

type ModelOutput added in v0.28.0

type ModelOutput struct{ *pulumi.OutputState }

func (ModelOutput) CreateTime added in v0.28.0

func (o ModelOutput) CreateTime() pulumi.StringOutput

Timestamp when the model resource was created, which is also when the training started.

func (ModelOutput) Dataset added in v0.28.0

func (o ModelOutput) Dataset() pulumi.StringOutput

The dataset from which the model is trained, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}`

func (ModelOutput) DisplayName added in v0.28.0

func (o ModelOutput) DisplayName() pulumi.StringOutput

The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.

func (ModelOutput) ElementType added in v0.28.0

func (ModelOutput) ElementType() reflect.Type

func (ModelOutput) Location added in v0.28.0

func (o ModelOutput) Location() pulumi.StringOutput

func (ModelOutput) Name added in v0.28.0

func (o ModelOutput) Name() pulumi.StringOutput

The resource name of the model, in form of `projects/{project-number-or-id}/locations/{location_id}/models/{model_id}`

func (ModelOutput) Project added in v0.28.0

func (o ModelOutput) Project() pulumi.StringOutput

func (ModelOutput) SourceLanguageCode added in v0.28.0

func (o ModelOutput) SourceLanguageCode() pulumi.StringOutput

The BCP-47 language code of the source language.

func (ModelOutput) TargetLanguageCode added in v0.28.0

func (o ModelOutput) TargetLanguageCode() pulumi.StringOutput

The BCP-47 language code of the target language.

func (ModelOutput) TestExampleCount added in v0.28.0

func (o ModelOutput) TestExampleCount() pulumi.IntOutput

Number of examples (sentence pairs) used to test the model.

func (ModelOutput) ToModelOutput added in v0.28.0

func (o ModelOutput) ToModelOutput() ModelOutput

func (ModelOutput) ToModelOutputWithContext added in v0.28.0

func (o ModelOutput) ToModelOutputWithContext(ctx context.Context) ModelOutput

func (ModelOutput) TrainExampleCount added in v0.28.0

func (o ModelOutput) TrainExampleCount() pulumi.IntOutput

Number of examples (sentence pairs) used to train the model.

func (ModelOutput) UpdateTime added in v0.28.0

func (o ModelOutput) UpdateTime() pulumi.StringOutput

Timestamp when this model was last updated.

func (ModelOutput) ValidateExampleCount added in v0.28.0

func (o ModelOutput) ValidateExampleCount() pulumi.IntOutput

Number of examples (sentence pairs) used to validate the model.

type ModelState added in v0.28.0

type ModelState struct {
}

func (ModelState) ElementType added in v0.28.0

func (ModelState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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