googleBigqueryAnalyticsHubDataExchange
A Bigquery Analytics Hub data exchange
To get more information about DataExchange, see:
- API documentation
- How-to Guides
- Official Documentation
Example Usage - Bigquery Analyticshub Data Exchange Basic
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as google from "./.gen/providers/google";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: google.
For a more precise conversion please use the --provider flag in convert.*/
new google.bigqueryAnalyticsHubDataExchange.BigqueryAnalyticsHubDataExchange(
this,
"data_exchange",
{
data_exchange_id: "my_data_exchange",
description: "example data exchange",
display_name: "my_data_exchange",
location: "US",
}
);
Argument Reference
The following arguments are supported:
-
dataExchangeId
- (Required) The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. -
location
- (Required) The name of the location this data exchange. -
displayName
- (Required) Human-readable display name of the data exchange. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and must not start or end with spaces.
-
description
- (Optional) Description of the data exchange. -
primaryContact
- (Optional) Email or URL of the primary point of contact of the data exchange. -
documentation
- (Optional) Documentation describing the data exchange. -
icon
- (Optional) Base64 encoded image representing the data exchange. -
project
- (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Attributes Reference
In addition to the arguments listed above, the following computed attributes are exported:
-
id
- an identifier for the resource with formatprojects/{{project}}/locations/{{location}}/dataExchanges/{{dataExchangeId}}
-
name
- The resource name of the data exchange, for example: "projects/myproject/locations/US/dataExchanges/123" -
listingCount
- Number of listings contained in the data exchange.
Timeouts
This resource provides the following Timeouts configuration options:
create
- Default is 20 minutes.update
- Default is 20 minutes.delete
- Default is 20 minutes.
Import
DataExchange can be imported using any of these accepted formats:
$ terraform import google_bigquery_analytics_hub_data_exchange.default projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}
$ terraform import google_bigquery_analytics_hub_data_exchange.default {{project}}/{{location}}/{{data_exchange_id}}
$ terraform import google_bigquery_analytics_hub_data_exchange.default {{location}}/{{data_exchange_id}}
$ terraform import google_bigquery_analytics_hub_data_exchange.default {{data_exchange_id}}
User Project Overrides
This resource supports User Project Overrides.