@maxim_mazurok/gapi.client.developerconnect-v1 0.1.20260313 → 0.1.20260528

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 +174 -136
  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://developerconnect.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260313
12
+ // Revision: 20260528
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -47,6 +47,8 @@ declare namespace gapi.client {
47
47
  providerOauthConfig?: ProviderOAuthConfig;
48
48
  /** Optional. Configuration for the http and git proxy features. */
49
49
  proxyConfig?: ProxyConfig;
50
+ /** Output only. A system-assigned unique identifier for the Account Connector. */
51
+ uid?: string;
50
52
  /** Output only. The timestamp when the accountConnector was updated. */
51
53
  updateTime?: string;
52
54
  }
@@ -85,6 +87,8 @@ declare namespace gapi.client {
85
87
  deployTime?: string;
86
88
  /** Output only. Unique identifier of `ArtifactDeployment`. */
87
89
  id?: string;
90
+ /** Output only. The URIs of the source code, if available. For Cloud Run source deploy for example: `gs://my-bucket/my-folder/1234567890.abcde-fdbe.zip#1234567890` */
91
+ sourceCodeUris?: string[];
88
92
  /** Output only. The source commits at which this artifact was built. Extracted from provenance. */
89
93
  sourceCommitUris?: string[];
90
94
  /** Output only. The time at which the deployment was undeployed, all artifacts are considered undeployed once this time is set. */
@@ -187,7 +191,11 @@ declare namespace gapi.client {
187
191
  /** Optional. Disable PKCE for this OAuth config. PKCE is enabled by default. */
188
192
  pkceDisabled?: boolean;
189
193
  /** Required. The type of the SCM provider. */
190
- scmProvider?: string;
194
+ scmProvider?:
195
+ | 'SCM_PROVIDER_UNKNOWN'
196
+ | 'GITHUB_ENTERPRISE'
197
+ | 'GITLAB_ENTERPRISE'
198
+ | 'BITBUCKET_DATA_CENTER';
191
199
  /** Required. The scopes to be requested during OAuth. */
192
200
  scopes?: string[];
193
201
  /** Output only. SCM server version installed at the host URI. */
@@ -213,7 +221,7 @@ declare namespace gapi.client {
213
221
  /** Output only. The runtime assigned URI of the DeploymentEvent. For GKE, this is the fully qualified replica set uri. e.g. container.googleapis.com/projects/{project}/locations/{location}/clusters/{cluster}/k8s/namespaces/{namespace}/apps/replicasets/{replica-set-id} For Cloud Run, this is the revision name. */
214
222
  runtimeDeploymentUri?: string;
215
223
  /** Output only. The state of the DeploymentEvent. */
216
- state?: string;
224
+ state?: 'STATE_UNSPECIFIED' | 'STATE_ACTIVE' | 'STATE_INACTIVE';
217
225
  /** Output only. The time at which the DeploymentEvent was undeployed, all artifacts are considered undeployed once this time is set. This would be the max of all ArtifactDeployment undeploy_times. If any ArtifactDeployment is still active (i.e. does not have an undeploy_time), this field will be empty. */
218
226
  undeployTime?: string;
219
227
  /** Output only. The update time of the DeploymentEvent. */
@@ -299,7 +307,12 @@ declare namespace gapi.client {
299
307
  /** Optional. OAuth credential of the account that authorized the GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the GitHub App of this config. */
300
308
  authorizerCredential?: OAuthCredential;
301
309
  /** Required. Immutable. The GitHub Application that was installed to the GitHub user or organization. */
302
- githubApp?: string;
310
+ githubApp?:
311
+ | 'GIT_HUB_APP_UNSPECIFIED'
312
+ | 'DEVELOPER_CONNECT'
313
+ | 'FIREBASE'
314
+ | 'GEMINI_CODE_ASSIST'
315
+ | 'DATAFORM';
303
316
  /** Output only. The URI to navigate to in order to manage the installation associated with this GitHubConfig. */
304
317
  installationUri?: string;
305
318
  }
@@ -409,7 +422,7 @@ declare namespace gapi.client {
409
422
  /** The HTTP request/response body as raw binary. */
410
423
  data?: string;
411
424
  /** Application specific response metadata. Must be set in the first response for streaming APIs. */
412
- extensions?: Array<{[P in string]: any}>;
425
+ extensions?: {[P in string]: any}[];
413
426
  }
414
427
  interface InsightsConfig {
415
428
  /** Optional. User specified annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations. */
@@ -433,7 +446,7 @@ declare namespace gapi.client {
433
446
  /** Output only. The runtime configurations where the application is deployed. */
434
447
  runtimeConfigs?: RuntimeConfig[];
435
448
  /** Optional. Output only. The state of the InsightsConfig. */
436
- state?: string;
449
+ state?: 'STATE_UNSPECIFIED' | 'PENDING' | 'COMPLETE' | 'ERROR';
437
450
  /** Output only. Update timestamp. */
438
451
  updateTime?: string;
439
452
  }
@@ -451,7 +464,12 @@ declare namespace gapi.client {
451
464
  /** Output only. Message of what the user should do next to continue the installation. Empty string if the installation is already complete. */
452
465
  message?: string;
453
466
  /** Output only. Current step of the installation process. */
454
- stage?: string;
467
+ stage?:
468
+ | 'STAGE_UNSPECIFIED'
469
+ | 'PENDING_CREATE_APP'
470
+ | 'PENDING_USER_OAUTH'
471
+ | 'PENDING_INSTALL_APP'
472
+ | 'COMPLETE';
455
473
  }
456
474
  interface LinkableGitRepository {
457
475
  /** The clone uri of the repository. */
@@ -591,11 +609,22 @@ declare namespace gapi.client {
591
609
  /** 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. */
592
610
  scopes?: string[];
593
611
  /** Optional. Immutable. Developer Connect provided OAuth. */
594
- systemProviderId?: string;
612
+ systemProviderId?:
613
+ | 'SYSTEM_PROVIDER_UNSPECIFIED'
614
+ | 'GITHUB'
615
+ | 'GITLAB'
616
+ | 'GOOGLE'
617
+ | 'SENTRY'
618
+ | 'ROVO'
619
+ | 'NEW_RELIC'
620
+ | 'DATASTAX'
621
+ | 'DYNATRACE';
595
622
  }
596
623
  interface ProxyConfig {
597
624
  /** Optional. Setting this to true allows the git and http proxies to perform actions on behalf of the user configured under the account connector. */
598
625
  enabled?: boolean;
626
+ /** Output only. The base URI for the HTTP proxy endpoint. Has the format `https://{generatedID}-a-h-{shortRegion}.developerconnect.dev` Populated only when `enabled` is set to `true`. This endpoint is used by other Google services that integrate with Developer Connect. */
627
+ httpProxyBaseUri?: string;
599
628
  }
600
629
  interface RuntimeConfig {
601
630
  /** Output only. App Hub Service. */
@@ -607,7 +636,7 @@ declare namespace gapi.client {
607
636
  /** Output only. Cloud Run runtime. */
608
637
  googleCloudRun?: GoogleCloudRun;
609
638
  /** Output only. The state of the Runtime. */
610
- state?: string;
639
+ state?: 'STATE_UNSPECIFIED' | 'LINKED' | 'UNLINKED';
611
640
  /** Required. Immutable. The URI of the runtime configuration. For GKE, this is the cluster name. For Cloud Run, this is the service name. */
612
641
  uri?: string;
613
642
  }
@@ -631,7 +660,16 @@ declare namespace gapi.client {
631
660
  /** The list of scopes requested by the application. */
632
661
  scopes?: string[];
633
662
  /** The ID of the system provider. */
634
- systemProviderId?: string;
663
+ systemProviderId?:
664
+ | 'SYSTEM_PROVIDER_UNSPECIFIED'
665
+ | 'GITHUB'
666
+ | 'GITLAB'
667
+ | 'GOOGLE'
668
+ | 'SENTRY'
669
+ | 'ROVO'
670
+ | 'NEW_RELIC'
671
+ | 'DATASTAX'
672
+ | 'DYNATRACE';
635
673
  /** The ticket to be used for post processing the callback from the service provider. */
636
674
  ticket?: string;
637
675
  }
@@ -639,7 +677,7 @@ declare namespace gapi.client {
639
677
  /** The status code, which should be an enum value of google.rpc.Code. */
640
678
  code?: number;
641
679
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
642
- details?: Array<{[P in string]: any}>;
680
+ details?: {[P in string]: any}[];
643
681
  /** 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. */
644
682
  message?: string;
645
683
  }
@@ -671,11 +709,11 @@ declare namespace gapi.client {
671
709
  /** Deletes a single User. */
672
710
  delete(request?: {
673
711
  /** V1 error format. */
674
- '$.xgafv'?: string;
712
+ '$.xgafv'?: '1' | '2';
675
713
  /** OAuth access token. */
676
714
  access_token?: string;
677
715
  /** Data format for response. */
678
- alt?: string;
716
+ alt?: 'json' | 'media' | 'proto';
679
717
  /** JSONP */
680
718
  callback?: string;
681
719
  /** 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. */
@@ -704,11 +742,11 @@ declare namespace gapi.client {
704
742
  /** Delete the User based on the user credentials. */
705
743
  deleteSelf(request?: {
706
744
  /** V1 error format. */
707
- '$.xgafv'?: string;
745
+ '$.xgafv'?: '1' | '2';
708
746
  /** OAuth access token. */
709
747
  access_token?: string;
710
748
  /** Data format for response. */
711
- alt?: string;
749
+ alt?: 'json' | 'media' | 'proto';
712
750
  /** JSONP */
713
751
  callback?: string;
714
752
  /** Selector specifying which fields to include in a partial response. */
@@ -731,13 +769,13 @@ declare namespace gapi.client {
731
769
  /** Fetches OAuth access token based on end user credentials. */
732
770
  fetchAccessToken(request: {
733
771
  /** V1 error format. */
734
- '$.xgafv'?: string;
772
+ '$.xgafv'?: '1' | '2';
735
773
  /** OAuth access token. */
736
774
  access_token?: string;
737
775
  /** Required. The resource name of the AccountConnector in the format `projects/*‍/locations/*‍/accountConnectors/*`. */
738
776
  accountConnector: string;
739
777
  /** Data format for response. */
740
- alt?: string;
778
+ alt?: 'json' | 'media' | 'proto';
741
779
  /** JSONP */
742
780
  callback?: string;
743
781
  /** Selector specifying which fields to include in a partial response. */
@@ -760,13 +798,13 @@ declare namespace gapi.client {
760
798
  fetchAccessToken(
761
799
  request: {
762
800
  /** V1 error format. */
763
- '$.xgafv'?: string;
801
+ '$.xgafv'?: '1' | '2';
764
802
  /** OAuth access token. */
765
803
  access_token?: string;
766
804
  /** Required. The resource name of the AccountConnector in the format `projects/*‍/locations/*‍/accountConnectors/*`. */
767
805
  accountConnector: string;
768
806
  /** Data format for response. */
769
- alt?: string;
807
+ alt?: 'json' | 'media' | 'proto';
770
808
  /** JSONP */
771
809
  callback?: string;
772
810
  /** Selector specifying which fields to include in a partial response. */
@@ -789,11 +827,11 @@ declare namespace gapi.client {
789
827
  /** Fetch the User based on the user credentials. */
790
828
  fetchSelf(request?: {
791
829
  /** V1 error format. */
792
- '$.xgafv'?: string;
830
+ '$.xgafv'?: '1' | '2';
793
831
  /** OAuth access token. */
794
832
  access_token?: string;
795
833
  /** Data format for response. */
796
- alt?: string;
834
+ alt?: 'json' | 'media' | 'proto';
797
835
  /** JSONP */
798
836
  callback?: string;
799
837
  /** Selector specifying which fields to include in a partial response. */
@@ -816,13 +854,13 @@ declare namespace gapi.client {
816
854
  /** Finishes OAuth flow for an account connector. */
817
855
  finishOAuthFlow(request?: {
818
856
  /** V1 error format. */
819
- '$.xgafv'?: string;
857
+ '$.xgafv'?: '1' | '2';
820
858
  /** OAuth access token. */
821
859
  access_token?: string;
822
860
  /** Required. The resource name of the AccountConnector in the format `projects/*‍/locations/*‍/accountConnectors/*`. */
823
861
  accountConnector: string;
824
862
  /** Data format for response. */
825
- alt?: string;
863
+ alt?: 'json' | 'media' | 'proto';
826
864
  /** JSONP */
827
865
  callback?: string;
828
866
  /** Selector specifying which fields to include in a partial response. */
@@ -853,11 +891,11 @@ declare namespace gapi.client {
853
891
  /** Lists Users in a given project, location, and account_connector. */
854
892
  list(request?: {
855
893
  /** V1 error format. */
856
- '$.xgafv'?: string;
894
+ '$.xgafv'?: '1' | '2';
857
895
  /** OAuth access token. */
858
896
  access_token?: string;
859
897
  /** Data format for response. */
860
- alt?: string;
898
+ alt?: 'json' | 'media' | 'proto';
861
899
  /** JSONP */
862
900
  callback?: string;
863
901
  /** Selector specifying which fields to include in a partial response. */
@@ -888,13 +926,13 @@ declare namespace gapi.client {
888
926
  /** Starts OAuth flow for an account connector. */
889
927
  startOAuthFlow(request?: {
890
928
  /** V1 error format. */
891
- '$.xgafv'?: string;
929
+ '$.xgafv'?: '1' | '2';
892
930
  /** OAuth access token. */
893
931
  access_token?: string;
894
932
  /** Required. The resource name of the AccountConnector in the format `projects/*‍/locations/*‍/accountConnectors/*`. */
895
933
  accountConnector: string;
896
934
  /** Data format for response. */
897
- alt?: string;
935
+ alt?: 'json' | 'media' | 'proto';
898
936
  /** JSONP */
899
937
  callback?: string;
900
938
  /** Selector specifying which fields to include in a partial response. */
@@ -917,13 +955,13 @@ declare namespace gapi.client {
917
955
  /** Creates a new AccountConnector in a given project and location. */
918
956
  create(request: {
919
957
  /** V1 error format. */
920
- '$.xgafv'?: string;
958
+ '$.xgafv'?: '1' | '2';
921
959
  /** OAuth access token. */
922
960
  access_token?: string;
923
961
  /** 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. */
924
962
  accountConnectorId?: string;
925
963
  /** Data format for response. */
926
- alt?: string;
964
+ alt?: 'json' | 'media' | 'proto';
927
965
  /** JSONP */
928
966
  callback?: string;
929
967
  /** Selector specifying which fields to include in a partial response. */
@@ -952,13 +990,13 @@ declare namespace gapi.client {
952
990
  create(
953
991
  request: {
954
992
  /** V1 error format. */
955
- '$.xgafv'?: string;
993
+ '$.xgafv'?: '1' | '2';
956
994
  /** OAuth access token. */
957
995
  access_token?: string;
958
996
  /** 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. */
959
997
  accountConnectorId?: string;
960
998
  /** Data format for response. */
961
- alt?: string;
999
+ alt?: 'json' | 'media' | 'proto';
962
1000
  /** JSONP */
963
1001
  callback?: string;
964
1002
  /** Selector specifying which fields to include in a partial response. */
@@ -987,11 +1025,11 @@ declare namespace gapi.client {
987
1025
  /** Deletes a single AccountConnector. */
988
1026
  delete(request?: {
989
1027
  /** V1 error format. */
990
- '$.xgafv'?: string;
1028
+ '$.xgafv'?: '1' | '2';
991
1029
  /** OAuth access token. */
992
1030
  access_token?: string;
993
1031
  /** Data format for response. */
994
- alt?: string;
1032
+ alt?: 'json' | 'media' | 'proto';
995
1033
  /** JSONP */
996
1034
  callback?: string;
997
1035
  /** 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. */
@@ -1022,13 +1060,13 @@ declare namespace gapi.client {
1022
1060
  /** FetchUserRepositories returns a list of UserRepos that are available for an account connector resource. */
1023
1061
  fetchUserRepositories(request?: {
1024
1062
  /** V1 error format. */
1025
- '$.xgafv'?: string;
1063
+ '$.xgafv'?: '1' | '2';
1026
1064
  /** OAuth access token. */
1027
1065
  access_token?: string;
1028
1066
  /** Required. The name of the Account Connector resource in the format: `projects/*‍/locations/*‍/accountConnectors/*`. */
1029
1067
  accountConnector: string;
1030
1068
  /** Data format for response. */
1031
- alt?: string;
1069
+ alt?: 'json' | 'media' | 'proto';
1032
1070
  /** JSONP */
1033
1071
  callback?: string;
1034
1072
  /** Selector specifying which fields to include in a partial response. */
@@ -1055,11 +1093,11 @@ declare namespace gapi.client {
1055
1093
  /** Gets details of a single AccountConnector. */
1056
1094
  get(request?: {
1057
1095
  /** V1 error format. */
1058
- '$.xgafv'?: string;
1096
+ '$.xgafv'?: '1' | '2';
1059
1097
  /** OAuth access token. */
1060
1098
  access_token?: string;
1061
1099
  /** Data format for response. */
1062
- alt?: string;
1100
+ alt?: 'json' | 'media' | 'proto';
1063
1101
  /** JSONP */
1064
1102
  callback?: string;
1065
1103
  /** Selector specifying which fields to include in a partial response. */
@@ -1082,11 +1120,11 @@ declare namespace gapi.client {
1082
1120
  /** Lists AccountConnectors in a given project and location. */
1083
1121
  list(request?: {
1084
1122
  /** V1 error format. */
1085
- '$.xgafv'?: string;
1123
+ '$.xgafv'?: '1' | '2';
1086
1124
  /** OAuth access token. */
1087
1125
  access_token?: string;
1088
1126
  /** Data format for response. */
1089
- alt?: string;
1127
+ alt?: 'json' | 'media' | 'proto';
1090
1128
  /** JSONP */
1091
1129
  callback?: string;
1092
1130
  /** Selector specifying which fields to include in a partial response. */
@@ -1117,13 +1155,13 @@ declare namespace gapi.client {
1117
1155
  /** Updates the parameters of a single AccountConnector. */
1118
1156
  patch(request: {
1119
1157
  /** V1 error format. */
1120
- '$.xgafv'?: string;
1158
+ '$.xgafv'?: '1' | '2';
1121
1159
  /** OAuth access token. */
1122
1160
  access_token?: string;
1123
1161
  /** Optional. If set to true, and the accountConnector is not found a new accountConnector will be created. In this situation `update_mask` is ignored. The creation will succeed only if the input accountConnector has all the necessary */
1124
1162
  allowMissing?: boolean;
1125
1163
  /** Data format for response. */
1126
- alt?: string;
1164
+ alt?: 'json' | 'media' | 'proto';
1127
1165
  /** JSONP */
1128
1166
  callback?: string;
1129
1167
  /** Selector specifying which fields to include in a partial response. */
@@ -1154,13 +1192,13 @@ declare namespace gapi.client {
1154
1192
  patch(
1155
1193
  request: {
1156
1194
  /** V1 error format. */
1157
- '$.xgafv'?: string;
1195
+ '$.xgafv'?: '1' | '2';
1158
1196
  /** OAuth access token. */
1159
1197
  access_token?: string;
1160
1198
  /** Optional. If set to true, and the accountConnector is not found a new accountConnector will be created. In this situation `update_mask` is ignored. The creation will succeed only if the input accountConnector has all the necessary */
1161
1199
  allowMissing?: boolean;
1162
1200
  /** Data format for response. */
1163
- alt?: string;
1201
+ alt?: 'json' | 'media' | 'proto';
1164
1202
  /** JSONP */
1165
1203
  callback?: string;
1166
1204
  /** Selector specifying which fields to include in a partial response. */
@@ -1194,11 +1232,11 @@ declare namespace gapi.client {
1194
1232
  /** 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. Connections that use Gemini Code Assist will have events forwarded to Gemini Code Assist service. All other Connections will have events forwarded to Cloud Build. */
1195
1233
  create(request: {
1196
1234
  /** V1 error format. */
1197
- '$.xgafv'?: string;
1235
+ '$.xgafv'?: '1' | '2';
1198
1236
  /** OAuth access token. */
1199
1237
  access_token?: string;
1200
1238
  /** Data format for response. */
1201
- alt?: string;
1239
+ alt?: 'json' | 'media' | 'proto';
1202
1240
  /** JSONP */
1203
1241
  callback?: string;
1204
1242
  /** Selector specifying which fields to include in a partial response. */
@@ -1229,11 +1267,11 @@ declare namespace gapi.client {
1229
1267
  create(
1230
1268
  request: {
1231
1269
  /** V1 error format. */
1232
- '$.xgafv'?: string;
1270
+ '$.xgafv'?: '1' | '2';
1233
1271
  /** OAuth access token. */
1234
1272
  access_token?: string;
1235
1273
  /** Data format for response. */
1236
- alt?: string;
1274
+ alt?: 'json' | 'media' | 'proto';
1237
1275
  /** JSONP */
1238
1276
  callback?: string;
1239
1277
  /** Selector specifying which fields to include in a partial response. */
@@ -1264,11 +1302,11 @@ declare namespace gapi.client {
1264
1302
  /** Deletes a single GitRepositoryLink. */
1265
1303
  delete(request?: {
1266
1304
  /** V1 error format. */
1267
- '$.xgafv'?: string;
1305
+ '$.xgafv'?: '1' | '2';
1268
1306
  /** OAuth access token. */
1269
1307
  access_token?: string;
1270
1308
  /** Data format for response. */
1271
- alt?: string;
1309
+ alt?: 'json' | 'media' | 'proto';
1272
1310
  /** JSONP */
1273
1311
  callback?: string;
1274
1312
  /** 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. */
@@ -1297,11 +1335,11 @@ declare namespace gapi.client {
1297
1335
  /** Fetch the list of branches or tags for a given repository. */
1298
1336
  fetchGitRefs(request?: {
1299
1337
  /** V1 error format. */
1300
- '$.xgafv'?: string;
1338
+ '$.xgafv'?: '1' | '2';
1301
1339
  /** OAuth access token. */
1302
1340
  access_token?: string;
1303
1341
  /** Data format for response. */
1304
- alt?: string;
1342
+ alt?: 'json' | 'media' | 'proto';
1305
1343
  /** JSONP */
1306
1344
  callback?: string;
1307
1345
  /** Selector specifying which fields to include in a partial response. */
@@ -1321,7 +1359,7 @@ declare namespace gapi.client {
1321
1359
  /** 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. */
1322
1360
  quotaUser?: string;
1323
1361
  /** Required. Type of refs to fetch. */
1324
- refType?: string;
1362
+ refType?: 'REF_TYPE_UNSPECIFIED' | 'TAG' | 'BRANCH';
1325
1363
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1326
1364
  upload_protocol?: string;
1327
1365
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -1330,11 +1368,11 @@ declare namespace gapi.client {
1330
1368
  /** Fetches read token of a given gitRepositoryLink. */
1331
1369
  fetchReadToken(request: {
1332
1370
  /** V1 error format. */
1333
- '$.xgafv'?: string;
1371
+ '$.xgafv'?: '1' | '2';
1334
1372
  /** OAuth access token. */
1335
1373
  access_token?: string;
1336
1374
  /** Data format for response. */
1337
- alt?: string;
1375
+ alt?: 'json' | 'media' | 'proto';
1338
1376
  /** JSONP */
1339
1377
  callback?: string;
1340
1378
  /** Selector specifying which fields to include in a partial response. */
@@ -1359,11 +1397,11 @@ declare namespace gapi.client {
1359
1397
  fetchReadToken(
1360
1398
  request: {
1361
1399
  /** V1 error format. */
1362
- '$.xgafv'?: string;
1400
+ '$.xgafv'?: '1' | '2';
1363
1401
  /** OAuth access token. */
1364
1402
  access_token?: string;
1365
1403
  /** Data format for response. */
1366
- alt?: string;
1404
+ alt?: 'json' | 'media' | 'proto';
1367
1405
  /** JSONP */
1368
1406
  callback?: string;
1369
1407
  /** Selector specifying which fields to include in a partial response. */
@@ -1388,11 +1426,11 @@ declare namespace gapi.client {
1388
1426
  /** Fetches read/write token of a given gitRepositoryLink. */
1389
1427
  fetchReadWriteToken(request: {
1390
1428
  /** V1 error format. */
1391
- '$.xgafv'?: string;
1429
+ '$.xgafv'?: '1' | '2';
1392
1430
  /** OAuth access token. */
1393
1431
  access_token?: string;
1394
1432
  /** Data format for response. */
1395
- alt?: string;
1433
+ alt?: 'json' | 'media' | 'proto';
1396
1434
  /** JSONP */
1397
1435
  callback?: string;
1398
1436
  /** Selector specifying which fields to include in a partial response. */
@@ -1417,11 +1455,11 @@ declare namespace gapi.client {
1417
1455
  fetchReadWriteToken(
1418
1456
  request: {
1419
1457
  /** V1 error format. */
1420
- '$.xgafv'?: string;
1458
+ '$.xgafv'?: '1' | '2';
1421
1459
  /** OAuth access token. */
1422
1460
  access_token?: string;
1423
1461
  /** Data format for response. */
1424
- alt?: string;
1462
+ alt?: 'json' | 'media' | 'proto';
1425
1463
  /** JSONP */
1426
1464
  callback?: string;
1427
1465
  /** Selector specifying which fields to include in a partial response. */
@@ -1446,11 +1484,11 @@ declare namespace gapi.client {
1446
1484
  /** Gets details of a single GitRepositoryLink. */
1447
1485
  get(request?: {
1448
1486
  /** V1 error format. */
1449
- '$.xgafv'?: string;
1487
+ '$.xgafv'?: '1' | '2';
1450
1488
  /** OAuth access token. */
1451
1489
  access_token?: string;
1452
1490
  /** Data format for response. */
1453
- alt?: string;
1491
+ alt?: 'json' | 'media' | 'proto';
1454
1492
  /** JSONP */
1455
1493
  callback?: string;
1456
1494
  /** Selector specifying which fields to include in a partial response. */
@@ -1473,11 +1511,11 @@ declare namespace gapi.client {
1473
1511
  /** Lists GitRepositoryLinks in a given project, location, and connection. */
1474
1512
  list(request?: {
1475
1513
  /** V1 error format. */
1476
- '$.xgafv'?: string;
1514
+ '$.xgafv'?: '1' | '2';
1477
1515
  /** OAuth access token. */
1478
1516
  access_token?: string;
1479
1517
  /** Data format for response. */
1480
- alt?: string;
1518
+ alt?: 'json' | 'media' | 'proto';
1481
1519
  /** JSONP */
1482
1520
  callback?: string;
1483
1521
  /** Selector specifying which fields to include in a partial response. */
@@ -1508,11 +1546,11 @@ declare namespace gapi.client {
1508
1546
  /** ProcessBitbucketCloudWebhook is called by the external Bitbucket Cloud instances for notifying events. */
1509
1547
  processBitbucketCloudWebhook(request: {
1510
1548
  /** V1 error format. */
1511
- '$.xgafv'?: string;
1549
+ '$.xgafv'?: '1' | '2';
1512
1550
  /** OAuth access token. */
1513
1551
  access_token?: string;
1514
1552
  /** Data format for response. */
1515
- alt?: string;
1553
+ alt?: 'json' | 'media' | 'proto';
1516
1554
  /** JSONP */
1517
1555
  callback?: string;
1518
1556
  /** Selector specifying which fields to include in a partial response. */
@@ -1537,11 +1575,11 @@ declare namespace gapi.client {
1537
1575
  processBitbucketCloudWebhook(
1538
1576
  request: {
1539
1577
  /** V1 error format. */
1540
- '$.xgafv'?: string;
1578
+ '$.xgafv'?: '1' | '2';
1541
1579
  /** OAuth access token. */
1542
1580
  access_token?: string;
1543
1581
  /** Data format for response. */
1544
- alt?: string;
1582
+ alt?: 'json' | 'media' | 'proto';
1545
1583
  /** JSONP */
1546
1584
  callback?: string;
1547
1585
  /** Selector specifying which fields to include in a partial response. */
@@ -1566,11 +1604,11 @@ declare namespace gapi.client {
1566
1604
  /** ProcessBitbucketDataCenterWebhook is called by the external Bitbucket Data Center instances for notifying events. */
1567
1605
  processBitbucketDataCenterWebhook(request: {
1568
1606
  /** V1 error format. */
1569
- '$.xgafv'?: string;
1607
+ '$.xgafv'?: '1' | '2';
1570
1608
  /** OAuth access token. */
1571
1609
  access_token?: string;
1572
1610
  /** Data format for response. */
1573
- alt?: string;
1611
+ alt?: 'json' | 'media' | 'proto';
1574
1612
  /** JSONP */
1575
1613
  callback?: string;
1576
1614
  /** Selector specifying which fields to include in a partial response. */
@@ -1595,11 +1633,11 @@ declare namespace gapi.client {
1595
1633
  processBitbucketDataCenterWebhook(
1596
1634
  request: {
1597
1635
  /** V1 error format. */
1598
- '$.xgafv'?: string;
1636
+ '$.xgafv'?: '1' | '2';
1599
1637
  /** OAuth access token. */
1600
1638
  access_token?: string;
1601
1639
  /** Data format for response. */
1602
- alt?: string;
1640
+ alt?: 'json' | 'media' | 'proto';
1603
1641
  /** JSONP */
1604
1642
  callback?: string;
1605
1643
  /** Selector specifying which fields to include in a partial response. */
@@ -1624,11 +1662,11 @@ declare namespace gapi.client {
1624
1662
  /** ProcessGitLabEnterpriseWebhook is called by the external GitLab Enterprise instances for notifying events. */
1625
1663
  processGitLabEnterpriseWebhook(request: {
1626
1664
  /** V1 error format. */
1627
- '$.xgafv'?: string;
1665
+ '$.xgafv'?: '1' | '2';
1628
1666
  /** OAuth access token. */
1629
1667
  access_token?: string;
1630
1668
  /** Data format for response. */
1631
- alt?: string;
1669
+ alt?: 'json' | 'media' | 'proto';
1632
1670
  /** JSONP */
1633
1671
  callback?: string;
1634
1672
  /** Selector specifying which fields to include in a partial response. */
@@ -1653,11 +1691,11 @@ declare namespace gapi.client {
1653
1691
  processGitLabEnterpriseWebhook(
1654
1692
  request: {
1655
1693
  /** V1 error format. */
1656
- '$.xgafv'?: string;
1694
+ '$.xgafv'?: '1' | '2';
1657
1695
  /** OAuth access token. */
1658
1696
  access_token?: string;
1659
1697
  /** Data format for response. */
1660
- alt?: string;
1698
+ alt?: 'json' | 'media' | 'proto';
1661
1699
  /** JSONP */
1662
1700
  callback?: string;
1663
1701
  /** Selector specifying which fields to include in a partial response. */
@@ -1682,11 +1720,11 @@ declare namespace gapi.client {
1682
1720
  /** ProcessGitLabWebhook is called by the GitLab.com for notifying events. */
1683
1721
  processGitLabWebhook(request: {
1684
1722
  /** V1 error format. */
1685
- '$.xgafv'?: string;
1723
+ '$.xgafv'?: '1' | '2';
1686
1724
  /** OAuth access token. */
1687
1725
  access_token?: string;
1688
1726
  /** Data format for response. */
1689
- alt?: string;
1727
+ alt?: 'json' | 'media' | 'proto';
1690
1728
  /** JSONP */
1691
1729
  callback?: string;
1692
1730
  /** Selector specifying which fields to include in a partial response. */
@@ -1711,11 +1749,11 @@ declare namespace gapi.client {
1711
1749
  processGitLabWebhook(
1712
1750
  request: {
1713
1751
  /** V1 error format. */
1714
- '$.xgafv'?: string;
1752
+ '$.xgafv'?: '1' | '2';
1715
1753
  /** OAuth access token. */
1716
1754
  access_token?: string;
1717
1755
  /** Data format for response. */
1718
- alt?: string;
1756
+ alt?: 'json' | 'media' | 'proto';
1719
1757
  /** JSONP */
1720
1758
  callback?: string;
1721
1759
  /** Selector specifying which fields to include in a partial response. */
@@ -1742,11 +1780,11 @@ declare namespace gapi.client {
1742
1780
  /** Creates a new Connection in a given project and location. */
1743
1781
  create(request: {
1744
1782
  /** V1 error format. */
1745
- '$.xgafv'?: string;
1783
+ '$.xgafv'?: '1' | '2';
1746
1784
  /** OAuth access token. */
1747
1785
  access_token?: string;
1748
1786
  /** Data format for response. */
1749
- alt?: string;
1787
+ alt?: 'json' | 'media' | 'proto';
1750
1788
  /** JSONP */
1751
1789
  callback?: string;
1752
1790
  /** Required. Id of the requesting object If auto-generating Id server-side, remove this field and connection_id from the method_signature of Create RPC */
@@ -1777,11 +1815,11 @@ declare namespace gapi.client {
1777
1815
  create(
1778
1816
  request: {
1779
1817
  /** V1 error format. */
1780
- '$.xgafv'?: string;
1818
+ '$.xgafv'?: '1' | '2';
1781
1819
  /** OAuth access token. */
1782
1820
  access_token?: string;
1783
1821
  /** Data format for response. */
1784
- alt?: string;
1822
+ alt?: 'json' | 'media' | 'proto';
1785
1823
  /** JSONP */
1786
1824
  callback?: string;
1787
1825
  /** Required. Id of the requesting object If auto-generating Id server-side, remove this field and connection_id from the method_signature of Create RPC */
@@ -1812,11 +1850,11 @@ declare namespace gapi.client {
1812
1850
  /** Deletes a single Connection. */
1813
1851
  delete(request?: {
1814
1852
  /** V1 error format. */
1815
- '$.xgafv'?: string;
1853
+ '$.xgafv'?: '1' | '2';
1816
1854
  /** OAuth access token. */
1817
1855
  access_token?: string;
1818
1856
  /** Data format for response. */
1819
- alt?: string;
1857
+ alt?: 'json' | 'media' | 'proto';
1820
1858
  /** JSONP */
1821
1859
  callback?: string;
1822
1860
  /** Optional. The current etag of the Connection. If an etag is provided and does not match the current etag of the Connection, deletion will be blocked and an ABORTED error will be returned. */
@@ -1845,11 +1883,11 @@ declare namespace gapi.client {
1845
1883
  /** FetchGitHubInstallations returns the list of GitHub Installations that are available to be added to a Connection. For github.com, only installations accessible to the authorizer token are returned. For GitHub Enterprise, all installations are returned. */
1846
1884
  fetchGitHubInstallations(request?: {
1847
1885
  /** V1 error format. */
1848
- '$.xgafv'?: string;
1886
+ '$.xgafv'?: '1' | '2';
1849
1887
  /** OAuth access token. */
1850
1888
  access_token?: string;
1851
1889
  /** Data format for response. */
1852
- alt?: string;
1890
+ alt?: 'json' | 'media' | 'proto';
1853
1891
  /** JSONP */
1854
1892
  callback?: string;
1855
1893
  /** Required. The resource name of the connection in the format `projects/*‍/locations/*‍/connections/*`. */
@@ -1872,11 +1910,11 @@ declare namespace gapi.client {
1872
1910
  /** FetchLinkableGitRepositories returns a list of git repositories from an SCM that are available to be added to a Connection. */
1873
1911
  fetchLinkableGitRepositories(request?: {
1874
1912
  /** V1 error format. */
1875
- '$.xgafv'?: string;
1913
+ '$.xgafv'?: '1' | '2';
1876
1914
  /** OAuth access token. */
1877
1915
  access_token?: string;
1878
1916
  /** Data format for response. */
1879
- alt?: string;
1917
+ alt?: 'json' | 'media' | 'proto';
1880
1918
  /** JSONP */
1881
1919
  callback?: string;
1882
1920
  /** Required. The name of the Connection. Format: `projects/*‍/locations/*‍/connections/*`. */
@@ -1903,11 +1941,11 @@ declare namespace gapi.client {
1903
1941
  /** Gets details of a single Connection. */
1904
1942
  get(request?: {
1905
1943
  /** V1 error format. */
1906
- '$.xgafv'?: string;
1944
+ '$.xgafv'?: '1' | '2';
1907
1945
  /** OAuth access token. */
1908
1946
  access_token?: string;
1909
1947
  /** Data format for response. */
1910
- alt?: string;
1948
+ alt?: 'json' | 'media' | 'proto';
1911
1949
  /** JSONP */
1912
1950
  callback?: string;
1913
1951
  /** Selector specifying which fields to include in a partial response. */
@@ -1930,11 +1968,11 @@ declare namespace gapi.client {
1930
1968
  /** Lists Connections in a given project and location. */
1931
1969
  list(request?: {
1932
1970
  /** V1 error format. */
1933
- '$.xgafv'?: string;
1971
+ '$.xgafv'?: '1' | '2';
1934
1972
  /** OAuth access token. */
1935
1973
  access_token?: string;
1936
1974
  /** Data format for response. */
1937
- alt?: string;
1975
+ alt?: 'json' | 'media' | 'proto';
1938
1976
  /** JSONP */
1939
1977
  callback?: string;
1940
1978
  /** Selector specifying which fields to include in a partial response. */
@@ -1965,13 +2003,13 @@ declare namespace gapi.client {
1965
2003
  /** Updates the parameters of a single Connection. */
1966
2004
  patch(request: {
1967
2005
  /** V1 error format. */
1968
- '$.xgafv'?: string;
2006
+ '$.xgafv'?: '1' | '2';
1969
2007
  /** OAuth access token. */
1970
2008
  access_token?: string;
1971
2009
  /** Optional. If set to true, and the connection is not found a new connection will be created. In this situation `update_mask` is ignored. The creation will succeed only if the input connection has all the necessary information (e.g a github_config with both user_oauth_token and installation_id properties). */
1972
2010
  allowMissing?: boolean;
1973
2011
  /** Data format for response. */
1974
- alt?: string;
2012
+ alt?: 'json' | 'media' | 'proto';
1975
2013
  /** JSONP */
1976
2014
  callback?: string;
1977
2015
  /** Selector specifying which fields to include in a partial response. */
@@ -2002,13 +2040,13 @@ declare namespace gapi.client {
2002
2040
  patch(
2003
2041
  request: {
2004
2042
  /** V1 error format. */
2005
- '$.xgafv'?: string;
2043
+ '$.xgafv'?: '1' | '2';
2006
2044
  /** OAuth access token. */
2007
2045
  access_token?: string;
2008
2046
  /** Optional. If set to true, and the connection is not found a new connection will be created. In this situation `update_mask` is ignored. The creation will succeed only if the input connection has all the necessary information (e.g a github_config with both user_oauth_token and installation_id properties). */
2009
2047
  allowMissing?: boolean;
2010
2048
  /** Data format for response. */
2011
- alt?: string;
2049
+ alt?: 'json' | 'media' | 'proto';
2012
2050
  /** JSONP */
2013
2051
  callback?: string;
2014
2052
  /** Selector specifying which fields to include in a partial response. */
@@ -2039,11 +2077,11 @@ declare namespace gapi.client {
2039
2077
  /** ProcessGitHubEnterpriseWebhook is called by the external GitHub Enterprise instances for notifying events. */
2040
2078
  processGitHubEnterpriseWebhook(request: {
2041
2079
  /** V1 error format. */
2042
- '$.xgafv'?: string;
2080
+ '$.xgafv'?: '1' | '2';
2043
2081
  /** OAuth access token. */
2044
2082
  access_token?: string;
2045
2083
  /** Data format for response. */
2046
- alt?: string;
2084
+ alt?: 'json' | 'media' | 'proto';
2047
2085
  /** JSONP */
2048
2086
  callback?: string;
2049
2087
  /** Selector specifying which fields to include in a partial response. */
@@ -2068,11 +2106,11 @@ declare namespace gapi.client {
2068
2106
  processGitHubEnterpriseWebhook(
2069
2107
  request: {
2070
2108
  /** V1 error format. */
2071
- '$.xgafv'?: string;
2109
+ '$.xgafv'?: '1' | '2';
2072
2110
  /** OAuth access token. */
2073
2111
  access_token?: string;
2074
2112
  /** Data format for response. */
2075
- alt?: string;
2113
+ alt?: 'json' | 'media' | 'proto';
2076
2114
  /** JSONP */
2077
2115
  callback?: string;
2078
2116
  /** Selector specifying which fields to include in a partial response. */
@@ -2100,11 +2138,11 @@ declare namespace gapi.client {
2100
2138
  /** Gets a single Deployment Event. */
2101
2139
  get(request?: {
2102
2140
  /** V1 error format. */
2103
- '$.xgafv'?: string;
2141
+ '$.xgafv'?: '1' | '2';
2104
2142
  /** OAuth access token. */
2105
2143
  access_token?: string;
2106
2144
  /** Data format for response. */
2107
- alt?: string;
2145
+ alt?: 'json' | 'media' | 'proto';
2108
2146
  /** JSONP */
2109
2147
  callback?: string;
2110
2148
  /** Selector specifying which fields to include in a partial response. */
@@ -2127,11 +2165,11 @@ declare namespace gapi.client {
2127
2165
  /** Lists Deployment Events in a given insights config. */
2128
2166
  list(request?: {
2129
2167
  /** V1 error format. */
2130
- '$.xgafv'?: string;
2168
+ '$.xgafv'?: '1' | '2';
2131
2169
  /** OAuth access token. */
2132
2170
  access_token?: string;
2133
2171
  /** Data format for response. */
2134
- alt?: string;
2172
+ alt?: 'json' | 'media' | 'proto';
2135
2173
  /** JSONP */
2136
2174
  callback?: string;
2137
2175
  /** Selector specifying which fields to include in a partial response. */
@@ -2162,11 +2200,11 @@ declare namespace gapi.client {
2162
2200
  /** Creates a new InsightsConfig in a given project and location. */
2163
2201
  create(request: {
2164
2202
  /** V1 error format. */
2165
- '$.xgafv'?: string;
2203
+ '$.xgafv'?: '1' | '2';
2166
2204
  /** OAuth access token. */
2167
2205
  access_token?: string;
2168
2206
  /** Data format for response. */
2169
- alt?: string;
2207
+ alt?: 'json' | 'media' | 'proto';
2170
2208
  /** JSONP */
2171
2209
  callback?: string;
2172
2210
  /** Selector specifying which fields to include in a partial response. */
@@ -2195,11 +2233,11 @@ declare namespace gapi.client {
2195
2233
  create(
2196
2234
  request: {
2197
2235
  /** V1 error format. */
2198
- '$.xgafv'?: string;
2236
+ '$.xgafv'?: '1' | '2';
2199
2237
  /** OAuth access token. */
2200
2238
  access_token?: string;
2201
2239
  /** Data format for response. */
2202
- alt?: string;
2240
+ alt?: 'json' | 'media' | 'proto';
2203
2241
  /** JSONP */
2204
2242
  callback?: string;
2205
2243
  /** Selector specifying which fields to include in a partial response. */
@@ -2228,11 +2266,11 @@ declare namespace gapi.client {
2228
2266
  /** Deletes a single Insight. */
2229
2267
  delete(request?: {
2230
2268
  /** V1 error format. */
2231
- '$.xgafv'?: string;
2269
+ '$.xgafv'?: '1' | '2';
2232
2270
  /** OAuth access token. */
2233
2271
  access_token?: string;
2234
2272
  /** Data format for response. */
2235
- alt?: string;
2273
+ alt?: 'json' | 'media' | 'proto';
2236
2274
  /** JSONP */
2237
2275
  callback?: string;
2238
2276
  /** 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. */
@@ -2261,11 +2299,11 @@ declare namespace gapi.client {
2261
2299
  /** Gets details of a single Insight. */
2262
2300
  get(request?: {
2263
2301
  /** V1 error format. */
2264
- '$.xgafv'?: string;
2302
+ '$.xgafv'?: '1' | '2';
2265
2303
  /** OAuth access token. */
2266
2304
  access_token?: string;
2267
2305
  /** Data format for response. */
2268
- alt?: string;
2306
+ alt?: 'json' | 'media' | 'proto';
2269
2307
  /** JSONP */
2270
2308
  callback?: string;
2271
2309
  /** Selector specifying which fields to include in a partial response. */
@@ -2288,11 +2326,11 @@ declare namespace gapi.client {
2288
2326
  /** Lists InsightsConfigs in a given project and location. */
2289
2327
  list(request?: {
2290
2328
  /** V1 error format. */
2291
- '$.xgafv'?: string;
2329
+ '$.xgafv'?: '1' | '2';
2292
2330
  /** OAuth access token. */
2293
2331
  access_token?: string;
2294
2332
  /** Data format for response. */
2295
- alt?: string;
2333
+ alt?: 'json' | 'media' | 'proto';
2296
2334
  /** JSONP */
2297
2335
  callback?: string;
2298
2336
  /** Selector specifying which fields to include in a partial response. */
@@ -2323,13 +2361,13 @@ declare namespace gapi.client {
2323
2361
  /** Updates the parameters of a single InsightsConfig. */
2324
2362
  patch(request: {
2325
2363
  /** V1 error format. */
2326
- '$.xgafv'?: string;
2364
+ '$.xgafv'?: '1' | '2';
2327
2365
  /** OAuth access token. */
2328
2366
  access_token?: string;
2329
2367
  /** Optional. If set to true, and the insightsConfig is not found a new insightsConfig will be created. In this situation `update_mask` is ignored. The creation will succeed only if the input insightsConfig has all the necessary information (e.g a github_config with both user_oauth_token and installation_id properties). */
2330
2368
  allowMissing?: boolean;
2331
2369
  /** Data format for response. */
2332
- alt?: string;
2370
+ alt?: 'json' | 'media' | 'proto';
2333
2371
  /** JSONP */
2334
2372
  callback?: string;
2335
2373
  /** Selector specifying which fields to include in a partial response. */
@@ -2358,13 +2396,13 @@ declare namespace gapi.client {
2358
2396
  patch(
2359
2397
  request: {
2360
2398
  /** V1 error format. */
2361
- '$.xgafv'?: string;
2399
+ '$.xgafv'?: '1' | '2';
2362
2400
  /** OAuth access token. */
2363
2401
  access_token?: string;
2364
2402
  /** Optional. If set to true, and the insightsConfig is not found a new insightsConfig will be created. In this situation `update_mask` is ignored. The creation will succeed only if the input insightsConfig has all the necessary information (e.g a github_config with both user_oauth_token and installation_id properties). */
2365
2403
  allowMissing?: boolean;
2366
2404
  /** Data format for response. */
2367
- alt?: string;
2405
+ alt?: 'json' | 'media' | 'proto';
2368
2406
  /** JSONP */
2369
2407
  callback?: string;
2370
2408
  /** Selector specifying which fields to include in a partial response. */
@@ -2396,11 +2434,11 @@ declare namespace gapi.client {
2396
2434
  /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
2397
2435
  cancel(request: {
2398
2436
  /** V1 error format. */
2399
- '$.xgafv'?: string;
2437
+ '$.xgafv'?: '1' | '2';
2400
2438
  /** OAuth access token. */
2401
2439
  access_token?: string;
2402
2440
  /** Data format for response. */
2403
- alt?: string;
2441
+ alt?: 'json' | 'media' | 'proto';
2404
2442
  /** JSONP */
2405
2443
  callback?: string;
2406
2444
  /** Selector specifying which fields to include in a partial response. */
@@ -2425,11 +2463,11 @@ declare namespace gapi.client {
2425
2463
  cancel(
2426
2464
  request: {
2427
2465
  /** V1 error format. */
2428
- '$.xgafv'?: string;
2466
+ '$.xgafv'?: '1' | '2';
2429
2467
  /** OAuth access token. */
2430
2468
  access_token?: string;
2431
2469
  /** Data format for response. */
2432
- alt?: string;
2470
+ alt?: 'json' | 'media' | 'proto';
2433
2471
  /** JSONP */
2434
2472
  callback?: string;
2435
2473
  /** Selector specifying which fields to include in a partial response. */
@@ -2454,11 +2492,11 @@ declare namespace gapi.client {
2454
2492
  /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
2455
2493
  delete(request?: {
2456
2494
  /** V1 error format. */
2457
- '$.xgafv'?: string;
2495
+ '$.xgafv'?: '1' | '2';
2458
2496
  /** OAuth access token. */
2459
2497
  access_token?: string;
2460
2498
  /** Data format for response. */
2461
- alt?: string;
2499
+ alt?: 'json' | 'media' | 'proto';
2462
2500
  /** JSONP */
2463
2501
  callback?: string;
2464
2502
  /** Selector specifying which fields to include in a partial response. */
@@ -2481,11 +2519,11 @@ declare namespace gapi.client {
2481
2519
  /** 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. */
2482
2520
  get(request?: {
2483
2521
  /** V1 error format. */
2484
- '$.xgafv'?: string;
2522
+ '$.xgafv'?: '1' | '2';
2485
2523
  /** OAuth access token. */
2486
2524
  access_token?: string;
2487
2525
  /** Data format for response. */
2488
- alt?: string;
2526
+ alt?: 'json' | 'media' | 'proto';
2489
2527
  /** JSONP */
2490
2528
  callback?: string;
2491
2529
  /** Selector specifying which fields to include in a partial response. */
@@ -2508,11 +2546,11 @@ declare namespace gapi.client {
2508
2546
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
2509
2547
  list(request?: {
2510
2548
  /** V1 error format. */
2511
- '$.xgafv'?: string;
2549
+ '$.xgafv'?: '1' | '2';
2512
2550
  /** OAuth access token. */
2513
2551
  access_token?: string;
2514
2552
  /** Data format for response. */
2515
- alt?: string;
2553
+ alt?: 'json' | 'media' | 'proto';
2516
2554
  /** JSONP */
2517
2555
  callback?: string;
2518
2556
  /** Selector specifying which fields to include in a partial response. */
@@ -2545,11 +2583,11 @@ declare namespace gapi.client {
2545
2583
  /** Gets information about a location. */
2546
2584
  get(request?: {
2547
2585
  /** V1 error format. */
2548
- '$.xgafv'?: string;
2586
+ '$.xgafv'?: '1' | '2';
2549
2587
  /** OAuth access token. */
2550
2588
  access_token?: string;
2551
2589
  /** Data format for response. */
2552
- alt?: string;
2590
+ alt?: 'json' | 'media' | 'proto';
2553
2591
  /** JSONP */
2554
2592
  callback?: string;
2555
2593
  /** Selector specifying which fields to include in a partial response. */
@@ -2569,17 +2607,17 @@ declare namespace gapi.client {
2569
2607
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2570
2608
  uploadType?: string;
2571
2609
  }): Request<Location>;
2572
- /** 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. */
2610
+ /** 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. */
2573
2611
  list(request?: {
2574
2612
  /** V1 error format. */
2575
- '$.xgafv'?: string;
2613
+ '$.xgafv'?: '1' | '2';
2576
2614
  /** OAuth access token. */
2577
2615
  access_token?: string;
2578
2616
  /** Data format for response. */
2579
- alt?: string;
2617
+ alt?: 'json' | 'media' | 'proto';
2580
2618
  /** JSONP */
2581
2619
  callback?: string;
2582
- /** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */
2620
+ /** Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */
2583
2621
  extraLocationTypes?: string | string[];
2584
2622
  /** Selector specifying which fields to include in a partial response. */
2585
2623
  fields?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.developerconnect-v1",
3
- "version": "0.1.20260313",
3
+ "version": "0.1.20260528",
4
4
  "description": "TypeScript typings for Developer Connect API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -11,6 +11,23 @@ Install typings for Developer Connect API:
11
11
  npm install @types/gapi.client.developerconnect-v1 --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.developerconnect-v1"
26
+ ]
27
+ }
28
+ }
29
+ ```
30
+
14
31
  ## Usage
15
32
 
16
33
  You need to initialize Google API client in your code: