google-native logo
Google Cloud Native v0.28.0, Feb 2 23

google-native.cloudsupport/v2beta.Case

Create a new case and associate it with the given Cloud resource. The case object must have the following fields set: display_name, description, classification, and severity. Note - this resource’s API doesn’t support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Create Case Resource

new Case(name: string, args: CaseArgs, opts?: CustomResourceOptions);
@overload
def Case(resource_name: str,
         opts: Optional[ResourceOptions] = None,
         classification: Optional[CaseClassificationArgs] = None,
         creator: Optional[ActorArgs] = None,
         description: Optional[str] = None,
         display_name: Optional[str] = None,
         escalated: Optional[bool] = None,
         language_code: Optional[str] = None,
         name: Optional[str] = None,
         priority: Optional[CasePriority] = None,
         severity: Optional[CaseSeverity] = None,
         subscriber_email_addresses: Optional[Sequence[str]] = None,
         test_case: Optional[bool] = None,
         time_zone: Optional[str] = None,
         v2beta_id1: Optional[str] = None,
         v2betum_id: Optional[str] = None)
@overload
def Case(resource_name: str,
         args: CaseArgs,
         opts: Optional[ResourceOptions] = None)
func NewCase(ctx *Context, name string, args CaseArgs, opts ...ResourceOption) (*Case, error)
public Case(string name, CaseArgs args, CustomResourceOptions? opts = null)
public Case(String name, CaseArgs args)
public Case(String name, CaseArgs args, CustomResourceOptions options)
type: google-native:cloudsupport/v2beta:Case
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args CaseArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args CaseArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args CaseArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CaseArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args CaseArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Case Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Case resource accepts the following input properties:

V2betaId1 string
V2betumId string
Classification Pulumi.GoogleNative.CloudSupport.V2Beta.Inputs.CaseClassificationArgs

The issue classification applicable to this case.

Creator Pulumi.GoogleNative.CloudSupport.V2Beta.Inputs.ActorArgs

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

Description string

A broad description of the issue.

DisplayName string

The short summary of the issue reported in this case.

Escalated bool

Whether the case is currently escalated.

LanguageCode 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

Name string

The resource name for the case.

Priority Pulumi.GoogleNative.CloudSupport.V2Beta.CasePriority

The priority of this case. If this is set, do not set severity.

Severity Pulumi.GoogleNative.CloudSupport.V2Beta.CaseSeverity

The severity of this case. Deprecated. Use priority instead.

Deprecated:

The severity of this case. Deprecated. Use priority instead.

SubscriberEmailAddresses List<string>

The email addresses to receive updates on this case.

TestCase bool

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

TimeZone 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.

V2betaId1 string
V2betumId string
Classification CaseClassificationArgs

The issue classification applicable to this case.

Creator ActorArgs

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

Description string

A broad description of the issue.

DisplayName string

The short summary of the issue reported in this case.

Escalated bool

Whether the case is currently escalated.

LanguageCode 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

Name string

The resource name for the case.

Priority CasePriority

The priority of this case. If this is set, do not set severity.

Severity CaseSeverity

The severity of this case. Deprecated. Use priority instead.

Deprecated:

The severity of this case. Deprecated. Use priority instead.

SubscriberEmailAddresses []string

The email addresses to receive updates on this case.

TestCase bool

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

TimeZone 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.

v2betaId1 String
v2betumId String
classification CaseClassificationArgs

The issue classification applicable to this case.

creator ActorArgs

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

description String

A broad description of the issue.

displayName String

The short summary of the issue reported in this case.

escalated Boolean

Whether the case is currently escalated.

languageCode 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

name String

The resource name for the case.

priority CasePriority

The priority of this case. If this is set, do not set severity.

severity CaseSeverity

The severity of this case. Deprecated. Use priority instead.

Deprecated:

The severity of this case. Deprecated. Use priority instead.

subscriberEmailAddresses List<String>

The email addresses to receive updates on this case.

testCase Boolean

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

timeZone 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.

v2betaId1 string
v2betumId string
classification CaseClassificationArgs

The issue classification applicable to this case.

creator ActorArgs

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

description string

A broad description of the issue.

displayName string

The short summary of the issue reported in this case.

escalated boolean

Whether the case is currently escalated.

languageCode 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

name string

The resource name for the case.

priority CasePriority

The priority of this case. If this is set, do not set severity.

severity CaseSeverity

The severity of this case. Deprecated. Use priority instead.

Deprecated:

The severity of this case. Deprecated. Use priority instead.

subscriberEmailAddresses string[]

The email addresses to receive updates on this case.

testCase boolean

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

timeZone 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.

v2beta_id1 str
v2betum_id str
classification CaseClassificationArgs

The issue classification applicable to this case.

creator ActorArgs

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

description str

A broad description of the issue.

display_name str

The short summary of the issue reported in this case.

escalated bool

Whether the case is currently escalated.

language_code str

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 str

The resource name for the case.

priority CasePriority

The priority of this case. If this is set, do not set severity.

severity CaseSeverity

The severity of this case. Deprecated. Use priority instead.

Deprecated:

The severity of this case. Deprecated. Use priority instead.

subscriber_email_addresses Sequence[str]

The email addresses to receive updates on this case.

test_case bool

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

time_zone str

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.

v2betaId1 String
v2betumId String
classification Property Map

The issue classification applicable to this case.

creator Property Map

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

description String

A broad description of the issue.

displayName String

The short summary of the issue reported in this case.

escalated Boolean

Whether the case is currently escalated.

languageCode 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

name String

The resource name for the case.

priority "PRIORITY_UNSPECIFIED" | "P0" | "P1" | "P2" | "P3" | "P4"

The priority of this case. If this is set, do not set severity.

severity "SEVERITY_UNSPECIFIED" | "S0" | "S1" | "S2" | "S3" | "S4"

The severity of this case. Deprecated. Use priority instead.

Deprecated:

The severity of this case. Deprecated. Use priority instead.

subscriberEmailAddresses List<String>

The email addresses to receive updates on this case.

testCase Boolean

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

timeZone 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.

Outputs

All input properties are implicitly available as output properties. Additionally, the Case resource produces the following output properties:

CreateTime string

The time this case was created.

Id string

The provider-assigned unique ID for this managed resource.

State string

The current status of the support case.

UpdateTime string

The time this case was last updated.

CreateTime string

The time this case was created.

Id string

The provider-assigned unique ID for this managed resource.

State string

The current status of the support case.

UpdateTime string

The time this case was last updated.

createTime String

The time this case was created.

id String

The provider-assigned unique ID for this managed resource.

state String

The current status of the support case.

updateTime String

The time this case was last updated.

createTime string

The time this case was created.

id string

The provider-assigned unique ID for this managed resource.

state string

The current status of the support case.

updateTime string

The time this case was last updated.

create_time str

The time this case was created.

id str

The provider-assigned unique ID for this managed resource.

state str

The current status of the support case.

update_time str

The time this case was last updated.

createTime String

The time this case was created.

id String

The provider-assigned unique ID for this managed resource.

state String

The current status of the support case.

updateTime String

The time this case was last updated.

Supporting Types

Actor

DisplayName string

The name to display for the actor. If not provided, it is inferred from credentials supplied during case creation. When an email is provided, a display name must also be provided. This will be obfuscated if the user is a Google Support agent.

Email string

The email address of the actor. If not provided, it is inferred from credentials supplied during case creation. If the authenticated principal does not have an email address, one must be provided. When a name is provided, an email must also be provided. This will be obfuscated if the user is a Google Support agent.

DisplayName string

The name to display for the actor. If not provided, it is inferred from credentials supplied during case creation. When an email is provided, a display name must also be provided. This will be obfuscated if the user is a Google Support agent.

Email string

The email address of the actor. If not provided, it is inferred from credentials supplied during case creation. If the authenticated principal does not have an email address, one must be provided. When a name is provided, an email must also be provided. This will be obfuscated if the user is a Google Support agent.

displayName String

The name to display for the actor. If not provided, it is inferred from credentials supplied during case creation. When an email is provided, a display name must also be provided. This will be obfuscated if the user is a Google Support agent.

email String

The email address of the actor. If not provided, it is inferred from credentials supplied during case creation. If the authenticated principal does not have an email address, one must be provided. When a name is provided, an email must also be provided. This will be obfuscated if the user is a Google Support agent.

displayName string

The name to display for the actor. If not provided, it is inferred from credentials supplied during case creation. When an email is provided, a display name must also be provided. This will be obfuscated if the user is a Google Support agent.

email string

The email address of the actor. If not provided, it is inferred from credentials supplied during case creation. If the authenticated principal does not have an email address, one must be provided. When a name is provided, an email must also be provided. This will be obfuscated if the user is a Google Support agent.

display_name str

The name to display for the actor. If not provided, it is inferred from credentials supplied during case creation. When an email is provided, a display name must also be provided. This will be obfuscated if the user is a Google Support agent.

email str

The email address of the actor. If not provided, it is inferred from credentials supplied during case creation. If the authenticated principal does not have an email address, one must be provided. When a name is provided, an email must also be provided. This will be obfuscated if the user is a Google Support agent.

displayName String

The name to display for the actor. If not provided, it is inferred from credentials supplied during case creation. When an email is provided, a display name must also be provided. This will be obfuscated if the user is a Google Support agent.

email String

The email address of the actor. If not provided, it is inferred from credentials supplied during case creation. If the authenticated principal does not have an email address, one must be provided. When a name is provided, an email must also be provided. This will be obfuscated if the user is a Google Support agent.

ActorResponse

DisplayName string

The name to display for the actor. If not provided, it is inferred from credentials supplied during case creation. When an email is provided, a display name must also be provided. This will be obfuscated if the user is a Google Support agent.

Email string

The email address of the actor. If not provided, it is inferred from credentials supplied during case creation. If the authenticated principal does not have an email address, one must be provided. When a name is provided, an email must also be provided. This will be obfuscated if the user is a Google Support agent.

GoogleSupport bool

Whether the actor is a Google support actor.

DisplayName string

The name to display for the actor. If not provided, it is inferred from credentials supplied during case creation. When an email is provided, a display name must also be provided. This will be obfuscated if the user is a Google Support agent.

Email string

The email address of the actor. If not provided, it is inferred from credentials supplied during case creation. If the authenticated principal does not have an email address, one must be provided. When a name is provided, an email must also be provided. This will be obfuscated if the user is a Google Support agent.

GoogleSupport bool

Whether the actor is a Google support actor.

displayName String

The name to display for the actor. If not provided, it is inferred from credentials supplied during case creation. When an email is provided, a display name must also be provided. This will be obfuscated if the user is a Google Support agent.

email String

The email address of the actor. If not provided, it is inferred from credentials supplied during case creation. If the authenticated principal does not have an email address, one must be provided. When a name is provided, an email must also be provided. This will be obfuscated if the user is a Google Support agent.

googleSupport Boolean

Whether the actor is a Google support actor.

displayName string

The name to display for the actor. If not provided, it is inferred from credentials supplied during case creation. When an email is provided, a display name must also be provided. This will be obfuscated if the user is a Google Support agent.

email string

The email address of the actor. If not provided, it is inferred from credentials supplied during case creation. If the authenticated principal does not have an email address, one must be provided. When a name is provided, an email must also be provided. This will be obfuscated if the user is a Google Support agent.

googleSupport boolean

Whether the actor is a Google support actor.

display_name str

The name to display for the actor. If not provided, it is inferred from credentials supplied during case creation. When an email is provided, a display name must also be provided. This will be obfuscated if the user is a Google Support agent.

email str

The email address of the actor. If not provided, it is inferred from credentials supplied during case creation. If the authenticated principal does not have an email address, one must be provided. When a name is provided, an email must also be provided. This will be obfuscated if the user is a Google Support agent.

google_support bool

Whether the actor is a Google support actor.

displayName String

The name to display for the actor. If not provided, it is inferred from credentials supplied during case creation. When an email is provided, a display name must also be provided. This will be obfuscated if the user is a Google Support agent.

email String

The email address of the actor. If not provided, it is inferred from credentials supplied during case creation. If the authenticated principal does not have an email address, one must be provided. When a name is provided, an email must also be provided. This will be obfuscated if the user is a Google Support agent.

googleSupport Boolean

Whether the actor is a Google support actor.

CaseClassification

DisplayName string

The display name of the classification.

Id string

The unique ID for a classification. Must be specified for case creation. To retrieve valid classification IDs for case creation, use caseClassifications.search.

DisplayName string

The display name of the classification.

Id string

The unique ID for a classification. Must be specified for case creation. To retrieve valid classification IDs for case creation, use caseClassifications.search.

displayName String

The display name of the classification.

id String

The unique ID for a classification. Must be specified for case creation. To retrieve valid classification IDs for case creation, use caseClassifications.search.

displayName string

The display name of the classification.

id string

The unique ID for a classification. Must be specified for case creation. To retrieve valid classification IDs for case creation, use caseClassifications.search.

display_name str

The display name of the classification.

id str

The unique ID for a classification. Must be specified for case creation. To retrieve valid classification IDs for case creation, use caseClassifications.search.

displayName String

The display name of the classification.

id String

The unique ID for a classification. Must be specified for case creation. To retrieve valid classification IDs for case creation, use caseClassifications.search.

CaseClassificationResponse

DisplayName string

The display name of the classification.

DisplayName string

The display name of the classification.

displayName String

The display name of the classification.

displayName string

The display name of the classification.

display_name str

The display name of the classification.

displayName String

The display name of the classification.

CasePriority

PriorityUnspecified
PRIORITY_UNSPECIFIED

Priority is undefined or has not been set yet.

P0
P0

Extreme impact on a production service. Service is hard down.

P1
P1

Critical impact on a production service. Service is currently unusable.

P2
P2

Severe impact on a production service. Service is usable but greatly impaired.

P3
P3

Medium impact on a production service. Service is available, but moderately impaired.

P4
P4

General questions or minor issues. Production service is fully available.

CasePriorityPriorityUnspecified
PRIORITY_UNSPECIFIED

Priority is undefined or has not been set yet.

CasePriorityP0
P0

Extreme impact on a production service. Service is hard down.

CasePriorityP1
P1

Critical impact on a production service. Service is currently unusable.

CasePriorityP2
P2

Severe impact on a production service. Service is usable but greatly impaired.

CasePriorityP3
P3

Medium impact on a production service. Service is available, but moderately impaired.

CasePriorityP4
P4

General questions or minor issues. Production service is fully available.

PriorityUnspecified
PRIORITY_UNSPECIFIED

Priority is undefined or has not been set yet.

P0
P0

Extreme impact on a production service. Service is hard down.

P1
P1

Critical impact on a production service. Service is currently unusable.

P2
P2

Severe impact on a production service. Service is usable but greatly impaired.

P3
P3

Medium impact on a production service. Service is available, but moderately impaired.

P4
P4

General questions or minor issues. Production service is fully available.

PriorityUnspecified
PRIORITY_UNSPECIFIED

Priority is undefined or has not been set yet.

P0
P0

Extreme impact on a production service. Service is hard down.

P1
P1

Critical impact on a production service. Service is currently unusable.

P2
P2

Severe impact on a production service. Service is usable but greatly impaired.

P3
P3

Medium impact on a production service. Service is available, but moderately impaired.

P4
P4

General questions or minor issues. Production service is fully available.

PRIORITY_UNSPECIFIED
PRIORITY_UNSPECIFIED

Priority is undefined or has not been set yet.

P0
P0

Extreme impact on a production service. Service is hard down.

P1
P1

Critical impact on a production service. Service is currently unusable.

P2
P2

Severe impact on a production service. Service is usable but greatly impaired.

P3
P3

Medium impact on a production service. Service is available, but moderately impaired.

P4
P4

General questions or minor issues. Production service is fully available.

"PRIORITY_UNSPECIFIED"
PRIORITY_UNSPECIFIED

Priority is undefined or has not been set yet.

"P0"
P0

Extreme impact on a production service. Service is hard down.

"P1"
P1

Critical impact on a production service. Service is currently unusable.

"P2"
P2

Severe impact on a production service. Service is usable but greatly impaired.

"P3"
P3

Medium impact on a production service. Service is available, but moderately impaired.

"P4"
P4

General questions or minor issues. Production service is fully available.

CaseSeverity

SeverityUnspecified
SEVERITY_UNSPECIFIED

Severity is undefined or has not been set yet.

S0
S0

Extreme impact on a production service. Service is hard down.

S1
S1

Critical impact on a production service. Service is currently unusable.

S2
S2

Severe impact on a production service. Service is usable but greatly impaired.

S3
S3

Medium impact on a production service. Service is available, but moderately impaired.

S4
S4

General questions or minor issues. Production service is fully available.

CaseSeveritySeverityUnspecified
SEVERITY_UNSPECIFIED

Severity is undefined or has not been set yet.

CaseSeverityS0
S0

Extreme impact on a production service. Service is hard down.

CaseSeverityS1
S1

Critical impact on a production service. Service is currently unusable.

CaseSeverityS2
S2

Severe impact on a production service. Service is usable but greatly impaired.

CaseSeverityS3
S3

Medium impact on a production service. Service is available, but moderately impaired.

CaseSeverityS4
S4

General questions or minor issues. Production service is fully available.

SeverityUnspecified
SEVERITY_UNSPECIFIED

Severity is undefined or has not been set yet.

S0
S0

Extreme impact on a production service. Service is hard down.

S1
S1

Critical impact on a production service. Service is currently unusable.

S2
S2

Severe impact on a production service. Service is usable but greatly impaired.

S3
S3

Medium impact on a production service. Service is available, but moderately impaired.

S4
S4

General questions or minor issues. Production service is fully available.

SeverityUnspecified
SEVERITY_UNSPECIFIED

Severity is undefined or has not been set yet.

S0
S0

Extreme impact on a production service. Service is hard down.

S1
S1

Critical impact on a production service. Service is currently unusable.

S2
S2

Severe impact on a production service. Service is usable but greatly impaired.

S3
S3

Medium impact on a production service. Service is available, but moderately impaired.

S4
S4

General questions or minor issues. Production service is fully available.

SEVERITY_UNSPECIFIED
SEVERITY_UNSPECIFIED

Severity is undefined or has not been set yet.

S0
S0

Extreme impact on a production service. Service is hard down.

S1
S1

Critical impact on a production service. Service is currently unusable.

S2
S2

Severe impact on a production service. Service is usable but greatly impaired.

S3
S3

Medium impact on a production service. Service is available, but moderately impaired.

S4
S4

General questions or minor issues. Production service is fully available.

"SEVERITY_UNSPECIFIED"
SEVERITY_UNSPECIFIED

Severity is undefined or has not been set yet.

"S0"
S0

Extreme impact on a production service. Service is hard down.

"S1"
S1

Critical impact on a production service. Service is currently unusable.

"S2"
S2

Severe impact on a production service. Service is usable but greatly impaired.

"S3"
S3

Medium impact on a production service. Service is available, but moderately impaired.

"S4"
S4

General questions or minor issues. Production service is fully available.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0