Class 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.
Implements
Inherited Members
Namespace: Google.Apis.CloudSupport.v2.Data
Assembly: Google.Apis.CloudSupport.v2.dll
Syntax
public class Case : IDirectResponseSchema
Properties
Classification
The issue classification applicable to this case.
Declaration
[JsonProperty("classification")]
public virtual CaseClassification Classification { get; set; }
Property Value
Type | Description |
---|---|
CaseClassification |
ContactEmail
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.
Declaration
[JsonProperty("contactEmail")]
public virtual string ContactEmail { get; set; }
Property Value
Type | Description |
---|---|
string |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. The time this case was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Creator
The user who created the case. Note: The name and email will be obfuscated if the case was created by Google Support.
Declaration
[JsonProperty("creator")]
public virtual Actor Creator { get; set; }
Property Value
Type | Description |
---|---|
Actor |
Description
A broad description of the issue.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayName
The short summary of the issue reported in this case.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Escalated
Whether the case is currently escalated.
Declaration
[JsonProperty("escalated")]
public virtual bool? Escalated { get; set; }
Property Value
Type | Description |
---|---|
bool? |
LanguageCode
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
Declaration
[JsonProperty("languageCode")]
public virtual string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The resource name for the case.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Priority
The priority of this case.
Declaration
[JsonProperty("priority")]
public virtual string Priority { get; set; }
Property Value
Type | Description |
---|---|
string |
State
Output only. The current status of the support case.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |
SubscriberEmailAddresses
The email addresses to receive updates on this case.
Declaration
[JsonProperty("subscriberEmailAddresses")]
public virtual IList<string> SubscriberEmailAddresses { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
TestCase
Whether this case was created for internal API testing and should not be acted on by the support team.
Declaration
[JsonProperty("testCase")]
public virtual bool? TestCase { get; set; }
Property Value
Type | Description |
---|---|
bool? |
TimeZone
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.
Declaration
[JsonProperty("timeZone")]
public virtual string TimeZone { get; set; }
Property Value
Type | Description |
---|---|
string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Output only. The time this case was last updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |