@maxim_mazurok/gapi.client.appengine-v1alpha 0.2.20260316 → 0.2.20260529

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 (3) hide show
  1. package/index.d.ts +148 -100
  2. package/package.json +1 -1
  3. package/readme.md +17 -0
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://appengine.googleapis.com/$discovery/rest?version=v1alpha
12
- // Revision: 20260316
12
+ // Revision: 20260529
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -65,7 +65,7 @@ declare namespace gapi.client {
65
65
  /** The previous and current reasons for a container state will be sent for a container event. CLHs that need to know the signal that caused the container event to trigger (edges) as opposed to just knowing the state can act upon differences in the previous and current reasons.Reasons will be provided for every system: service management, data governance, abuse, and billing.If this is a CCFE-triggered event used for reconciliation then the current reasons will be set to their *_CONTROL_PLANE_SYNC state. The previous reasons will contain the last known set of non-unknown non-control_plane_sync reasons for the state. */
66
66
  previousReasons?: Reasons;
67
67
  /** The current state of the container. This state is the culmination of all of the opinions from external systems that CCFE knows about of the container. */
68
- state?: string;
68
+ state?: 'UNKNOWN_STATE' | 'ON' | 'OFF' | 'DELETED';
69
69
  }
70
70
  interface CreateVersionMetadataV1 {
71
71
  /** The Cloud Build ID if one was created as part of the version create. @OutputOnly */
@@ -160,7 +160,15 @@ declare namespace gapi.client {
160
160
  /** Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus.@OutputOnly */
161
161
  lastRenewalTime?: string;
162
162
  /** Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.@OutputOnly */
163
- status?: string;
163
+ status?:
164
+ | 'UNSPECIFIED_STATUS'
165
+ | 'OK'
166
+ | 'PENDING'
167
+ | 'FAILED_RETRYING_INTERNAL'
168
+ | 'FAILED_RETRYING_NOT_VISIBLE'
169
+ | 'FAILED_PERMANENTLY_NOT_VISIBLE'
170
+ | 'FAILED_RETRYING_CAA_FORBIDDEN'
171
+ | 'FAILED_RETRYING_CAA_CHECKING';
164
172
  }
165
173
  interface Operation {
166
174
  /** If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available. */
@@ -229,7 +237,10 @@ declare namespace gapi.client {
229
237
  /** The unique ID for this project event. CLHs can use this value to dedup repeated calls. required */
230
238
  eventId?: string;
231
239
  /** Phase indicates when in the container event propagation this event is being communicated. Events are sent before and after the per-resource events are propagated. required */
232
- phase?: string;
240
+ phase?:
241
+ | 'CONTAINER_EVENT_PHASE_UNSPECIFIED'
242
+ | 'BEFORE_RESOURCE_HANDLING'
243
+ | 'AFTER_RESOURCE_HANDLING';
233
244
  /** The projects metadata for this project. required */
234
245
  projectMetadata?: ProjectsMetadata;
235
246
  /** The state of the organization that led to this event. */
@@ -241,7 +252,7 @@ declare namespace gapi.client {
241
252
  /** The consumer project number. */
242
253
  consumerProjectNumber?: string;
243
254
  /** The CCFE state of the consumer project. It is the same state that is communicated to the CLH during project events. Notice that this field is not set in the DB, it is only set in this proto when communicated to CLH in the side channel. */
244
- consumerProjectState?: string;
255
+ consumerProjectState?: 'UNKNOWN_STATE' | 'ON' | 'OFF' | 'DELETED';
245
256
  /** The GCE tags associated with the consumer project and those inherited due to their ancestry, if any. Not supported by CCFE. */
246
257
  gceTag?: GceTag[];
247
258
  /** DEPRECATED: Indicates whether the GCE project is in the DEPROVISIONING state. This field is a temporary workaround (see b/475310865) to allow GCE extensions to bypass certain checks during deprovisioning. It will be replaced by a permanent solution in the future. */
@@ -258,12 +269,37 @@ declare namespace gapi.client {
258
269
  tenantProjectNumber?: string;
259
270
  }
260
271
  interface Reasons {
261
- abuse?: string;
262
- billing?: string;
263
- dataGovernance?: string;
272
+ abuse?:
273
+ | 'ABUSE_UNKNOWN_REASON'
274
+ | 'ABUSE_CONTROL_PLANE_SYNC'
275
+ | 'SUSPEND'
276
+ | 'REINSTATE';
277
+ billing?:
278
+ | 'BILLING_UNKNOWN_REASON'
279
+ | 'BILLING_CONTROL_PLANE_SYNC'
280
+ | 'PROBATION'
281
+ | 'CLOSE'
282
+ | 'OPEN';
283
+ dataGovernance?:
284
+ | 'DATA_GOVERNANCE_UNKNOWN_REASON'
285
+ | 'DATA_GOVERNANCE_CONTROL_PLANE_SYNC'
286
+ | 'HIDE'
287
+ | 'UNHIDE'
288
+ | 'PURGE';
264
289
  /** Consumer Container denotes if the service is active within a project or not. This information could be used to clean up resources in case service in DISABLED_FULL i.e. Service is inactive > 30 days. */
265
- serviceActivation?: string;
266
- serviceManagement?: string;
290
+ serviceActivation?:
291
+ | 'SERVICE_ACTIVATION_STATUS_UNSPECIFIED'
292
+ | 'SERVICE_ACTIVATION_ENABLED'
293
+ | 'SERVICE_ACTIVATION_DISABLED'
294
+ | 'SERVICE_ACTIVATION_DISABLED_FULL'
295
+ | 'SERVICE_ACTIVATION_UNKNOWN_REASON';
296
+ serviceManagement?:
297
+ | 'SERVICE_MANAGEMENT_UNKNOWN_REASON'
298
+ | 'SERVICE_MANAGEMENT_CONTROL_PLANE_SYNC'
299
+ | 'ACTIVATION'
300
+ | 'PREPARE_DEACTIVATION'
301
+ | 'ABORT_DEACTIVATION'
302
+ | 'COMMIT_DEACTIVATION';
267
303
  }
268
304
  interface ResourceEvent {
269
305
  /** The unique ID for this per-resource event. CLHs can use this value to dedup repeated calls. required */
@@ -279,7 +315,7 @@ declare namespace gapi.client {
279
315
  /** Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1). */
280
316
  rrdata?: string;
281
317
  /** Resource record type. Example: AAAA. */
282
- type?: string;
318
+ type?: 'A' | 'AAAA' | 'CNAME';
283
319
  }
284
320
  interface SslSettings {
285
321
  /** ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support.By default, a managed certificate is automatically created for every domain mapping. To omit SSL support or to configure SSL manually, specify no_managed_certificate on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345. */
@@ -291,7 +327,7 @@ declare namespace gapi.client {
291
327
  /** The status code, which should be an enum value of google.rpc.Code. */
292
328
  code?: number;
293
329
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
294
- details?: Array<{[P in string]: any}>;
330
+ details?: {[P in string]: any}[];
295
331
  /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
296
332
  message?: string;
297
333
  }
@@ -299,11 +335,11 @@ declare namespace gapi.client {
299
335
  /** Uploads the specified SSL certificate. */
300
336
  create(request: {
301
337
  /** V1 error format. */
302
- '$.xgafv'?: string;
338
+ '$.xgafv'?: '1' | '2';
303
339
  /** OAuth access token. */
304
340
  access_token?: string;
305
341
  /** Data format for response. */
306
- alt?: string;
342
+ alt?: 'json' | 'media' | 'proto';
307
343
  /** Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. */
308
344
  appsId: string;
309
345
  /** JSONP */
@@ -328,11 +364,11 @@ declare namespace gapi.client {
328
364
  create(
329
365
  request: {
330
366
  /** V1 error format. */
331
- '$.xgafv'?: string;
367
+ '$.xgafv'?: '1' | '2';
332
368
  /** OAuth access token. */
333
369
  access_token?: string;
334
370
  /** Data format for response. */
335
- alt?: string;
371
+ alt?: 'json' | 'media' | 'proto';
336
372
  /** Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. */
337
373
  appsId: string;
338
374
  /** JSONP */
@@ -357,11 +393,11 @@ declare namespace gapi.client {
357
393
  /** Deletes the specified SSL certificate. */
358
394
  delete(request?: {
359
395
  /** V1 error format. */
360
- '$.xgafv'?: string;
396
+ '$.xgafv'?: '1' | '2';
361
397
  /** OAuth access token. */
362
398
  access_token?: string;
363
399
  /** Data format for response. */
364
- alt?: string;
400
+ alt?: 'json' | 'media' | 'proto';
365
401
  /** Part of `name`. Required. Name of the resource to delete. Example: apps/myapp/authorizedCertificates/12345. */
366
402
  appsId: string;
367
403
  /** Part of `name`. See documentation of `appsId`. */
@@ -386,11 +422,11 @@ declare namespace gapi.client {
386
422
  /** Gets the specified SSL certificate. */
387
423
  get(request?: {
388
424
  /** V1 error format. */
389
- '$.xgafv'?: string;
425
+ '$.xgafv'?: '1' | '2';
390
426
  /** OAuth access token. */
391
427
  access_token?: string;
392
428
  /** Data format for response. */
393
- alt?: string;
429
+ alt?: 'json' | 'media' | 'proto';
394
430
  /** Part of `name`. Required. Name of the resource requested. Example: apps/myapp/authorizedCertificates/12345. */
395
431
  appsId: string;
396
432
  /** Part of `name`. See documentation of `appsId`. */
@@ -412,16 +448,16 @@ declare namespace gapi.client {
412
448
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
413
449
  uploadType?: string;
414
450
  /** Controls the set of fields returned in the GET response. */
415
- view?: string;
451
+ view?: 'BASIC_CERTIFICATE' | 'FULL_CERTIFICATE';
416
452
  }): Request<AuthorizedCertificate>;
417
453
  /** Lists all SSL certificates the user is authorized to administer. */
418
454
  list(request?: {
419
455
  /** V1 error format. */
420
- '$.xgafv'?: string;
456
+ '$.xgafv'?: '1' | '2';
421
457
  /** OAuth access token. */
422
458
  access_token?: string;
423
459
  /** Data format for response. */
424
- alt?: string;
460
+ alt?: 'json' | 'media' | 'proto';
425
461
  /** Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. */
426
462
  appsId: string;
427
463
  /** JSONP */
@@ -445,16 +481,16 @@ declare namespace gapi.client {
445
481
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
446
482
  uploadType?: string;
447
483
  /** Controls the set of fields returned in the LIST response. */
448
- view?: string;
484
+ view?: 'BASIC_CERTIFICATE' | 'FULL_CERTIFICATE';
449
485
  }): Request<ListAuthorizedCertificatesResponse>;
450
486
  /** Updates the specified SSL certificate. To renew a certificate and maintain its existing domain mappings, update certificate_data with a new certificate. The new certificate must be applicable to the same domains as the original certificate. The certificate display_name may also be updated. */
451
487
  patch(request: {
452
488
  /** V1 error format. */
453
- '$.xgafv'?: string;
489
+ '$.xgafv'?: '1' | '2';
454
490
  /** OAuth access token. */
455
491
  access_token?: string;
456
492
  /** Data format for response. */
457
- alt?: string;
493
+ alt?: 'json' | 'media' | 'proto';
458
494
  /** Part of `name`. Required. Name of the resource to update. Example: apps/myapp/authorizedCertificates/12345. */
459
495
  appsId: string;
460
496
  /** Part of `name`. See documentation of `appsId`. */
@@ -483,11 +519,11 @@ declare namespace gapi.client {
483
519
  patch(
484
520
  request: {
485
521
  /** V1 error format. */
486
- '$.xgafv'?: string;
522
+ '$.xgafv'?: '1' | '2';
487
523
  /** OAuth access token. */
488
524
  access_token?: string;
489
525
  /** Data format for response. */
490
- alt?: string;
526
+ alt?: 'json' | 'media' | 'proto';
491
527
  /** Part of `name`. Required. Name of the resource to update. Example: apps/myapp/authorizedCertificates/12345. */
492
528
  appsId: string;
493
529
  /** Part of `name`. See documentation of `appsId`. */
@@ -518,11 +554,11 @@ declare namespace gapi.client {
518
554
  /** Lists all domains the user is authorized to administer. */
519
555
  list(request?: {
520
556
  /** V1 error format. */
521
- '$.xgafv'?: string;
557
+ '$.xgafv'?: '1' | '2';
522
558
  /** OAuth access token. */
523
559
  access_token?: string;
524
560
  /** Data format for response. */
525
- alt?: string;
561
+ alt?: 'json' | 'media' | 'proto';
526
562
  /** Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. */
527
563
  appsId: string;
528
564
  /** JSONP */
@@ -551,11 +587,11 @@ declare namespace gapi.client {
551
587
  /** Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains. */
552
588
  create(request: {
553
589
  /** V1 error format. */
554
- '$.xgafv'?: string;
590
+ '$.xgafv'?: '1' | '2';
555
591
  /** OAuth access token. */
556
592
  access_token?: string;
557
593
  /** Data format for response. */
558
- alt?: string;
594
+ alt?: 'json' | 'media' | 'proto';
559
595
  /** Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. */
560
596
  appsId: string;
561
597
  /** JSONP */
@@ -569,7 +605,10 @@ declare namespace gapi.client {
569
605
  /** OAuth 2.0 token for the current user. */
570
606
  oauth_token?: string;
571
607
  /** Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected. */
572
- overrideStrategy?: string;
608
+ overrideStrategy?:
609
+ | 'UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY'
610
+ | 'STRICT'
611
+ | 'OVERRIDE';
573
612
  /** Returns response with indentations and line breaks. */
574
613
  prettyPrint?: boolean;
575
614
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
@@ -584,11 +623,11 @@ declare namespace gapi.client {
584
623
  create(
585
624
  request: {
586
625
  /** V1 error format. */
587
- '$.xgafv'?: string;
626
+ '$.xgafv'?: '1' | '2';
588
627
  /** OAuth access token. */
589
628
  access_token?: string;
590
629
  /** Data format for response. */
591
- alt?: string;
630
+ alt?: 'json' | 'media' | 'proto';
592
631
  /** Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. */
593
632
  appsId: string;
594
633
  /** JSONP */
@@ -602,7 +641,10 @@ declare namespace gapi.client {
602
641
  /** OAuth 2.0 token for the current user. */
603
642
  oauth_token?: string;
604
643
  /** Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected. */
605
- overrideStrategy?: string;
644
+ overrideStrategy?:
645
+ | 'UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY'
646
+ | 'STRICT'
647
+ | 'OVERRIDE';
606
648
  /** Returns response with indentations and line breaks. */
607
649
  prettyPrint?: boolean;
608
650
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
@@ -617,11 +659,11 @@ declare namespace gapi.client {
617
659
  /** Deletes the specified domain mapping. A user must be authorized to administer the associated domain in order to delete a DomainMapping resource. */
618
660
  delete(request?: {
619
661
  /** V1 error format. */
620
- '$.xgafv'?: string;
662
+ '$.xgafv'?: '1' | '2';
621
663
  /** OAuth access token. */
622
664
  access_token?: string;
623
665
  /** Data format for response. */
624
- alt?: string;
666
+ alt?: 'json' | 'media' | 'proto';
625
667
  /** Part of `name`. Required. Name of the resource to delete. Example: apps/myapp/domainMappings/example.com. */
626
668
  appsId: string;
627
669
  /** JSONP */
@@ -646,11 +688,11 @@ declare namespace gapi.client {
646
688
  /** Gets the specified domain mapping. */
647
689
  get(request?: {
648
690
  /** V1 error format. */
649
- '$.xgafv'?: string;
691
+ '$.xgafv'?: '1' | '2';
650
692
  /** OAuth access token. */
651
693
  access_token?: string;
652
694
  /** Data format for response. */
653
- alt?: string;
695
+ alt?: 'json' | 'media' | 'proto';
654
696
  /** Part of `name`. Required. Name of the resource requested. Example: apps/myapp/domainMappings/example.com. */
655
697
  appsId: string;
656
698
  /** JSONP */
@@ -675,11 +717,11 @@ declare namespace gapi.client {
675
717
  /** Lists the domain mappings on an application. */
676
718
  list(request?: {
677
719
  /** V1 error format. */
678
- '$.xgafv'?: string;
720
+ '$.xgafv'?: '1' | '2';
679
721
  /** OAuth access token. */
680
722
  access_token?: string;
681
723
  /** Data format for response. */
682
- alt?: string;
724
+ alt?: 'json' | 'media' | 'proto';
683
725
  /** Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. */
684
726
  appsId: string;
685
727
  /** JSONP */
@@ -706,11 +748,11 @@ declare namespace gapi.client {
706
748
  /** Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update certificate_id to point to an AuthorizedCertificate resource. A user must be authorized to administer the associated domain in order to update a DomainMapping resource. */
707
749
  patch(request: {
708
750
  /** V1 error format. */
709
- '$.xgafv'?: string;
751
+ '$.xgafv'?: '1' | '2';
710
752
  /** OAuth access token. */
711
753
  access_token?: string;
712
754
  /** Data format for response. */
713
- alt?: string;
755
+ alt?: 'json' | 'media' | 'proto';
714
756
  /** Part of `name`. Required. Name of the resource to update. Example: apps/myapp/domainMappings/example.com. */
715
757
  appsId: string;
716
758
  /** JSONP */
@@ -741,11 +783,11 @@ declare namespace gapi.client {
741
783
  patch(
742
784
  request: {
743
785
  /** V1 error format. */
744
- '$.xgafv'?: string;
786
+ '$.xgafv'?: '1' | '2';
745
787
  /** OAuth access token. */
746
788
  access_token?: string;
747
789
  /** Data format for response. */
748
- alt?: string;
790
+ alt?: 'json' | 'media' | 'proto';
749
791
  /** Part of `name`. Required. Name of the resource to update. Example: apps/myapp/domainMappings/example.com. */
750
792
  appsId: string;
751
793
  /** JSONP */
@@ -778,11 +820,11 @@ declare namespace gapi.client {
778
820
  /** Gets information about a location. */
779
821
  get(request?: {
780
822
  /** V1 error format. */
781
- '$.xgafv'?: string;
823
+ '$.xgafv'?: '1' | '2';
782
824
  /** OAuth access token. */
783
825
  access_token?: string;
784
826
  /** Data format for response. */
785
- alt?: string;
827
+ alt?: 'json' | 'media' | 'proto';
786
828
  /** Part of `name`. Resource name for the location. */
787
829
  appsId: string;
788
830
  /** JSONP */
@@ -804,19 +846,19 @@ declare namespace gapi.client {
804
846
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
805
847
  uploadType?: string;
806
848
  }): Request<Location>;
807
- /** Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project. */
849
+ /** Lists information about the supported locations for this service.This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: Global locations: If name is empty, the method lists the public locations available to all projects. Project-specific locations: If name follows the format projects/{project}, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project.For gRPC and client library implementations, the resource name is passed as the name field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. */
808
850
  list(request?: {
809
851
  /** V1 error format. */
810
- '$.xgafv'?: string;
852
+ '$.xgafv'?: '1' | '2';
811
853
  /** OAuth access token. */
812
854
  access_token?: string;
813
855
  /** Data format for response. */
814
- alt?: string;
856
+ alt?: 'json' | 'media' | 'proto';
815
857
  /** Part of `name`. The resource that owns the locations collection, if applicable. */
816
858
  appsId: string;
817
859
  /** JSONP */
818
860
  callback?: string;
819
- /** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */
861
+ /** Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */
820
862
  extraLocationTypes?: string | string[];
821
863
  /** Selector specifying which fields to include in a partial response. */
822
864
  fields?: string;
@@ -844,11 +886,11 @@ declare namespace gapi.client {
844
886
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
845
887
  get(request?: {
846
888
  /** V1 error format. */
847
- '$.xgafv'?: string;
889
+ '$.xgafv'?: '1' | '2';
848
890
  /** OAuth access token. */
849
891
  access_token?: string;
850
892
  /** Data format for response. */
851
- alt?: string;
893
+ alt?: 'json' | 'media' | 'proto';
852
894
  /** Part of `name`. The name of the operation resource. */
853
895
  appsId: string;
854
896
  /** JSONP */
@@ -873,11 +915,11 @@ declare namespace gapi.client {
873
915
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. */
874
916
  list(request?: {
875
917
  /** V1 error format. */
876
- '$.xgafv'?: string;
918
+ '$.xgafv'?: '1' | '2';
877
919
  /** OAuth access token. */
878
920
  access_token?: string;
879
921
  /** Data format for response. */
880
- alt?: string;
922
+ alt?: 'json' | 'media' | 'proto';
881
923
  /** Part of `name`. The name of the operation's parent resource. */
882
924
  appsId: string;
883
925
  /** JSONP */
@@ -917,11 +959,11 @@ declare namespace gapi.client {
917
959
  /** Uploads the specified SSL certificate. */
918
960
  create(request: {
919
961
  /** V1 error format. */
920
- '$.xgafv'?: string;
962
+ '$.xgafv'?: '1' | '2';
921
963
  /** OAuth access token. */
922
964
  access_token?: string;
923
965
  /** Data format for response. */
924
- alt?: string;
966
+ alt?: 'json' | 'media' | 'proto';
925
967
  /** Part of `parent`. See documentation of `projectsId`. */
926
968
  applicationsId: string;
927
969
  /** JSONP */
@@ -950,11 +992,11 @@ declare namespace gapi.client {
950
992
  create(
951
993
  request: {
952
994
  /** V1 error format. */
953
- '$.xgafv'?: string;
995
+ '$.xgafv'?: '1' | '2';
954
996
  /** OAuth access token. */
955
997
  access_token?: string;
956
998
  /** Data format for response. */
957
- alt?: string;
999
+ alt?: 'json' | 'media' | 'proto';
958
1000
  /** Part of `parent`. See documentation of `projectsId`. */
959
1001
  applicationsId: string;
960
1002
  /** JSONP */
@@ -983,11 +1025,11 @@ declare namespace gapi.client {
983
1025
  /** Deletes the specified SSL certificate. */
984
1026
  delete(request?: {
985
1027
  /** V1 error format. */
986
- '$.xgafv'?: string;
1028
+ '$.xgafv'?: '1' | '2';
987
1029
  /** OAuth access token. */
988
1030
  access_token?: string;
989
1031
  /** Data format for response. */
990
- alt?: string;
1032
+ alt?: 'json' | 'media' | 'proto';
991
1033
  /** Part of `name`. See documentation of `projectsId`. */
992
1034
  applicationsId: string;
993
1035
  /** Part of `name`. See documentation of `projectsId`. */
@@ -1016,11 +1058,11 @@ declare namespace gapi.client {
1016
1058
  /** Gets the specified SSL certificate. */
1017
1059
  get(request?: {
1018
1060
  /** V1 error format. */
1019
- '$.xgafv'?: string;
1061
+ '$.xgafv'?: '1' | '2';
1020
1062
  /** OAuth access token. */
1021
1063
  access_token?: string;
1022
1064
  /** Data format for response. */
1023
- alt?: string;
1065
+ alt?: 'json' | 'media' | 'proto';
1024
1066
  /** Part of `name`. See documentation of `projectsId`. */
1025
1067
  applicationsId: string;
1026
1068
  /** Part of `name`. See documentation of `projectsId`. */
@@ -1046,16 +1088,16 @@ declare namespace gapi.client {
1046
1088
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1047
1089
  uploadType?: string;
1048
1090
  /** Controls the set of fields returned in the GET response. */
1049
- view?: string;
1091
+ view?: 'BASIC_CERTIFICATE' | 'FULL_CERTIFICATE';
1050
1092
  }): Request<AuthorizedCertificate>;
1051
1093
  /** Lists all SSL certificates the user is authorized to administer. */
1052
1094
  list(request?: {
1053
1095
  /** V1 error format. */
1054
- '$.xgafv'?: string;
1096
+ '$.xgafv'?: '1' | '2';
1055
1097
  /** OAuth access token. */
1056
1098
  access_token?: string;
1057
1099
  /** Data format for response. */
1058
- alt?: string;
1100
+ alt?: 'json' | 'media' | 'proto';
1059
1101
  /** Part of `parent`. See documentation of `projectsId`. */
1060
1102
  applicationsId: string;
1061
1103
  /** JSONP */
@@ -1083,16 +1125,16 @@ declare namespace gapi.client {
1083
1125
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1084
1126
  uploadType?: string;
1085
1127
  /** Controls the set of fields returned in the LIST response. */
1086
- view?: string;
1128
+ view?: 'BASIC_CERTIFICATE' | 'FULL_CERTIFICATE';
1087
1129
  }): Request<ListAuthorizedCertificatesResponse>;
1088
1130
  /** Updates the specified SSL certificate. To renew a certificate and maintain its existing domain mappings, update certificate_data with a new certificate. The new certificate must be applicable to the same domains as the original certificate. The certificate display_name may also be updated. */
1089
1131
  patch(request: {
1090
1132
  /** V1 error format. */
1091
- '$.xgafv'?: string;
1133
+ '$.xgafv'?: '1' | '2';
1092
1134
  /** OAuth access token. */
1093
1135
  access_token?: string;
1094
1136
  /** Data format for response. */
1095
- alt?: string;
1137
+ alt?: 'json' | 'media' | 'proto';
1096
1138
  /** Part of `name`. See documentation of `projectsId`. */
1097
1139
  applicationsId: string;
1098
1140
  /** Part of `name`. See documentation of `projectsId`. */
@@ -1125,11 +1167,11 @@ declare namespace gapi.client {
1125
1167
  patch(
1126
1168
  request: {
1127
1169
  /** V1 error format. */
1128
- '$.xgafv'?: string;
1170
+ '$.xgafv'?: '1' | '2';
1129
1171
  /** OAuth access token. */
1130
1172
  access_token?: string;
1131
1173
  /** Data format for response. */
1132
- alt?: string;
1174
+ alt?: 'json' | 'media' | 'proto';
1133
1175
  /** Part of `name`. See documentation of `projectsId`. */
1134
1176
  applicationsId: string;
1135
1177
  /** Part of `name`. See documentation of `projectsId`. */
@@ -1164,11 +1206,11 @@ declare namespace gapi.client {
1164
1206
  /** Lists all domains the user is authorized to administer. */
1165
1207
  list(request?: {
1166
1208
  /** V1 error format. */
1167
- '$.xgafv'?: string;
1209
+ '$.xgafv'?: '1' | '2';
1168
1210
  /** OAuth access token. */
1169
1211
  access_token?: string;
1170
1212
  /** Data format for response. */
1171
- alt?: string;
1213
+ alt?: 'json' | 'media' | 'proto';
1172
1214
  /** Part of `parent`. See documentation of `projectsId`. */
1173
1215
  applicationsId: string;
1174
1216
  /** JSONP */
@@ -1201,11 +1243,11 @@ declare namespace gapi.client {
1201
1243
  /** Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains. */
1202
1244
  create(request: {
1203
1245
  /** V1 error format. */
1204
- '$.xgafv'?: string;
1246
+ '$.xgafv'?: '1' | '2';
1205
1247
  /** OAuth access token. */
1206
1248
  access_token?: string;
1207
1249
  /** Data format for response. */
1208
- alt?: string;
1250
+ alt?: 'json' | 'media' | 'proto';
1209
1251
  /** Part of `parent`. See documentation of `projectsId`. */
1210
1252
  applicationsId: string;
1211
1253
  /** JSONP */
@@ -1221,7 +1263,10 @@ declare namespace gapi.client {
1221
1263
  /** OAuth 2.0 token for the current user. */
1222
1264
  oauth_token?: string;
1223
1265
  /** Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected. */
1224
- overrideStrategy?: string;
1266
+ overrideStrategy?:
1267
+ | 'UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY'
1268
+ | 'STRICT'
1269
+ | 'OVERRIDE';
1225
1270
  /** Returns response with indentations and line breaks. */
1226
1271
  prettyPrint?: boolean;
1227
1272
  /** Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. */
@@ -1238,11 +1283,11 @@ declare namespace gapi.client {
1238
1283
  create(
1239
1284
  request: {
1240
1285
  /** V1 error format. */
1241
- '$.xgafv'?: string;
1286
+ '$.xgafv'?: '1' | '2';
1242
1287
  /** OAuth access token. */
1243
1288
  access_token?: string;
1244
1289
  /** Data format for response. */
1245
- alt?: string;
1290
+ alt?: 'json' | 'media' | 'proto';
1246
1291
  /** Part of `parent`. See documentation of `projectsId`. */
1247
1292
  applicationsId: string;
1248
1293
  /** JSONP */
@@ -1258,7 +1303,10 @@ declare namespace gapi.client {
1258
1303
  /** OAuth 2.0 token for the current user. */
1259
1304
  oauth_token?: string;
1260
1305
  /** Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected. */
1261
- overrideStrategy?: string;
1306
+ overrideStrategy?:
1307
+ | 'UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY'
1308
+ | 'STRICT'
1309
+ | 'OVERRIDE';
1262
1310
  /** Returns response with indentations and line breaks. */
1263
1311
  prettyPrint?: boolean;
1264
1312
  /** Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. */
@@ -1275,11 +1323,11 @@ declare namespace gapi.client {
1275
1323
  /** Deletes the specified domain mapping. A user must be authorized to administer the associated domain in order to delete a DomainMapping resource. */
1276
1324
  delete(request?: {
1277
1325
  /** V1 error format. */
1278
- '$.xgafv'?: string;
1326
+ '$.xgafv'?: '1' | '2';
1279
1327
  /** OAuth access token. */
1280
1328
  access_token?: string;
1281
1329
  /** Data format for response. */
1282
- alt?: string;
1330
+ alt?: 'json' | 'media' | 'proto';
1283
1331
  /** Part of `name`. See documentation of `projectsId`. */
1284
1332
  applicationsId: string;
1285
1333
  /** JSONP */
@@ -1308,11 +1356,11 @@ declare namespace gapi.client {
1308
1356
  /** Gets the specified domain mapping. */
1309
1357
  get(request?: {
1310
1358
  /** V1 error format. */
1311
- '$.xgafv'?: string;
1359
+ '$.xgafv'?: '1' | '2';
1312
1360
  /** OAuth access token. */
1313
1361
  access_token?: string;
1314
1362
  /** Data format for response. */
1315
- alt?: string;
1363
+ alt?: 'json' | 'media' | 'proto';
1316
1364
  /** Part of `name`. See documentation of `projectsId`. */
1317
1365
  applicationsId: string;
1318
1366
  /** JSONP */
@@ -1341,11 +1389,11 @@ declare namespace gapi.client {
1341
1389
  /** Lists the domain mappings on an application. */
1342
1390
  list(request?: {
1343
1391
  /** V1 error format. */
1344
- '$.xgafv'?: string;
1392
+ '$.xgafv'?: '1' | '2';
1345
1393
  /** OAuth access token. */
1346
1394
  access_token?: string;
1347
1395
  /** Data format for response. */
1348
- alt?: string;
1396
+ alt?: 'json' | 'media' | 'proto';
1349
1397
  /** Part of `parent`. See documentation of `projectsId`. */
1350
1398
  applicationsId: string;
1351
1399
  /** JSONP */
@@ -1376,11 +1424,11 @@ declare namespace gapi.client {
1376
1424
  /** Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update certificate_id to point to an AuthorizedCertificate resource. A user must be authorized to administer the associated domain in order to update a DomainMapping resource. */
1377
1425
  patch(request: {
1378
1426
  /** V1 error format. */
1379
- '$.xgafv'?: string;
1427
+ '$.xgafv'?: '1' | '2';
1380
1428
  /** OAuth access token. */
1381
1429
  access_token?: string;
1382
1430
  /** Data format for response. */
1383
- alt?: string;
1431
+ alt?: 'json' | 'media' | 'proto';
1384
1432
  /** Part of `name`. See documentation of `projectsId`. */
1385
1433
  applicationsId: string;
1386
1434
  /** JSONP */
@@ -1415,11 +1463,11 @@ declare namespace gapi.client {
1415
1463
  patch(
1416
1464
  request: {
1417
1465
  /** V1 error format. */
1418
- '$.xgafv'?: string;
1466
+ '$.xgafv'?: '1' | '2';
1419
1467
  /** OAuth access token. */
1420
1468
  access_token?: string;
1421
1469
  /** Data format for response. */
1422
- alt?: string;
1470
+ alt?: 'json' | 'media' | 'proto';
1423
1471
  /** Part of `name`. See documentation of `projectsId`. */
1424
1472
  applicationsId: string;
1425
1473
  /** JSONP */
@@ -1461,11 +1509,11 @@ declare namespace gapi.client {
1461
1509
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
1462
1510
  get(request?: {
1463
1511
  /** V1 error format. */
1464
- '$.xgafv'?: string;
1512
+ '$.xgafv'?: '1' | '2';
1465
1513
  /** OAuth access token. */
1466
1514
  access_token?: string;
1467
1515
  /** Data format for response. */
1468
- alt?: string;
1516
+ alt?: 'json' | 'media' | 'proto';
1469
1517
  /** JSONP */
1470
1518
  callback?: string;
1471
1519
  /** Selector specifying which fields to include in a partial response. */
@@ -1492,11 +1540,11 @@ declare namespace gapi.client {
1492
1540
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. */
1493
1541
  list(request?: {
1494
1542
  /** V1 error format. */
1495
- '$.xgafv'?: string;
1543
+ '$.xgafv'?: '1' | '2';
1496
1544
  /** OAuth access token. */
1497
1545
  access_token?: string;
1498
1546
  /** Data format for response. */
1499
- alt?: string;
1547
+ alt?: 'json' | 'media' | 'proto';
1500
1548
  /** JSONP */
1501
1549
  callback?: string;
1502
1550
  /** Selector specifying which fields to include in a partial response. */
@@ -1531,11 +1579,11 @@ declare namespace gapi.client {
1531
1579
  /** Gets information about a location. */
1532
1580
  get(request?: {
1533
1581
  /** V1 error format. */
1534
- '$.xgafv'?: string;
1582
+ '$.xgafv'?: '1' | '2';
1535
1583
  /** OAuth access token. */
1536
1584
  access_token?: string;
1537
1585
  /** Data format for response. */
1538
- alt?: string;
1586
+ alt?: 'json' | 'media' | 'proto';
1539
1587
  /** JSONP */
1540
1588
  callback?: string;
1541
1589
  /** Selector specifying which fields to include in a partial response. */
@@ -1557,17 +1605,17 @@ declare namespace gapi.client {
1557
1605
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1558
1606
  uploadType?: string;
1559
1607
  }): Request<Location>;
1560
- /** Lists information about the supported locations for this service. This method can be called in two ways: List all public locations: Use the path GET /v1/locations. List project-visible locations: Use the path GET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project. */
1608
+ /** Lists information about the supported locations for this service.This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: Global locations: If name is empty, the method lists the public locations available to all projects. Project-specific locations: If name follows the format projects/{project}, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project.For gRPC and client library implementations, the resource name is passed as the name field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. */
1561
1609
  list(request?: {
1562
1610
  /** V1 error format. */
1563
- '$.xgafv'?: string;
1611
+ '$.xgafv'?: '1' | '2';
1564
1612
  /** OAuth access token. */
1565
1613
  access_token?: string;
1566
1614
  /** Data format for response. */
1567
- alt?: string;
1615
+ alt?: 'json' | 'media' | 'proto';
1568
1616
  /** JSONP */
1569
1617
  callback?: string;
1570
- /** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */
1618
+ /** Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */
1571
1619
  extraLocationTypes?: string | string[];
1572
1620
  /** Selector specifying which fields to include in a partial response. */
1573
1621
  fields?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.appengine-v1alpha",
3
- "version": "0.2.20260316",
3
+ "version": "0.2.20260529",
4
4
  "description": "TypeScript typings for App Engine Admin API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -11,6 +11,23 @@ Install typings for App Engine Admin API:
11
11
  npm install @types/gapi.client.appengine-v1alpha --save-dev
12
12
  ```
13
13
 
14
+ ## TypeScript 6.0+
15
+
16
+ TypeScript 6.0 changed `types` to default to `[]`. You must now explicitly list type packages in `tsconfig.json`:
17
+
18
+ ```json
19
+ {
20
+ "compilerOptions": {
21
+ "types": [
22
+ "gapi",
23
+ "gapi.auth2",
24
+ "gapi.client",
25
+ "gapi.client.appengine-v1alpha"
26
+ ]
27
+ }
28
+ }
29
+ ```
30
+
14
31
  ## Usage
15
32
 
16
33
  You need to initialize Google API client in your code: