UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

185 lines 7.79 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * A revision of a QaScorecard. * * ## Example Usage * * ## Import * * QaScorecardRevision can be imported using any of these accepted formats: * * * `projects/{{project}}/locations/{{location}}/qaScorecards/{{qa_scorecard}}/revisions/{{qa_scorecard_revision_id}}` * * `{{project}}/{{location}}/{{qa_scorecard}}/{{qa_scorecard_revision_id}}` * * `{{location}}/{{qa_scorecard}}/{{qa_scorecard_revision_id}}` * * When using the `pulumi import` command, QaScorecardRevision can be imported using one of the formats above. For example: * * ```sh * $ pulumi import gcp:contactcenterinsights/qaScorecardRevision:QaScorecardRevision default projects/{{project}}/locations/{{location}}/qaScorecards/{{qa_scorecard}}/revisions/{{qa_scorecard_revision_id}} * $ pulumi import gcp:contactcenterinsights/qaScorecardRevision:QaScorecardRevision default {{project}}/{{location}}/{{qa_scorecard}}/{{qa_scorecard_revision_id}} * $ pulumi import gcp:contactcenterinsights/qaScorecardRevision:QaScorecardRevision default {{location}}/{{qa_scorecard}}/{{qa_scorecard_revision_id}} * ``` */ export declare class QaScorecardRevision extends pulumi.CustomResource { /** * Get an existing QaScorecardRevision 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: QaScorecardRevisionState, opts?: pulumi.CustomResourceOptions): QaScorecardRevision; /** * Returns true if the given object is an instance of QaScorecardRevision. 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 QaScorecardRevision; /** * Alternative IDs for this revision of the scorecard, e.g., `latest`. */ readonly alternateIds: pulumi.Output<string[]>; /** * (Output) * The time at which this scorecard was created. */ readonly createTime: pulumi.Output<string>; /** * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. */ readonly location: pulumi.Output<string>; /** * (Output) * Identifier. The scorecard name. * Format: * projects/{project}/locations/{location}/qaScorecards/{qa_scorecard} */ readonly name: pulumi.Output<string>; /** * The ID of the project in which the resource belongs. * If it is not provided, the provider project is used. */ readonly project: pulumi.Output<string>; /** * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. */ readonly qaScorecard: pulumi.Output<string>; /** * A unique ID for the new QaScorecardRevision. This ID will become the final * component of the QaScorecardRevision's resource name. * If no ID is specified this resource will get the latest revision on the given scorecard. */ readonly qaScorecardRevisionId: pulumi.Output<string>; /** * A QaScorecard represents a collection of questions to be scored during * analysis. * Structure is documented below. */ readonly snapshots: pulumi.Output<outputs.contactcenterinsights.QaScorecardRevisionSnapshot[]>; /** * State of the scorecard revision, indicating whether it's ready to * be used in analysis. * Possible values: * EDITABLE * TRAINING * TRAINING_FAILED * READY * DELETING * TRAINING_CANCELLED */ readonly state: pulumi.Output<string>; /** * Create a QaScorecardRevision 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: QaScorecardRevisionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering QaScorecardRevision resources. */ export interface QaScorecardRevisionState { /** * Alternative IDs for this revision of the scorecard, e.g., `latest`. */ alternateIds?: pulumi.Input<pulumi.Input<string>[] | undefined>; /** * (Output) * The time at which this scorecard was created. */ createTime?: pulumi.Input<string | undefined>; /** * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. */ location?: pulumi.Input<string | undefined>; /** * (Output) * Identifier. The scorecard name. * Format: * projects/{project}/locations/{location}/qaScorecards/{qa_scorecard} */ name?: pulumi.Input<string | undefined>; /** * The ID of the project in which the resource belongs. * If it is not provided, the provider project is used. */ project?: pulumi.Input<string | undefined>; /** * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. */ qaScorecard?: pulumi.Input<string | undefined>; /** * A unique ID for the new QaScorecardRevision. This ID will become the final * component of the QaScorecardRevision's resource name. * If no ID is specified this resource will get the latest revision on the given scorecard. */ qaScorecardRevisionId?: pulumi.Input<string | undefined>; /** * A QaScorecard represents a collection of questions to be scored during * analysis. * Structure is documented below. */ snapshots?: pulumi.Input<pulumi.Input<inputs.contactcenterinsights.QaScorecardRevisionSnapshot>[] | undefined>; /** * State of the scorecard revision, indicating whether it's ready to * be used in analysis. * Possible values: * EDITABLE * TRAINING * TRAINING_FAILED * READY * DELETING * TRAINING_CANCELLED */ state?: pulumi.Input<string | undefined>; } /** * The set of arguments for constructing a QaScorecardRevision resource. */ export interface QaScorecardRevisionArgs { /** * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. */ location: pulumi.Input<string>; /** * The ID of the project in which the resource belongs. * If it is not provided, the provider project is used. */ project?: pulumi.Input<string | undefined>; /** * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. */ qaScorecard: pulumi.Input<string>; /** * A unique ID for the new QaScorecardRevision. This ID will become the final * component of the QaScorecardRevision's resource name. * If no ID is specified this resource will get the latest revision on the given scorecard. */ qaScorecardRevisionId?: pulumi.Input<string | undefined>; } //# sourceMappingURL=qaScorecardRevision.d.ts.map