Google Cloud Contact Center Insights V1 Client - Class CreateFeedbackLabelRequest (2.2.0)

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

The request for creating a feedback label.

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

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 feedback label.

↳ feedback_label_id string

Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server.

↳ feedback_label FeedbackLabel

Required. The feedback label to create.

getParent

Required. The parent resource of the feedback label.

Returns
Type Description
string

setParent

Required. The parent resource of the feedback label.

Parameter
Name Description
var string
Returns
Type Description
$this

getFeedbackLabelId

Optional. The ID of the feedback label to create.

If one is not specified it will be generated by the server.

Returns
Type Description
string

setFeedbackLabelId

Optional. The ID of the feedback label to create.

If one is not specified it will be generated by the server.

Parameter
Name Description
var string
Returns
Type Description
$this

getFeedbackLabel

Required. The feedback label to create.

Returns
Type Description
FeedbackLabel|null

hasFeedbackLabel

clearFeedbackLabel

setFeedbackLabel

Required. The feedback label to create.

Parameter
Name Description
var FeedbackLabel
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource of the feedback label. Please see ContactCenterInsightsClient::conversationName() for help formatting this field.

feedbackLabel FeedbackLabel

Required. The feedback label to create.

feedbackLabelId string

Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server.

Returns
Type Description
CreateFeedbackLabelRequest