Documentation
¶
Index ¶
- Constants
- type Actor
- type ActorArgs
- func (ActorArgs) ElementType() reflect.Type
- func (i ActorArgs) ToActorOutput() ActorOutput
- func (i ActorArgs) ToActorOutputWithContext(ctx context.Context) ActorOutput
- func (i ActorArgs) ToActorPtrOutput() ActorPtrOutput
- func (i ActorArgs) ToActorPtrOutputWithContext(ctx context.Context) ActorPtrOutput
- type ActorInput
- type ActorOutput
- func (o ActorOutput) DisplayName() pulumi.StringPtrOutput
- func (ActorOutput) ElementType() reflect.Type
- func (o ActorOutput) Email() pulumi.StringPtrOutput
- func (o ActorOutput) ToActorOutput() ActorOutput
- func (o ActorOutput) ToActorOutputWithContext(ctx context.Context) ActorOutput
- func (o ActorOutput) ToActorPtrOutput() ActorPtrOutput
- func (o ActorOutput) ToActorPtrOutputWithContext(ctx context.Context) ActorPtrOutput
- type ActorPtrInput
- type ActorPtrOutput
- func (o ActorPtrOutput) DisplayName() pulumi.StringPtrOutput
- func (o ActorPtrOutput) Elem() ActorOutput
- func (ActorPtrOutput) ElementType() reflect.Type
- func (o ActorPtrOutput) Email() pulumi.StringPtrOutput
- func (o ActorPtrOutput) ToActorPtrOutput() ActorPtrOutput
- func (o ActorPtrOutput) ToActorPtrOutputWithContext(ctx context.Context) ActorPtrOutput
- type ActorResponse
- type ActorResponseOutput
- func (o ActorResponseOutput) DisplayName() pulumi.StringOutput
- func (ActorResponseOutput) ElementType() reflect.Type
- func (o ActorResponseOutput) Email() pulumi.StringOutput
- func (o ActorResponseOutput) GoogleSupport() pulumi.BoolOutput
- func (o ActorResponseOutput) ToActorResponseOutput() ActorResponseOutput
- func (o ActorResponseOutput) ToActorResponseOutputWithContext(ctx context.Context) ActorResponseOutput
- type Case
- type CaseArgs
- type CaseClassification
- type CaseClassificationArgs
- func (CaseClassificationArgs) ElementType() reflect.Type
- func (i CaseClassificationArgs) ToCaseClassificationOutput() CaseClassificationOutput
- func (i CaseClassificationArgs) ToCaseClassificationOutputWithContext(ctx context.Context) CaseClassificationOutput
- func (i CaseClassificationArgs) ToCaseClassificationPtrOutput() CaseClassificationPtrOutput
- func (i CaseClassificationArgs) ToCaseClassificationPtrOutputWithContext(ctx context.Context) CaseClassificationPtrOutput
- type CaseClassificationInput
- type CaseClassificationOutput
- func (o CaseClassificationOutput) DisplayName() pulumi.StringPtrOutput
- func (CaseClassificationOutput) ElementType() reflect.Type
- func (o CaseClassificationOutput) Id() pulumi.StringPtrOutput
- func (o CaseClassificationOutput) ToCaseClassificationOutput() CaseClassificationOutput
- func (o CaseClassificationOutput) ToCaseClassificationOutputWithContext(ctx context.Context) CaseClassificationOutput
- func (o CaseClassificationOutput) ToCaseClassificationPtrOutput() CaseClassificationPtrOutput
- func (o CaseClassificationOutput) ToCaseClassificationPtrOutputWithContext(ctx context.Context) CaseClassificationPtrOutput
- type CaseClassificationPtrInput
- type CaseClassificationPtrOutput
- func (o CaseClassificationPtrOutput) DisplayName() pulumi.StringPtrOutput
- func (o CaseClassificationPtrOutput) Elem() CaseClassificationOutput
- func (CaseClassificationPtrOutput) ElementType() reflect.Type
- func (o CaseClassificationPtrOutput) Id() pulumi.StringPtrOutput
- func (o CaseClassificationPtrOutput) ToCaseClassificationPtrOutput() CaseClassificationPtrOutput
- func (o CaseClassificationPtrOutput) ToCaseClassificationPtrOutputWithContext(ctx context.Context) CaseClassificationPtrOutput
- type CaseClassificationResponse
- type CaseClassificationResponseOutput
- func (o CaseClassificationResponseOutput) DisplayName() pulumi.StringOutput
- func (CaseClassificationResponseOutput) ElementType() reflect.Type
- func (o CaseClassificationResponseOutput) ToCaseClassificationResponseOutput() CaseClassificationResponseOutput
- func (o CaseClassificationResponseOutput) ToCaseClassificationResponseOutputWithContext(ctx context.Context) CaseClassificationResponseOutput
- type CaseInput
- type CaseOutput
- func (o CaseOutput) Classification() CaseClassificationResponseOutput
- func (o CaseOutput) ContactEmail() pulumi.StringOutput
- func (o CaseOutput) CreateTime() pulumi.StringOutput
- func (o CaseOutput) Creator() ActorResponseOutput
- func (o CaseOutput) Description() pulumi.StringOutput
- func (o CaseOutput) DisplayName() pulumi.StringOutput
- func (CaseOutput) ElementType() reflect.Type
- func (o CaseOutput) Escalated() pulumi.BoolOutput
- func (o CaseOutput) LanguageCode() pulumi.StringOutput
- func (o CaseOutput) Name() pulumi.StringOutput
- func (o CaseOutput) Priority() pulumi.StringOutput
- func (o CaseOutput) Severity() pulumi.StringOutput
- func (o CaseOutput) State() pulumi.StringOutput
- func (o CaseOutput) SubscriberEmailAddresses() pulumi.StringArrayOutput
- func (o CaseOutput) TestCase() pulumi.BoolOutput
- func (o CaseOutput) TimeZone() pulumi.StringOutput
- func (o CaseOutput) ToCaseOutput() CaseOutput
- func (o CaseOutput) ToCaseOutputWithContext(ctx context.Context) CaseOutput
- func (o CaseOutput) UpdateTime() pulumi.StringOutput
- func (o CaseOutput) V2betaId1() pulumi.StringOutput
- func (o CaseOutput) V2betumId() pulumi.StringOutput
- type CasePriority
- func (CasePriority) ElementType() reflect.Type
- func (e CasePriority) ToCasePriorityOutput() CasePriorityOutput
- func (e CasePriority) ToCasePriorityOutputWithContext(ctx context.Context) CasePriorityOutput
- func (e CasePriority) ToCasePriorityPtrOutput() CasePriorityPtrOutput
- func (e CasePriority) ToCasePriorityPtrOutputWithContext(ctx context.Context) CasePriorityPtrOutput
- func (e CasePriority) ToStringOutput() pulumi.StringOutput
- func (e CasePriority) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e CasePriority) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e CasePriority) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type CasePriorityInput
- type CasePriorityOutput
- func (CasePriorityOutput) ElementType() reflect.Type
- func (o CasePriorityOutput) ToCasePriorityOutput() CasePriorityOutput
- func (o CasePriorityOutput) ToCasePriorityOutputWithContext(ctx context.Context) CasePriorityOutput
- func (o CasePriorityOutput) ToCasePriorityPtrOutput() CasePriorityPtrOutput
- func (o CasePriorityOutput) ToCasePriorityPtrOutputWithContext(ctx context.Context) CasePriorityPtrOutput
- func (o CasePriorityOutput) ToStringOutput() pulumi.StringOutput
- func (o CasePriorityOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o CasePriorityOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o CasePriorityOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type CasePriorityPtrInput
- type CasePriorityPtrOutput
- func (o CasePriorityPtrOutput) Elem() CasePriorityOutput
- func (CasePriorityPtrOutput) ElementType() reflect.Type
- func (o CasePriorityPtrOutput) ToCasePriorityPtrOutput() CasePriorityPtrOutput
- func (o CasePriorityPtrOutput) ToCasePriorityPtrOutputWithContext(ctx context.Context) CasePriorityPtrOutput
- func (o CasePriorityPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o CasePriorityPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type CaseSeverity
- func (CaseSeverity) ElementType() reflect.Type
- func (e CaseSeverity) ToCaseSeverityOutput() CaseSeverityOutput
- func (e CaseSeverity) ToCaseSeverityOutputWithContext(ctx context.Context) CaseSeverityOutput
- func (e CaseSeverity) ToCaseSeverityPtrOutput() CaseSeverityPtrOutput
- func (e CaseSeverity) ToCaseSeverityPtrOutputWithContext(ctx context.Context) CaseSeverityPtrOutput
- func (e CaseSeverity) ToStringOutput() pulumi.StringOutput
- func (e CaseSeverity) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e CaseSeverity) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e CaseSeverity) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type CaseSeverityInput
- type CaseSeverityOutput
- func (CaseSeverityOutput) ElementType() reflect.Type
- func (o CaseSeverityOutput) ToCaseSeverityOutput() CaseSeverityOutput
- func (o CaseSeverityOutput) ToCaseSeverityOutputWithContext(ctx context.Context) CaseSeverityOutput
- func (o CaseSeverityOutput) ToCaseSeverityPtrOutput() CaseSeverityPtrOutput
- func (o CaseSeverityOutput) ToCaseSeverityPtrOutputWithContext(ctx context.Context) CaseSeverityPtrOutput
- func (o CaseSeverityOutput) ToStringOutput() pulumi.StringOutput
- func (o CaseSeverityOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o CaseSeverityOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o CaseSeverityOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type CaseSeverityPtrInput
- type CaseSeverityPtrOutput
- func (o CaseSeverityPtrOutput) Elem() CaseSeverityOutput
- func (CaseSeverityPtrOutput) ElementType() reflect.Type
- func (o CaseSeverityPtrOutput) ToCaseSeverityPtrOutput() CaseSeverityPtrOutput
- func (o CaseSeverityPtrOutput) ToCaseSeverityPtrOutputWithContext(ctx context.Context) CaseSeverityPtrOutput
- func (o CaseSeverityPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o CaseSeverityPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type CaseState
- type LookupCaseArgs
- type LookupCaseOutputArgs
- type LookupCaseResult
- type LookupCaseResultOutput
- func (o LookupCaseResultOutput) Classification() CaseClassificationResponseOutput
- func (o LookupCaseResultOutput) ContactEmail() pulumi.StringOutput
- func (o LookupCaseResultOutput) CreateTime() pulumi.StringOutput
- func (o LookupCaseResultOutput) Creator() ActorResponseOutput
- func (o LookupCaseResultOutput) Description() pulumi.StringOutput
- func (o LookupCaseResultOutput) DisplayName() pulumi.StringOutput
- func (LookupCaseResultOutput) ElementType() reflect.Type
- func (o LookupCaseResultOutput) Escalated() pulumi.BoolOutput
- func (o LookupCaseResultOutput) LanguageCode() pulumi.StringOutput
- func (o LookupCaseResultOutput) Name() pulumi.StringOutput
- func (o LookupCaseResultOutput) Priority() pulumi.StringOutput
- func (o LookupCaseResultOutput) Severity() pulumi.StringOutput
- func (o LookupCaseResultOutput) State() pulumi.StringOutput
- func (o LookupCaseResultOutput) SubscriberEmailAddresses() pulumi.StringArrayOutput
- func (o LookupCaseResultOutput) TestCase() pulumi.BoolOutput
- func (o LookupCaseResultOutput) TimeZone() pulumi.StringOutput
- func (o LookupCaseResultOutput) ToLookupCaseResultOutput() LookupCaseResultOutput
- func (o LookupCaseResultOutput) ToLookupCaseResultOutputWithContext(ctx context.Context) LookupCaseResultOutput
- func (o LookupCaseResultOutput) UpdateTime() pulumi.StringOutput
Constants ¶
const ( // Priority is undefined or has not been set yet. CasePriorityPriorityUnspecified = CasePriority("PRIORITY_UNSPECIFIED") // Extreme impact on a production service. Service is hard down. CasePriorityP0 = CasePriority("P0") // Critical impact on a production service. Service is currently unusable. CasePriorityP1 = CasePriority("P1") // Severe impact on a production service. Service is usable but greatly impaired. CasePriorityP2 = CasePriority("P2") // Medium impact on a production service. Service is available, but moderately impaired. CasePriorityP3 = CasePriority("P3") // General questions or minor issues. Production service is fully available. CasePriorityP4 = CasePriority("P4") )
const ( // Severity is undefined or has not been set yet. CaseSeveritySeverityUnspecified = CaseSeverity("SEVERITY_UNSPECIFIED") // Extreme impact on a production service. Service is hard down. CaseSeverityS0 = CaseSeverity("S0") // Critical impact on a production service. Service is currently unusable. CaseSeverityS1 = CaseSeverity("S1") // Severe impact on a production service. Service is usable but greatly impaired. CaseSeverityS2 = CaseSeverity("S2") // Medium impact on a production service. Service is available, but moderately impaired. CaseSeverityS3 = CaseSeverity("S3") // General questions or minor issues. Production service is fully available. CaseSeverityS4 = CaseSeverity("S4") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actor ¶
type Actor struct { // 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. DisplayName *string `pulumi:"displayName"` // 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. Email *string `pulumi:"email"` }
An object containing information about the effective user and authenticated principal responsible for an action.
type ActorArgs ¶
type ActorArgs struct { // 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. DisplayName pulumi.StringPtrInput `pulumi:"displayName"` // 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. Email pulumi.StringPtrInput `pulumi:"email"` }
An object containing information about the effective user and authenticated principal responsible for an action.
func (ActorArgs) ElementType ¶
func (ActorArgs) ToActorOutput ¶
func (i ActorArgs) ToActorOutput() ActorOutput
func (ActorArgs) ToActorOutputWithContext ¶
func (i ActorArgs) ToActorOutputWithContext(ctx context.Context) ActorOutput
func (ActorArgs) ToActorPtrOutput ¶
func (i ActorArgs) ToActorPtrOutput() ActorPtrOutput
func (ActorArgs) ToActorPtrOutputWithContext ¶
func (i ActorArgs) ToActorPtrOutputWithContext(ctx context.Context) ActorPtrOutput
type ActorInput ¶
type ActorInput interface { pulumi.Input ToActorOutput() ActorOutput ToActorOutputWithContext(context.Context) ActorOutput }
ActorInput is an input type that accepts ActorArgs and ActorOutput values. You can construct a concrete instance of `ActorInput` via:
ActorArgs{...}
type ActorOutput ¶
type ActorOutput struct{ *pulumi.OutputState }
An object containing information about the effective user and authenticated principal responsible for an action.
func (ActorOutput) DisplayName ¶
func (o ActorOutput) DisplayName() pulumi.StringPtrOutput
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.
func (ActorOutput) ElementType ¶
func (ActorOutput) ElementType() reflect.Type
func (ActorOutput) Email ¶
func (o ActorOutput) Email() pulumi.StringPtrOutput
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.
func (ActorOutput) ToActorOutput ¶
func (o ActorOutput) ToActorOutput() ActorOutput
func (ActorOutput) ToActorOutputWithContext ¶
func (o ActorOutput) ToActorOutputWithContext(ctx context.Context) ActorOutput
func (ActorOutput) ToActorPtrOutput ¶
func (o ActorOutput) ToActorPtrOutput() ActorPtrOutput
func (ActorOutput) ToActorPtrOutputWithContext ¶
func (o ActorOutput) ToActorPtrOutputWithContext(ctx context.Context) ActorPtrOutput
type ActorPtrInput ¶
type ActorPtrInput interface { pulumi.Input ToActorPtrOutput() ActorPtrOutput ToActorPtrOutputWithContext(context.Context) ActorPtrOutput }
ActorPtrInput is an input type that accepts ActorArgs, ActorPtr and ActorPtrOutput values. You can construct a concrete instance of `ActorPtrInput` via:
ActorArgs{...} or: nil
func ActorPtr ¶
func ActorPtr(v *ActorArgs) ActorPtrInput
type ActorPtrOutput ¶
type ActorPtrOutput struct{ *pulumi.OutputState }
func (ActorPtrOutput) DisplayName ¶
func (o ActorPtrOutput) DisplayName() pulumi.StringPtrOutput
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.
func (ActorPtrOutput) Elem ¶
func (o ActorPtrOutput) Elem() ActorOutput
func (ActorPtrOutput) ElementType ¶
func (ActorPtrOutput) ElementType() reflect.Type
func (ActorPtrOutput) Email ¶
func (o ActorPtrOutput) Email() pulumi.StringPtrOutput
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.
func (ActorPtrOutput) ToActorPtrOutput ¶
func (o ActorPtrOutput) ToActorPtrOutput() ActorPtrOutput
func (ActorPtrOutput) ToActorPtrOutputWithContext ¶
func (o ActorPtrOutput) ToActorPtrOutputWithContext(ctx context.Context) ActorPtrOutput
type ActorResponse ¶
type ActorResponse struct { // 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. DisplayName string `pulumi:"displayName"` // 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. Email string `pulumi:"email"` // Whether the actor is a Google support actor. GoogleSupport bool `pulumi:"googleSupport"` }
An object containing information about the effective user and authenticated principal responsible for an action.
type ActorResponseOutput ¶
type ActorResponseOutput struct{ *pulumi.OutputState }
An object containing information about the effective user and authenticated principal responsible for an action.
func (ActorResponseOutput) DisplayName ¶
func (o ActorResponseOutput) DisplayName() pulumi.StringOutput
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.
func (ActorResponseOutput) ElementType ¶
func (ActorResponseOutput) ElementType() reflect.Type
func (ActorResponseOutput) Email ¶
func (o ActorResponseOutput) Email() pulumi.StringOutput
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.
func (ActorResponseOutput) GoogleSupport ¶
func (o ActorResponseOutput) GoogleSupport() pulumi.BoolOutput
Whether the actor is a Google support actor.
func (ActorResponseOutput) ToActorResponseOutput ¶
func (o ActorResponseOutput) ToActorResponseOutput() ActorResponseOutput
func (ActorResponseOutput) ToActorResponseOutputWithContext ¶
func (o ActorResponseOutput) ToActorResponseOutputWithContext(ctx context.Context) ActorResponseOutput
type Case ¶
type Case struct { pulumi.CustomResourceState // The issue classification applicable to this case. Classification CaseClassificationResponseOutput `pulumi:"classification"` // 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. ContactEmail pulumi.StringOutput `pulumi:"contactEmail"` // The time this case was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // The user who created the case. Note: The name and email will be obfuscated if the case was created by Google Support. Creator ActorResponseOutput `pulumi:"creator"` // A broad description of the issue. Description pulumi.StringOutput `pulumi:"description"` // The short summary of the issue reported in this case. DisplayName pulumi.StringOutput `pulumi:"displayName"` // Whether the case is currently escalated. Escalated pulumi.BoolOutput `pulumi:"escalated"` // 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 LanguageCode pulumi.StringOutput `pulumi:"languageCode"` // The resource name for the case. Name pulumi.StringOutput `pulumi:"name"` // The priority of this case. Priority pulumi.StringOutput `pulumi:"priority"` // REMOVED. The severity of this case. Use priority instead. Severity pulumi.StringOutput `pulumi:"severity"` // The current status of the support case. State pulumi.StringOutput `pulumi:"state"` // The email addresses to receive updates on this case. SubscriberEmailAddresses pulumi.StringArrayOutput `pulumi:"subscriberEmailAddresses"` // Whether this case was created for internal API testing and should not be acted on by the support team. TestCase pulumi.BoolOutput `pulumi:"testCase"` // 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. TimeZone pulumi.StringOutput `pulumi:"timeZone"` // The time this case was last updated. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` V2betaId1 pulumi.StringOutput `pulumi:"v2betaId1"` V2betumId pulumi.StringOutput `pulumi:"v2betumId"` }
Create a new case and associate it with a parent. It must have the following fields set: `display_name`, `description`, `classification`, and `priority`. If you're just testing the API and don't want to route your case to an agent, set `testCase=true`. EXAMPLES: cURL: ``` shell parent="projects/some-project" curl \ --request POST \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ --header 'Content-Type: application/json' \ --data '{ "display_name": "Test case created by me.", "description": "a random test case, feel free to close", "classification": { "id": "100IK2AKCLHMGRJ9CDGMOCGP8DM6UTB4BT262T31BT1M2T31DHNMENPO6KS36CPJ786L2TBFEHGN6NPI64R3CDHN8880G08I1H3MURR7DHII0GRCDTQM8" }, "time_zone": "-07:00", "subscriber_email_addresses": [ "foo@domain.com", "bar@domain.com" ], "testCase": true, "priority": "P3" }' \ "https://cloudsupport.googleapis.com/v2/$parent/cases" ``` Python: ``` python import googleapiclient.discovery api_version = "v2" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}", ) request = supportApiService.cases().create( parent="projects/some-project", body={ "displayName": "A Test Case", "description": "This is a test case.", "testCase": True, "priority": "P2", "classification": { "id": "100IK2AKCLHMGRJ9CDGMOCGP8DM6UTB4BT262T31BT1M2T31DHNMENPO6KS36CPJ786L2TBFEHGN6NPI64R3CDHN8880G08I1H3MURR7DHII0GRCDTQM8" }, }, ) print(request.execute()) ``` 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.
func GetCase ¶
func GetCase(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CaseState, opts ...pulumi.ResourceOption) (*Case, error)
GetCase gets an existing Case resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCase ¶
func NewCase(ctx *pulumi.Context, name string, args *CaseArgs, opts ...pulumi.ResourceOption) (*Case, error)
NewCase registers a new resource with the given unique name, arguments, and options.
func (*Case) ElementType ¶
func (*Case) ToCaseOutput ¶
func (i *Case) ToCaseOutput() CaseOutput
func (*Case) ToCaseOutputWithContext ¶
func (i *Case) ToCaseOutputWithContext(ctx context.Context) CaseOutput
type CaseArgs ¶
type CaseArgs struct { // The issue classification applicable to this case. Classification CaseClassificationPtrInput // 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. ContactEmail pulumi.StringPtrInput // The user who created the case. Note: The name and email will be obfuscated if the case was created by Google Support. Creator ActorPtrInput // A broad description of the issue. Description pulumi.StringPtrInput // The short summary of the issue reported in this case. DisplayName pulumi.StringPtrInput // Whether the case is currently escalated. Escalated pulumi.BoolPtrInput // 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 LanguageCode pulumi.StringPtrInput // The resource name for the case. Name pulumi.StringPtrInput // The priority of this case. Priority CasePriorityPtrInput // REMOVED. The severity of this case. Use priority instead. Severity CaseSeverityPtrInput // The email addresses to receive updates on this case. SubscriberEmailAddresses pulumi.StringArrayInput // Whether this case was created for internal API testing and should not be acted on by the support team. TestCase pulumi.BoolPtrInput // 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. TimeZone pulumi.StringPtrInput V2betaId1 pulumi.StringInput V2betumId pulumi.StringInput }
The set of arguments for constructing a Case resource.
func (CaseArgs) ElementType ¶
type CaseClassification ¶
type CaseClassification struct { // 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. DisplayName *string `pulumi:"displayName"` // 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. Id *string `pulumi:"id"` }
A classification object with a product type and value.
type CaseClassificationArgs ¶
type CaseClassificationArgs struct { // 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. DisplayName pulumi.StringPtrInput `pulumi:"displayName"` // 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. Id pulumi.StringPtrInput `pulumi:"id"` }
A classification object with a product type and value.
func (CaseClassificationArgs) ElementType ¶
func (CaseClassificationArgs) ElementType() reflect.Type
func (CaseClassificationArgs) ToCaseClassificationOutput ¶
func (i CaseClassificationArgs) ToCaseClassificationOutput() CaseClassificationOutput
func (CaseClassificationArgs) ToCaseClassificationOutputWithContext ¶
func (i CaseClassificationArgs) ToCaseClassificationOutputWithContext(ctx context.Context) CaseClassificationOutput
func (CaseClassificationArgs) ToCaseClassificationPtrOutput ¶
func (i CaseClassificationArgs) ToCaseClassificationPtrOutput() CaseClassificationPtrOutput
func (CaseClassificationArgs) ToCaseClassificationPtrOutputWithContext ¶
func (i CaseClassificationArgs) ToCaseClassificationPtrOutputWithContext(ctx context.Context) CaseClassificationPtrOutput
type CaseClassificationInput ¶
type CaseClassificationInput interface { pulumi.Input ToCaseClassificationOutput() CaseClassificationOutput ToCaseClassificationOutputWithContext(context.Context) CaseClassificationOutput }
CaseClassificationInput is an input type that accepts CaseClassificationArgs and CaseClassificationOutput values. You can construct a concrete instance of `CaseClassificationInput` via:
CaseClassificationArgs{...}
type CaseClassificationOutput ¶
type CaseClassificationOutput struct{ *pulumi.OutputState }
A classification object with a product type and value.
func (CaseClassificationOutput) DisplayName ¶
func (o CaseClassificationOutput) DisplayName() pulumi.StringPtrOutput
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.
func (CaseClassificationOutput) ElementType ¶
func (CaseClassificationOutput) ElementType() reflect.Type
func (CaseClassificationOutput) Id ¶
func (o CaseClassificationOutput) Id() pulumi.StringPtrOutput
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.
func (CaseClassificationOutput) ToCaseClassificationOutput ¶
func (o CaseClassificationOutput) ToCaseClassificationOutput() CaseClassificationOutput
func (CaseClassificationOutput) ToCaseClassificationOutputWithContext ¶
func (o CaseClassificationOutput) ToCaseClassificationOutputWithContext(ctx context.Context) CaseClassificationOutput
func (CaseClassificationOutput) ToCaseClassificationPtrOutput ¶
func (o CaseClassificationOutput) ToCaseClassificationPtrOutput() CaseClassificationPtrOutput
func (CaseClassificationOutput) ToCaseClassificationPtrOutputWithContext ¶
func (o CaseClassificationOutput) ToCaseClassificationPtrOutputWithContext(ctx context.Context) CaseClassificationPtrOutput
type CaseClassificationPtrInput ¶
type CaseClassificationPtrInput interface { pulumi.Input ToCaseClassificationPtrOutput() CaseClassificationPtrOutput ToCaseClassificationPtrOutputWithContext(context.Context) CaseClassificationPtrOutput }
CaseClassificationPtrInput is an input type that accepts CaseClassificationArgs, CaseClassificationPtr and CaseClassificationPtrOutput values. You can construct a concrete instance of `CaseClassificationPtrInput` via:
CaseClassificationArgs{...} or: nil
func CaseClassificationPtr ¶
func CaseClassificationPtr(v *CaseClassificationArgs) CaseClassificationPtrInput
type CaseClassificationPtrOutput ¶
type CaseClassificationPtrOutput struct{ *pulumi.OutputState }
func (CaseClassificationPtrOutput) DisplayName ¶
func (o CaseClassificationPtrOutput) DisplayName() pulumi.StringPtrOutput
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.
func (CaseClassificationPtrOutput) Elem ¶
func (o CaseClassificationPtrOutput) Elem() CaseClassificationOutput
func (CaseClassificationPtrOutput) ElementType ¶
func (CaseClassificationPtrOutput) ElementType() reflect.Type
func (CaseClassificationPtrOutput) Id ¶
func (o CaseClassificationPtrOutput) Id() pulumi.StringPtrOutput
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.
func (CaseClassificationPtrOutput) ToCaseClassificationPtrOutput ¶
func (o CaseClassificationPtrOutput) ToCaseClassificationPtrOutput() CaseClassificationPtrOutput
func (CaseClassificationPtrOutput) ToCaseClassificationPtrOutputWithContext ¶
func (o CaseClassificationPtrOutput) ToCaseClassificationPtrOutputWithContext(ctx context.Context) CaseClassificationPtrOutput
type CaseClassificationResponse ¶
type CaseClassificationResponse struct { // 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. DisplayName string `pulumi:"displayName"` }
A classification object with a product type and value.
type CaseClassificationResponseOutput ¶
type CaseClassificationResponseOutput struct{ *pulumi.OutputState }
A classification object with a product type and value.
func (CaseClassificationResponseOutput) DisplayName ¶
func (o CaseClassificationResponseOutput) DisplayName() pulumi.StringOutput
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.
func (CaseClassificationResponseOutput) ElementType ¶
func (CaseClassificationResponseOutput) ElementType() reflect.Type
func (CaseClassificationResponseOutput) ToCaseClassificationResponseOutput ¶
func (o CaseClassificationResponseOutput) ToCaseClassificationResponseOutput() CaseClassificationResponseOutput
func (CaseClassificationResponseOutput) ToCaseClassificationResponseOutputWithContext ¶
func (o CaseClassificationResponseOutput) ToCaseClassificationResponseOutputWithContext(ctx context.Context) CaseClassificationResponseOutput
type CaseInput ¶
type CaseInput interface { pulumi.Input ToCaseOutput() CaseOutput ToCaseOutputWithContext(ctx context.Context) CaseOutput }
type CaseOutput ¶
type CaseOutput struct{ *pulumi.OutputState }
func (CaseOutput) Classification ¶ added in v0.19.0
func (o CaseOutput) Classification() CaseClassificationResponseOutput
The issue classification applicable to this case.
func (CaseOutput) ContactEmail ¶ added in v0.29.0
func (o CaseOutput) ContactEmail() pulumi.StringOutput
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.
func (CaseOutput) CreateTime ¶ added in v0.19.0
func (o CaseOutput) CreateTime() pulumi.StringOutput
The time this case was created.
func (CaseOutput) Creator ¶ added in v0.19.0
func (o CaseOutput) Creator() ActorResponseOutput
The user who created the case. Note: The name and email will be obfuscated if the case was created by Google Support.
func (CaseOutput) Description ¶ added in v0.19.0
func (o CaseOutput) Description() pulumi.StringOutput
A broad description of the issue.
func (CaseOutput) DisplayName ¶ added in v0.19.0
func (o CaseOutput) DisplayName() pulumi.StringOutput
The short summary of the issue reported in this case.
func (CaseOutput) ElementType ¶
func (CaseOutput) ElementType() reflect.Type
func (CaseOutput) Escalated ¶ added in v0.19.0
func (o CaseOutput) Escalated() pulumi.BoolOutput
Whether the case is currently escalated.
func (CaseOutput) LanguageCode ¶ added in v0.28.0
func (o CaseOutput) LanguageCode() pulumi.StringOutput
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
func (CaseOutput) Name ¶ added in v0.19.0
func (o CaseOutput) Name() pulumi.StringOutput
The resource name for the case.
func (CaseOutput) Priority ¶ added in v0.19.0
func (o CaseOutput) Priority() pulumi.StringOutput
The priority of this case.
func (CaseOutput) Severity ¶ added in v0.19.0
func (o CaseOutput) Severity() pulumi.StringOutput
REMOVED. The severity of this case. Use priority instead.
func (CaseOutput) State ¶ added in v0.19.0
func (o CaseOutput) State() pulumi.StringOutput
The current status of the support case.
func (CaseOutput) SubscriberEmailAddresses ¶ added in v0.19.0
func (o CaseOutput) SubscriberEmailAddresses() pulumi.StringArrayOutput
The email addresses to receive updates on this case.
func (CaseOutput) TestCase ¶ added in v0.19.0
func (o CaseOutput) TestCase() pulumi.BoolOutput
Whether this case was created for internal API testing and should not be acted on by the support team.
func (CaseOutput) TimeZone ¶ added in v0.19.0
func (o CaseOutput) TimeZone() pulumi.StringOutput
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.
func (CaseOutput) ToCaseOutput ¶
func (o CaseOutput) ToCaseOutput() CaseOutput
func (CaseOutput) ToCaseOutputWithContext ¶
func (o CaseOutput) ToCaseOutputWithContext(ctx context.Context) CaseOutput
func (CaseOutput) UpdateTime ¶ added in v0.19.0
func (o CaseOutput) UpdateTime() pulumi.StringOutput
The time this case was last updated.
func (CaseOutput) V2betaId1 ¶ added in v0.21.0
func (o CaseOutput) V2betaId1() pulumi.StringOutput
func (CaseOutput) V2betumId ¶ added in v0.21.0
func (o CaseOutput) V2betumId() pulumi.StringOutput
type CasePriority ¶ added in v0.13.0
type CasePriority string
The priority of this case.
func (CasePriority) ElementType ¶ added in v0.13.0
func (CasePriority) ElementType() reflect.Type
func (CasePriority) ToCasePriorityOutput ¶ added in v0.13.0
func (e CasePriority) ToCasePriorityOutput() CasePriorityOutput
func (CasePriority) ToCasePriorityOutputWithContext ¶ added in v0.13.0
func (e CasePriority) ToCasePriorityOutputWithContext(ctx context.Context) CasePriorityOutput
func (CasePriority) ToCasePriorityPtrOutput ¶ added in v0.13.0
func (e CasePriority) ToCasePriorityPtrOutput() CasePriorityPtrOutput
func (CasePriority) ToCasePriorityPtrOutputWithContext ¶ added in v0.13.0
func (e CasePriority) ToCasePriorityPtrOutputWithContext(ctx context.Context) CasePriorityPtrOutput
func (CasePriority) ToStringOutput ¶ added in v0.13.0
func (e CasePriority) ToStringOutput() pulumi.StringOutput
func (CasePriority) ToStringOutputWithContext ¶ added in v0.13.0
func (e CasePriority) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (CasePriority) ToStringPtrOutput ¶ added in v0.13.0
func (e CasePriority) ToStringPtrOutput() pulumi.StringPtrOutput
func (CasePriority) ToStringPtrOutputWithContext ¶ added in v0.13.0
func (e CasePriority) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type CasePriorityInput ¶ added in v0.13.0
type CasePriorityInput interface { pulumi.Input ToCasePriorityOutput() CasePriorityOutput ToCasePriorityOutputWithContext(context.Context) CasePriorityOutput }
CasePriorityInput is an input type that accepts CasePriorityArgs and CasePriorityOutput values. You can construct a concrete instance of `CasePriorityInput` via:
CasePriorityArgs{...}
type CasePriorityOutput ¶ added in v0.13.0
type CasePriorityOutput struct{ *pulumi.OutputState }
func (CasePriorityOutput) ElementType ¶ added in v0.13.0
func (CasePriorityOutput) ElementType() reflect.Type
func (CasePriorityOutput) ToCasePriorityOutput ¶ added in v0.13.0
func (o CasePriorityOutput) ToCasePriorityOutput() CasePriorityOutput
func (CasePriorityOutput) ToCasePriorityOutputWithContext ¶ added in v0.13.0
func (o CasePriorityOutput) ToCasePriorityOutputWithContext(ctx context.Context) CasePriorityOutput
func (CasePriorityOutput) ToCasePriorityPtrOutput ¶ added in v0.13.0
func (o CasePriorityOutput) ToCasePriorityPtrOutput() CasePriorityPtrOutput
func (CasePriorityOutput) ToCasePriorityPtrOutputWithContext ¶ added in v0.13.0
func (o CasePriorityOutput) ToCasePriorityPtrOutputWithContext(ctx context.Context) CasePriorityPtrOutput
func (CasePriorityOutput) ToStringOutput ¶ added in v0.13.0
func (o CasePriorityOutput) ToStringOutput() pulumi.StringOutput
func (CasePriorityOutput) ToStringOutputWithContext ¶ added in v0.13.0
func (o CasePriorityOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (CasePriorityOutput) ToStringPtrOutput ¶ added in v0.13.0
func (o CasePriorityOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (CasePriorityOutput) ToStringPtrOutputWithContext ¶ added in v0.13.0
func (o CasePriorityOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type CasePriorityPtrInput ¶ added in v0.13.0
type CasePriorityPtrInput interface { pulumi.Input ToCasePriorityPtrOutput() CasePriorityPtrOutput ToCasePriorityPtrOutputWithContext(context.Context) CasePriorityPtrOutput }
func CasePriorityPtr ¶ added in v0.13.0
func CasePriorityPtr(v string) CasePriorityPtrInput
type CasePriorityPtrOutput ¶ added in v0.13.0
type CasePriorityPtrOutput struct{ *pulumi.OutputState }
func (CasePriorityPtrOutput) Elem ¶ added in v0.13.0
func (o CasePriorityPtrOutput) Elem() CasePriorityOutput
func (CasePriorityPtrOutput) ElementType ¶ added in v0.13.0
func (CasePriorityPtrOutput) ElementType() reflect.Type
func (CasePriorityPtrOutput) ToCasePriorityPtrOutput ¶ added in v0.13.0
func (o CasePriorityPtrOutput) ToCasePriorityPtrOutput() CasePriorityPtrOutput
func (CasePriorityPtrOutput) ToCasePriorityPtrOutputWithContext ¶ added in v0.13.0
func (o CasePriorityPtrOutput) ToCasePriorityPtrOutputWithContext(ctx context.Context) CasePriorityPtrOutput
func (CasePriorityPtrOutput) ToStringPtrOutput ¶ added in v0.13.0
func (o CasePriorityPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (CasePriorityPtrOutput) ToStringPtrOutputWithContext ¶ added in v0.13.0
func (o CasePriorityPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type CaseSeverity ¶
type CaseSeverity string
REMOVED. The severity of this case. Use priority instead.
func (CaseSeverity) ElementType ¶
func (CaseSeverity) ElementType() reflect.Type
func (CaseSeverity) ToCaseSeverityOutput ¶
func (e CaseSeverity) ToCaseSeverityOutput() CaseSeverityOutput
func (CaseSeverity) ToCaseSeverityOutputWithContext ¶
func (e CaseSeverity) ToCaseSeverityOutputWithContext(ctx context.Context) CaseSeverityOutput
func (CaseSeverity) ToCaseSeverityPtrOutput ¶
func (e CaseSeverity) ToCaseSeverityPtrOutput() CaseSeverityPtrOutput
func (CaseSeverity) ToCaseSeverityPtrOutputWithContext ¶
func (e CaseSeverity) ToCaseSeverityPtrOutputWithContext(ctx context.Context) CaseSeverityPtrOutput
func (CaseSeverity) ToStringOutput ¶
func (e CaseSeverity) ToStringOutput() pulumi.StringOutput
func (CaseSeverity) ToStringOutputWithContext ¶
func (e CaseSeverity) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (CaseSeverity) ToStringPtrOutput ¶
func (e CaseSeverity) ToStringPtrOutput() pulumi.StringPtrOutput
func (CaseSeverity) ToStringPtrOutputWithContext ¶
func (e CaseSeverity) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type CaseSeverityInput ¶
type CaseSeverityInput interface { pulumi.Input ToCaseSeverityOutput() CaseSeverityOutput ToCaseSeverityOutputWithContext(context.Context) CaseSeverityOutput }
CaseSeverityInput is an input type that accepts CaseSeverityArgs and CaseSeverityOutput values. You can construct a concrete instance of `CaseSeverityInput` via:
CaseSeverityArgs{...}
type CaseSeverityOutput ¶
type CaseSeverityOutput struct{ *pulumi.OutputState }
func (CaseSeverityOutput) ElementType ¶
func (CaseSeverityOutput) ElementType() reflect.Type
func (CaseSeverityOutput) ToCaseSeverityOutput ¶
func (o CaseSeverityOutput) ToCaseSeverityOutput() CaseSeverityOutput
func (CaseSeverityOutput) ToCaseSeverityOutputWithContext ¶
func (o CaseSeverityOutput) ToCaseSeverityOutputWithContext(ctx context.Context) CaseSeverityOutput
func (CaseSeverityOutput) ToCaseSeverityPtrOutput ¶
func (o CaseSeverityOutput) ToCaseSeverityPtrOutput() CaseSeverityPtrOutput
func (CaseSeverityOutput) ToCaseSeverityPtrOutputWithContext ¶
func (o CaseSeverityOutput) ToCaseSeverityPtrOutputWithContext(ctx context.Context) CaseSeverityPtrOutput
func (CaseSeverityOutput) ToStringOutput ¶
func (o CaseSeverityOutput) ToStringOutput() pulumi.StringOutput
func (CaseSeverityOutput) ToStringOutputWithContext ¶
func (o CaseSeverityOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (CaseSeverityOutput) ToStringPtrOutput ¶
func (o CaseSeverityOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (CaseSeverityOutput) ToStringPtrOutputWithContext ¶
func (o CaseSeverityOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type CaseSeverityPtrInput ¶
type CaseSeverityPtrInput interface { pulumi.Input ToCaseSeverityPtrOutput() CaseSeverityPtrOutput ToCaseSeverityPtrOutputWithContext(context.Context) CaseSeverityPtrOutput }
func CaseSeverityPtr ¶
func CaseSeverityPtr(v string) CaseSeverityPtrInput
type CaseSeverityPtrOutput ¶
type CaseSeverityPtrOutput struct{ *pulumi.OutputState }
func (CaseSeverityPtrOutput) Elem ¶
func (o CaseSeverityPtrOutput) Elem() CaseSeverityOutput
func (CaseSeverityPtrOutput) ElementType ¶
func (CaseSeverityPtrOutput) ElementType() reflect.Type
func (CaseSeverityPtrOutput) ToCaseSeverityPtrOutput ¶
func (o CaseSeverityPtrOutput) ToCaseSeverityPtrOutput() CaseSeverityPtrOutput
func (CaseSeverityPtrOutput) ToCaseSeverityPtrOutputWithContext ¶
func (o CaseSeverityPtrOutput) ToCaseSeverityPtrOutputWithContext(ctx context.Context) CaseSeverityPtrOutput
func (CaseSeverityPtrOutput) ToStringPtrOutput ¶
func (o CaseSeverityPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (CaseSeverityPtrOutput) ToStringPtrOutputWithContext ¶
func (o CaseSeverityPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type LookupCaseArgs ¶
type LookupCaseOutputArgs ¶
type LookupCaseOutputArgs struct { CaseId pulumi.StringInput `pulumi:"caseId"` V2betaId1 pulumi.StringInput `pulumi:"v2betaId1"` V2betumId pulumi.StringInput `pulumi:"v2betumId"` }
func (LookupCaseOutputArgs) ElementType ¶
func (LookupCaseOutputArgs) ElementType() reflect.Type
type LookupCaseResult ¶
type LookupCaseResult struct { // The issue classification applicable to this case. Classification CaseClassificationResponse `pulumi:"classification"` // 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. ContactEmail string `pulumi:"contactEmail"` // The time this case was created. CreateTime string `pulumi:"createTime"` // The user who created the case. Note: The name and email will be obfuscated if the case was created by Google Support. Creator ActorResponse `pulumi:"creator"` // A broad description of the issue. Description string `pulumi:"description"` // The short summary of the issue reported in this case. DisplayName string `pulumi:"displayName"` // Whether the case is currently escalated. Escalated bool `pulumi:"escalated"` // 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 LanguageCode string `pulumi:"languageCode"` // The resource name for the case. Name string `pulumi:"name"` // The priority of this case. Priority string `pulumi:"priority"` // REMOVED. The severity of this case. Use priority instead. Severity string `pulumi:"severity"` // The current status of the support case. State string `pulumi:"state"` // The email addresses to receive updates on this case. SubscriberEmailAddresses []string `pulumi:"subscriberEmailAddresses"` // Whether this case was created for internal API testing and should not be acted on by the support team. TestCase bool `pulumi:"testCase"` // 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. TimeZone string `pulumi:"timeZone"` // The time this case was last updated. UpdateTime string `pulumi:"updateTime"` }
func LookupCase ¶
func LookupCase(ctx *pulumi.Context, args *LookupCaseArgs, opts ...pulumi.InvokeOption) (*LookupCaseResult, error)
Retrieve a case. EXAMPLES: cURL: ``` shell case="projects/some-project/cases/16033687" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$case" ``` Python: ``` python import googleapiclient.discovery api_version = "v2" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}", ) request = supportApiService.cases().get( name="projects/some-project/cases/43595344", ) print(request.execute()) ```
type LookupCaseResultOutput ¶
type LookupCaseResultOutput struct{ *pulumi.OutputState }
func LookupCaseOutput ¶
func LookupCaseOutput(ctx *pulumi.Context, args LookupCaseOutputArgs, opts ...pulumi.InvokeOption) LookupCaseResultOutput
func (LookupCaseResultOutput) Classification ¶
func (o LookupCaseResultOutput) Classification() CaseClassificationResponseOutput
The issue classification applicable to this case.
func (LookupCaseResultOutput) ContactEmail ¶ added in v0.29.0
func (o LookupCaseResultOutput) ContactEmail() pulumi.StringOutput
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.
func (LookupCaseResultOutput) CreateTime ¶
func (o LookupCaseResultOutput) CreateTime() pulumi.StringOutput
The time this case was created.
func (LookupCaseResultOutput) Creator ¶
func (o LookupCaseResultOutput) Creator() ActorResponseOutput
The user who created the case. Note: The name and email will be obfuscated if the case was created by Google Support.
func (LookupCaseResultOutput) Description ¶
func (o LookupCaseResultOutput) Description() pulumi.StringOutput
A broad description of the issue.
func (LookupCaseResultOutput) DisplayName ¶
func (o LookupCaseResultOutput) DisplayName() pulumi.StringOutput
The short summary of the issue reported in this case.
func (LookupCaseResultOutput) ElementType ¶
func (LookupCaseResultOutput) ElementType() reflect.Type
func (LookupCaseResultOutput) Escalated ¶
func (o LookupCaseResultOutput) Escalated() pulumi.BoolOutput
Whether the case is currently escalated.
func (LookupCaseResultOutput) LanguageCode ¶ added in v0.28.0
func (o LookupCaseResultOutput) LanguageCode() pulumi.StringOutput
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
func (LookupCaseResultOutput) Name ¶
func (o LookupCaseResultOutput) Name() pulumi.StringOutput
The resource name for the case.
func (LookupCaseResultOutput) Priority ¶ added in v0.13.0
func (o LookupCaseResultOutput) Priority() pulumi.StringOutput
The priority of this case.
func (LookupCaseResultOutput) Severity ¶
func (o LookupCaseResultOutput) Severity() pulumi.StringOutput
REMOVED. The severity of this case. Use priority instead.
func (LookupCaseResultOutput) State ¶
func (o LookupCaseResultOutput) State() pulumi.StringOutput
The current status of the support case.
func (LookupCaseResultOutput) SubscriberEmailAddresses ¶
func (o LookupCaseResultOutput) SubscriberEmailAddresses() pulumi.StringArrayOutput
The email addresses to receive updates on this case.
func (LookupCaseResultOutput) TestCase ¶
func (o LookupCaseResultOutput) TestCase() pulumi.BoolOutput
Whether this case was created for internal API testing and should not be acted on by the support team.
func (LookupCaseResultOutput) TimeZone ¶
func (o LookupCaseResultOutput) TimeZone() pulumi.StringOutput
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.
func (LookupCaseResultOutput) ToLookupCaseResultOutput ¶
func (o LookupCaseResultOutput) ToLookupCaseResultOutput() LookupCaseResultOutput
func (LookupCaseResultOutput) ToLookupCaseResultOutputWithContext ¶
func (o LookupCaseResultOutput) ToLookupCaseResultOutputWithContext(ctx context.Context) LookupCaseResultOutput
func (LookupCaseResultOutput) UpdateTime ¶
func (o LookupCaseResultOutput) UpdateTime() pulumi.StringOutput
The time this case was last updated.