@maxim_mazurok/gapi.client.cloudsupport-v2 0.1.20260318 → 0.2.20260318

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +71 -43
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -84,9 +84,15 @@ declare namespace gapi.client {
84
84
  /** Identifier. The resource name for the case. */
85
85
  name?: string;
86
86
  /** The priority of this case. */
87
- priority?: string;
87
+ priority?: 'PRIORITY_UNSPECIFIED' | 'P0' | 'P1' | 'P2' | 'P3' | 'P4';
88
88
  /** Output only. The current status of the support case. */
89
- state?: string;
89
+ state?:
90
+ | 'STATE_UNSPECIFIED'
91
+ | 'NEW'
92
+ | 'IN_PROGRESS_GOOGLE_SUPPORT'
93
+ | 'ACTION_REQUIRED'
94
+ | 'SOLUTION_PROVIDED'
95
+ | 'CLOSED';
90
96
  /** The email addresses to receive updates on this case. */
91
97
  subscriberEmailAddresses?: string[];
92
98
  /** Whether this case was created for internal API testing and should not be acted on by the support team. */
@@ -135,7 +141,12 @@ declare namespace gapi.client {
135
141
  /** # gdata.* are outside protos with mising documentation */
136
142
  path?: string;
137
143
  /** # gdata.* are outside protos with mising documentation */
138
- referenceType?: string;
144
+ referenceType?:
145
+ | 'PATH'
146
+ | 'BLOB_REF'
147
+ | 'INLINE'
148
+ | 'BIGSTORE_REF'
149
+ | 'COSMO_BINARY_REFERENCE';
139
150
  /** # gdata.* are outside protos with mising documentation */
140
151
  sha1Hash?: string;
141
152
  }
@@ -205,7 +216,11 @@ declare namespace gapi.client {
205
216
  /** Required. A free text description to accompany the `reason` field above. Provides additional context on why the case is being escalated. */
206
217
  justification?: string;
207
218
  /** Required. The reason why the Case is being escalated. */
208
- reason?: string;
219
+ reason?:
220
+ | 'REASON_UNSPECIFIED'
221
+ | 'RESOLUTION_TIME'
222
+ | 'TECHNICAL_EXPERTISE'
223
+ | 'BUSINESS_IMPACT';
209
224
  }
210
225
  interface ListAttachmentsResponse {
211
226
  /** The list of attachments associated with a case. */
@@ -277,7 +292,20 @@ declare namespace gapi.client {
277
292
  /** # gdata.* are outside protos with mising documentation */
278
293
  path?: string;
279
294
  /** # gdata.* are outside protos with mising documentation */
280
- referenceType?: string;
295
+ referenceType?:
296
+ | 'PATH'
297
+ | 'BLOB_REF'
298
+ | 'INLINE'
299
+ | 'GET_MEDIA'
300
+ | 'COMPOSITE_MEDIA'
301
+ | 'BIGSTORE_REF'
302
+ | 'DIFF_VERSION_RESPONSE'
303
+ | 'DIFF_CHECKSUMS_RESPONSE'
304
+ | 'DIFF_DOWNLOAD_RESPONSE'
305
+ | 'DIFF_UPLOAD_REQUEST'
306
+ | 'DIFF_UPLOAD_RESPONSE'
307
+ | 'COSMO_BINARY_REFERENCE'
308
+ | 'ARBITRARY_BYTES';
281
309
  /** # gdata.* are outside protos with mising documentation */
282
310
  sha1Hash?: string;
283
311
  /** # gdata.* are outside protos with mising documentation */
@@ -311,11 +339,11 @@ declare namespace gapi.client {
311
339
  /** Retrieve valid classifications to use when creating a support case. Classifications are hierarchical. Each classification is a string containing all levels of the hierarchy separated by `" > "`. For example, `"Technical Issue > Compute > Compute Engine"`. Classification IDs returned by this endpoint are valid for at least six months. When a classification is deactivated, this endpoint immediately stops returning it. After six months, `case.create` requests using the classification will fail. EXAMPLES: cURL: ```shell curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ 'https://cloudsupport.googleapis.com/v2/caseClassifications:search?query=display_name:"*Compute%20Engine*"' ``` Python: ```python import googleapiclient.discovery supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version="v2", discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version=v2", ) request = supportApiService.caseClassifications().search( query='display_name:"*Compute Engine*"' ) print(request.execute()) ``` */
312
340
  search(request?: {
313
341
  /** V1 error format. */
314
- '$.xgafv'?: string;
342
+ '$.xgafv'?: '1' | '2';
315
343
  /** OAuth access token. */
316
344
  access_token?: string;
317
345
  /** Data format for response. */
318
- alt?: string;
346
+ alt?: 'json' | 'media' | 'proto';
319
347
  /** JSONP */
320
348
  callback?: string;
321
349
  /** Selector specifying which fields to include in a partial response. */
@@ -344,11 +372,11 @@ declare namespace gapi.client {
344
372
  /** List all the attachments associated with a support case. EXAMPLES: cURL: ```shell case="projects/some-project/cases/23598314" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$case/attachments" ``` 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() .attachments() .list(parent="projects/some-project/cases/43595344") ) print(request.execute()) ``` */
345
373
  list(request?: {
346
374
  /** V1 error format. */
347
- '$.xgafv'?: string;
375
+ '$.xgafv'?: '1' | '2';
348
376
  /** OAuth access token. */
349
377
  access_token?: string;
350
378
  /** Data format for response. */
351
- alt?: string;
379
+ alt?: 'json' | 'media' | 'proto';
352
380
  /** JSONP */
353
381
  callback?: string;
354
382
  /** Selector specifying which fields to include in a partial response. */
@@ -377,11 +405,11 @@ declare namespace gapi.client {
377
405
  /** Add a new comment to a case. The comment must have the following fields set: `body`. EXAMPLES: cURL: ```shell case="projects/some-project/cases/43591344" curl \ --request POST \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ --header 'Content-Type: application/json' \ --data '{ "body": "This is a test comment." }' \ "https://cloudsupport.googleapis.com/v2/$case/comments" ``` 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() .comments() .create( parent="projects/some-project/cases/43595344", body={"body": "This is a test comment."}, ) ) print(request.execute()) ``` */
378
406
  create(request: {
379
407
  /** V1 error format. */
380
- '$.xgafv'?: string;
408
+ '$.xgafv'?: '1' | '2';
381
409
  /** OAuth access token. */
382
410
  access_token?: string;
383
411
  /** Data format for response. */
384
- alt?: string;
412
+ alt?: 'json' | 'media' | 'proto';
385
413
  /** JSONP */
386
414
  callback?: string;
387
415
  /** Selector specifying which fields to include in a partial response. */
@@ -406,11 +434,11 @@ declare namespace gapi.client {
406
434
  create(
407
435
  request: {
408
436
  /** V1 error format. */
409
- '$.xgafv'?: string;
437
+ '$.xgafv'?: '1' | '2';
410
438
  /** OAuth access token. */
411
439
  access_token?: string;
412
440
  /** Data format for response. */
413
- alt?: string;
441
+ alt?: 'json' | 'media' | 'proto';
414
442
  /** JSONP */
415
443
  callback?: string;
416
444
  /** Selector specifying which fields to include in a partial response. */
@@ -435,11 +463,11 @@ declare namespace gapi.client {
435
463
  /** List all the comments associated with a case. EXAMPLES: cURL: ```shell case="projects/some-project/cases/43595344" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$case/comments" ``` 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() .comments() .list(parent="projects/some-project/cases/43595344") ) print(request.execute()) ``` */
436
464
  list(request?: {
437
465
  /** V1 error format. */
438
- '$.xgafv'?: string;
466
+ '$.xgafv'?: '1' | '2';
439
467
  /** OAuth access token. */
440
468
  access_token?: string;
441
469
  /** Data format for response. */
442
- alt?: string;
470
+ alt?: 'json' | 'media' | 'proto';
443
471
  /** JSONP */
444
472
  callback?: string;
445
473
  /** Selector specifying which fields to include in a partial response. */
@@ -468,11 +496,11 @@ declare namespace gapi.client {
468
496
  /** Close a case. EXAMPLES: cURL: ```shell case="projects/some-project/cases/43595344" curl \ --request POST \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$case:close" ``` 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().close( name="projects/some-project/cases/43595344" ) print(request.execute()) ``` */
469
497
  close(request: {
470
498
  /** V1 error format. */
471
- '$.xgafv'?: string;
499
+ '$.xgafv'?: '1' | '2';
472
500
  /** OAuth access token. */
473
501
  access_token?: string;
474
502
  /** Data format for response. */
475
- alt?: string;
503
+ alt?: 'json' | 'media' | 'proto';
476
504
  /** JSONP */
477
505
  callback?: string;
478
506
  /** Selector specifying which fields to include in a partial response. */
@@ -497,11 +525,11 @@ declare namespace gapi.client {
497
525
  close(
498
526
  request: {
499
527
  /** V1 error format. */
500
- '$.xgafv'?: string;
528
+ '$.xgafv'?: '1' | '2';
501
529
  /** OAuth access token. */
502
530
  access_token?: string;
503
531
  /** Data format for response. */
504
- alt?: string;
532
+ alt?: 'json' | 'media' | 'proto';
505
533
  /** JSONP */
506
534
  callback?: string;
507
535
  /** Selector specifying which fields to include in a partial response. */
@@ -526,11 +554,11 @@ declare namespace gapi.client {
526
554
  /** 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()) ``` */
527
555
  create(request: {
528
556
  /** V1 error format. */
529
- '$.xgafv'?: string;
557
+ '$.xgafv'?: '1' | '2';
530
558
  /** OAuth access token. */
531
559
  access_token?: string;
532
560
  /** Data format for response. */
533
- alt?: string;
561
+ alt?: 'json' | 'media' | 'proto';
534
562
  /** JSONP */
535
563
  callback?: string;
536
564
  /** Selector specifying which fields to include in a partial response. */
@@ -555,11 +583,11 @@ declare namespace gapi.client {
555
583
  create(
556
584
  request: {
557
585
  /** V1 error format. */
558
- '$.xgafv'?: string;
586
+ '$.xgafv'?: '1' | '2';
559
587
  /** OAuth access token. */
560
588
  access_token?: string;
561
589
  /** Data format for response. */
562
- alt?: string;
590
+ alt?: 'json' | 'media' | 'proto';
563
591
  /** JSONP */
564
592
  callback?: string;
565
593
  /** Selector specifying which fields to include in a partial response. */
@@ -584,11 +612,11 @@ declare namespace gapi.client {
584
612
  /** Escalate a case, starting the Google Cloud Support escalation management process. This operation is only available for some support services. Go to https://cloud.google.com/support and look for 'Technical support escalations' in the feature list to find out which ones let you do that. EXAMPLES: cURL: ```shell case="projects/some-project/cases/43595344" curl \ --request POST \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ --header "Content-Type: application/json" \ --data '{ "escalation": { "reason": "BUSINESS_IMPACT", "justification": "This is a test escalation." } }' \ "https://cloudsupport.googleapis.com/v2/$case:escalate" ``` 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().escalate( name="projects/some-project/cases/43595344", body={ "escalation": { "reason": "BUSINESS_IMPACT", "justification": "This is a test escalation.", }, }, ) print(request.execute()) ``` */
585
613
  escalate(request: {
586
614
  /** V1 error format. */
587
- '$.xgafv'?: string;
615
+ '$.xgafv'?: '1' | '2';
588
616
  /** OAuth access token. */
589
617
  access_token?: string;
590
618
  /** Data format for response. */
591
- alt?: string;
619
+ alt?: 'json' | 'media' | 'proto';
592
620
  /** JSONP */
593
621
  callback?: string;
594
622
  /** Selector specifying which fields to include in a partial response. */
@@ -613,11 +641,11 @@ declare namespace gapi.client {
613
641
  escalate(
614
642
  request: {
615
643
  /** V1 error format. */
616
- '$.xgafv'?: string;
644
+ '$.xgafv'?: '1' | '2';
617
645
  /** OAuth access token. */
618
646
  access_token?: string;
619
647
  /** Data format for response. */
620
- alt?: string;
648
+ alt?: 'json' | 'media' | 'proto';
621
649
  /** JSONP */
622
650
  callback?: string;
623
651
  /** Selector specifying which fields to include in a partial response. */
@@ -642,11 +670,11 @@ declare namespace gapi.client {
642
670
  /** 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()) ``` */
643
671
  get(request?: {
644
672
  /** V1 error format. */
645
- '$.xgafv'?: string;
673
+ '$.xgafv'?: '1' | '2';
646
674
  /** OAuth access token. */
647
675
  access_token?: string;
648
676
  /** Data format for response. */
649
- alt?: string;
677
+ alt?: 'json' | 'media' | 'proto';
650
678
  /** JSONP */
651
679
  callback?: string;
652
680
  /** Selector specifying which fields to include in a partial response. */
@@ -669,11 +697,11 @@ declare namespace gapi.client {
669
697
  /** Retrieve all cases under a parent, but not its children. For example, listing cases under an organization only returns the cases that are directly parented by that organization. To retrieve cases under an organization and its projects, use `cases.search`. EXAMPLES: cURL: ```shell parent="projects/some-project" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "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().list(parent="projects/some-project") print(request.execute()) ``` */
670
698
  list(request?: {
671
699
  /** V1 error format. */
672
- '$.xgafv'?: string;
700
+ '$.xgafv'?: '1' | '2';
673
701
  /** OAuth access token. */
674
702
  access_token?: string;
675
703
  /** Data format for response. */
676
- alt?: string;
704
+ alt?: 'json' | 'media' | 'proto';
677
705
  /** JSONP */
678
706
  callback?: string;
679
707
  /** Selector specifying which fields to include in a partial response. */
@@ -702,11 +730,11 @@ declare namespace gapi.client {
702
730
  /** Update a case. Only some fields can be updated. EXAMPLES: cURL: ```shell case="projects/some-project/cases/43595344" curl \ --request PATCH \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ --header "Content-Type: application/json" \ --data '{ "priority": "P1" }' \ "https://cloudsupport.googleapis.com/v2/$case?updateMask=priority" ``` 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().patch( name="projects/some-project/cases/43112854", body={ "displayName": "This is Now a New Title", "priority": "P2", }, ) print(request.execute()) ``` */
703
731
  patch(request: {
704
732
  /** V1 error format. */
705
- '$.xgafv'?: string;
733
+ '$.xgafv'?: '1' | '2';
706
734
  /** OAuth access token. */
707
735
  access_token?: string;
708
736
  /** Data format for response. */
709
- alt?: string;
737
+ alt?: 'json' | 'media' | 'proto';
710
738
  /** JSONP */
711
739
  callback?: string;
712
740
  /** Selector specifying which fields to include in a partial response. */
@@ -733,11 +761,11 @@ declare namespace gapi.client {
733
761
  patch(
734
762
  request: {
735
763
  /** V1 error format. */
736
- '$.xgafv'?: string;
764
+ '$.xgafv'?: '1' | '2';
737
765
  /** OAuth access token. */
738
766
  access_token?: string;
739
767
  /** Data format for response. */
740
- alt?: string;
768
+ alt?: 'json' | 'media' | 'proto';
741
769
  /** JSONP */
742
770
  callback?: string;
743
771
  /** Selector specifying which fields to include in a partial response. */
@@ -764,11 +792,11 @@ declare namespace gapi.client {
764
792
  /** Search for cases using a query. EXAMPLES: cURL: ```shell parent="projects/some-project" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$parent/cases:search" ``` 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().search( parent="projects/some-project", query="state=OPEN" ) print(request.execute()) ``` */
765
793
  search(request?: {
766
794
  /** V1 error format. */
767
- '$.xgafv'?: string;
795
+ '$.xgafv'?: '1' | '2';
768
796
  /** OAuth access token. */
769
797
  access_token?: string;
770
798
  /** Data format for response. */
771
- alt?: string;
799
+ alt?: 'json' | 'media' | 'proto';
772
800
  /** JSONP */
773
801
  callback?: string;
774
802
  /** Selector specifying which fields to include in a partial response. */
@@ -801,11 +829,11 @@ declare namespace gapi.client {
801
829
  /** Download a file attached to a case. When this endpoint is called, no "response body" will be returned. Instead, the attachment's blob will be returned. Note: HTTP requests must append "?alt=media" to the URL. EXAMPLES: cURL: ```shell name="projects/some-project/cases/43594844/attachments/0674M00000WijAnZAJ" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$name:download?alt=media" ``` 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.media().download( name="projects/some-project/cases/43595344/attachments/0684M00000Pw6pHQAR" ) request.uri = request.uri.split("?")[0] + "?alt=media" print(request.execute()) ``` */
802
830
  download(request?: {
803
831
  /** V1 error format. */
804
- '$.xgafv'?: string;
832
+ '$.xgafv'?: '1' | '2';
805
833
  /** OAuth access token. */
806
834
  access_token?: string;
807
835
  /** Data format for response. */
808
- alt?: string;
836
+ alt?: 'json' | 'media' | 'proto';
809
837
  /** JSONP */
810
838
  callback?: string;
811
839
  /** Selector specifying which fields to include in a partial response. */
@@ -828,11 +856,11 @@ declare namespace gapi.client {
828
856
  /** Create a file attachment on a case or Cloud resource. The attachment must have the following fields set: `filename`. EXAMPLES: cURL: ```shell echo "This text is in a file I'm uploading using CSAPI." \ > "./example_file.txt" case="projects/some-project/cases/43594844" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ --data-binary @"./example_file.txt" \ "https://cloudsupport.googleapis.com/upload/v2beta/$case/attachments?attachment.filename=uploaded_via_curl.txt" ``` 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}", ) file_path = "./example_file.txt" with open(file_path, "w") as file: file.write( "This text is inside a file I'm going to upload using the Cloud Support API.", ) request = supportApiService.media().upload( parent="projects/some-project/cases/43595344", media_body=file_path ) request.uri = request.uri.split("?")[0] + "?attachment.filename=uploaded_via_python.txt" print(request.execute()) ``` */
829
857
  upload(request: {
830
858
  /** V1 error format. */
831
- '$.xgafv'?: string;
859
+ '$.xgafv'?: '1' | '2';
832
860
  /** OAuth access token. */
833
861
  access_token?: string;
834
862
  /** Data format for response. */
835
- alt?: string;
863
+ alt?: 'json' | 'media' | 'proto';
836
864
  /** JSONP */
837
865
  callback?: string;
838
866
  /** Selector specifying which fields to include in a partial response. */
@@ -857,11 +885,11 @@ declare namespace gapi.client {
857
885
  upload(
858
886
  request: {
859
887
  /** V1 error format. */
860
- '$.xgafv'?: string;
888
+ '$.xgafv'?: '1' | '2';
861
889
  /** OAuth access token. */
862
890
  access_token?: string;
863
891
  /** Data format for response. */
864
- alt?: string;
892
+ alt?: 'json' | 'media' | 'proto';
865
893
  /** JSONP */
866
894
  callback?: string;
867
895
  /** Selector specifying which fields to include in a partial response. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudsupport-v2",
3
- "version": "0.1.20260318",
3
+ "version": "0.2.20260318",
4
4
  "description": "TypeScript typings for Google Cloud Support API v2",
5
5
  "repository": {
6
6
  "type": "git",