NAME

Google::Cloud::Support::V2::Case - Compiled Protocol Buffers messages for google/cloud/support/v2/case.proto

SYNOPSIS

use Google::Cloud::Support::V2::Case;

my $msg = Google::Cloud::Support::V2::Case::Case->new({
    name => $name,
    display_name => $display_name,
    description => $description,
    classification => $classification,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Support::V2::Case::Case->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/support/v2/case.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Support::V2::Case::Case

A Case is an object that contains the details of a support case. It contains fields for the time it was created, its priority, its classification, and more. Cases can also have comments and attachments that get added over time.

A case is parented by a Google Cloud organization or project.

Organizations are identified by a number, so the name of a case parented by an organization would look like this:

``` organizations/123/cases/456 ```

Projects have two unique identifiers, an ID and a number, and they look like this:

``` projects/abc/cases/456 ```

``` projects/123/cases/456 ```

You can use either of them when calling the API. To learn more about project identifiers, see [AIP-2510](https://google.aip.dev/cloud/2510).

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. The resource name for the case.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    The short summary of the issue reported in this case.

  • $msg->description() / $msg->description($value)

    Type: String

    A broad description of the issue.

  • $msg->classification() / $msg->classification($value)

    Type: Message (Google::Cloud::Support::V2::Case::CaseClassification)

    The issue classification applicable to this case.

  • $msg->time_zone() / $msg->time_zone($value)

    Type: String

    The timezone of the user who created the support case. It should be in a format IANA recognizes: https://www.iana.org/time-zones. There is no additional validation done by the API.

  • $msg->subscriber_email_addresses() / $msg->subscriber_email_addresses($value)

    Type: String

    The email addresses to receive updates on this case.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Support::V2::Case::State)

    Output only. The current status of the support case.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time this case was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time this case was last updated.

  • $msg->creator() / $msg->creator($value)

    Type: Message (Google::Cloud::Support::V2::Actor::Actor)

    The user who created the case.

    Note: The name and email will be obfuscated if the case was created by Google Support.

  • $msg->contact_email() / $msg->contact_email($value)

    Type: String

    A user-supplied email address to send case update notifications for. This should only be used in BYOID flows, where we cannot infer the user's email address directly from their EUCs.

  • $msg->escalated() / $msg->escalated($value)

    Type: Bool

    Whether the case is currently escalated.

  • $msg->test_case() / $msg->test_case($value)

    Type: Bool

    Whether this case was created for internal API testing and should not be acted on by the support team.

  • $msg->language_code() / $msg->language_code($value)

    Type: String

    The language the user has requested to receive support in. This should be a BCP 47 language code (e.g., `"en"`, `"zh-CN"`, `"zh-TW"`, `"ja"`, `"ko"`). If no language or an unsupported language is specified, this field defaults to English (en).

    Language selection during case creation may affect your available support options. For a list of supported languages and their support working hours, see: https://cloud.google.com/support/docs/language-working-hours

  • $msg->priority() / $msg->priority($value)

    Type: Enum (Google::Cloud::Support::V2::Case::Priority)

    The priority of this case.

Enum: Case::State

  • STATE_UNSPECIFIED => 0

  • NEW => 1

  • IN_PROGRESS_GOOGLE_SUPPORT => 2

  • ACTION_REQUIRED => 3

  • SOLUTION_PROVIDED => 4

  • CLOSED => 5

Enum: Case::Priority

  • PRIORITY_UNSPECIFIED => 0

  • P0 => 1

  • P1 => 2

  • P2 => 3

  • P3 => 4

  • P4 => 5

Google::Cloud::Support::V2::Case::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.

Inherits from Protobuf::Message.

Accessors

  • $msg->id() / $msg->id($value)

    Type: 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.

  • $msg->display_name() / $msg->display_name($value)

    Type: 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.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Support::V2::Case::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.