import * as pulumi from "@pulumi/pulumi"; import * as enums from "../../types/enums"; /** * Creates a History. The returned History will have the id set. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing project does not exist * Note - this resource's API doesn't support deletion. When deleted, the resource will persist * on Google Cloud even though it will be deleted from Pulumi state. */ export declare class History extends pulumi.CustomResource { /** * Get an existing History 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): History; /** * Returns true if the given object is an instance of History. 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 History; /** * A short human-readable (plain text) name to display in the UI. Maximum of 100 characters. - In response: present if set during create. - In create request: optional */ readonly displayName: pulumi.Output; /** * A unique identifier within a project for this History. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create request: never set */ readonly historyId: pulumi.Output; /** * A name to uniquely identify a history within a project. Maximum of 200 characters. - In response always set - In create request: always set */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended. */ readonly requestId: pulumi.Output; /** * The platform of the test history. - In response: always set. Returns the platform of the last execution if unknown. */ readonly testPlatform: pulumi.Output; /** * Create a History 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?: HistoryArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a History resource. */ export interface HistoryArgs { /** * A short human-readable (plain text) name to display in the UI. Maximum of 100 characters. - In response: present if set during create. - In create request: optional */ displayName?: pulumi.Input; /** * A unique identifier within a project for this History. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create request: never set */ historyId?: pulumi.Input; /** * A name to uniquely identify a history within a project. Maximum of 200 characters. - In response always set - In create request: always set */ name?: pulumi.Input; project?: pulumi.Input; /** * A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended. */ requestId?: pulumi.Input; /** * The platform of the test history. - In response: always set. Returns the platform of the last execution if unknown. */ testPlatform?: pulumi.Input; }