import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Creates a new listing. * Auto-naming is currently not supported for this resource. */ export declare class Listing extends pulumi.CustomResource { /** * Get an existing Listing 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): Listing; /** * Returns true if the given object is an instance of Listing. 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 Listing; /** * Shared dataset i.e. BigQuery dataset source. */ readonly bigqueryDataset: pulumi.Output; /** * Optional. Categories of the listing. Up to two categories are allowed. */ readonly categories: pulumi.Output; readonly dataExchangeId: pulumi.Output; /** * Optional. Details of the data provider who owns the source data. */ readonly dataProvider: pulumi.Output; /** * Optional. 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). Default value is an empty string. Max length: 2000 bytes. */ readonly description: pulumi.Output; /** * 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. Default value is an empty string. Max length: 63 bytes. */ readonly displayName: pulumi.Output; /** * Optional. Documentation describing the listing. */ readonly documentation: pulumi.Output; /** * Optional. Base64 encoded image representing the listing. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the contents of the field are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire. */ readonly icon: pulumi.Output; /** * Required. The ID of the listing to create. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes. */ readonly listingId: pulumi.Output; readonly location: pulumi.Output; /** * The resource name of the listing. e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456` */ readonly name: pulumi.Output; /** * Optional. Email or URL of the primary point of contact of the listing. Max Length: 1000 bytes. */ readonly primaryContact: pulumi.Output; readonly project: pulumi.Output; /** * Optional. Details of the publisher who owns the listing and who can share the source data. */ readonly publisher: pulumi.Output; /** * Optional. Email or URL of the request access of the listing. Subscribers can use this reference to request access. Max Length: 1000 bytes. */ readonly requestAccess: pulumi.Output; /** * Optional. If set, restricted export configuration will be propagated and enforced on the linked dataset. */ readonly restrictedExportConfig: pulumi.Output; /** * Current state of the listing. */ readonly state: pulumi.Output; /** * Create a Listing 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: ListingArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Listing resource. */ export interface ListingArgs { /** * Shared dataset i.e. BigQuery dataset source. */ bigqueryDataset: pulumi.Input; /** * Optional. Categories of the listing. Up to two categories are allowed. */ categories?: pulumi.Input[]>; dataExchangeId: pulumi.Input; /** * Optional. Details of the data provider who owns the source data. */ dataProvider?: pulumi.Input; /** * Optional. 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). Default value is an empty string. Max length: 2000 bytes. */ description?: pulumi.Input; /** * 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. Default value is an empty string. Max length: 63 bytes. */ displayName: pulumi.Input; /** * Optional. Documentation describing the listing. */ documentation?: pulumi.Input; /** * Optional. Base64 encoded image representing the listing. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the contents of the field are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire. */ icon?: pulumi.Input; /** * Required. The ID of the listing to create. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes. */ listingId: pulumi.Input; location?: pulumi.Input; /** * Optional. Email or URL of the primary point of contact of the listing. Max Length: 1000 bytes. */ primaryContact?: pulumi.Input; project?: pulumi.Input; /** * Optional. Details of the publisher who owns the listing and who can share the source data. */ publisher?: pulumi.Input; /** * Optional. Email or URL of the request access of the listing. Subscribers can use this reference to request access. Max Length: 1000 bytes. */ requestAccess?: pulumi.Input; /** * Optional. If set, restricted export configuration will be propagated and enforced on the linked dataset. */ restrictedExportConfig?: pulumi.Input; }