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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Support V2 Client - Class CaseClassification (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-support/latest/V2.CaseClassification)\n- [1.2.0](/php/docs/reference/cloud-support/1.2.0/V2.CaseClassification)\n- [1.1.0](/php/docs/reference/cloud-support/1.1.0/V2.CaseClassification)\n- [1.0.3](/php/docs/reference/cloud-support/1.0.3/V2.CaseClassification)\n- [0.2.5](/php/docs/reference/cloud-support/0.2.5/V2.CaseClassification)\n- [0.1.2](/php/docs/reference/cloud-support/0.1.2/V2.CaseClassification) \nReference documentation and code samples for the Google Cloud Support V2 Client class CaseClassification.\n\nA Case Classification represents the topic that a case is about. It's very\nimportant to use accurate classifications, because they're\nused to route your cases to specialists who can help you.\n\nA classification always has an ID that is its unique identifier.\nA valid ID is required when creating a case.\n\nGenerated from protobuf message `google.cloud.support.v2.CaseClassification`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Support \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getId\n\nThe unique ID for a classification. Must be specified for case creation.\n\nTo retrieve valid classification IDs for case creation, use\n`caseClassifications.search`.\nClassification IDs returned by `caseClassifications.search` are guaranteed\nto be valid for at least 6 months. If a given classification is\ndeactiveated, it will immediately stop being returned. After 6 months,\n`case.create` requests using the classification ID will fail.\n\n### setId\n\nThe unique ID for a classification. Must be specified for case creation.\n\nTo retrieve valid classification IDs for case creation, use\n`caseClassifications.search`.\nClassification IDs returned by `caseClassifications.search` are guaranteed\nto be valid for at least 6 months. If a given classification is\ndeactiveated, it will immediately stop being returned. After 6 months,\n`case.create` requests using the classification ID will fail.\n\n### getDisplayName\n\nA display name for the classification.\n\nThe display name is not static and can change. To uniquely and consistently\nidentify classifications, use the `CaseClassification.id` field.\n\n### setDisplayName\n\nA display name for the classification.\n\nThe display name is not static and can change. To uniquely and consistently\nidentify classifications, use the `CaseClassification.id` field."]]