Google Cloud Support V2beta Client - Class CaseClassification (1.4.2) Stay organized with collections Save and categorize content based on your preferences.
Beta
This library is covered by thePre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see thelaunch stage descriptions.
Reference documentation and code samples for the Google Cloud Support V2beta Client class CaseClassification.
A Case Classification represents the topic that a case is about. It's veryimportant to use accurate classifications, because they'reused 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 messagegoogle.cloud.support.v2beta.CaseClassification
Namespace
Google \ Cloud \ Support \ V2betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data | arrayOptional. Data for populating the Message object. |
↳ id | stringThe unique ID for a classification. Must be specified for case creation. To retrieve valid classification IDs for case creation, use |
↳ display_name | stringA display name for the classification. The display name is not static and can change. To uniquely and consistently identify classifications, use the |
↳ product | ProductThe full product the classification corresponds to. |
getId
The unique ID for a classification. Must be specified for case creation.
To retrieve valid classification IDs for case creation, usecaseClassifications.search.Classification IDs returned bycaseClassifications.search are guaranteedto be valid for at least 6 months. If a given classification isdeactiveated, 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, usecaseClassifications.search.Classification IDs returned bycaseClassifications.search are guaranteedto be valid for at least 6 months. If a given classification isdeactiveated, 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 consistentlyidentify classifications, use theCaseClassification.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 consistentlyidentify classifications, use theCaseClassification.id field.
| Parameter | |
|---|---|
| Name | Description |
var | string |
| Returns | |
|---|---|
| Type | Description |
$this | |
getProduct
The full product the classification corresponds to.
| Returns | |
|---|---|
| Type | Description |
Product|null | |
hasProduct
clearProduct
setProduct
The full product the classification corresponds to.
| Parameter | |
|---|---|
| Name | Description |
var | Product |
| Returns | |
|---|---|
| Type | Description |
$this | |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-24 UTC.