Google Cloud Contact Center Insights V1 Client - Class CreateQaQuestionRequest (2.2.1)

Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class CreateQaQuestionRequest.

The request for creating a QaQuestion.

Generated from protobuf message google.cloud.contactcenterinsights.v1.CreateQaQuestionRequest

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource of the QaQuestion.

↳ qa_question QaQuestion

Required. The QaQuestion to create.

↳ qa_question_id string

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]-.

getParent

Required. The parent resource of the QaQuestion.

Returns
Type Description
string

setParent

Required. The parent resource of the QaQuestion.

Parameter
Name Description
var string
Returns
Type Description
$this

getQaQuestion

Required. The QaQuestion to create.

Returns
Type Description
QaQuestion|null

hasQaQuestion

clearQaQuestion

setQaQuestion

Required. The QaQuestion to create.

Parameter
Name Description
var QaQuestion
Returns
Type Description
$this

getQaQuestionId

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.

qaQuestion QaQuestion

Required. The QaQuestion to create.

qaQuestionId string

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
CreateQaQuestionRequest