Optional. A unique ID for the new question. This ID will become the final component of the question's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are [a-z][0-9]-.
Optional. A unique ID for the new question. This ID will become the final
component of the question's resource name. If no ID is specified, a
server-generated ID will be used.
This value should be 4-64 characters and must match the regular
expression ^[a-z0-9-]{4,64}$. Valid characters are [a-z][0-9]-.
Returns
Type
Description
string
setQaQuestionId
Optional. A unique ID for the new question. This ID will become the final
component of the question's resource name. If no ID is specified, a
server-generated ID will be used.
This value should be 4-64 characters and must match the regular
expression ^[a-z0-9-]{4,64}$. Valid characters are [a-z][0-9]-.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameters
Name
Description
parent
string
Required. The parent resource of the QaQuestion. Please see
ContactCenterInsightsClient::qaScorecardRevisionName() for help formatting this field.
Optional. A unique ID for the new question. This ID will become the final
component of the question's resource name. If no ID is specified, a
server-generated ID will be used.
This value should be 4-64 characters and must match the regular
expression ^[a-z0-9-]{4,64}$. Valid characters are [a-z][0-9]-.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Contact Center Insights V1 Client - Class CreateQaQuestionRequest (2.3.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.3 (latest)](/php/docs/reference/cloud-contact-center-insights/latest/V1.CreateQaQuestionRequest)\n- [2.3.2](/php/docs/reference/cloud-contact-center-insights/2.3.2/V1.CreateQaQuestionRequest)\n- [2.2.1](/php/docs/reference/cloud-contact-center-insights/2.2.1/V1.CreateQaQuestionRequest)\n- [2.1.1](/php/docs/reference/cloud-contact-center-insights/2.1.1/V1.CreateQaQuestionRequest)\n- [2.0.1](/php/docs/reference/cloud-contact-center-insights/2.0.1/V1.CreateQaQuestionRequest)\n- [1.9.5](/php/docs/reference/cloud-contact-center-insights/1.9.5/V1.CreateQaQuestionRequest)\n- [1.8.0](/php/docs/reference/cloud-contact-center-insights/1.8.0/V1.CreateQaQuestionRequest)\n- [1.7.1](/php/docs/reference/cloud-contact-center-insights/1.7.1/V1.CreateQaQuestionRequest)\n- [1.6.2](/php/docs/reference/cloud-contact-center-insights/1.6.2/V1.CreateQaQuestionRequest)\n- [1.5.0](/php/docs/reference/cloud-contact-center-insights/1.5.0/V1.CreateQaQuestionRequest)\n- [1.4.1](/php/docs/reference/cloud-contact-center-insights/1.4.1/V1.CreateQaQuestionRequest)\n- [1.3.0](/php/docs/reference/cloud-contact-center-insights/1.3.0/V1.CreateQaQuestionRequest)\n- [1.2.1](/php/docs/reference/cloud-contact-center-insights/1.2.1/V1.CreateQaQuestionRequest)\n- [1.1.0](/php/docs/reference/cloud-contact-center-insights/1.1.0/V1.CreateQaQuestionRequest)\n- [1.0.3](/php/docs/reference/cloud-contact-center-insights/1.0.3/V1.CreateQaQuestionRequest) \nReference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class CreateQaQuestionRequest.\n\nThe request for creating a QaQuestion.\n\nGenerated from protobuf message `google.cloud.contactcenterinsights.v1.CreateQaQuestionRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ContactCenterInsights \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The parent resource of the QaQuestion.\n\n### setParent\n\nRequired. The parent resource of the QaQuestion.\n\n### getQaQuestion\n\nRequired. The QaQuestion to create.\n\n### hasQaQuestion\n\n### clearQaQuestion\n\n### setQaQuestion\n\nRequired. The QaQuestion to create.\n\n### getQaQuestionId\n\nOptional. A unique ID for the new question. This ID will become the final\ncomponent of the question's resource name. If no ID is specified, a\nserver-generated ID will be used.\n\nThis value should be 4-64 characters and must match the regular\nexpression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`.\n\n### setQaQuestionId\n\nOptional. A unique ID for the new question. This ID will become the final\ncomponent of the question's resource name. If no ID is specified, a\nserver-generated ID will be used.\n\nThis value should be 4-64 characters and must match the regular\nexpression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`.\n\n### static::build"]]