published on Thursday, May 7, 2026 by Pulumi
published on Thursday, May 7, 2026 by Pulumi
A single question to be scored by the Insights QA feature.
Example Usage
Create QaQuestion Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new QaQuestion(name: string, args: QaQuestionArgs, opts?: CustomResourceOptions);@overload
def QaQuestion(resource_name: str,
args: QaQuestionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def QaQuestion(resource_name: str,
opts: Optional[ResourceOptions] = None,
qa_scorecard: Optional[str] = None,
location: Optional[str] = None,
revision: Optional[str] = None,
question_body: Optional[str] = None,
metrics: Optional[QaQuestionMetricsArgs] = None,
order: Optional[int] = None,
answer_choices: Optional[Sequence[QaQuestionAnswerChoiceArgs]] = None,
qa_question_data_options: Optional[QaQuestionQaQuestionDataOptionsArgs] = None,
predefined_question_config: Optional[QaQuestionPredefinedQuestionConfigArgs] = None,
abbreviation: Optional[str] = None,
project: Optional[str] = None,
question_type: Optional[str] = None,
answer_instructions: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
tuning_metadata: Optional[QaQuestionTuningMetadataArgs] = None)func NewQaQuestion(ctx *Context, name string, args QaQuestionArgs, opts ...ResourceOption) (*QaQuestion, error)public QaQuestion(string name, QaQuestionArgs args, CustomResourceOptions? opts = null)
public QaQuestion(String name, QaQuestionArgs args)
public QaQuestion(String name, QaQuestionArgs args, CustomResourceOptions options)
type: gcp:contactcenterinsights:QaQuestion
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "gcp_contactcenterinsights_qaquestion" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args QaQuestionArgs
- 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 QaQuestionArgs
- 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 QaQuestionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args QaQuestionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args QaQuestionArgs
- 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 qaQuestionResource = new Gcp.ContactCenterInsights.QaQuestion("qaQuestionResource", new()
{
QaScorecard = "string",
Location = "string",
Revision = "string",
QuestionBody = "string",
Metrics = new Gcp.ContactCenterInsights.Inputs.QaQuestionMetricsArgs
{
Accuracy = 0,
},
Order = 0,
AnswerChoices = new[]
{
new Gcp.ContactCenterInsights.Inputs.QaQuestionAnswerChoiceArgs
{
BoolValue = false,
Key = "string",
NaValue = false,
NumValue = 0,
Score = 0,
StrValue = "string",
},
},
QaQuestionDataOptions = new Gcp.ContactCenterInsights.Inputs.QaQuestionQaQuestionDataOptionsArgs
{
ConversationDataOptions = new Gcp.ContactCenterInsights.Inputs.QaQuestionQaQuestionDataOptionsConversationDataOptionsArgs
{
IncludeDialogflowInteractionData = false,
},
},
PredefinedQuestionConfig = new Gcp.ContactCenterInsights.Inputs.QaQuestionPredefinedQuestionConfigArgs
{
Type = "string",
},
Abbreviation = "string",
Project = "string",
QuestionType = "string",
AnswerInstructions = "string",
Tags = new[]
{
"string",
},
TuningMetadata = new Gcp.ContactCenterInsights.Inputs.QaQuestionTuningMetadataArgs
{
DatasetValidationWarnings = new[]
{
"string",
},
TotalValidLabelCount = "string",
TuningError = "string",
},
});
example, err := contactcenterinsights.NewQaQuestion(ctx, "qaQuestionResource", &contactcenterinsights.QaQuestionArgs{
QaScorecard: pulumi.String("string"),
Location: pulumi.String("string"),
Revision: pulumi.String("string"),
QuestionBody: pulumi.String("string"),
Metrics: &contactcenterinsights.QaQuestionMetricsArgs{
Accuracy: pulumi.Float64(0),
},
Order: pulumi.Int(0),
AnswerChoices: contactcenterinsights.QaQuestionAnswerChoiceArray{
&contactcenterinsights.QaQuestionAnswerChoiceArgs{
BoolValue: pulumi.Bool(false),
Key: pulumi.String("string"),
NaValue: pulumi.Bool(false),
NumValue: pulumi.Float64(0),
Score: pulumi.Float64(0),
StrValue: pulumi.String("string"),
},
},
QaQuestionDataOptions: &contactcenterinsights.QaQuestionQaQuestionDataOptionsArgs{
ConversationDataOptions: &contactcenterinsights.QaQuestionQaQuestionDataOptionsConversationDataOptionsArgs{
IncludeDialogflowInteractionData: pulumi.Bool(false),
},
},
PredefinedQuestionConfig: &contactcenterinsights.QaQuestionPredefinedQuestionConfigArgs{
Type: pulumi.String("string"),
},
Abbreviation: pulumi.String("string"),
Project: pulumi.String("string"),
QuestionType: pulumi.String("string"),
AnswerInstructions: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
TuningMetadata: &contactcenterinsights.QaQuestionTuningMetadataArgs{
DatasetValidationWarnings: pulumi.StringArray{
pulumi.String("string"),
},
TotalValidLabelCount: pulumi.String("string"),
TuningError: pulumi.String("string"),
},
})
resource "gcp_contactcenterinsights_qaquestion" "qaQuestionResource" {
qa_scorecard = "string"
location = "string"
revision = "string"
question_body = "string"
metrics = {
accuracy = 0
}
order = 0
answer_choices {
bool_value = false
key = "string"
na_value = false
num_value = 0
score = 0
str_value = "string"
}
qa_question_data_options = {
conversation_data_options = {
include_dialogflow_interaction_data = false
}
}
predefined_question_config = {
type = "string"
}
abbreviation = "string"
project = "string"
question_type = "string"
answer_instructions = "string"
tags = ["string"]
tuning_metadata = {
dataset_validation_warnings = ["string"]
total_valid_label_count = "string"
tuning_error = "string"
}
}
var qaQuestionResource = new QaQuestion("qaQuestionResource", QaQuestionArgs.builder()
.qaScorecard("string")
.location("string")
.revision("string")
.questionBody("string")
.metrics(QaQuestionMetricsArgs.builder()
.accuracy(0.0)
.build())
.order(0)
.answerChoices(QaQuestionAnswerChoiceArgs.builder()
.boolValue(false)
.key("string")
.naValue(false)
.numValue(0.0)
.score(0.0)
.strValue("string")
.build())
.qaQuestionDataOptions(QaQuestionQaQuestionDataOptionsArgs.builder()
.conversationDataOptions(QaQuestionQaQuestionDataOptionsConversationDataOptionsArgs.builder()
.includeDialogflowInteractionData(false)
.build())
.build())
.predefinedQuestionConfig(QaQuestionPredefinedQuestionConfigArgs.builder()
.type("string")
.build())
.abbreviation("string")
.project("string")
.questionType("string")
.answerInstructions("string")
.tags("string")
.tuningMetadata(QaQuestionTuningMetadataArgs.builder()
.datasetValidationWarnings("string")
.totalValidLabelCount("string")
.tuningError("string")
.build())
.build());
qa_question_resource = gcp.contactcenterinsights.QaQuestion("qaQuestionResource",
qa_scorecard="string",
location="string",
revision="string",
question_body="string",
metrics={
"accuracy": float(0),
},
order=0,
answer_choices=[{
"bool_value": False,
"key": "string",
"na_value": False,
"num_value": float(0),
"score": float(0),
"str_value": "string",
}],
qa_question_data_options={
"conversation_data_options": {
"include_dialogflow_interaction_data": False,
},
},
predefined_question_config={
"type": "string",
},
abbreviation="string",
project="string",
question_type="string",
answer_instructions="string",
tags=["string"],
tuning_metadata={
"dataset_validation_warnings": ["string"],
"total_valid_label_count": "string",
"tuning_error": "string",
})
const qaQuestionResource = new gcp.contactcenterinsights.QaQuestion("qaQuestionResource", {
qaScorecard: "string",
location: "string",
revision: "string",
questionBody: "string",
metrics: {
accuracy: 0,
},
order: 0,
answerChoices: [{
boolValue: false,
key: "string",
naValue: false,
numValue: 0,
score: 0,
strValue: "string",
}],
qaQuestionDataOptions: {
conversationDataOptions: {
includeDialogflowInteractionData: false,
},
},
predefinedQuestionConfig: {
type: "string",
},
abbreviation: "string",
project: "string",
questionType: "string",
answerInstructions: "string",
tags: ["string"],
tuningMetadata: {
datasetValidationWarnings: ["string"],
totalValidLabelCount: "string",
tuningError: "string",
},
});
type: gcp:contactcenterinsights:QaQuestion
properties:
abbreviation: string
answerChoices:
- boolValue: false
key: string
naValue: false
numValue: 0
score: 0
strValue: string
answerInstructions: string
location: string
metrics:
accuracy: 0
order: 0
predefinedQuestionConfig:
type: string
project: string
qaQuestionDataOptions:
conversationDataOptions:
includeDialogflowInteractionData: false
qaScorecard: string
questionBody: string
questionType: string
revision: string
tags:
- string
tuningMetadata:
datasetValidationWarnings:
- string
totalValidLabelCount: string
tuningError: string
QaQuestion 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 QaQuestion 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 string - Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Revision string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Abbreviation string
- Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".
- Answer
Choices List<QaQuestion Answer Choice> - A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
- Answer
Instructions string - Instructions describing how to determine the answer.
- Metrics
Qa
Question Metrics - A wrapper representing metrics calculated against a test-set on a LLM that was fine tuned for this question. Structure is documented below.
- Order int
- Defines the order of the question within its parent scorecard revision.
- Predefined
Question QaConfig Question Predefined Question Config - Configuration for a predefined question. This field will only be set if the Question Type is predefined. Structure is documented below.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Qa
Question QaData Options Question Qa Question Data Options - Options for configuring the data used to generate the QA question. Structure is documented below.
- Question
Body string - Question text. E.g., "Did the agent greet the customer?"
- Question
Type string - The type of question. Possible values: CUSTOMIZABLE PREDEFINED
- List<string>
- Questions are tagged for categorization and scoring. Tags can either be:
- Default Tags: These are predefined categories. They are identified by their string value (e.g., "BUSINESS", "COMPLIANCE", and "CUSTOMER").
- Custom Tags: These are user-defined categories. They are identified by their full resource name (e.g., projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag}). Both default and custom tags are used to group questions and to influence the scoring of each question.
- Tuning
Metadata QaQuestion Tuning Metadata - Metadata about the tuning operation for the question. Will only be set if a scorecard containing this question has been tuned. Structure is documented below.
- 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 string - Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Revision string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Abbreviation string
- Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".
- Answer
Choices []QaQuestion Answer Choice Args - A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
- Answer
Instructions string - Instructions describing how to determine the answer.
- Metrics
Qa
Question Metrics Args - A wrapper representing metrics calculated against a test-set on a LLM that was fine tuned for this question. Structure is documented below.
- Order int
- Defines the order of the question within its parent scorecard revision.
- Predefined
Question QaConfig Question Predefined Question Config Args - Configuration for a predefined question. This field will only be set if the Question Type is predefined. Structure is documented below.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Qa
Question QaData Options Question Qa Question Data Options Args - Options for configuring the data used to generate the QA question. Structure is documented below.
- Question
Body string - Question text. E.g., "Did the agent greet the customer?"
- Question
Type string - The type of question. Possible values: CUSTOMIZABLE PREDEFINED
- []string
- Questions are tagged for categorization and scoring. Tags can either be:
- Default Tags: These are predefined categories. They are identified by their string value (e.g., "BUSINESS", "COMPLIANCE", and "CUSTOMER").
- Custom Tags: These are user-defined categories. They are identified by their full resource name (e.g., projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag}). Both default and custom tags are used to group questions and to influence the scoring of each question.
- Tuning
Metadata QaQuestion Tuning Metadata Args - Metadata about the tuning operation for the question. Will only be set if a scorecard containing this question has been tuned. Structure is documented below.
- 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 string - Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - revision string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - abbreviation string
- Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".
- answer_
choices list(object) - A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
- answer_
instructions string - Instructions describing how to determine the answer.
- metrics object
- A wrapper representing metrics calculated against a test-set on a LLM that was fine tuned for this question. Structure is documented below.
- order number
- Defines the order of the question within its parent scorecard revision.
- predefined_
question_ objectconfig - Configuration for a predefined question. This field will only be set if the Question Type is predefined. Structure is documented below.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- qa_
question_ objectdata_ options - Options for configuring the data used to generate the QA question. Structure is documented below.
- question_
body string - Question text. E.g., "Did the agent greet the customer?"
- question_
type string - The type of question. Possible values: CUSTOMIZABLE PREDEFINED
- list(string)
- Questions are tagged for categorization and scoring. Tags can either be:
- Default Tags: These are predefined categories. They are identified by their string value (e.g., "BUSINESS", "COMPLIANCE", and "CUSTOMER").
- Custom Tags: These are user-defined categories. They are identified by their full resource name (e.g., projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag}). Both default and custom tags are used to group questions and to influence the scoring of each question.
- tuning_
metadata object - Metadata about the tuning operation for the question. Will only be set if a scorecard containing this question has been tuned. Structure is documented below.
- 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 String - Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - revision String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - abbreviation String
- Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".
- answer
Choices List<QaQuestion Answer Choice> - A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
- answer
Instructions String - Instructions describing how to determine the answer.
- metrics
Qa
Question Metrics - A wrapper representing metrics calculated against a test-set on a LLM that was fine tuned for this question. Structure is documented below.
- order Integer
- Defines the order of the question within its parent scorecard revision.
- predefined
Question QaConfig Question Predefined Question Config - Configuration for a predefined question. This field will only be set if the Question Type is predefined. Structure is documented below.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- qa
Question QaData Options Question Qa Question Data Options - Options for configuring the data used to generate the QA question. Structure is documented below.
- question
Body String - Question text. E.g., "Did the agent greet the customer?"
- question
Type String - The type of question. Possible values: CUSTOMIZABLE PREDEFINED
- List<String>
- Questions are tagged for categorization and scoring. Tags can either be:
- Default Tags: These are predefined categories. They are identified by their string value (e.g., "BUSINESS", "COMPLIANCE", and "CUSTOMER").
- Custom Tags: These are user-defined categories. They are identified by their full resource name (e.g., projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag}). Both default and custom tags are used to group questions and to influence the scoring of each question.
- tuning
Metadata QaQuestion Tuning Metadata - Metadata about the tuning operation for the question. Will only be set if a scorecard containing this question has been tuned. Structure is documented below.
- 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 string - Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - revision string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - abbreviation string
- Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".
- answer
Choices QaQuestion Answer Choice[] - A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
- answer
Instructions string - Instructions describing how to determine the answer.
- metrics
Qa
Question Metrics - A wrapper representing metrics calculated against a test-set on a LLM that was fine tuned for this question. Structure is documented below.
- order number
- Defines the order of the question within its parent scorecard revision.
- predefined
Question QaConfig Question Predefined Question Config - Configuration for a predefined question. This field will only be set if the Question Type is predefined. Structure is documented below.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- qa
Question QaData Options Question Qa Question Data Options - Options for configuring the data used to generate the QA question. Structure is documented below.
- question
Body string - Question text. E.g., "Did the agent greet the customer?"
- question
Type string - The type of question. Possible values: CUSTOMIZABLE PREDEFINED
- string[]
- Questions are tagged for categorization and scoring. Tags can either be:
- Default Tags: These are predefined categories. They are identified by their string value (e.g., "BUSINESS", "COMPLIANCE", and "CUSTOMER").
- Custom Tags: These are user-defined categories. They are identified by their full resource name (e.g., projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag}). Both default and custom tags are used to group questions and to influence the scoring of each question.
- tuning
Metadata QaQuestion Tuning Metadata - Metadata about the tuning operation for the question. Will only be set if a scorecard containing this question has been tuned. Structure is documented below.
- 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 str - Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - revision str
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - abbreviation str
- Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".
- answer_
choices Sequence[QaQuestion Answer Choice Args] - A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
- answer_
instructions str - Instructions describing how to determine the answer.
- metrics
Qa
Question Metrics Args - A wrapper representing metrics calculated against a test-set on a LLM that was fine tuned for this question. Structure is documented below.
- order int
- Defines the order of the question within its parent scorecard revision.
- predefined_
question_ Qaconfig Question Predefined Question Config Args - Configuration for a predefined question. This field will only be set if the Question Type is predefined. Structure is documented below.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- qa_
question_ Qadata_ options Question Qa Question Data Options Args - Options for configuring the data used to generate the QA question. Structure is documented below.
- question_
body str - Question text. E.g., "Did the agent greet the customer?"
- question_
type str - The type of question. Possible values: CUSTOMIZABLE PREDEFINED
- Sequence[str]
- Questions are tagged for categorization and scoring. Tags can either be:
- Default Tags: These are predefined categories. They are identified by their string value (e.g., "BUSINESS", "COMPLIANCE", and "CUSTOMER").
- Custom Tags: These are user-defined categories. They are identified by their full resource name (e.g., projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag}). Both default and custom tags are used to group questions and to influence the scoring of each question.
- tuning_
metadata QaQuestion Tuning Metadata Args - Metadata about the tuning operation for the question. Will only be set if a scorecard containing this question has been tuned. Structure is documented below.
- 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 String - Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - revision String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - abbreviation String
- Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".
- answer
Choices List<Property Map> - A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
- answer
Instructions String - Instructions describing how to determine the answer.
- metrics Property Map
- A wrapper representing metrics calculated against a test-set on a LLM that was fine tuned for this question. Structure is documented below.
- order Number
- Defines the order of the question within its parent scorecard revision.
- predefined
Question Property MapConfig - Configuration for a predefined question. This field will only be set if the Question Type is predefined. Structure is documented below.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- qa
Question Property MapData Options - Options for configuring the data used to generate the QA question. Structure is documented below.
- question
Body String - Question text. E.g., "Did the agent greet the customer?"
- question
Type String - The type of question. Possible values: CUSTOMIZABLE PREDEFINED
- List<String>
- Questions are tagged for categorization and scoring. Tags can either be:
- Default Tags: These are predefined categories. They are identified by their string value (e.g., "BUSINESS", "COMPLIANCE", and "CUSTOMER").
- Custom Tags: These are user-defined categories. They are identified by their full resource name (e.g., projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag}). Both default and custom tags are used to group questions and to influence the scoring of each question.
- tuning
Metadata Property Map - Metadata about the tuning operation for the question. Will only be set if a scorecard containing this question has been tuned. Structure is documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the QaQuestion resource produces the following output properties:
- Create
Time string - The time at which this question was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}
- Update
Time string - The most recent time at which the question was updated.
- Create
Time string - The time at which this question was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}
- Update
Time string - The most recent time at which the question was updated.
- create_
time string - The time at which this question was created.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}
- update_
time string - The most recent time at which the question was updated.
- create
Time String - The time at which this question was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}
- update
Time String - The most recent time at which the question was updated.
- create
Time string - The time at which this question was created.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}
- update
Time string - The most recent time at which the question was updated.
- create_
time str - The time at which this question was created.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}
- update_
time str - The most recent time at which the question was updated.
- create
Time String - The time at which this question was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}
- update
Time String - The most recent time at which the question was updated.
Look up Existing QaQuestion Resource
Get an existing QaQuestion 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?: QaQuestionState, opts?: CustomResourceOptions): QaQuestion@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
abbreviation: Optional[str] = None,
answer_choices: Optional[Sequence[QaQuestionAnswerChoiceArgs]] = None,
answer_instructions: Optional[str] = None,
create_time: Optional[str] = None,
location: Optional[str] = None,
metrics: Optional[QaQuestionMetricsArgs] = None,
name: Optional[str] = None,
order: Optional[int] = None,
predefined_question_config: Optional[QaQuestionPredefinedQuestionConfigArgs] = None,
project: Optional[str] = None,
qa_question_data_options: Optional[QaQuestionQaQuestionDataOptionsArgs] = None,
qa_scorecard: Optional[str] = None,
question_body: Optional[str] = None,
question_type: Optional[str] = None,
revision: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
tuning_metadata: Optional[QaQuestionTuningMetadataArgs] = None,
update_time: Optional[str] = None) -> QaQuestionfunc GetQaQuestion(ctx *Context, name string, id IDInput, state *QaQuestionState, opts ...ResourceOption) (*QaQuestion, error)public static QaQuestion Get(string name, Input<string> id, QaQuestionState? state, CustomResourceOptions? opts = null)public static QaQuestion get(String name, Output<String> id, QaQuestionState state, CustomResourceOptions options)resources: _: type: gcp:contactcenterinsights:QaQuestion get: id: ${id}import {
to = gcp_contactcenterinsights_qaquestion.example
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.
- Abbreviation string
- Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".
- Answer
Choices List<QaQuestion Answer Choice> - A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
- Answer
Instructions string - Instructions describing how to determine the answer.
- Create
Time string - The time at which this question was created.
- 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. - Metrics
Qa
Question Metrics - A wrapper representing metrics calculated against a test-set on a LLM that was fine tuned for this question. Structure is documented below.
- Name string
- Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}
- Order int
- Defines the order of the question within its parent scorecard revision.
- Predefined
Question QaConfig Question Predefined Question Config - Configuration for a predefined question. This field will only be set if the Question Type is predefined. Structure is documented below.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Qa
Question QaData Options Question Qa Question Data Options - Options for configuring the data used to generate the QA question. Structure is documented below.
- Qa
Scorecard string - Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Question
Body string - Question text. E.g., "Did the agent greet the customer?"
- Question
Type string - The type of question. Possible values: CUSTOMIZABLE PREDEFINED
- Revision string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - List<string>
- Questions are tagged for categorization and scoring. Tags can either be:
- Default Tags: These are predefined categories. They are identified by their string value (e.g., "BUSINESS", "COMPLIANCE", and "CUSTOMER").
- Custom Tags: These are user-defined categories. They are identified by their full resource name (e.g., projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag}). Both default and custom tags are used to group questions and to influence the scoring of each question.
- Tuning
Metadata QaQuestion Tuning Metadata - Metadata about the tuning operation for the question. Will only be set if a scorecard containing this question has been tuned. Structure is documented below.
- Update
Time string - The most recent time at which the question was updated.
- Abbreviation string
- Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".
- Answer
Choices []QaQuestion Answer Choice Args - A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
- Answer
Instructions string - Instructions describing how to determine the answer.
- Create
Time string - The time at which this question was created.
- 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. - Metrics
Qa
Question Metrics Args - A wrapper representing metrics calculated against a test-set on a LLM that was fine tuned for this question. Structure is documented below.
- Name string
- Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}
- Order int
- Defines the order of the question within its parent scorecard revision.
- Predefined
Question QaConfig Question Predefined Question Config Args - Configuration for a predefined question. This field will only be set if the Question Type is predefined. Structure is documented below.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Qa
Question QaData Options Question Qa Question Data Options Args - Options for configuring the data used to generate the QA question. Structure is documented below.
- Qa
Scorecard string - Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Question
Body string - Question text. E.g., "Did the agent greet the customer?"
- Question
Type string - The type of question. Possible values: CUSTOMIZABLE PREDEFINED
- Revision string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - []string
- Questions are tagged for categorization and scoring. Tags can either be:
- Default Tags: These are predefined categories. They are identified by their string value (e.g., "BUSINESS", "COMPLIANCE", and "CUSTOMER").
- Custom Tags: These are user-defined categories. They are identified by their full resource name (e.g., projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag}). Both default and custom tags are used to group questions and to influence the scoring of each question.
- Tuning
Metadata QaQuestion Tuning Metadata Args - Metadata about the tuning operation for the question. Will only be set if a scorecard containing this question has been tuned. Structure is documented below.
- Update
Time string - The most recent time at which the question was updated.
- abbreviation string
- Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".
- answer_
choices list(object) - A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
- answer_
instructions string - Instructions describing how to determine the answer.
- create_
time string - The time at which this question was created.
- 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. - metrics object
- A wrapper representing metrics calculated against a test-set on a LLM that was fine tuned for this question. Structure is documented below.
- name string
- Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}
- order number
- Defines the order of the question within its parent scorecard revision.
- predefined_
question_ objectconfig - Configuration for a predefined question. This field will only be set if the Question Type is predefined. Structure is documented below.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- qa_
question_ objectdata_ options - Options for configuring the data used to generate the QA question. Structure is documented below.
- qa_
scorecard string - Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - question_
body string - Question text. E.g., "Did the agent greet the customer?"
- question_
type string - The type of question. Possible values: CUSTOMIZABLE PREDEFINED
- revision string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - list(string)
- Questions are tagged for categorization and scoring. Tags can either be:
- Default Tags: These are predefined categories. They are identified by their string value (e.g., "BUSINESS", "COMPLIANCE", and "CUSTOMER").
- Custom Tags: These are user-defined categories. They are identified by their full resource name (e.g., projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag}). Both default and custom tags are used to group questions and to influence the scoring of each question.
- tuning_
metadata object - Metadata about the tuning operation for the question. Will only be set if a scorecard containing this question has been tuned. Structure is documented below.
- update_
time string - The most recent time at which the question was updated.
- abbreviation String
- Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".
- answer
Choices List<QaQuestion Answer Choice> - A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
- answer
Instructions String - Instructions describing how to determine the answer.
- create
Time String - The time at which this question was created.
- 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. - metrics
Qa
Question Metrics - A wrapper representing metrics calculated against a test-set on a LLM that was fine tuned for this question. Structure is documented below.
- name String
- Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}
- order Integer
- Defines the order of the question within its parent scorecard revision.
- predefined
Question QaConfig Question Predefined Question Config - Configuration for a predefined question. This field will only be set if the Question Type is predefined. Structure is documented below.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- qa
Question QaData Options Question Qa Question Data Options - Options for configuring the data used to generate the QA question. Structure is documented below.
- qa
Scorecard String - Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - question
Body String - Question text. E.g., "Did the agent greet the customer?"
- question
Type String - The type of question. Possible values: CUSTOMIZABLE PREDEFINED
- revision String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - List<String>
- Questions are tagged for categorization and scoring. Tags can either be:
- Default Tags: These are predefined categories. They are identified by their string value (e.g., "BUSINESS", "COMPLIANCE", and "CUSTOMER").
- Custom Tags: These are user-defined categories. They are identified by their full resource name (e.g., projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag}). Both default and custom tags are used to group questions and to influence the scoring of each question.
- tuning
Metadata QaQuestion Tuning Metadata - Metadata about the tuning operation for the question. Will only be set if a scorecard containing this question has been tuned. Structure is documented below.
- update
Time String - The most recent time at which the question was updated.
- abbreviation string
- Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".
- answer
Choices QaQuestion Answer Choice[] - A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
- answer
Instructions string - Instructions describing how to determine the answer.
- create
Time string - The time at which this question was created.
- 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. - metrics
Qa
Question Metrics - A wrapper representing metrics calculated against a test-set on a LLM that was fine tuned for this question. Structure is documented below.
- name string
- Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}
- order number
- Defines the order of the question within its parent scorecard revision.
- predefined
Question QaConfig Question Predefined Question Config - Configuration for a predefined question. This field will only be set if the Question Type is predefined. Structure is documented below.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- qa
Question QaData Options Question Qa Question Data Options - Options for configuring the data used to generate the QA question. Structure is documented below.
- qa
Scorecard string - Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - question
Body string - Question text. E.g., "Did the agent greet the customer?"
- question
Type string - The type of question. Possible values: CUSTOMIZABLE PREDEFINED
- revision string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - string[]
- Questions are tagged for categorization and scoring. Tags can either be:
- Default Tags: These are predefined categories. They are identified by their string value (e.g., "BUSINESS", "COMPLIANCE", and "CUSTOMER").
- Custom Tags: These are user-defined categories. They are identified by their full resource name (e.g., projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag}). Both default and custom tags are used to group questions and to influence the scoring of each question.
- tuning
Metadata QaQuestion Tuning Metadata - Metadata about the tuning operation for the question. Will only be set if a scorecard containing this question has been tuned. Structure is documented below.
- update
Time string - The most recent time at which the question was updated.
- abbreviation str
- Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".
- answer_
choices Sequence[QaQuestion Answer Choice Args] - A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
- answer_
instructions str - Instructions describing how to determine the answer.
- create_
time str - The time at which this question was created.
- 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. - metrics
Qa
Question Metrics Args - A wrapper representing metrics calculated against a test-set on a LLM that was fine tuned for this question. Structure is documented below.
- name str
- Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}
- order int
- Defines the order of the question within its parent scorecard revision.
- predefined_
question_ Qaconfig Question Predefined Question Config Args - Configuration for a predefined question. This field will only be set if the Question Type is predefined. Structure is documented below.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- qa_
question_ Qadata_ options Question Qa Question Data Options Args - Options for configuring the data used to generate the QA question. Structure is documented below.
- qa_
scorecard str - Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - question_
body str - Question text. E.g., "Did the agent greet the customer?"
- question_
type str - The type of question. Possible values: CUSTOMIZABLE PREDEFINED
- revision str
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Sequence[str]
- Questions are tagged for categorization and scoring. Tags can either be:
- Default Tags: These are predefined categories. They are identified by their string value (e.g., "BUSINESS", "COMPLIANCE", and "CUSTOMER").
- Custom Tags: These are user-defined categories. They are identified by their full resource name (e.g., projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag}). Both default and custom tags are used to group questions and to influence the scoring of each question.
- tuning_
metadata QaQuestion Tuning Metadata Args - Metadata about the tuning operation for the question. Will only be set if a scorecard containing this question has been tuned. Structure is documented below.
- update_
time str - The most recent time at which the question was updated.
- abbreviation String
- Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".
- answer
Choices List<Property Map> - A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
- answer
Instructions String - Instructions describing how to determine the answer.
- create
Time String - The time at which this question was created.
- 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. - metrics Property Map
- A wrapper representing metrics calculated against a test-set on a LLM that was fine tuned for this question. Structure is documented below.
- name String
- Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}
- order Number
- Defines the order of the question within its parent scorecard revision.
- predefined
Question Property MapConfig - Configuration for a predefined question. This field will only be set if the Question Type is predefined. Structure is documented below.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- qa
Question Property MapData Options - Options for configuring the data used to generate the QA question. Structure is documented below.
- qa
Scorecard String - Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - question
Body String - Question text. E.g., "Did the agent greet the customer?"
- question
Type String - The type of question. Possible values: CUSTOMIZABLE PREDEFINED
- revision String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - List<String>
- Questions are tagged for categorization and scoring. Tags can either be:
- Default Tags: These are predefined categories. They are identified by their string value (e.g., "BUSINESS", "COMPLIANCE", and "CUSTOMER").
- Custom Tags: These are user-defined categories. They are identified by their full resource name (e.g., projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag}). Both default and custom tags are used to group questions and to influence the scoring of each question.
- tuning
Metadata Property Map - Metadata about the tuning operation for the question. Will only be set if a scorecard containing this question has been tuned. Structure is documented below.
- update
Time String - The most recent time at which the question was updated.
Supporting Types
QaQuestionAnswerChoice, QaQuestionAnswerChoiceArgs
- Bool
Value bool - Boolean value.
- Key string
- A short string used as an identifier.
- bool
- A value of "Not Applicable (N/A)". If provided, this field may only
be set to
true. If a question receives this answer, it will be excluded from any score calculations. - Num
Value double - Numerical value.
- Score double
- Numerical score of the answer, used for generating the overall score of a QaScorecardResult. If the answer uses na_value, this field is unused.
- Str
Value string - String value.
- Bool
Value bool - Boolean value.
- Key string
- A short string used as an identifier.
- bool
- A value of "Not Applicable (N/A)". If provided, this field may only
be set to
true. If a question receives this answer, it will be excluded from any score calculations. - Num
Value float64 - Numerical value.
- Score float64
- Numerical score of the answer, used for generating the overall score of a QaScorecardResult. If the answer uses na_value, this field is unused.
- Str
Value string - String value.
- bool_
value bool - Boolean value.
- key string
- A short string used as an identifier.
- na_
value bool - A value of "Not Applicable (N/A)". If provided, this field may only
be set to
true. If a question receives this answer, it will be excluded from any score calculations. - num_
value number - Numerical value.
- score number
- Numerical score of the answer, used for generating the overall score of a QaScorecardResult. If the answer uses na_value, this field is unused.
- str_
value string - String value.
- bool
Value Boolean - Boolean value.
- key String
- A short string used as an identifier.
- Boolean
- A value of "Not Applicable (N/A)". If provided, this field may only
be set to
true. If a question receives this answer, it will be excluded from any score calculations. - num
Value Double - Numerical value.
- score Double
- Numerical score of the answer, used for generating the overall score of a QaScorecardResult. If the answer uses na_value, this field is unused.
- str
Value String - String value.
- bool
Value boolean - Boolean value.
- key string
- A short string used as an identifier.
- boolean
- A value of "Not Applicable (N/A)". If provided, this field may only
be set to
true. If a question receives this answer, it will be excluded from any score calculations. - num
Value number - Numerical value.
- score number
- Numerical score of the answer, used for generating the overall score of a QaScorecardResult. If the answer uses na_value, this field is unused.
- str
Value string - String value.
- bool_
value bool - Boolean value.
- key str
- A short string used as an identifier.
- na_
value bool - A value of "Not Applicable (N/A)". If provided, this field may only
be set to
true. If a question receives this answer, it will be excluded from any score calculations. - num_
value float - Numerical value.
- score float
- Numerical score of the answer, used for generating the overall score of a QaScorecardResult. If the answer uses na_value, this field is unused.
- str_
value str - String value.
- bool
Value Boolean - Boolean value.
- key String
- A short string used as an identifier.
- Boolean
- A value of "Not Applicable (N/A)". If provided, this field may only
be set to
true. If a question receives this answer, it will be excluded from any score calculations. - num
Value Number - Numerical value.
- score Number
- Numerical score of the answer, used for generating the overall score of a QaScorecardResult. If the answer uses na_value, this field is unused.
- str
Value String - String value.
QaQuestionMetrics, QaQuestionMetricsArgs
- Accuracy double
- (Output) Accuracy of the model. Measures the percentage of correct answers the model gave on the test set.
- Accuracy float64
- (Output) Accuracy of the model. Measures the percentage of correct answers the model gave on the test set.
- accuracy number
- (Output) Accuracy of the model. Measures the percentage of correct answers the model gave on the test set.
- accuracy Double
- (Output) Accuracy of the model. Measures the percentage of correct answers the model gave on the test set.
- accuracy number
- (Output) Accuracy of the model. Measures the percentage of correct answers the model gave on the test set.
- accuracy float
- (Output) Accuracy of the model. Measures the percentage of correct answers the model gave on the test set.
- accuracy Number
- (Output) Accuracy of the model. Measures the percentage of correct answers the model gave on the test set.
QaQuestionPredefinedQuestionConfig, QaQuestionPredefinedQuestionConfigArgs
- Type string
- The type of the predefined question. Possible values: CONVERSATION_OUTCOME CONVERSATION_OUTCOME_ESCALATION_INITIATOR_ROLE
- Type string
- The type of the predefined question. Possible values: CONVERSATION_OUTCOME CONVERSATION_OUTCOME_ESCALATION_INITIATOR_ROLE
- type string
- The type of the predefined question. Possible values: CONVERSATION_OUTCOME CONVERSATION_OUTCOME_ESCALATION_INITIATOR_ROLE
- type String
- The type of the predefined question. Possible values: CONVERSATION_OUTCOME CONVERSATION_OUTCOME_ESCALATION_INITIATOR_ROLE
- type string
- The type of the predefined question. Possible values: CONVERSATION_OUTCOME CONVERSATION_OUTCOME_ESCALATION_INITIATOR_ROLE
- type str
- The type of the predefined question. Possible values: CONVERSATION_OUTCOME CONVERSATION_OUTCOME_ESCALATION_INITIATOR_ROLE
- type String
- The type of the predefined question. Possible values: CONVERSATION_OUTCOME CONVERSATION_OUTCOME_ESCALATION_INITIATOR_ROLE
QaQuestionQaQuestionDataOptions, QaQuestionQaQuestionDataOptionsArgs
- Conversation
Data QaOptions Question Qa Question Data Options Conversation Data Options - Options for configuring what metadata is included in the conversation data used in QAI and Discovery Engine. Structure is documented below.
- Conversation
Data QaOptions Question Qa Question Data Options Conversation Data Options - Options for configuring what metadata is included in the conversation data used in QAI and Discovery Engine. Structure is documented below.
- conversation_
data_ objectoptions - Options for configuring what metadata is included in the conversation data used in QAI and Discovery Engine. Structure is documented below.
- conversation
Data QaOptions Question Qa Question Data Options Conversation Data Options - Options for configuring what metadata is included in the conversation data used in QAI and Discovery Engine. Structure is documented below.
- conversation
Data QaOptions Question Qa Question Data Options Conversation Data Options - Options for configuring what metadata is included in the conversation data used in QAI and Discovery Engine. Structure is documented below.
- conversation_
data_ Qaoptions Question Qa Question Data Options Conversation Data Options - Options for configuring what metadata is included in the conversation data used in QAI and Discovery Engine. Structure is documented below.
- conversation
Data Property MapOptions - Options for configuring what metadata is included in the conversation data used in QAI and Discovery Engine. Structure is documented below.
QaQuestionQaQuestionDataOptionsConversationDataOptions, QaQuestionQaQuestionDataOptionsConversationDataOptionsArgs
- Include
Dialogflow boolInteraction Data - Whether to include the per turn Dialogflow interaction data in conversation transcript.
- Include
Dialogflow boolInteraction Data - Whether to include the per turn Dialogflow interaction data in conversation transcript.
- include_
dialogflow_ boolinteraction_ data - Whether to include the per turn Dialogflow interaction data in conversation transcript.
- include
Dialogflow BooleanInteraction Data - Whether to include the per turn Dialogflow interaction data in conversation transcript.
- include
Dialogflow booleanInteraction Data - Whether to include the per turn Dialogflow interaction data in conversation transcript.
- include_
dialogflow_ boolinteraction_ data - Whether to include the per turn Dialogflow interaction data in conversation transcript.
- include
Dialogflow BooleanInteraction Data - Whether to include the per turn Dialogflow interaction data in conversation transcript.
QaQuestionTuningMetadata, QaQuestionTuningMetadataArgs
- Dataset
Validation List<string>Warnings - A list of any applicable data validation warnings about the question's feedback labels.
- Total
Valid stringLabel Count - Total number of valid labels provided for the question at the time of tuining.
- Tuning
Error string - Error status of the tuning operation for the question. Will only be set if the tuning operation failed.
- Dataset
Validation []stringWarnings - A list of any applicable data validation warnings about the question's feedback labels.
- Total
Valid stringLabel Count - Total number of valid labels provided for the question at the time of tuining.
- Tuning
Error string - Error status of the tuning operation for the question. Will only be set if the tuning operation failed.
- dataset_
validation_ list(string)warnings - A list of any applicable data validation warnings about the question's feedback labels.
- total_
valid_ stringlabel_ count - Total number of valid labels provided for the question at the time of tuining.
- tuning_
error string - Error status of the tuning operation for the question. Will only be set if the tuning operation failed.
- dataset
Validation List<String>Warnings - A list of any applicable data validation warnings about the question's feedback labels.
- total
Valid StringLabel Count - Total number of valid labels provided for the question at the time of tuining.
- tuning
Error String - Error status of the tuning operation for the question. Will only be set if the tuning operation failed.
- dataset
Validation string[]Warnings - A list of any applicable data validation warnings about the question's feedback labels.
- total
Valid stringLabel Count - Total number of valid labels provided for the question at the time of tuining.
- tuning
Error string - Error status of the tuning operation for the question. Will only be set if the tuning operation failed.
- dataset_
validation_ Sequence[str]warnings - A list of any applicable data validation warnings about the question's feedback labels.
- total_
valid_ strlabel_ count - Total number of valid labels provided for the question at the time of tuining.
- tuning_
error str - Error status of the tuning operation for the question. Will only be set if the tuning operation failed.
- dataset
Validation List<String>Warnings - A list of any applicable data validation warnings about the question's feedback labels.
- total
Valid StringLabel Count - Total number of valid labels provided for the question at the time of tuining.
- tuning
Error String - Error status of the tuning operation for the question. Will only be set if the tuning operation failed.
Import
QaQuestion can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/qaScorecards/{{qa_scorecard}}/revisions/{{revision}}/qaQuestions/{{name}}{{project}}/{{location}}/{{qa_scorecard}}/{{revision}}/{{name}}{{location}}/{{qa_scorecard}}/{{revision}}/{{name}}
When using the pulumi import command, QaQuestion can be imported using one of the formats above. For example:
$ pulumi import gcp:contactcenterinsights/qaQuestion:QaQuestion default projects/{{project}}/locations/{{location}}/qaScorecards/{{qa_scorecard}}/revisions/{{revision}}/qaQuestions/{{name}}
$ pulumi import gcp:contactcenterinsights/qaQuestion:QaQuestion default {{project}}/{{location}}/{{qa_scorecard}}/{{revision}}/{{name}}
$ pulumi import gcp:contactcenterinsights/qaQuestion:QaQuestion default {{location}}/{{qa_scorecard}}/{{revision}}/{{name}}
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
