import * as pulumi from "@pulumi/pulumi"; /** * Creates a tag template. You must enable the Data Catalog API in the project identified by the `parent` parameter. For more information, see [Data Catalog resource project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project). */ export declare class TagTemplate extends pulumi.CustomResource { /** * Get an existing TagTemplate 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): TagTemplate; /** * Returns true if the given object is an instance of TagTemplate. 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 TagTemplate; /** * Display name for this template. Defaults to an empty string. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum length is 200 characters. */ readonly displayName: pulumi.Output; /** * Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. The map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. The IDs have the following limitations: * Can contain uppercase and lowercase letters, numbers (0-9) and underscores (_). * Must be at least 1 character and at most 64 characters long. * Must start with a letter or underscore. */ readonly fields: pulumi.Output<{ [key: string]: string; }>; /** * Indicates whether tags created with this template are public. Public tags do not require tag template access to appear in ListTags API response. Additionally, you can search for a public tag by value with a simple search query in addition to using a ``tag:`` predicate. */ readonly isPubliclyReadable: pulumi.Output; readonly location: pulumi.Output; /** * The resource name of the tag template in URL format. Note: The tag template itself and its child resources might not be stored in the location specified in its name. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Required. The ID of the tag template to create. The ID must contain only lowercase letters (a-z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8. */ readonly tagTemplateId: pulumi.Output; /** * Create a TagTemplate 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: TagTemplateArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a TagTemplate resource. */ export interface TagTemplateArgs { /** * Display name for this template. Defaults to an empty string. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum length is 200 characters. */ displayName?: pulumi.Input; /** * Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. The map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. The IDs have the following limitations: * Can contain uppercase and lowercase letters, numbers (0-9) and underscores (_). * Must be at least 1 character and at most 64 characters long. * Must start with a letter or underscore. */ fields: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Indicates whether tags created with this template are public. Public tags do not require tag template access to appear in ListTags API response. Additionally, you can search for a public tag by value with a simple search query in addition to using a ``tag:`` predicate. */ isPubliclyReadable?: pulumi.Input; location?: pulumi.Input; /** * The resource name of the tag template in URL format. Note: The tag template itself and its child resources might not be stored in the location specified in its name. */ name?: pulumi.Input; project?: pulumi.Input; /** * Required. The ID of the tag template to create. The ID must contain only lowercase letters (a-z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8. */ tagTemplateId: pulumi.Input; }