import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Creates an entry. Only entries of 'FILESET' type or user-specified type can be created. Users should enable the Data Catalog API in the project identified by the `parent` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). A maximum of 100,000 entries may be created per entry group. * Auto-naming is currently not supported for this resource. */ export declare class Entry extends pulumi.CustomResource { /** * Get an existing Entry 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): Entry; /** * Returns true if the given object is an instance of Entry. 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 Entry; /** * Specification for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`. Context: https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding. */ readonly bigqueryDateShardedSpec: pulumi.Output; /** * Specification that applies to a BigQuery table. This is only valid on entries of type `TABLE`. */ readonly bigqueryTableSpec: pulumi.Output; /** * Entry description, which can consist of several sentences or paragraphs that describe entry contents. Default value is an empty string. */ readonly description: pulumi.Output; /** * Display information such as title and description. A short name to identify the entry, for example, "Analytics Data - Jan 2011". Default value is an empty string. */ readonly displayName: pulumi.Output; readonly entryGroupId: pulumi.Output; /** * Required. The id of the entry to create. */ readonly entryId: pulumi.Output; /** * Specification that applies to a Cloud Storage fileset. This is only valid on entries of type FILESET. */ readonly gcsFilesetSpec: pulumi.Output; /** * This field indicates the entry's source system that Data Catalog integrates with, such as BigQuery or Pub/Sub. */ readonly integratedSystem: pulumi.Output; /** * The resource this metadata entry refers to. For Google Cloud Platform resources, `linked_resource` is the [full name of the resource](https://cloud.google.com/apis/design/resource_names#full_resource_name). For example, the `linked_resource` for a table resource from BigQuery is: * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId Output only when Entry is of type in the EntryType enum. For entries with user_specified_type, this field is optional and defaults to an empty string. */ readonly linkedResource: pulumi.Output; readonly location: pulumi.Output; /** * The Data Catalog resource name of the entry in URL format. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} Note that this Entry and its child resources may not actually be stored in the location in this name. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Schema of the entry. An entry might not have any schema attached to it. */ readonly schema: pulumi.Output; /** * Timestamps about the underlying resource, not about this Data Catalog entry. Output only when Entry is of type in the EntryType enum. For entries with user_specified_type, this field is optional and defaults to an empty timestamp. */ readonly sourceSystemTimestamps: pulumi.Output; /** * The type of the entry. Only used for Entries with types in the EntryType enum. */ readonly type: pulumi.Output; /** * Statistics on the usage level of the resource. */ readonly usageSignal: pulumi.Output; /** * This field indicates the entry's source system that Data Catalog does not integrate with. `user_specified_system` strings must begin with a letter or underscore and can only contain letters, numbers, and underscores; are case insensitive; must be at least 1 character and at most 64 characters long. */ readonly userSpecifiedSystem: pulumi.Output; /** * Entry type if it does not fit any of the input-allowed values listed in `EntryType` enum above. When creating an entry, users should check the enum values first, if nothing matches the entry to be created, then provide a custom value, for example "my_special_type". `user_specified_type` strings must begin with a letter or underscore and can only contain letters, numbers, and underscores; are case insensitive; must be at least 1 character and at most 64 characters long. Currently, only FILESET enum value is allowed. All other entries created through Data Catalog must use `user_specified_type`. */ readonly userSpecifiedType: pulumi.Output; /** * Create a Entry 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: EntryArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Entry resource. */ export interface EntryArgs { /** * Specification for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`. Context: https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding. */ bigqueryDateShardedSpec?: pulumi.Input; /** * Specification that applies to a BigQuery table. This is only valid on entries of type `TABLE`. */ bigqueryTableSpec?: pulumi.Input; /** * Entry description, which can consist of several sentences or paragraphs that describe entry contents. Default value is an empty string. */ description?: pulumi.Input; /** * Display information such as title and description. A short name to identify the entry, for example, "Analytics Data - Jan 2011". Default value is an empty string. */ displayName?: pulumi.Input; entryGroupId: pulumi.Input; /** * Required. The id of the entry to create. */ entryId: pulumi.Input; /** * Specification that applies to a Cloud Storage fileset. This is only valid on entries of type FILESET. */ gcsFilesetSpec?: pulumi.Input; /** * The resource this metadata entry refers to. For Google Cloud Platform resources, `linked_resource` is the [full name of the resource](https://cloud.google.com/apis/design/resource_names#full_resource_name). For example, the `linked_resource` for a table resource from BigQuery is: * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId Output only when Entry is of type in the EntryType enum. For entries with user_specified_type, this field is optional and defaults to an empty string. */ linkedResource?: pulumi.Input; location?: pulumi.Input; project?: pulumi.Input; /** * Schema of the entry. An entry might not have any schema attached to it. */ schema?: pulumi.Input; /** * The type of the entry. Only used for Entries with types in the EntryType enum. */ type?: pulumi.Input; /** * This field indicates the entry's source system that Data Catalog does not integrate with. `user_specified_system` strings must begin with a letter or underscore and can only contain letters, numbers, and underscores; are case insensitive; must be at least 1 character and at most 64 characters long. */ userSpecifiedSystem?: pulumi.Input; /** * Entry type if it does not fit any of the input-allowed values listed in `EntryType` enum above. When creating an entry, users should check the enum values first, if nothing matches the entry to be created, then provide a custom value, for example "my_special_type". `user_specified_type` strings must begin with a letter or underscore and can only contain letters, numbers, and underscores; are case insensitive; must be at least 1 character and at most 64 characters long. Currently, only FILESET enum value is allowed. All other entries created through Data Catalog must use `user_specified_type`. */ userSpecifiedType?: pulumi.Input; }