import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Retrieves a Data Attribute resource. */ export declare function getAttribute(args: GetAttributeArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetAttributeArgs { attributeId: string; dataTaxonomyId: string; location: string; project?: string; } export interface GetAttributeResult { /** * The number of child attributes present for this attribute. */ readonly attributeCount: number; /** * The time when the DataAttribute was created. */ readonly createTime: string; /** * Optional. Specified when applied to data stored on the resource (eg: rows, columns in BigQuery Tables). */ readonly dataAccessSpec: outputs.dataplex.v1.GoogleCloudDataplexV1DataAccessSpecResponse; /** * Optional. Description of the DataAttribute. */ readonly description: string; /** * Optional. User friendly display name. */ readonly displayName: string; /** * 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: string; /** * Optional. User-defined labels for the DataAttribute. */ readonly labels: { [key: string]: string; }; /** * The relative resource name of the dataAttribute, of the form: projects/{project_number}/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}. */ readonly name: string; /** * 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: string; /** * Optional. Specified when applied to a resource (eg: Cloud Storage bucket, BigQuery dataset, BigQuery table). */ readonly resourceAccessSpec: outputs.dataplex.v1.GoogleCloudDataplexV1ResourceAccessSpecResponse; /** * 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: string; /** * The time when the DataAttribute was last updated. */ readonly updateTime: string; } /** * Retrieves a Data Attribute resource. */ export declare function getAttributeOutput(args: GetAttributeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetAttributeOutputArgs { attributeId: pulumi.Input; dataTaxonomyId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }