Listing

class Listing : KotlinCustomResource

A Bigquery Analytics Hub data exchange listing To get more information about Listing, see:

Example Usage

Bigquery Analyticshub Listing 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 com.pulumi.gcp.bigquery.Dataset;
import com.pulumi.gcp.bigquery.DatasetArgs;
import com.pulumi.gcp.bigqueryanalyticshub.Listing;
import com.pulumi.gcp.bigqueryanalyticshub.ListingArgs;
import com.pulumi.gcp.bigqueryanalyticshub.inputs.ListingBigqueryDatasetArgs;
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 listingDataExchange = new DataExchange("listingDataExchange", DataExchangeArgs.builder()
.location("US")
.dataExchangeId("my_data_exchange")
.displayName("my_data_exchange")
.description("example data exchange")
.build());
var listingDataset = new Dataset("listingDataset", DatasetArgs.builder()
.datasetId("my_listing")
.friendlyName("my_listing")
.description("example data exchange")
.location("US")
.build());
var listingListing = new Listing("listingListing", ListingArgs.builder()
.location("US")
.dataExchangeId(listingDataExchange.dataExchangeId())
.listingId("my_listing")
.displayName("my_listing")
.description("example data exchange")
.bigqueryDataset(ListingBigqueryDatasetArgs.builder()
.dataset(listingDataset.id())
.build())
.build());
}
}

Import

Listing can be imported using any of these accepted formats

$ pulumi import gcp:bigqueryanalyticshub/listing:Listing default projects/{{project}}/locations/{{location}}/dataExchanges/{{data_exchange_id}}/listings/{{listing_id}}
$ pulumi import gcp:bigqueryanalyticshub/listing:Listing default {{project}}/{{location}}/{{data_exchange_id}}/{{listing_id}}
$ pulumi import gcp:bigqueryanalyticshub/listing:Listing default {{location}}/{{data_exchange_id}}/{{listing_id}}

Properties

Link copied to clipboard

Shared dataset i.e. BigQuery dataset source. Structure is documented below.

Link copied to clipboard
val categories: Output<List<String>>?

Categories of the listing. Up to two categories are allowed.

Link copied to clipboard
val dataExchangeId: Output<String>

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

Details of the data provider who owns the source data. Structure is documented below.

Link copied to clipboard
val description: Output<String>?

Short description of the listing. The description must not contain Unicode non-characters and C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF).

Link copied to clipboard
val displayName: Output<String>

Human-readable display name of the listing. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and can't start or end with spaces.

Link copied to clipboard
val documentation: Output<String>?

Documentation describing the listing.

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

Base64 encoded image representing the listing.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val listingId: Output<String>

The ID of the listing. 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 location: Output<String>

The name of the location this data exchange listing.

Link copied to clipboard
val name: Output<String>

Name of the data provider.

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

Email or URL of the primary point of contact of the listing.

Link copied to clipboard
val project: Output<String>

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

Link copied to clipboard

Details of the publisher who owns the listing and who can share the source data. Structure is documented below.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val requestAccess: Output<String>?

Email or URL of the request access of the listing. Subscribers can use this reference to request access.

Link copied to clipboard
val urn: Output<String>