Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Case

import type { Case } from "https://googleapis.deno.dev/v1/cloudsupport:v2.ts";

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.

interface Case {
classification?: CaseClassification;
contactEmail?: string;
readonly createTime?: Date;
creator?: Actor;
description?: string;
displayName?: string;
escalated?: boolean;
languageCode?: string;
name?: string;
priority?:
| "PRIORITY_UNSPECIFIED"
| "P0"
| "P1"
| "P2"
| "P3"
| "P4";
readonly state?:
| "STATE_UNSPECIFIED"
| "NEW"
| "IN_PROGRESS_GOOGLE_SUPPORT"
| "ACTION_REQUIRED"
| "SOLUTION_PROVIDED"
| "CLOSED";
subscriberEmailAddresses?: string[];
testCase?: boolean;
timeZone?: string;
readonly updateTime?: Date;
}

§Properties

§
classification?: CaseClassification
[src]

The issue classification applicable to this case.

§
contactEmail?: string
[src]

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.

§
readonly createTime?: Date
[src]

Output only. The time this case was created.

§
creator?: Actor
[src]

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

§
description?: string
[src]

A broad description of the issue.

§
displayName?: string
[src]

The short summary of the issue reported in this case.

§
escalated?: boolean
[src]

Whether the case is currently escalated.

§
languageCode?: string
[src]

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

§
name?: string
[src]

The resource name for the case.

§
priority?: "PRIORITY_UNSPECIFIED" | "P0" | "P1" | "P2" | "P3" | "P4"
[src]

The priority of this case.

§
readonly state?: "STATE_UNSPECIFIED" | "NEW" | "IN_PROGRESS_GOOGLE_SUPPORT" | "ACTION_REQUIRED" | "SOLUTION_PROVIDED" | "CLOSED"
[src]

Output only. The current status of the support case.

§
subscriberEmailAddresses?: string[]
[src]

The email addresses to receive updates on this case.

§
testCase?: boolean
[src]

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

§
timeZone?: string
[src]

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.

§
readonly updateTime?: Date
[src]

Output only. The time this case was last updated.