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

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

The request for updating a QaQuestion.

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

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ qa_question QaQuestion

Required. The QaQuestion to update.

↳ update_mask Google\Protobuf\FieldMask

Required. The list of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided: * * abbreviation * * answer_choices * * answer_instructions * * order * * question_body * * tags

getQaQuestion

Required. The QaQuestion to update.

Returns
Type Description
QaQuestion|null

hasQaQuestion

clearQaQuestion

setQaQuestion

Required. The QaQuestion to update.

Parameter
Name Description
var QaQuestion
Returns
Type Description
$this

getUpdateMask

Required. The list of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided:

  • abbreviation
  • answer_choices
  • answer_instructions
  • order
  • question_body
  • tags
Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The list of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided:

  • abbreviation
  • answer_choices
  • answer_instructions
  • order
  • question_body
  • tags
Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
qaQuestion QaQuestion

Required. The QaQuestion to update.

updateMask Google\Protobuf\FieldMask

Required. The list of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided:

    • abbreviation
    • answer_choices
    • answer_instructions
    • order
    • question_body
    • tags
Returns
Type Description
UpdateQaQuestionRequest