Google Cloud Support V2beta Client - Class CaseClassification (1.4.2)

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 \ V2beta

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ idstring

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 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_namestring

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

↳ productProduct

The 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
TypeDescription
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
NameDescription
varstring
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
varstring
Returns
TypeDescription
$this

getProduct

The full product the classification corresponds to.

Returns
TypeDescription
Product|null

hasProduct

clearProduct

setProduct

The full product the classification corresponds to.

Parameter
NameDescription
varProduct
Returns
TypeDescription
$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.