import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Creates and returns a new ProductSet resource. Possible errors: * Returns INVALID_ARGUMENT if display_name is missing, or is longer than 4096 characters. */ export declare class ProductSet extends pulumi.CustomResource { /** * Get an existing ProductSet 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): ProductSet; /** * Returns true if the given object is an instance of ProductSet. 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 ProductSet; /** * The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long. */ readonly displayName: pulumi.Output; /** * If there was an error with indexing the product set, the field is populated. This field is ignored when creating a ProductSet. */ readonly indexError: pulumi.Output; /** * The time at which this ProductSet was last indexed. Query results will reflect all updates before this time. If this ProductSet has never been indexed, this timestamp is the default value "1970-01-01T00:00:00Z". This field is ignored when creating a ProductSet. */ readonly indexTime: pulumi.Output; readonly location: pulumi.Output; /** * The resource name of the ProductSet. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`. This field is ignored when creating a ProductSet. */ readonly name: pulumi.Output; /** * A user-supplied resource id for this ProductSet. If set, the server will attempt to use this value as the resource id. If it is already in use, an error is returned with code ALREADY_EXISTS. Must be at most 128 characters long. It cannot contain the character `/`. */ readonly productSetId: pulumi.Output; readonly project: pulumi.Output; /** * Create a ProductSet 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?: ProductSetArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ProductSet resource. */ export interface ProductSetArgs { /** * The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long. */ displayName?: pulumi.Input; location?: pulumi.Input; /** * The resource name of the ProductSet. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`. This field is ignored when creating a ProductSet. */ name?: pulumi.Input; /** * A user-supplied resource id for this ProductSet. If set, the server will attempt to use this value as the resource id. If it is already in use, an error is returned with code ALREADY_EXISTS. Must be at most 128 characters long. It cannot contain the character `/`. */ productSetId?: pulumi.Input; project?: pulumi.Input; }