import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Create a set of phrase hints. Each item in the set can be a single word or a multi-word phrase. The items in the PhraseSet are favored by the recognition model when you send a call that includes the PhraseSet. */ export declare class PhraseSet extends pulumi.CustomResource { /** * Get an existing PhraseSet resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): PhraseSet; /** * Returns true if the given object is an instance of PhraseSet. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is PhraseSet; /** * Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. This field is not used. */ readonly annotations: pulumi.Output<{ [key: string]: string; }>; /** * Hint Boost. Positive value will increase the probability that a specific phrase will be recognized over other similar sounding phrases. The higher the boost, the higher the chance of false positive recognition as well. Negative boost values would correspond to anti-biasing. Anti-biasing is not enabled, so negative boost will simply be ignored. Though `boost` can accept a wide range of positive values, most use cases are best served with values between 0 (exclusive) and 20. We recommend using a binary search approach to finding the optimal value for your use case as well as adding phrases both with and without boost to your requests. */ readonly boost: pulumi.Output; /** * The time at which this resource was requested for deletion. This field is not used. */ readonly deleteTime: pulumi.Output; /** * User-settable, human-readable name for the PhraseSet. Must be 63 characters or less. This field is not used. */ readonly displayName: pulumi.Output; /** * This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This field is not used. */ readonly etag: pulumi.Output; /** * The time at which this resource will be purged. This field is not used. */ readonly expireTime: pulumi.Output; /** * The [KMS key name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which the content of the PhraseSet is encrypted. The expected format is `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. */ readonly kmsKeyName: pulumi.Output; /** * The [KMS key version name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions) with which content of the PhraseSet is encrypted. The expected format is `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`. */ readonly kmsKeyVersionName: pulumi.Output; readonly location: pulumi.Output; /** * The resource name of the phrase set. */ readonly name: pulumi.Output; /** * A list of word and phrases. */ readonly phrases: pulumi.Output; readonly project: pulumi.Output; /** * Whether or not this PhraseSet is in the process of being updated. This field is not used. */ readonly reconciling: pulumi.Output; /** * The CustomClass lifecycle state. This field is not used. */ readonly state: pulumi.Output; /** * System-assigned unique identifier for the PhraseSet. This field is not used. */ readonly uid: pulumi.Output; /** * Create a PhraseSet resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: PhraseSetArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a PhraseSet resource. */ export interface PhraseSetArgs { /** * Hint Boost. Positive value will increase the probability that a specific phrase will be recognized over other similar sounding phrases. The higher the boost, the higher the chance of false positive recognition as well. Negative boost values would correspond to anti-biasing. Anti-biasing is not enabled, so negative boost will simply be ignored. Though `boost` can accept a wide range of positive values, most use cases are best served with values between 0 (exclusive) and 20. We recommend using a binary search approach to finding the optimal value for your use case as well as adding phrases both with and without boost to your requests. */ boost?: pulumi.Input; location?: pulumi.Input; /** * The resource name of the phrase set. */ name?: pulumi.Input; /** * The ID to use for the phrase set, which will become the final component of the phrase set's resource name. This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters. */ phraseSetId: pulumi.Input; /** * A list of word and phrases. */ phrases?: pulumi.Input[]>; project?: pulumi.Input; }