published on Thursday, May 7, 2026 by Pulumi
published on Thursday, May 7, 2026 by Pulumi
A QaScorecard represents a collection of questions to be scored during analysis.
Example Usage
Create QaScorecard Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new QaScorecard(name: string, args: QaScorecardArgs, opts?: CustomResourceOptions);@overload
def QaScorecard(resource_name: str,
args: QaScorecardArgs,
opts: Optional[ResourceOptions] = None)
@overload
def QaScorecard(resource_name: str,
opts: Optional[ResourceOptions] = None,
location: Optional[str] = None,
qa_scorecard_id: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
is_default: Optional[bool] = None,
project: Optional[str] = None,
source: Optional[str] = None)func NewQaScorecard(ctx *Context, name string, args QaScorecardArgs, opts ...ResourceOption) (*QaScorecard, error)public QaScorecard(string name, QaScorecardArgs args, CustomResourceOptions? opts = null)
public QaScorecard(String name, QaScorecardArgs args)
public QaScorecard(String name, QaScorecardArgs args, CustomResourceOptions options)
type: gcp:contactcenterinsights:QaScorecard
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args QaScorecardArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args QaScorecardArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args QaScorecardArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args QaScorecardArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args QaScorecardArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var qaScorecardResource = new Gcp.ContactCenterInsights.QaScorecard("qaScorecardResource", new()
{
Location = "string",
QaScorecardId = "string",
Description = "string",
DisplayName = "string",
IsDefault = false,
Project = "string",
Source = "string",
});
example, err := contactcenterinsights.NewQaScorecard(ctx, "qaScorecardResource", &contactcenterinsights.QaScorecardArgs{
Location: pulumi.String("string"),
QaScorecardId: pulumi.String("string"),
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
IsDefault: pulumi.Bool(false),
Project: pulumi.String("string"),
Source: pulumi.String("string"),
})
var qaScorecardResource = new QaScorecard("qaScorecardResource", QaScorecardArgs.builder()
.location("string")
.qaScorecardId("string")
.description("string")
.displayName("string")
.isDefault(false)
.project("string")
.source("string")
.build());
qa_scorecard_resource = gcp.contactcenterinsights.QaScorecard("qaScorecardResource",
location="string",
qa_scorecard_id="string",
description="string",
display_name="string",
is_default=False,
project="string",
source="string")
const qaScorecardResource = new gcp.contactcenterinsights.QaScorecard("qaScorecardResource", {
location: "string",
qaScorecardId: "string",
description: "string",
displayName: "string",
isDefault: false,
project: "string",
source: "string",
});
type: gcp:contactcenterinsights:QaScorecard
properties:
description: string
displayName: string
isDefault: false
location: string
project: string
qaScorecardId: string
source: string
QaScorecard Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The QaScorecard resource accepts the following input properties:
- Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Qa
Scorecard stringId - A unique ID for the new QaScorecard. This ID will become the final
component of the QaScorecard's resource name. If no ID is specified, a
server-generated ID will be used.
This value should be 4-64 characters and must match the regular
expression
^[a-z0-9-]{4,64}$. Valid characters area-z-. - Description string
- A text description explaining the intent of the scorecard.
- Display
Name string - The user-specified display name of the scorecard.
- Is
Default bool - Whether the scorecard is the default one for the project. A default scorecard cannot be deleted and will always appear first in scorecard selector.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Source string
- Possible values: QA_SCORECARD_SOURCE_CUSTOMER_DEFINED QA_SCORECARD_SOURCE_DISCOVERY_ENGINE
- Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Qa
Scorecard stringId - A unique ID for the new QaScorecard. This ID will become the final
component of the QaScorecard's resource name. If no ID is specified, a
server-generated ID will be used.
This value should be 4-64 characters and must match the regular
expression
^[a-z0-9-]{4,64}$. Valid characters area-z-. - Description string
- A text description explaining the intent of the scorecard.
- Display
Name string - The user-specified display name of the scorecard.
- Is
Default bool - Whether the scorecard is the default one for the project. A default scorecard cannot be deleted and will always appear first in scorecard selector.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Source string
- Possible values: QA_SCORECARD_SOURCE_CUSTOMER_DEFINED QA_SCORECARD_SOURCE_DISCOVERY_ENGINE
- location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - qa
Scorecard StringId - A unique ID for the new QaScorecard. This ID will become the final
component of the QaScorecard's resource name. If no ID is specified, a
server-generated ID will be used.
This value should be 4-64 characters and must match the regular
expression
^[a-z0-9-]{4,64}$. Valid characters area-z-. - description String
- A text description explaining the intent of the scorecard.
- display
Name String - The user-specified display name of the scorecard.
- is
Default Boolean - Whether the scorecard is the default one for the project. A default scorecard cannot be deleted and will always appear first in scorecard selector.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- source String
- Possible values: QA_SCORECARD_SOURCE_CUSTOMER_DEFINED QA_SCORECARD_SOURCE_DISCOVERY_ENGINE
- location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - qa
Scorecard stringId - A unique ID for the new QaScorecard. This ID will become the final
component of the QaScorecard's resource name. If no ID is specified, a
server-generated ID will be used.
This value should be 4-64 characters and must match the regular
expression
^[a-z0-9-]{4,64}$. Valid characters area-z-. - description string
- A text description explaining the intent of the scorecard.
- display
Name string - The user-specified display name of the scorecard.
- is
Default boolean - Whether the scorecard is the default one for the project. A default scorecard cannot be deleted and will always appear first in scorecard selector.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- source string
- Possible values: QA_SCORECARD_SOURCE_CUSTOMER_DEFINED QA_SCORECARD_SOURCE_DISCOVERY_ENGINE
- location str
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - qa_
scorecard_ strid - A unique ID for the new QaScorecard. This ID will become the final
component of the QaScorecard's resource name. If no ID is specified, a
server-generated ID will be used.
This value should be 4-64 characters and must match the regular
expression
^[a-z0-9-]{4,64}$. Valid characters area-z-. - description str
- A text description explaining the intent of the scorecard.
- display_
name str - The user-specified display name of the scorecard.
- is_
default bool - Whether the scorecard is the default one for the project. A default scorecard cannot be deleted and will always appear first in scorecard selector.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- source str
- Possible values: QA_SCORECARD_SOURCE_CUSTOMER_DEFINED QA_SCORECARD_SOURCE_DISCOVERY_ENGINE
- location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - qa
Scorecard StringId - A unique ID for the new QaScorecard. This ID will become the final
component of the QaScorecard's resource name. If no ID is specified, a
server-generated ID will be used.
This value should be 4-64 characters and must match the regular
expression
^[a-z0-9-]{4,64}$. Valid characters area-z-. - description String
- A text description explaining the intent of the scorecard.
- display
Name String - The user-specified display name of the scorecard.
- is
Default Boolean - Whether the scorecard is the default one for the project. A default scorecard cannot be deleted and will always appear first in scorecard selector.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- source String
- Possible values: QA_SCORECARD_SOURCE_CUSTOMER_DEFINED QA_SCORECARD_SOURCE_DISCOVERY_ENGINE
Outputs
All input properties are implicitly available as output properties. Additionally, the QaScorecard resource produces the following output properties:
- Create
Time string - The time at which this scorecard was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}
- Update
Time string - The most recent time at which the scorecard was updated.
- Create
Time string - The time at which this scorecard was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}
- Update
Time string - The most recent time at which the scorecard was updated.
- create
Time String - The time at which this scorecard was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}
- update
Time String - The most recent time at which the scorecard was updated.
- create
Time string - The time at which this scorecard was created.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}
- update
Time string - The most recent time at which the scorecard was updated.
- create_
time str - The time at which this scorecard was created.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}
- update_
time str - The most recent time at which the scorecard was updated.
- create
Time String - The time at which this scorecard was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}
- update
Time String - The most recent time at which the scorecard was updated.
Look up Existing QaScorecard Resource
Get an existing QaScorecard resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: QaScorecardState, opts?: CustomResourceOptions): QaScorecard@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
is_default: Optional[bool] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
qa_scorecard_id: Optional[str] = None,
source: Optional[str] = None,
update_time: Optional[str] = None) -> QaScorecardfunc GetQaScorecard(ctx *Context, name string, id IDInput, state *QaScorecardState, opts ...ResourceOption) (*QaScorecard, error)public static QaScorecard Get(string name, Input<string> id, QaScorecardState? state, CustomResourceOptions? opts = null)public static QaScorecard get(String name, Output<String> id, QaScorecardState state, CustomResourceOptions options)resources: _: type: gcp:contactcenterinsights:QaScorecard get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Create
Time string - The time at which this scorecard was created.
- Description string
- A text description explaining the intent of the scorecard.
- Display
Name string - The user-specified display name of the scorecard.
- Is
Default bool - Whether the scorecard is the default one for the project. A default scorecard cannot be deleted and will always appear first in scorecard selector.
- Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Name string
- Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Qa
Scorecard stringId - A unique ID for the new QaScorecard. This ID will become the final
component of the QaScorecard's resource name. If no ID is specified, a
server-generated ID will be used.
This value should be 4-64 characters and must match the regular
expression
^[a-z0-9-]{4,64}$. Valid characters area-z-. - Source string
- Possible values: QA_SCORECARD_SOURCE_CUSTOMER_DEFINED QA_SCORECARD_SOURCE_DISCOVERY_ENGINE
- Update
Time string - The most recent time at which the scorecard was updated.
- Create
Time string - The time at which this scorecard was created.
- Description string
- A text description explaining the intent of the scorecard.
- Display
Name string - The user-specified display name of the scorecard.
- Is
Default bool - Whether the scorecard is the default one for the project. A default scorecard cannot be deleted and will always appear first in scorecard selector.
- Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Name string
- Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Qa
Scorecard stringId - A unique ID for the new QaScorecard. This ID will become the final
component of the QaScorecard's resource name. If no ID is specified, a
server-generated ID will be used.
This value should be 4-64 characters and must match the regular
expression
^[a-z0-9-]{4,64}$. Valid characters area-z-. - Source string
- Possible values: QA_SCORECARD_SOURCE_CUSTOMER_DEFINED QA_SCORECARD_SOURCE_DISCOVERY_ENGINE
- Update
Time string - The most recent time at which the scorecard was updated.
- create
Time String - The time at which this scorecard was created.
- description String
- A text description explaining the intent of the scorecard.
- display
Name String - The user-specified display name of the scorecard.
- is
Default Boolean - Whether the scorecard is the default one for the project. A default scorecard cannot be deleted and will always appear first in scorecard selector.
- location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name String
- Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- qa
Scorecard StringId - A unique ID for the new QaScorecard. This ID will become the final
component of the QaScorecard's resource name. If no ID is specified, a
server-generated ID will be used.
This value should be 4-64 characters and must match the regular
expression
^[a-z0-9-]{4,64}$. Valid characters area-z-. - source String
- Possible values: QA_SCORECARD_SOURCE_CUSTOMER_DEFINED QA_SCORECARD_SOURCE_DISCOVERY_ENGINE
- update
Time String - The most recent time at which the scorecard was updated.
- create
Time string - The time at which this scorecard was created.
- description string
- A text description explaining the intent of the scorecard.
- display
Name string - The user-specified display name of the scorecard.
- is
Default boolean - Whether the scorecard is the default one for the project. A default scorecard cannot be deleted and will always appear first in scorecard selector.
- location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name string
- Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- qa
Scorecard stringId - A unique ID for the new QaScorecard. This ID will become the final
component of the QaScorecard's resource name. If no ID is specified, a
server-generated ID will be used.
This value should be 4-64 characters and must match the regular
expression
^[a-z0-9-]{4,64}$. Valid characters area-z-. - source string
- Possible values: QA_SCORECARD_SOURCE_CUSTOMER_DEFINED QA_SCORECARD_SOURCE_DISCOVERY_ENGINE
- update
Time string - The most recent time at which the scorecard was updated.
- create_
time str - The time at which this scorecard was created.
- description str
- A text description explaining the intent of the scorecard.
- display_
name str - The user-specified display name of the scorecard.
- is_
default bool - Whether the scorecard is the default one for the project. A default scorecard cannot be deleted and will always appear first in scorecard selector.
- location str
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name str
- Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- qa_
scorecard_ strid - A unique ID for the new QaScorecard. This ID will become the final
component of the QaScorecard's resource name. If no ID is specified, a
server-generated ID will be used.
This value should be 4-64 characters and must match the regular
expression
^[a-z0-9-]{4,64}$. Valid characters area-z-. - source str
- Possible values: QA_SCORECARD_SOURCE_CUSTOMER_DEFINED QA_SCORECARD_SOURCE_DISCOVERY_ENGINE
- update_
time str - The most recent time at which the scorecard was updated.
- create
Time String - The time at which this scorecard was created.
- description String
- A text description explaining the intent of the scorecard.
- display
Name String - The user-specified display name of the scorecard.
- is
Default Boolean - Whether the scorecard is the default one for the project. A default scorecard cannot be deleted and will always appear first in scorecard selector.
- location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name String
- Identifier. The scorecard name. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- qa
Scorecard StringId - A unique ID for the new QaScorecard. This ID will become the final
component of the QaScorecard's resource name. If no ID is specified, a
server-generated ID will be used.
This value should be 4-64 characters and must match the regular
expression
^[a-z0-9-]{4,64}$. Valid characters area-z-. - source String
- Possible values: QA_SCORECARD_SOURCE_CUSTOMER_DEFINED QA_SCORECARD_SOURCE_DISCOVERY_ENGINE
- update
Time String - The most recent time at which the scorecard was updated.
Import
QaScorecard can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/qaScorecards/{{qa_scorecard_id}}{{project}}/{{location}}/{{qa_scorecard_id}}{{location}}/{{qa_scorecard_id}}
When using the pulumi import command, QaScorecard can be imported using one of the formats above. For example:
$ pulumi import gcp:contactcenterinsights/qaScorecard:QaScorecard default projects/{{project}}/locations/{{location}}/qaScorecards/{{qa_scorecard_id}}
$ pulumi import gcp:contactcenterinsights/qaScorecard:QaScorecard default {{project}}/{{location}}/{{qa_scorecard_id}}
$ pulumi import gcp:contactcenterinsights/qaScorecard:QaScorecard default {{location}}/{{qa_scorecard_id}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.
published on Thursday, May 7, 2026 by Pulumi
