Google Cloud Contact Center Insights V1 Client - Class FeedbackLabel (2.3.3)

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

Represents a conversation, resource, and label provided by the user.

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

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ label
string

String label.

↳ qa_answer_label
QaAnswer\AnswerValue

QaAnswer label.

↳ name
string

Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}

↳ labeled_resource
string

Resource name of the resource to be labeled.

↳ create_time
Google\Protobuf\Timestamp

Output only. Create time of the label.

↳ update_time
Google\Protobuf\Timestamp

Output only. Update time of the label.

getLabel

String label.

Returns
Type
Description
string

hasLabel

setLabel

String label.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getQaAnswerLabel

QaAnswer label.

Returns
Type
Description

hasQaAnswerLabel

setQaAnswerLabel

QaAnswer label.

Parameter
Name
Description
Returns
Type
Description
$this

getName

Immutable. Resource name of the FeedbackLabel.

Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}

Returns
Type
Description
string

setName

Immutable. Resource name of the FeedbackLabel.

Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getLabeledResource

Resource name of the resource to be labeled.

Returns
Type
Description
string

setLabeledResource

Resource name of the resource to be labeled.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCreateTime

Output only. Create time of the label.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Output only. Create time of the label.

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateTime

Output only. Update time of the label.

Returns
Type
Description

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Update time of the label.

Parameter
Name
Description
Returns
Type
Description
$this

getLabelType

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: