Google Cloud Support V2 Client - Class CaseClassification (1.2.1)

Reference documentation and code samples for the Google Cloud Support V2 Client class CaseClassification.

A Case Classification represents the topic that a case is about. It's very important to use accurate classifications, because they're used to route your cases to specialists who can help you.

A classification always has an ID that is its unique identifier. A valid ID is required when creating a case.

Generated from protobuf message google.cloud.support.v2.CaseClassification

Namespace

Google \ Cloud \ Support \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ id
string

The unique ID for a classification. Must be specified for case creation. To retrieve valid classification IDs for case creation, use caseClassifications.search . Classification IDs returned by caseClassifications.search are guaranteed to be valid for at least 6 months. If a given classification is deactiveated, it will immediately stop being returned. After 6 months, case.create requests using the classification ID will fail.

↳ display_name
string

A display name for the classification. The display name is not static and can change. To uniquely and consistently identify classifications, use the CaseClassification.id field.

getId

The unique ID for a classification. Must be specified for case creation.

To retrieve valid classification IDs for case creation, use caseClassifications.search . Classification IDs returned by caseClassifications.search are guaranteed to be valid for at least 6 months. If a given classification is deactiveated, it will immediately stop being returned. After 6 months, case.create requests using the classification ID will fail.

Returns
Type
Description
string

setId

The unique ID for a classification. Must be specified for case creation.

To retrieve valid classification IDs for case creation, use caseClassifications.search . Classification IDs returned by caseClassifications.search are guaranteed to be valid for at least 6 months. If a given classification is deactiveated, it will immediately stop being returned. After 6 months, case.create requests using the classification ID will fail.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDisplayName

A display name for the classification.

The display name is not static and can change. To uniquely and consistently identify classifications, use the CaseClassification.id field.

Returns
Type
Description
string

setDisplayName

A display name for the classification.

The display name is not static and can change. To uniquely and consistently identify classifications, use the CaseClassification.id field.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: