Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.cloudsupport/v2beta.Case
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Create a new case and associate it with the given Google Cloud Resource. The case object must have the following fields set: display_name
, description
, classification
, and priority
.
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,
contact_email: Optional[str] = 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)
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:
- V2beta
Id1 string - V2betum
Id string - Classification
Pulumi.
Google Native. Cloud Support. V2Beta. Inputs. Case Classification The issue classification applicable to this case.
- Contact
Email 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.
- Creator
Pulumi.
Google Native. Cloud Support. V2Beta. Inputs. Actor 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.
- Display
Name string The short summary of the issue reported in this case.
- Escalated bool
Whether the case is currently escalated.
- Language
Code 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.
Google Native. Cloud Support. V2Beta. Case Priority The priority of this case.
- Severity
Pulumi.
Google Native. Cloud Support. V2Beta. Case Severity REMOVED. The severity of this case. Use priority instead.
- Subscriber
Email List<string>Addresses 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 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 string - V2betum
Id string - Classification
Case
Classification Args The issue classification applicable to this case.
- Contact
Email 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.
- Creator
Actor
Args 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.
- Display
Name string The short summary of the issue reported in this case.
- Escalated bool
Whether the case is currently escalated.
- Language
Code 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
Case
Priority The priority of this case.
- Severity
Case
Severity REMOVED. The severity of this case. Use priority instead.
- Subscriber
Email []stringAddresses 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 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 String - v2betum
Id String - classification
Case
Classification The issue classification applicable to this case.
- contact
Email 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.
- creator Actor
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.
- display
Name String The short summary of the issue reported in this case.
- escalated Boolean
Whether the case is currently escalated.
- language
Code 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
Case
Priority The priority of this case.
- severity
Case
Severity REMOVED. The severity of this case. Use priority instead.
- subscriber
Email List<String>Addresses The email addresses to receive updates on this case.
- test
Case Boolean Whether this case was created for internal API testing and should not be acted on by the support team.
- time
Zone 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 string - v2betum
Id string - classification
Case
Classification The issue classification applicable to this case.
- contact
Email 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.
- creator Actor
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.
- display
Name string The short summary of the issue reported in this case.
- escalated boolean
Whether the case is currently escalated.
- language
Code 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
Case
Priority The priority of this case.
- severity
Case
Severity REMOVED. The severity of this case. Use priority instead.
- subscriber
Email string[]Addresses The email addresses to receive updates on this case.
- test
Case boolean Whether this case was created for internal API testing and should not be acted on by the support team.
- time
Zone 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
Case
Classification Args The issue classification applicable to this case.
- contact_
email str 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.
- creator
Actor
Args 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
Case
Priority The priority of this case.
- severity
Case
Severity REMOVED. The severity of this case. Use priority instead.
- subscriber_
email_ Sequence[str]addresses 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.
- v2beta
Id1 String - v2betum
Id String - classification Property Map
The issue classification applicable to this case.
- contact
Email 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.
- 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.
- display
Name String The short summary of the issue reported in this case.
- escalated Boolean
Whether the case is currently escalated.
- language
Code 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.
- severity "SEVERITY_UNSPECIFIED" | "S0" | "S1" | "S2" | "S3" | "S4"
REMOVED. The severity of this case. Use priority instead.
- subscriber
Email List<String>Addresses The email addresses to receive updates on this case.
- test
Case Boolean Whether this case was created for internal API testing and should not be acted on by the support team.
- time
Zone 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:
- Create
Time 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.
- Update
Time string The time this case was last updated.
- Create
Time 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.
- Update
Time string The time this case was last updated.
- create
Time 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.
- update
Time String The time this case was last updated.
- create
Time 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.
- update
Time 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.
- create
Time 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.
- update
Time String The time this case was last updated.
Supporting Types
Actor, ActorArgs
- Display
Name 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 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 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 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.
- display
Name 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, ActorResponseArgs
- Display
Name 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.
- Google
Support bool Whether the actor is a Google support actor.
- Display
Name 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.
- Google
Support bool Whether the actor is a Google support actor.
- display
Name 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.
- google
Support Boolean Whether the actor is a Google support actor.
- display
Name 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.
- google
Support 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.
- display
Name 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.
- google
Support Boolean Whether the actor is a Google support actor.
CaseClassification, CaseClassificationArgs
- Display
Name 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 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 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 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
.
- display
Name 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, CaseClassificationResponseArgs
- Display
Name string The display name of the classification.
- Display
Name string The display name of the classification.
- display
Name String The display name of the classification.
- display
Name string The display name of the classification.
- display_
name str The display name of the classification.
- display
Name String The display name of the classification.
CasePriority, CasePriorityArgs
- 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.
- Case
Priority Priority Unspecified - PRIORITY_UNSPECIFIED
Priority is undefined or has not been set yet.
- Case
Priority P0 - P0
Extreme impact on a production service. Service is hard down.
- Case
Priority P1 - P1
Critical impact on a production service. Service is currently unusable.
- Case
Priority P2 - P2
Severe impact on a production service. Service is usable but greatly impaired.
- Case
Priority P3 - P3
Medium impact on a production service. Service is available, but moderately impaired.
- Case
Priority 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.
- 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, CaseSeverityArgs
- 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.
- Case
Severity Severity Unspecified - SEVERITY_UNSPECIFIED
Severity is undefined or has not been set yet.
- Case
Severity S0 - S0
Extreme impact on a production service. Service is hard down.
- Case
Severity S1 - S1
Critical impact on a production service. Service is currently unusable.
- Case
Severity S2 - S2
Severe impact on a production service. Service is usable but greatly impaired.
- Case
Severity S3 - S3
Medium impact on a production service. Service is available, but moderately impaired.
- Case
Severity 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.
- 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
Google Cloud Native is in preview. Google Cloud Classic is fully supported.