import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Get a custom class. */ export declare function getCustomClass(args: GetCustomClassArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetCustomClassArgs { customClassId: string; location: string; project?: string; } export interface GetCustomClassResult { /** * 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: { [key: string]: string; }; /** * If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive. */ readonly customClassId: string; /** * The time at which this resource was requested for deletion. This field is not used. */ readonly deleteTime: string; /** * User-settable, human-readable name for the CustomClass. Must be 63 characters or less. This field is not used. */ readonly displayName: string; /** * 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: string; /** * The time at which this resource will be purged. This field is not used. */ readonly expireTime: string; /** * A collection of class items. */ readonly items: outputs.speech.v1.ClassItemResponse[]; /** * The [KMS key name](https://cloud.google.com/kms/docs/resource-hierarchy#keys) with which the content of the ClassItem is encrypted. The expected format is `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. */ readonly kmsKeyName: string; /** * The [KMS key version name](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions) with which content of the ClassItem is encrypted. The expected format is `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`. */ readonly kmsKeyVersionName: string; /** * The resource name of the custom class. */ readonly name: string; /** * Whether or not this CustomClass is in the process of being updated. This field is not used. */ readonly reconciling: boolean; /** * The CustomClass lifecycle state. This field is not used. */ readonly state: string; /** * System-assigned unique identifier for the CustomClass. This field is not used. */ readonly uid: string; } /** * Get a custom class. */ export declare function getCustomClassOutput(args: GetCustomClassOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetCustomClassOutputArgs { customClassId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }