Data Exchange Args
data class DataExchangeArgs(val dataExchangeId: Output<String>? = null, val description: Output<String>? = null, val displayName: Output<String>? = null, val documentation: Output<String>? = null, val icon: Output<String>? = null, val location: Output<String>? = null, val primaryContact: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<DataExchangeArgs>
A Bigquery Analytics Hub data exchange To get more information about DataExchange, see:
How-to Guides
Example Usage
Bigquery Analyticshub Data Exchange Basic
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.bigqueryanalyticshub.DataExchange;
import com.pulumi.gcp.bigqueryanalyticshub.DataExchangeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var dataExchange = new DataExchange("dataExchange", DataExchangeArgs.builder()
.dataExchangeId("my_data_exchange")
.description("example data exchange")
.displayName("my_data_exchange")
.location("US")
.build());
}
}
Content copied to clipboard
Import
DataExchange can be imported using any of these accepted formats
$ pulumi import gcp:bigqueryanalyticshub/dataExchange:DataExchange default projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}
Content copied to clipboard
$ pulumi import gcp:bigqueryanalyticshub/dataExchange:DataExchange default {{project}}/{{location}}/{{data_exchange_id}}
Content copied to clipboard
$ pulumi import gcp:bigqueryanalyticshub/dataExchange:DataExchange default {{location}}/{{data_exchange_id}}
Content copied to clipboard
$ pulumi import gcp:bigqueryanalyticshub/dataExchange:DataExchange default {{data_exchange_id}}
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(dataExchangeId: Output<String>? = null, description: Output<String>? = null, displayName: Output<String>? = null, documentation: Output<String>? = null, icon: Output<String>? = null, location: Output<String>? = null, primaryContact: Output<String>? = null, project: Output<String>? = null)
Properties
Link copied to clipboard
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.
Link copied to clipboard
Description of the data exchange.
Link copied to clipboard
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.
Link copied to clipboard
Documentation describing the data exchange.
Link copied to clipboard
Email or URL of the primary point of contact of the data exchange.