# Contact Center AI Insights V1 API - Class Google::Cloud::ContactCenterInsights::V1::QaQuestion (v1.10.0)

1.10.0 (latest) 1.9.0 1.8.1 1.7.0 1.6.0 1.5.1 1.4.0 1.3.0 1.2.0 1.1.0 1.0.1 0.22.0 0.21.1 0.20.1 0.19.1 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.2 0.7.2 0.6.0 Reference documentation and code samples for the Contact Center AI Insights V1 API class Google::Cloud::ContactCenterInsights::V1::QaQuestion.

A single question to be scored by the Insights QA feature.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #abbreviation

    def abbreviation() -> ::String

**Returns**

- (::String) --- Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".

### #abbreviation=

    def abbreviation=(value) -> ::String

**Parameter**

- **value** (::String) --- Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".
**Returns**

- (::String) --- Short, descriptive string, used in the UI where it's not practical to display the full question body. E.g., "Greeting".

### #answer_choices

    def answer_choices() -> ::Array<::Google::Cloud::ContactCenterInsights::V1::QaQuestion::AnswerChoice>

**Returns**

- (::Array\<[::Google::Cloud::ContactCenterInsights::V1::QaQuestion::AnswerChoice](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-QaQuestion-AnswerChoice)\>) --- A list of valid answers to the question, which the LLM must choose from.

### #answer_choices=

    def answer_choices=(value) -> ::Array<::Google::Cloud::ContactCenterInsights::V1::QaQuestion::AnswerChoice>

**Parameter**

- **value** (::Array\<[::Google::Cloud::ContactCenterInsights::V1::QaQuestion::AnswerChoice](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-QaQuestion-AnswerChoice)\>) --- A list of valid answers to the question, which the LLM must choose from.
**Returns**

- (::Array\<[::Google::Cloud::ContactCenterInsights::V1::QaQuestion::AnswerChoice](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-QaQuestion-AnswerChoice)\>) --- A list of valid answers to the question, which the LLM must choose from.

### #answer_instructions

    def answer_instructions() -> ::String

**Returns**

- (::String) --- Instructions describing how to determine the answer.

### #answer_instructions=

    def answer_instructions=(value) -> ::String

**Parameter**

- **value** (::String) --- Instructions describing how to determine the answer.
**Returns**

- (::String) --- Instructions describing how to determine the answer.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time at which this question was created.

### #metrics

    def metrics() -> ::Google::Cloud::ContactCenterInsights::V1::QaQuestion::Metrics

**Returns**

- ([::Google::Cloud::ContactCenterInsights::V1::QaQuestion::Metrics](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-QaQuestion-Metrics)) --- Metrics of the underlying tuned LLM over a holdout/test set while fine tuning the underlying LLM for the given question. This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.

### #metrics=

    def metrics=(value) -> ::Google::Cloud::ContactCenterInsights::V1::QaQuestion::Metrics

**Parameter**

- **value** ([::Google::Cloud::ContactCenterInsights::V1::QaQuestion::Metrics](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-QaQuestion-Metrics)) --- Metrics of the underlying tuned LLM over a holdout/test set while fine tuning the underlying LLM for the given question. This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.
**Returns**

- ([::Google::Cloud::ContactCenterInsights::V1::QaQuestion::Metrics](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-QaQuestion-Metrics)) --- Metrics of the underlying tuned LLM over a holdout/test set while fine tuning the underlying LLM for the given question. This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}
**Returns**

- (::String) --- Identifier. The resource name of the question. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}

### #order

    def order() -> ::Integer

**Returns**

- (::Integer) --- Defines the order of the question within its parent scorecard revision.

### #order=

    def order=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Defines the order of the question within its parent scorecard revision.
**Returns**

- (::Integer) --- Defines the order of the question within its parent scorecard revision.

### #question_body

    def question_body() -> ::String

**Returns**

- (::String) --- Question text. E.g., "Did the agent greet the customer?"

### #question_body=

    def question_body=(value) -> ::String

**Parameter**

- **value** (::String) --- Question text. E.g., "Did the agent greet the customer?"
**Returns**

- (::String) --- Question text. E.g., "Did the agent greet the customer?"

### #tags

    def tags() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- User-defined list of arbitrary tags for the question. Used for grouping/organization and for weighting the score of each question.

### #tags=

    def tags=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- User-defined list of arbitrary tags for the question. Used for grouping/organization and for weighting the score of each question.
**Returns**

- (::Array\<::String\>) --- User-defined list of arbitrary tags for the question. Used for grouping/organization and for weighting the score of each question.

### #tuning_metadata

    def tuning_metadata() -> ::Google::Cloud::ContactCenterInsights::V1::QaQuestion::TuningMetadata

**Returns**

- ([::Google::Cloud::ContactCenterInsights::V1::QaQuestion::TuningMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-QaQuestion-TuningMetadata)) --- Metadata about the tuning operation for the question.This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.

### #tuning_metadata=

    def tuning_metadata=(value) -> ::Google::Cloud::ContactCenterInsights::V1::QaQuestion::TuningMetadata

**Parameter**

- **value** ([::Google::Cloud::ContactCenterInsights::V1::QaQuestion::TuningMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-QaQuestion-TuningMetadata)) --- Metadata about the tuning operation for the question.This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.
**Returns**

- ([::Google::Cloud::ContactCenterInsights::V1::QaQuestion::TuningMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-QaQuestion-TuningMetadata)) --- Metadata about the tuning operation for the question.This field will only be populated if and only if the question is part of a scorecard revision that has been tuned.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The most recent time at which the question was updated.