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 \ V1Methods
__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 |
QaAnswer\AnswerValue|null |
|
hasQaAnswerLabel
setQaAnswerLabel
QaAnswer label.
| Parameter | |
|---|---|
| Name | Description |
var |
QaAnswer\AnswerValue
|
| 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 |
Google\Protobuf\Timestamp|null |
|
hasCreateTime
clearCreateTime
setCreateTime
Output only. Create time of the label.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateTime
Output only. Update time of the label.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Update time of the label.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLabelType
| Returns | |
|---|---|
| Type | Description |
string |
|