1. Packages
  2. Packages
  3. Google Cloud (GCP) Classic
  4. API Docs
  5. contactcenterinsights
  6. QaQuestion
Viewing docs for Google Cloud v9.23.0
published on Thursday, May 7, 2026 by Pulumi
gcp logo
Viewing docs for Google Cloud v9.23.0
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.
    QaScorecard 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".
    AnswerChoices List<QaQuestionAnswerChoice>
    A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
    AnswerInstructions string
    Instructions describing how to determine the answer.
    Metrics QaQuestionMetrics
    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.
    PredefinedQuestionConfig QaQuestionPredefinedQuestionConfig
    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.
    QaQuestionDataOptions QaQuestionQaQuestionDataOptions
    Options for configuring the data used to generate the QA question. Structure is documented below.
    QuestionBody string
    Question text. E.g., "Did the agent greet the customer?"
    QuestionType string
    The type of question. Possible values: CUSTOMIZABLE PREDEFINED
    Tags 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.
    TuningMetadata QaQuestionTuningMetadata
    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.
    QaScorecard 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".
    AnswerChoices []QaQuestionAnswerChoiceArgs
    A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
    AnswerInstructions string
    Instructions describing how to determine the answer.
    Metrics QaQuestionMetricsArgs
    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.
    PredefinedQuestionConfig QaQuestionPredefinedQuestionConfigArgs
    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.
    QaQuestionDataOptions QaQuestionQaQuestionDataOptionsArgs
    Options for configuring the data used to generate the QA question. Structure is documented below.
    QuestionBody string
    Question text. E.g., "Did the agent greet the customer?"
    QuestionType string
    The type of question. Possible values: CUSTOMIZABLE PREDEFINED
    Tags []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.
    TuningMetadata QaQuestionTuningMetadataArgs
    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_config object
    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_data_options object
    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
    tags 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.
    qaScorecard 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".
    answerChoices List<QaQuestionAnswerChoice>
    A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
    answerInstructions String
    Instructions describing how to determine the answer.
    metrics QaQuestionMetrics
    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.
    predefinedQuestionConfig QaQuestionPredefinedQuestionConfig
    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.
    qaQuestionDataOptions QaQuestionQaQuestionDataOptions
    Options for configuring the data used to generate the QA question. Structure is documented below.
    questionBody String
    Question text. E.g., "Did the agent greet the customer?"
    questionType String
    The type of question. Possible values: CUSTOMIZABLE PREDEFINED
    tags 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.
    tuningMetadata QaQuestionTuningMetadata
    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.
    qaScorecard 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".
    answerChoices QaQuestionAnswerChoice[]
    A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
    answerInstructions string
    Instructions describing how to determine the answer.
    metrics QaQuestionMetrics
    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.
    predefinedQuestionConfig QaQuestionPredefinedQuestionConfig
    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.
    qaQuestionDataOptions QaQuestionQaQuestionDataOptions
    Options for configuring the data used to generate the QA question. Structure is documented below.
    questionBody string
    Question text. E.g., "Did the agent greet the customer?"
    questionType string
    The type of question. Possible values: CUSTOMIZABLE PREDEFINED
    tags 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.
    tuningMetadata QaQuestionTuningMetadata
    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[QaQuestionAnswerChoiceArgs]
    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 QaQuestionMetricsArgs
    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_config QaQuestionPredefinedQuestionConfigArgs
    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_data_options QaQuestionQaQuestionDataOptionsArgs
    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
    tags 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 QaQuestionTuningMetadataArgs
    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.
    qaScorecard 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".
    answerChoices List<Property Map>
    A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
    answerInstructions 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.
    predefinedQuestionConfig Property Map
    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.
    qaQuestionDataOptions Property Map
    Options for configuring the data used to generate the QA question. Structure is documented below.
    questionBody String
    Question text. E.g., "Did the agent greet the customer?"
    questionType String
    The type of question. Possible values: CUSTOMIZABLE PREDEFINED
    tags 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.
    tuningMetadata 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:

    CreateTime 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}
    UpdateTime string
    The most recent time at which the question was updated.
    CreateTime 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}
    UpdateTime 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.
    createTime 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}
    updateTime String
    The most recent time at which the question was updated.
    createTime 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}
    updateTime 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.
    createTime 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}
    updateTime 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) -> QaQuestion
    func 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.
    The following state arguments are supported:
    Abbreviation string
    Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".
    AnswerChoices List<QaQuestionAnswerChoice>
    A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
    AnswerInstructions string
    Instructions describing how to determine the answer.
    CreateTime 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 QaQuestionMetrics
    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.
    PredefinedQuestionConfig QaQuestionPredefinedQuestionConfig
    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.
    QaQuestionDataOptions QaQuestionQaQuestionDataOptions
    Options for configuring the data used to generate the QA question. Structure is documented below.
    QaScorecard string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    QuestionBody string
    Question text. E.g., "Did the agent greet the customer?"
    QuestionType 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.
    Tags 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.
    TuningMetadata QaQuestionTuningMetadata
    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.
    UpdateTime 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".
    AnswerChoices []QaQuestionAnswerChoiceArgs
    A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
    AnswerInstructions string
    Instructions describing how to determine the answer.
    CreateTime 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 QaQuestionMetricsArgs
    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.
    PredefinedQuestionConfig QaQuestionPredefinedQuestionConfigArgs
    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.
    QaQuestionDataOptions QaQuestionQaQuestionDataOptionsArgs
    Options for configuring the data used to generate the QA question. Structure is documented below.
    QaScorecard string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    QuestionBody string
    Question text. E.g., "Did the agent greet the customer?"
    QuestionType 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.
    Tags []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.
    TuningMetadata QaQuestionTuningMetadataArgs
    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.
    UpdateTime 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_config object
    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_data_options object
    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.
    tags 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".
    answerChoices List<QaQuestionAnswerChoice>
    A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
    answerInstructions String
    Instructions describing how to determine the answer.
    createTime 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 QaQuestionMetrics
    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.
    predefinedQuestionConfig QaQuestionPredefinedQuestionConfig
    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.
    qaQuestionDataOptions QaQuestionQaQuestionDataOptions
    Options for configuring the data used to generate the QA question. Structure is documented below.
    qaScorecard String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    questionBody String
    Question text. E.g., "Did the agent greet the customer?"
    questionType 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.
    tags 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.
    tuningMetadata QaQuestionTuningMetadata
    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.
    updateTime 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".
    answerChoices QaQuestionAnswerChoice[]
    A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
    answerInstructions string
    Instructions describing how to determine the answer.
    createTime 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 QaQuestionMetrics
    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.
    predefinedQuestionConfig QaQuestionPredefinedQuestionConfig
    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.
    qaQuestionDataOptions QaQuestionQaQuestionDataOptions
    Options for configuring the data used to generate the QA question. Structure is documented below.
    qaScorecard string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    questionBody string
    Question text. E.g., "Did the agent greet the customer?"
    questionType 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.
    tags 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.
    tuningMetadata QaQuestionTuningMetadata
    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.
    updateTime 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[QaQuestionAnswerChoiceArgs]
    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 QaQuestionMetricsArgs
    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_config QaQuestionPredefinedQuestionConfigArgs
    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_data_options QaQuestionQaQuestionDataOptionsArgs
    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.
    tags 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 QaQuestionTuningMetadataArgs
    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".
    answerChoices List<Property Map>
    A list of valid answers to the question, which the LLM must choose from. Structure is documented below.
    answerInstructions String
    Instructions describing how to determine the answer.
    createTime 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.
    predefinedQuestionConfig Property Map
    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.
    qaQuestionDataOptions Property Map
    Options for configuring the data used to generate the QA question. Structure is documented below.
    qaScorecard String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    questionBody String
    Question text. E.g., "Did the agent greet the customer?"
    questionType 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.
    tags 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.
    tuningMetadata 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.
    updateTime String
    The most recent time at which the question was updated.

    Supporting Types

    QaQuestionAnswerChoice, QaQuestionAnswerChoiceArgs

    BoolValue bool
    Boolean value.
    Key string
    A short string used as an identifier.
    NaValue 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.
    NumValue 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.
    StrValue string
    String value.
    BoolValue bool
    Boolean value.
    Key string
    A short string used as an identifier.
    NaValue 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.
    NumValue 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.
    StrValue 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.
    boolValue Boolean
    Boolean value.
    key String
    A short string used as an identifier.
    naValue 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.
    numValue 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.
    strValue String
    String value.
    boolValue boolean
    Boolean value.
    key string
    A short string used as an identifier.
    naValue 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.
    numValue 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.
    strValue 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.
    boolValue Boolean
    Boolean value.
    key String
    A short string used as an identifier.
    naValue 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.
    numValue 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.
    strValue 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

    ConversationDataOptions QaQuestionQaQuestionDataOptionsConversationDataOptions
    Options for configuring what metadata is included in the conversation data used in QAI and Discovery Engine. Structure is documented below.
    ConversationDataOptions QaQuestionQaQuestionDataOptionsConversationDataOptions
    Options for configuring what metadata is included in the conversation data used in QAI and Discovery Engine. Structure is documented below.
    conversation_data_options object
    Options for configuring what metadata is included in the conversation data used in QAI and Discovery Engine. Structure is documented below.
    conversationDataOptions QaQuestionQaQuestionDataOptionsConversationDataOptions
    Options for configuring what metadata is included in the conversation data used in QAI and Discovery Engine. Structure is documented below.
    conversationDataOptions QaQuestionQaQuestionDataOptionsConversationDataOptions
    Options for configuring what metadata is included in the conversation data used in QAI and Discovery Engine. Structure is documented below.
    conversation_data_options QaQuestionQaQuestionDataOptionsConversationDataOptions
    Options for configuring what metadata is included in the conversation data used in QAI and Discovery Engine. Structure is documented below.
    conversationDataOptions Property Map
    Options for configuring what metadata is included in the conversation data used in QAI and Discovery Engine. Structure is documented below.

    QaQuestionQaQuestionDataOptionsConversationDataOptions, QaQuestionQaQuestionDataOptionsConversationDataOptionsArgs

    IncludeDialogflowInteractionData bool
    Whether to include the per turn Dialogflow interaction data in conversation transcript.
    IncludeDialogflowInteractionData bool
    Whether to include the per turn Dialogflow interaction data in conversation transcript.
    include_dialogflow_interaction_data bool
    Whether to include the per turn Dialogflow interaction data in conversation transcript.
    includeDialogflowInteractionData Boolean
    Whether to include the per turn Dialogflow interaction data in conversation transcript.
    includeDialogflowInteractionData boolean
    Whether to include the per turn Dialogflow interaction data in conversation transcript.
    include_dialogflow_interaction_data bool
    Whether to include the per turn Dialogflow interaction data in conversation transcript.
    includeDialogflowInteractionData Boolean
    Whether to include the per turn Dialogflow interaction data in conversation transcript.

    QaQuestionTuningMetadata, QaQuestionTuningMetadataArgs

    DatasetValidationWarnings List<string>
    A list of any applicable data validation warnings about the question's feedback labels.
    TotalValidLabelCount string
    Total number of valid labels provided for the question at the time of tuining.
    TuningError string
    Error status of the tuning operation for the question. Will only be set if the tuning operation failed.
    DatasetValidationWarnings []string
    A list of any applicable data validation warnings about the question's feedback labels.
    TotalValidLabelCount string
    Total number of valid labels provided for the question at the time of tuining.
    TuningError string
    Error status of the tuning operation for the question. Will only be set if the tuning operation failed.
    dataset_validation_warnings list(string)
    A list of any applicable data validation warnings about the question's feedback labels.
    total_valid_label_count string
    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.
    datasetValidationWarnings List<String>
    A list of any applicable data validation warnings about the question's feedback labels.
    totalValidLabelCount String
    Total number of valid labels provided for the question at the time of tuining.
    tuningError String
    Error status of the tuning operation for the question. Will only be set if the tuning operation failed.
    datasetValidationWarnings string[]
    A list of any applicable data validation warnings about the question's feedback labels.
    totalValidLabelCount string
    Total number of valid labels provided for the question at the time of tuining.
    tuningError string
    Error status of the tuning operation for the question. Will only be set if the tuning operation failed.
    dataset_validation_warnings Sequence[str]
    A list of any applicable data validation warnings about the question's feedback labels.
    total_valid_label_count str
    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.
    datasetValidationWarnings List<String>
    A list of any applicable data validation warnings about the question's feedback labels.
    totalValidLabelCount String
    Total number of valid labels provided for the question at the time of tuining.
    tuningError 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-beta Terraform Provider.
    gcp logo
    Viewing docs for Google Cloud v9.23.0
    published on Thursday, May 7, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.