import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Create a DataAttribute resource. * Auto-naming is currently not supported for this resource. */ export declare class Attribute extends pulumi.CustomResource { /** * Get an existing Attribute 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): Attribute; /** * Returns true if the given object is an instance of Attribute. 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 Attribute; /** * The number of child attributes present for this attribute. */ readonly attributeCount: pulumi.Output; /** * The time when the DataAttribute was created. */ readonly createTime: pulumi.Output; /** * Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery Tables). */ readonly dataAccessSpec: pulumi.Output; /** * Required. DataAttribute identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the DataTaxonomy. */ readonly dataAttributeId: pulumi.Output; readonly dataTaxonomyId: pulumi.Output; /** * Optional. Description of the DataAttribute. */ readonly description: pulumi.Output; /** * Optional. User friendly display name. */ readonly displayName: pulumi.Output; /** * This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. */ readonly etag: pulumi.Output; /** * Optional. User-defined labels for the DataAttribute. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}. */ readonly name: pulumi.Output; /** * Optional. The ID of the parent DataAttribute resource, should belong to the same data taxonomy. Circular dependency in parent chain is not valid. Maximum depth of the hierarchy allowed is 4. a -> b -> c -> d -> e, depth = 4 */ readonly parentId: pulumi.Output; readonly project: pulumi.Output; /** * Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, BigQuery table). */ readonly resourceAccessSpec: pulumi.Output; /** * System generated globally unique ID for the DataAttribute. This ID will be different if the DataAttribute is deleted and re-created with the same name. */ readonly uid: pulumi.Output; /** * The time when the DataAttribute was last updated. */ readonly updateTime: pulumi.Output; /** * Create a Attribute 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: AttributeArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Attribute resource. */ export interface AttributeArgs { /** * Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery Tables). */ dataAccessSpec?: pulumi.Input; /** * Required. DataAttribute identifier. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the DataTaxonomy. */ dataAttributeId: pulumi.Input; dataTaxonomyId: pulumi.Input; /** * Optional. Description of the DataAttribute. */ description?: pulumi.Input; /** * Optional. User friendly display name. */ displayName?: pulumi.Input; /** * This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. */ etag?: pulumi.Input; /** * Optional. User-defined labels for the DataAttribute. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; /** * Optional. The ID of the parent DataAttribute resource, should belong to the same data taxonomy. Circular dependency in parent chain is not valid. Maximum depth of the hierarchy allowed is 4. a -> b -> c -> d -> e, depth = 4 */ parentId?: pulumi.Input; project?: pulumi.Input; /** * Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, BigQuery table). */ resourceAccessSpec?: pulumi.Input; }