DataExchangeArgs

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:

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());
}
}

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}}
$ pulumi import gcp:bigqueryanalyticshub/dataExchange:DataExchange default {{project}}/{{location}}/{{data_exchange_id}}
$ pulumi import gcp:bigqueryanalyticshub/dataExchange:DataExchange default {{location}}/{{data_exchange_id}}
$ pulumi import gcp:bigqueryanalyticshub/dataExchange:DataExchange default {{data_exchange_id}}

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
val dataExchangeId: Output<String>? = null

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
val description: Output<String>? = null

Description of the data exchange.

Link copied to clipboard
val displayName: Output<String>? = null

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
val documentation: Output<String>? = null

Documentation describing the data exchange.

Link copied to clipboard
val icon: Output<String>? = null

Base64 encoded image representing the data exchange.

Link copied to clipboard
val location: Output<String>? = null

The name of the location this data exchange.

Link copied to clipboard
val primaryContact: Output<String>? = null

Email or URL of the primary point of contact of the data exchange.

Link copied to clipboard
val project: Output<String>? = null

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Functions

Link copied to clipboard
open override fun toJava(): DataExchangeArgs