import * as pulumi from "@pulumi/pulumi"; /** * Creates a BigQuery export. * Auto-naming is currently not supported for this resource. */ export declare class ProjectBigQueryExport extends pulumi.CustomResource { /** * Get an existing ProjectBigQueryExport 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): ProjectBigQueryExport; /** * Returns true if the given object is an instance of ProjectBigQueryExport. 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 ProjectBigQueryExport; /** * Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less. */ readonly bigQueryExportId: pulumi.Output; /** * The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation. */ readonly createTime: pulumi.Output; /** * The dataset to write findings' updates to. Its format is "projects/[project_id]/datasets/[bigquery_dataset_id]". BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). */ readonly dataset: pulumi.Output; /** * The description of the export (max of 1024 characters). */ readonly description: pulumi.Output; /** * Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. */ readonly filter: pulumi.Output; /** * Email address of the user who last edited the BigQuery export. This field is set by the server and will be ignored if provided on export creation or update. */ readonly mostRecentEditor: pulumi.Output; /** * The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name. Example format: "organizations/{organization_id}/bigQueryExports/{export_id}" Example format: "folders/{folder_id}/bigQueryExports/{export_id}" Example format: "projects/{project_id}/bigQueryExports/{export_id}" This field is provided in responses, and is ignored when provided in create requests. */ readonly name: pulumi.Output; /** * The service account that needs permission to create table and upload data to the BigQuery dataset. */ readonly principal: pulumi.Output; readonly project: pulumi.Output; /** * The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update. */ readonly updateTime: pulumi.Output; /** * Create a ProjectBigQueryExport 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: ProjectBigQueryExportArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ProjectBigQueryExport resource. */ export interface ProjectBigQueryExportArgs { /** * Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less. */ bigQueryExportId: pulumi.Input; /** * The dataset to write findings' updates to. Its format is "projects/[project_id]/datasets/[bigquery_dataset_id]". BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). */ dataset?: pulumi.Input; /** * The description of the export (max of 1024 characters). */ description?: pulumi.Input; /** * Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. */ filter?: pulumi.Input; /** * The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name. Example format: "organizations/{organization_id}/bigQueryExports/{export_id}" Example format: "folders/{folder_id}/bigQueryExports/{export_id}" Example format: "projects/{project_id}/bigQueryExports/{export_id}" This field is provided in responses, and is ignored when provided in create requests. */ name?: pulumi.Input; project?: pulumi.Input; }