@maxim_mazurok/gapi.client.developerconnect-v1 0.0.20250316 → 0.0.20250324

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 +497 -1
  2. package/package.json +1 -1
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://developerconnect.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250316
12
+ // Revision: 20250324
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -28,6 +28,24 @@ declare namespace gapi.client {
28
28
  ): void;
29
29
 
30
30
  namespace developerconnect {
31
+ interface AccountConnector {
32
+ /** Optional. Allows users to store small amounts of arbitrary data. */
33
+ annotations?: {[P in string]: string};
34
+ /** Output only. The timestamp when the userConnection was created. */
35
+ createTime?: string;
36
+ /** Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. */
37
+ etag?: string;
38
+ /** Optional. Labels as key value pairs */
39
+ labels?: {[P in string]: string};
40
+ /** Identifier. The resource name of the userConnection, in the format `projects/{project}/locations/{location}/accountConnectors/{account_connector_id}`. */
41
+ name?: string;
42
+ /** Output only. Start OAuth flow by clicking on this URL. */
43
+ oauthStartUri?: string;
44
+ /** Provider OAuth config. */
45
+ providerOauthConfig?: ProviderOAuthConfig;
46
+ /** Output only. The timestamp when the userConnection was updated. */
47
+ updateTime?: string;
48
+ }
31
49
  interface BitbucketCloudConfig {
32
50
  /** Required. An access token with the minimum `repository`, `pullrequest` and `webhook` scope access. It can either be a workspace, project or repository access token. This is needed to create webhooks. It's recommended to use a system account to generate these credentials. */
33
51
  authorizerCredential?: UserCredential;
@@ -100,6 +118,23 @@ declare namespace gapi.client {
100
118
  keyReference?: string;
101
119
  }
102
120
  interface Empty {}
121
+ interface ExchangeError {
122
+ /** https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error */
123
+ code?: string;
124
+ /** https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error_description */
125
+ description?: string;
126
+ }
127
+ interface FetchAccessTokenRequest {}
128
+ interface FetchAccessTokenResponse {
129
+ /** The error resulted from exchanging OAuth tokens from the service provider. */
130
+ exchangeError?: ExchangeError;
131
+ /** Expiration timestamp. Can be empty if unknown or non-expiring. */
132
+ expirationTime?: string;
133
+ /** The scopes of the access token. */
134
+ scopes?: string[];
135
+ /** The token content. */
136
+ token?: string;
137
+ }
103
138
  interface FetchGitHubInstallationsResponse {
104
139
  /** List of installations available to the OAuth user (for github.com) or all the installations (for GitHub enterprise). */
105
140
  installations?: Installation[];
@@ -248,6 +283,14 @@ declare namespace gapi.client {
248
283
  /** The clone uri of the repository. */
249
284
  cloneUri?: string;
250
285
  }
286
+ interface ListAccountConnectorsResponse {
287
+ /** The list of AccountConnectors */
288
+ accountConnectors?: AccountConnector[];
289
+ /** A token identifying a page of results the server should return. */
290
+ nextPageToken?: string;
291
+ /** Locations that could not be reached. */
292
+ unreachable?: string[];
293
+ }
251
294
  interface ListConnectionsResponse {
252
295
  /** The list of Connection */
253
296
  connections?: Connection[];
@@ -276,6 +319,14 @@ declare namespace gapi.client {
276
319
  /** A list of operations that matches the specified filter in the request. */
277
320
  operations?: Operation[];
278
321
  }
322
+ interface ListUsersResponse {
323
+ /** A token identifying a page of results the server should return. */
324
+ nextPageToken?: string;
325
+ /** Locations that could not be reached. */
326
+ unreachable?: string[];
327
+ /** The list of Users */
328
+ users?: User[];
329
+ }
279
330
  interface Location {
280
331
  /** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
281
332
  displayName?: string;
@@ -342,6 +393,12 @@ declare namespace gapi.client {
342
393
  /** Required. HTTP request body. */
343
394
  body?: HttpBody;
344
395
  }
396
+ interface ProviderOAuthConfig {
397
+ /** Required. User selected scopes to apply to the Oauth config In the event of changing scopes, user records under AccountConnector will be deleted and users will re-auth again. */
398
+ scopes?: string[];
399
+ /** Immutable. Developer Connect provided OAuth. */
400
+ systemProviderId?: string;
401
+ }
345
402
  interface ServiceDirectoryConfig {
346
403
  /** Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. */
347
404
  service?: string;
@@ -354,12 +411,448 @@ declare namespace gapi.client {
354
411
  /** 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. */
355
412
  message?: string;
356
413
  }
414
+ interface User {
415
+ /** Output only. The timestamp when the user was created. */
416
+ createTime?: string;
417
+ /** Output only. Developer Connect automatically converts user identity to some human readable description, e.g., email address. */
418
+ displayName?: string;
419
+ /** Output only. The timestamp when the token was last requested. */
420
+ lastTokenRequestTime?: string;
421
+ /** Identifier. Resource name of the user, in the format `projects/*‍/locations/*‍/accountConnectors/*‍/users/*`. */
422
+ name?: string;
423
+ }
357
424
  interface UserCredential {
358
425
  /** Output only. The username associated with this token. */
359
426
  username?: string;
360
427
  /** Required. A SecretManager resource containing the user token that authorizes the Developer Connect connection. Format: `projects/*‍/secrets/*‍/versions/*`. */
361
428
  userTokenSecretVersion?: string;
362
429
  }
430
+ interface UsersResource {
431
+ /** Deletes a single User. */
432
+ delete(request?: {
433
+ /** V1 error format. */
434
+ '$.xgafv'?: string;
435
+ /** OAuth access token. */
436
+ access_token?: string;
437
+ /** Data format for response. */
438
+ alt?: string;
439
+ /** JSONP */
440
+ callback?: string;
441
+ /** Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. */
442
+ etag?: string;
443
+ /** Selector specifying which fields to include in a partial response. */
444
+ fields?: string;
445
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
446
+ key?: string;
447
+ /** Required. Name of the resource */
448
+ name: string;
449
+ /** OAuth 2.0 token for the current user. */
450
+ oauth_token?: string;
451
+ /** Returns response with indentations and line breaks. */
452
+ prettyPrint?: boolean;
453
+ /** 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. */
454
+ quotaUser?: string;
455
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
456
+ requestId?: string;
457
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
458
+ upload_protocol?: string;
459
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
460
+ uploadType?: string;
461
+ /** Optional. If set, validate the request, but do not actually post it. */
462
+ validateOnly?: boolean;
463
+ }): Request<Operation>;
464
+ /** Delete the User of the user themselves. */
465
+ deleteSelf(request?: {
466
+ /** V1 error format. */
467
+ '$.xgafv'?: string;
468
+ /** OAuth access token. */
469
+ access_token?: string;
470
+ /** Data format for response. */
471
+ alt?: string;
472
+ /** JSONP */
473
+ callback?: string;
474
+ /** Selector specifying which fields to include in a partial response. */
475
+ fields?: string;
476
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
477
+ key?: string;
478
+ /** Required. Name of the AccountConnector resource */
479
+ name: string;
480
+ /** OAuth 2.0 token for the current user. */
481
+ oauth_token?: string;
482
+ /** Returns response with indentations and line breaks. */
483
+ prettyPrint?: boolean;
484
+ /** 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. */
485
+ quotaUser?: string;
486
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
487
+ upload_protocol?: string;
488
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
489
+ uploadType?: string;
490
+ }): Request<Operation>;
491
+ /** Fetches OAuth access token based on end user credentials. */
492
+ fetchAccessToken(request: {
493
+ /** V1 error format. */
494
+ '$.xgafv'?: string;
495
+ /** OAuth access token. */
496
+ access_token?: string;
497
+ /** Required. The resource name of the AccountConnector in the format `projects/*‍/locations/*‍/accountConnectors/*`. */
498
+ accountConnector: string;
499
+ /** Data format for response. */
500
+ alt?: string;
501
+ /** JSONP */
502
+ callback?: string;
503
+ /** Selector specifying which fields to include in a partial response. */
504
+ fields?: string;
505
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
506
+ key?: string;
507
+ /** OAuth 2.0 token for the current user. */
508
+ oauth_token?: string;
509
+ /** Returns response with indentations and line breaks. */
510
+ prettyPrint?: boolean;
511
+ /** 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. */
512
+ quotaUser?: string;
513
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
514
+ upload_protocol?: string;
515
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
516
+ uploadType?: string;
517
+ /** Request body */
518
+ resource: FetchAccessTokenRequest;
519
+ }): Request<FetchAccessTokenResponse>;
520
+ fetchAccessToken(
521
+ request: {
522
+ /** V1 error format. */
523
+ '$.xgafv'?: string;
524
+ /** OAuth access token. */
525
+ access_token?: string;
526
+ /** Required. The resource name of the AccountConnector in the format `projects/*‍/locations/*‍/accountConnectors/*`. */
527
+ accountConnector: string;
528
+ /** Data format for response. */
529
+ alt?: string;
530
+ /** JSONP */
531
+ callback?: string;
532
+ /** Selector specifying which fields to include in a partial response. */
533
+ fields?: string;
534
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
535
+ key?: string;
536
+ /** OAuth 2.0 token for the current user. */
537
+ oauth_token?: string;
538
+ /** Returns response with indentations and line breaks. */
539
+ prettyPrint?: boolean;
540
+ /** 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. */
541
+ quotaUser?: string;
542
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
543
+ upload_protocol?: string;
544
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
545
+ uploadType?: string;
546
+ },
547
+ body: FetchAccessTokenRequest,
548
+ ): Request<FetchAccessTokenResponse>;
549
+ /** Fetches the User of the user themselves. */
550
+ fetchSelf(request?: {
551
+ /** V1 error format. */
552
+ '$.xgafv'?: string;
553
+ /** OAuth access token. */
554
+ access_token?: string;
555
+ /** Data format for response. */
556
+ alt?: string;
557
+ /** JSONP */
558
+ callback?: string;
559
+ /** Selector specifying which fields to include in a partial response. */
560
+ fields?: string;
561
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
562
+ key?: string;
563
+ /** Required. Name of the AccountConnector resource */
564
+ name: string;
565
+ /** OAuth 2.0 token for the current user. */
566
+ oauth_token?: string;
567
+ /** Returns response with indentations and line breaks. */
568
+ prettyPrint?: boolean;
569
+ /** 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. */
570
+ quotaUser?: string;
571
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
572
+ upload_protocol?: string;
573
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
574
+ uploadType?: string;
575
+ }): Request<User>;
576
+ /** Lists Users in a given project, location, and account_connector. */
577
+ list(request?: {
578
+ /** V1 error format. */
579
+ '$.xgafv'?: string;
580
+ /** OAuth access token. */
581
+ access_token?: string;
582
+ /** Data format for response. */
583
+ alt?: string;
584
+ /** JSONP */
585
+ callback?: string;
586
+ /** Selector specifying which fields to include in a partial response. */
587
+ fields?: string;
588
+ /** Optional. Filtering results */
589
+ filter?: string;
590
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
591
+ key?: string;
592
+ /** OAuth 2.0 token for the current user. */
593
+ oauth_token?: string;
594
+ /** Optional. Hint for how to order the results */
595
+ orderBy?: string;
596
+ /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */
597
+ pageSize?: number;
598
+ /** Optional. A token identifying a page of results the server should return. */
599
+ pageToken?: string;
600
+ /** Required. Parent value for ListUsersRequest */
601
+ parent: string;
602
+ /** Returns response with indentations and line breaks. */
603
+ prettyPrint?: boolean;
604
+ /** 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. */
605
+ quotaUser?: string;
606
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
607
+ upload_protocol?: string;
608
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
609
+ uploadType?: string;
610
+ }): Request<ListUsersResponse>;
611
+ }
612
+ interface AccountConnectorsResource {
613
+ /** Creates a new AccountConnector in a given project and location. */
614
+ create(request: {
615
+ /** V1 error format. */
616
+ '$.xgafv'?: string;
617
+ /** OAuth access token. */
618
+ access_token?: string;
619
+ /** Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to https://google.aip.dev/122#resource-id-segments Names must be unique per-project per-location. */
620
+ accountConnectorId?: string;
621
+ /** Data format for response. */
622
+ alt?: string;
623
+ /** JSONP */
624
+ callback?: string;
625
+ /** Selector specifying which fields to include in a partial response. */
626
+ fields?: string;
627
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
628
+ key?: string;
629
+ /** OAuth 2.0 token for the current user. */
630
+ oauth_token?: string;
631
+ /** Required. Location resource name as the account_connector’s parent. */
632
+ parent: string;
633
+ /** Returns response with indentations and line breaks. */
634
+ prettyPrint?: boolean;
635
+ /** 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. */
636
+ quotaUser?: string;
637
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
638
+ requestId?: string;
639
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
640
+ upload_protocol?: string;
641
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
642
+ uploadType?: string;
643
+ /** Optional. If set, validate the request, but do not actually post it. */
644
+ validateOnly?: boolean;
645
+ /** Request body */
646
+ resource: AccountConnector;
647
+ }): Request<Operation>;
648
+ create(
649
+ request: {
650
+ /** V1 error format. */
651
+ '$.xgafv'?: string;
652
+ /** OAuth access token. */
653
+ access_token?: string;
654
+ /** Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to https://google.aip.dev/122#resource-id-segments Names must be unique per-project per-location. */
655
+ accountConnectorId?: string;
656
+ /** Data format for response. */
657
+ alt?: string;
658
+ /** JSONP */
659
+ callback?: string;
660
+ /** Selector specifying which fields to include in a partial response. */
661
+ fields?: string;
662
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
663
+ key?: string;
664
+ /** OAuth 2.0 token for the current user. */
665
+ oauth_token?: string;
666
+ /** Required. Location resource name as the account_connector’s parent. */
667
+ parent: string;
668
+ /** Returns response with indentations and line breaks. */
669
+ prettyPrint?: boolean;
670
+ /** 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. */
671
+ quotaUser?: string;
672
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
673
+ requestId?: string;
674
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
675
+ upload_protocol?: string;
676
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
677
+ uploadType?: string;
678
+ /** Optional. If set, validate the request, but do not actually post it. */
679
+ validateOnly?: boolean;
680
+ },
681
+ body: AccountConnector,
682
+ ): Request<Operation>;
683
+ /** Deletes a single AccountConnector. */
684
+ delete(request?: {
685
+ /** V1 error format. */
686
+ '$.xgafv'?: string;
687
+ /** OAuth access token. */
688
+ access_token?: string;
689
+ /** Data format for response. */
690
+ alt?: string;
691
+ /** JSONP */
692
+ callback?: string;
693
+ /** Optional. The current etag of the AccountConnectorn. If an etag is provided and does not match the current etag of the AccountConnector, deletion will be blocked and an ABORTED error will be returned. */
694
+ etag?: string;
695
+ /** Selector specifying which fields to include in a partial response. */
696
+ fields?: string;
697
+ /** Optional. If set to true, any Users from this AccountConnector will also be deleted. (Otherwise, the request will only work if the AccountConnector has no Users.) */
698
+ force?: boolean;
699
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
700
+ key?: string;
701
+ /** Required. Name of the resource */
702
+ name: string;
703
+ /** OAuth 2.0 token for the current user. */
704
+ oauth_token?: string;
705
+ /** Returns response with indentations and line breaks. */
706
+ prettyPrint?: boolean;
707
+ /** 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. */
708
+ quotaUser?: string;
709
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
710
+ requestId?: string;
711
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
712
+ upload_protocol?: string;
713
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
714
+ uploadType?: string;
715
+ /** Optional. If set, validate the request, but do not actually post it. */
716
+ validateOnly?: boolean;
717
+ }): Request<Operation>;
718
+ /** Gets details of a single AccountConnector. */
719
+ get(request?: {
720
+ /** V1 error format. */
721
+ '$.xgafv'?: string;
722
+ /** OAuth access token. */
723
+ access_token?: string;
724
+ /** Data format for response. */
725
+ alt?: string;
726
+ /** JSONP */
727
+ callback?: string;
728
+ /** Selector specifying which fields to include in a partial response. */
729
+ fields?: string;
730
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
731
+ key?: string;
732
+ /** Required. Name of the resource */
733
+ name: string;
734
+ /** OAuth 2.0 token for the current user. */
735
+ oauth_token?: string;
736
+ /** Returns response with indentations and line breaks. */
737
+ prettyPrint?: boolean;
738
+ /** 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. */
739
+ quotaUser?: string;
740
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
741
+ upload_protocol?: string;
742
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
743
+ uploadType?: string;
744
+ }): Request<AccountConnector>;
745
+ /** Lists AccountConnectors in a given project and location. */
746
+ list(request?: {
747
+ /** V1 error format. */
748
+ '$.xgafv'?: string;
749
+ /** OAuth access token. */
750
+ access_token?: string;
751
+ /** Data format for response. */
752
+ alt?: string;
753
+ /** JSONP */
754
+ callback?: string;
755
+ /** Selector specifying which fields to include in a partial response. */
756
+ fields?: string;
757
+ /** Optional. Filtering results */
758
+ filter?: string;
759
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
760
+ key?: string;
761
+ /** OAuth 2.0 token for the current user. */
762
+ oauth_token?: string;
763
+ /** Optional. Hint for how to order the results */
764
+ orderBy?: string;
765
+ /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */
766
+ pageSize?: number;
767
+ /** Optional. A token identifying a page of results the server should return. */
768
+ pageToken?: string;
769
+ /** Required. Parent value for ListAccountConnectorsRequest */
770
+ parent: string;
771
+ /** Returns response with indentations and line breaks. */
772
+ prettyPrint?: boolean;
773
+ /** 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. */
774
+ quotaUser?: string;
775
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
776
+ upload_protocol?: string;
777
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
778
+ uploadType?: string;
779
+ }): Request<ListAccountConnectorsResponse>;
780
+ /** Updates the parameters of a single AccountConnector. */
781
+ patch(request: {
782
+ /** V1 error format. */
783
+ '$.xgafv'?: string;
784
+ /** OAuth access token. */
785
+ access_token?: string;
786
+ /** Optional. If set to true, and the userConnection is not found a new userConnection will be created. In this situation `update_mask` is ignored. The creation will succeed only if the input userConnection has all the necessary */
787
+ allowMissing?: boolean;
788
+ /** Data format for response. */
789
+ alt?: string;
790
+ /** JSONP */
791
+ callback?: string;
792
+ /** Selector specifying which fields to include in a partial response. */
793
+ fields?: string;
794
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
795
+ key?: string;
796
+ /** Identifier. The resource name of the userConnection, in the format `projects/{project}/locations/{location}/accountConnectors/{account_connector_id}`. */
797
+ name: string;
798
+ /** OAuth 2.0 token for the current user. */
799
+ oauth_token?: string;
800
+ /** Returns response with indentations and line breaks. */
801
+ prettyPrint?: boolean;
802
+ /** 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. */
803
+ quotaUser?: string;
804
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
805
+ requestId?: string;
806
+ /** Optional. The list of fields to be updated. */
807
+ updateMask?: string;
808
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
809
+ upload_protocol?: string;
810
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
811
+ uploadType?: string;
812
+ /** Optional. If set, validate the request, but do not actually post it. */
813
+ validateOnly?: boolean;
814
+ /** Request body */
815
+ resource: AccountConnector;
816
+ }): Request<Operation>;
817
+ patch(
818
+ request: {
819
+ /** V1 error format. */
820
+ '$.xgafv'?: string;
821
+ /** OAuth access token. */
822
+ access_token?: string;
823
+ /** Optional. If set to true, and the userConnection is not found a new userConnection will be created. In this situation `update_mask` is ignored. The creation will succeed only if the input userConnection has all the necessary */
824
+ allowMissing?: boolean;
825
+ /** Data format for response. */
826
+ alt?: string;
827
+ /** JSONP */
828
+ callback?: string;
829
+ /** Selector specifying which fields to include in a partial response. */
830
+ fields?: string;
831
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
832
+ key?: string;
833
+ /** Identifier. The resource name of the userConnection, in the format `projects/{project}/locations/{location}/accountConnectors/{account_connector_id}`. */
834
+ name: string;
835
+ /** OAuth 2.0 token for the current user. */
836
+ oauth_token?: string;
837
+ /** Returns response with indentations and line breaks. */
838
+ prettyPrint?: boolean;
839
+ /** 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. */
840
+ quotaUser?: string;
841
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
842
+ requestId?: string;
843
+ /** Optional. The list of fields to be updated. */
844
+ updateMask?: string;
845
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
846
+ upload_protocol?: string;
847
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
848
+ uploadType?: string;
849
+ /** Optional. If set, validate the request, but do not actually post it. */
850
+ validateOnly?: boolean;
851
+ },
852
+ body: AccountConnector,
853
+ ): Request<Operation>;
854
+ users: UsersResource;
855
+ }
363
856
  interface GitRepositoryLinksResource {
364
857
  /** Creates a GitRepositoryLink. Upon linking a Git Repository, Developer Connect will configure the Git Repository to send webhook events to Developer Connect. Connections that use Firebase GitHub Application will have events forwarded to the Firebase service. All other Connections will have events forwarded to Cloud Build. */
365
858
  create(request: {
@@ -1451,6 +1944,8 @@ declare namespace gapi.client {
1451
1944
  alt?: string;
1452
1945
  /** JSONP */
1453
1946
  callback?: string;
1947
+ /** Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. */
1948
+ extraLocationTypes?: string | string[];
1454
1949
  /** Selector specifying which fields to include in a partial response. */
1455
1950
  fields?: string;
1456
1951
  /** A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). */
@@ -1474,6 +1969,7 @@ declare namespace gapi.client {
1474
1969
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1475
1970
  uploadType?: string;
1476
1971
  }): Request<ListLocationsResponse>;
1972
+ accountConnectors: AccountConnectorsResource;
1477
1973
  connections: ConnectionsResource;
1478
1974
  operations: OperationsResource;
1479
1975
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.developerconnect-v1",
3
- "version": "0.0.20250316",
3
+ "version": "0.0.20250324",
4
4
  "description": "TypeScript typings for Developer Connect API v1",
5
5
  "repository": {
6
6
  "type": "git",