@maxim_mazurok/gapi.client.developerconnect-v1 0.1.20260303 → 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.
- package/index.d.ts +250 -133
- package/package.json +1 -1
- 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:
|
|
12
|
+
// Revision: 20260528
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -33,6 +33,8 @@ declare namespace gapi.client {
|
|
|
33
33
|
annotations?: {[P in string]: string};
|
|
34
34
|
/** Output only. The timestamp when the accountConnector was created. */
|
|
35
35
|
createTime?: string;
|
|
36
|
+
/** Custom OAuth config. */
|
|
37
|
+
customOauthConfig?: CustomOAuthConfig;
|
|
36
38
|
/** 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
39
|
etag?: string;
|
|
38
40
|
/** Optional. Labels as key value pairs */
|
|
@@ -43,6 +45,10 @@ declare namespace gapi.client {
|
|
|
43
45
|
oauthStartUri?: string;
|
|
44
46
|
/** Optional. Provider OAuth config. */
|
|
45
47
|
providerOauthConfig?: ProviderOAuthConfig;
|
|
48
|
+
/** Optional. Configuration for the http and git proxy features. */
|
|
49
|
+
proxyConfig?: ProxyConfig;
|
|
50
|
+
/** Output only. A system-assigned unique identifier for the Account Connector. */
|
|
51
|
+
uid?: string;
|
|
46
52
|
/** Output only. The timestamp when the accountConnector was updated. */
|
|
47
53
|
updateTime?: string;
|
|
48
54
|
}
|
|
@@ -81,6 +87,8 @@ declare namespace gapi.client {
|
|
|
81
87
|
deployTime?: string;
|
|
82
88
|
/** Output only. Unique identifier of `ArtifactDeployment`. */
|
|
83
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[];
|
|
84
92
|
/** Output only. The source commits at which this artifact was built. Extracted from provenance. */
|
|
85
93
|
sourceCommitUris?: string[];
|
|
86
94
|
/** Output only. The time at which the deployment was undeployed, all artifacts are considered undeployed once this time is set. */
|
|
@@ -171,6 +179,34 @@ declare namespace gapi.client {
|
|
|
171
179
|
/** Required. The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`. */
|
|
172
180
|
keyReference?: string;
|
|
173
181
|
}
|
|
182
|
+
interface CustomOAuthConfig {
|
|
183
|
+
/** Required. Immutable. The OAuth2 authorization server URL. */
|
|
184
|
+
authUri?: string;
|
|
185
|
+
/** Required. The client ID of the OAuth application. */
|
|
186
|
+
clientId?: string;
|
|
187
|
+
/** Required. Input only. The client secret of the OAuth application. It will be provided as plain text, but encrypted and stored in developer connect. As INPUT_ONLY field, it will not be included in the output. */
|
|
188
|
+
clientSecret?: string;
|
|
189
|
+
/** Required. The host URI of the OAuth application. */
|
|
190
|
+
hostUri?: string;
|
|
191
|
+
/** Optional. Disable PKCE for this OAuth config. PKCE is enabled by default. */
|
|
192
|
+
pkceDisabled?: boolean;
|
|
193
|
+
/** Required. The type of the SCM provider. */
|
|
194
|
+
scmProvider?:
|
|
195
|
+
| 'SCM_PROVIDER_UNKNOWN'
|
|
196
|
+
| 'GITHUB_ENTERPRISE'
|
|
197
|
+
| 'GITLAB_ENTERPRISE'
|
|
198
|
+
| 'BITBUCKET_DATA_CENTER';
|
|
199
|
+
/** Required. The scopes to be requested during OAuth. */
|
|
200
|
+
scopes?: string[];
|
|
201
|
+
/** Output only. SCM server version installed at the host URI. */
|
|
202
|
+
serverVersion?: string;
|
|
203
|
+
/** Optional. Configuration for using Service Directory to connect to a private service. */
|
|
204
|
+
serviceDirectoryConfig?: ServiceDirectoryConfig;
|
|
205
|
+
/** Optional. SSL certificate to use for requests to a private service. */
|
|
206
|
+
sslCaCertificate?: string;
|
|
207
|
+
/** Required. Immutable. The OAuth2 token request URL. */
|
|
208
|
+
tokenUri?: string;
|
|
209
|
+
}
|
|
174
210
|
interface DeploymentEvent {
|
|
175
211
|
/** Output only. The artifact deployments of the DeploymentEvent. Each artifact deployment contains the artifact uri and the runtime configuration uri. For GKE, this would be all the containers images that are deployed in the pod. */
|
|
176
212
|
artifactDeployments?: ArtifactDeployment[];
|
|
@@ -185,7 +221,7 @@ declare namespace gapi.client {
|
|
|
185
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. */
|
|
186
222
|
runtimeDeploymentUri?: string;
|
|
187
223
|
/** Output only. The state of the DeploymentEvent. */
|
|
188
|
-
state?:
|
|
224
|
+
state?: 'STATE_UNSPECIFIED' | 'STATE_ACTIVE' | 'STATE_INACTIVE';
|
|
189
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. */
|
|
190
226
|
undeployTime?: string;
|
|
191
227
|
/** Output only. The update time of the DeploymentEvent. */
|
|
@@ -243,6 +279,12 @@ declare namespace gapi.client {
|
|
|
243
279
|
/** The token content. */
|
|
244
280
|
token?: string;
|
|
245
281
|
}
|
|
282
|
+
interface FetchUserRepositoriesResponse {
|
|
283
|
+
/** A token identifying a page of results the server should return. */
|
|
284
|
+
nextPageToken?: string;
|
|
285
|
+
/** The repositories that the user can access with this account connector. */
|
|
286
|
+
userRepos?: UserRepository[];
|
|
287
|
+
}
|
|
246
288
|
interface FinishOAuthResponse {
|
|
247
289
|
/** The error resulted from exchanging OAuth tokens from the service provider. */
|
|
248
290
|
exchangeError?: ExchangeError;
|
|
@@ -265,7 +307,12 @@ declare namespace gapi.client {
|
|
|
265
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. */
|
|
266
308
|
authorizerCredential?: OAuthCredential;
|
|
267
309
|
/** Required. Immutable. The GitHub Application that was installed to the GitHub user or organization. */
|
|
268
|
-
githubApp?:
|
|
310
|
+
githubApp?:
|
|
311
|
+
| 'GIT_HUB_APP_UNSPECIFIED'
|
|
312
|
+
| 'DEVELOPER_CONNECT'
|
|
313
|
+
| 'FIREBASE'
|
|
314
|
+
| 'GEMINI_CODE_ASSIST'
|
|
315
|
+
| 'DATAFORM';
|
|
269
316
|
/** Output only. The URI to navigate to in order to manage the installation associated with this GitHubConfig. */
|
|
270
317
|
installationUri?: string;
|
|
271
318
|
}
|
|
@@ -375,7 +422,7 @@ declare namespace gapi.client {
|
|
|
375
422
|
/** The HTTP request/response body as raw binary. */
|
|
376
423
|
data?: string;
|
|
377
424
|
/** Application specific response metadata. Must be set in the first response for streaming APIs. */
|
|
378
|
-
extensions?:
|
|
425
|
+
extensions?: {[P in string]: any}[];
|
|
379
426
|
}
|
|
380
427
|
interface InsightsConfig {
|
|
381
428
|
/** Optional. User specified annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations. */
|
|
@@ -399,7 +446,7 @@ declare namespace gapi.client {
|
|
|
399
446
|
/** Output only. The runtime configurations where the application is deployed. */
|
|
400
447
|
runtimeConfigs?: RuntimeConfig[];
|
|
401
448
|
/** Optional. Output only. The state of the InsightsConfig. */
|
|
402
|
-
state?:
|
|
449
|
+
state?: 'STATE_UNSPECIFIED' | 'PENDING' | 'COMPLETE' | 'ERROR';
|
|
403
450
|
/** Output only. Update timestamp. */
|
|
404
451
|
updateTime?: string;
|
|
405
452
|
}
|
|
@@ -417,7 +464,12 @@ declare namespace gapi.client {
|
|
|
417
464
|
/** Output only. Message of what the user should do next to continue the installation. Empty string if the installation is already complete. */
|
|
418
465
|
message?: string;
|
|
419
466
|
/** Output only. Current step of the installation process. */
|
|
420
|
-
stage?:
|
|
467
|
+
stage?:
|
|
468
|
+
| 'STAGE_UNSPECIFIED'
|
|
469
|
+
| 'PENDING_CREATE_APP'
|
|
470
|
+
| 'PENDING_USER_OAUTH'
|
|
471
|
+
| 'PENDING_INSTALL_APP'
|
|
472
|
+
| 'COMPLETE';
|
|
421
473
|
}
|
|
422
474
|
interface LinkableGitRepository {
|
|
423
475
|
/** The clone uri of the repository. */
|
|
@@ -557,7 +609,22 @@ declare namespace gapi.client {
|
|
|
557
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. */
|
|
558
610
|
scopes?: string[];
|
|
559
611
|
/** Optional. Immutable. Developer Connect provided OAuth. */
|
|
560
|
-
systemProviderId?:
|
|
612
|
+
systemProviderId?:
|
|
613
|
+
| 'SYSTEM_PROVIDER_UNSPECIFIED'
|
|
614
|
+
| 'GITHUB'
|
|
615
|
+
| 'GITLAB'
|
|
616
|
+
| 'GOOGLE'
|
|
617
|
+
| 'SENTRY'
|
|
618
|
+
| 'ROVO'
|
|
619
|
+
| 'NEW_RELIC'
|
|
620
|
+
| 'DATASTAX'
|
|
621
|
+
| 'DYNATRACE';
|
|
622
|
+
}
|
|
623
|
+
interface ProxyConfig {
|
|
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. */
|
|
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;
|
|
561
628
|
}
|
|
562
629
|
interface RuntimeConfig {
|
|
563
630
|
/** Output only. App Hub Service. */
|
|
@@ -569,7 +636,7 @@ declare namespace gapi.client {
|
|
|
569
636
|
/** Output only. Cloud Run runtime. */
|
|
570
637
|
googleCloudRun?: GoogleCloudRun;
|
|
571
638
|
/** Output only. The state of the Runtime. */
|
|
572
|
-
state?:
|
|
639
|
+
state?: 'STATE_UNSPECIFIED' | 'LINKED' | 'UNLINKED';
|
|
573
640
|
/** Required. Immutable. The URI of the runtime configuration. For GKE, this is the cluster name. For Cloud Run, this is the service name. */
|
|
574
641
|
uri?: string;
|
|
575
642
|
}
|
|
@@ -593,7 +660,16 @@ declare namespace gapi.client {
|
|
|
593
660
|
/** The list of scopes requested by the application. */
|
|
594
661
|
scopes?: string[];
|
|
595
662
|
/** The ID of the system provider. */
|
|
596
|
-
systemProviderId?:
|
|
663
|
+
systemProviderId?:
|
|
664
|
+
| 'SYSTEM_PROVIDER_UNSPECIFIED'
|
|
665
|
+
| 'GITHUB'
|
|
666
|
+
| 'GITLAB'
|
|
667
|
+
| 'GOOGLE'
|
|
668
|
+
| 'SENTRY'
|
|
669
|
+
| 'ROVO'
|
|
670
|
+
| 'NEW_RELIC'
|
|
671
|
+
| 'DATASTAX'
|
|
672
|
+
| 'DYNATRACE';
|
|
597
673
|
/** The ticket to be used for post processing the callback from the service provider. */
|
|
598
674
|
ticket?: string;
|
|
599
675
|
}
|
|
@@ -601,7 +677,7 @@ declare namespace gapi.client {
|
|
|
601
677
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
602
678
|
code?: number;
|
|
603
679
|
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
604
|
-
details?:
|
|
680
|
+
details?: {[P in string]: any}[];
|
|
605
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. */
|
|
606
682
|
message?: string;
|
|
607
683
|
}
|
|
@@ -621,15 +697,23 @@ declare namespace gapi.client {
|
|
|
621
697
|
/** Required. A SecretManager resource containing the user token that authorizes the Developer Connect connection. Format: `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location). */
|
|
622
698
|
userTokenSecretVersion?: string;
|
|
623
699
|
}
|
|
700
|
+
interface UserRepository {
|
|
701
|
+
/** Output only. The git clone URL of the repo. For example: https://github.com/myuser/myrepo.git */
|
|
702
|
+
cloneUri?: string;
|
|
703
|
+
/** Output only. The user friendly repo name (e.g., myuser/myrepo) */
|
|
704
|
+
displayName?: string;
|
|
705
|
+
/** Output only. The Git proxy URL for this repo. For example: https://us-west1-git.developerconnect.dev/a/my-proj/my-ac/myuser/myrepo.git. Populated only when `proxy_config.enabled` is set to `true` in the Account Connector. This URL is used by other Google services that integrate with Developer Connect. */
|
|
706
|
+
gitProxyUri?: string;
|
|
707
|
+
}
|
|
624
708
|
interface UsersResource {
|
|
625
709
|
/** Deletes a single User. */
|
|
626
710
|
delete(request?: {
|
|
627
711
|
/** V1 error format. */
|
|
628
|
-
'$.xgafv'?:
|
|
712
|
+
'$.xgafv'?: '1' | '2';
|
|
629
713
|
/** OAuth access token. */
|
|
630
714
|
access_token?: string;
|
|
631
715
|
/** Data format for response. */
|
|
632
|
-
alt?:
|
|
716
|
+
alt?: 'json' | 'media' | 'proto';
|
|
633
717
|
/** JSONP */
|
|
634
718
|
callback?: string;
|
|
635
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. */
|
|
@@ -658,11 +742,11 @@ declare namespace gapi.client {
|
|
|
658
742
|
/** Delete the User based on the user credentials. */
|
|
659
743
|
deleteSelf(request?: {
|
|
660
744
|
/** V1 error format. */
|
|
661
|
-
'$.xgafv'?:
|
|
745
|
+
'$.xgafv'?: '1' | '2';
|
|
662
746
|
/** OAuth access token. */
|
|
663
747
|
access_token?: string;
|
|
664
748
|
/** Data format for response. */
|
|
665
|
-
alt?:
|
|
749
|
+
alt?: 'json' | 'media' | 'proto';
|
|
666
750
|
/** JSONP */
|
|
667
751
|
callback?: string;
|
|
668
752
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -685,13 +769,13 @@ declare namespace gapi.client {
|
|
|
685
769
|
/** Fetches OAuth access token based on end user credentials. */
|
|
686
770
|
fetchAccessToken(request: {
|
|
687
771
|
/** V1 error format. */
|
|
688
|
-
'$.xgafv'?:
|
|
772
|
+
'$.xgafv'?: '1' | '2';
|
|
689
773
|
/** OAuth access token. */
|
|
690
774
|
access_token?: string;
|
|
691
775
|
/** Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`. */
|
|
692
776
|
accountConnector: string;
|
|
693
777
|
/** Data format for response. */
|
|
694
|
-
alt?:
|
|
778
|
+
alt?: 'json' | 'media' | 'proto';
|
|
695
779
|
/** JSONP */
|
|
696
780
|
callback?: string;
|
|
697
781
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -714,13 +798,13 @@ declare namespace gapi.client {
|
|
|
714
798
|
fetchAccessToken(
|
|
715
799
|
request: {
|
|
716
800
|
/** V1 error format. */
|
|
717
|
-
'$.xgafv'?:
|
|
801
|
+
'$.xgafv'?: '1' | '2';
|
|
718
802
|
/** OAuth access token. */
|
|
719
803
|
access_token?: string;
|
|
720
804
|
/** Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`. */
|
|
721
805
|
accountConnector: string;
|
|
722
806
|
/** Data format for response. */
|
|
723
|
-
alt?:
|
|
807
|
+
alt?: 'json' | 'media' | 'proto';
|
|
724
808
|
/** JSONP */
|
|
725
809
|
callback?: string;
|
|
726
810
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -743,11 +827,11 @@ declare namespace gapi.client {
|
|
|
743
827
|
/** Fetch the User based on the user credentials. */
|
|
744
828
|
fetchSelf(request?: {
|
|
745
829
|
/** V1 error format. */
|
|
746
|
-
'$.xgafv'?:
|
|
830
|
+
'$.xgafv'?: '1' | '2';
|
|
747
831
|
/** OAuth access token. */
|
|
748
832
|
access_token?: string;
|
|
749
833
|
/** Data format for response. */
|
|
750
|
-
alt?:
|
|
834
|
+
alt?: 'json' | 'media' | 'proto';
|
|
751
835
|
/** JSONP */
|
|
752
836
|
callback?: string;
|
|
753
837
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -770,13 +854,13 @@ declare namespace gapi.client {
|
|
|
770
854
|
/** Finishes OAuth flow for an account connector. */
|
|
771
855
|
finishOAuthFlow(request?: {
|
|
772
856
|
/** V1 error format. */
|
|
773
|
-
'$.xgafv'?:
|
|
857
|
+
'$.xgafv'?: '1' | '2';
|
|
774
858
|
/** OAuth access token. */
|
|
775
859
|
access_token?: string;
|
|
776
860
|
/** Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`. */
|
|
777
861
|
accountConnector: string;
|
|
778
862
|
/** Data format for response. */
|
|
779
|
-
alt?:
|
|
863
|
+
alt?: 'json' | 'media' | 'proto';
|
|
780
864
|
/** JSONP */
|
|
781
865
|
callback?: string;
|
|
782
866
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -807,11 +891,11 @@ declare namespace gapi.client {
|
|
|
807
891
|
/** Lists Users in a given project, location, and account_connector. */
|
|
808
892
|
list(request?: {
|
|
809
893
|
/** V1 error format. */
|
|
810
|
-
'$.xgafv'?:
|
|
894
|
+
'$.xgafv'?: '1' | '2';
|
|
811
895
|
/** OAuth access token. */
|
|
812
896
|
access_token?: string;
|
|
813
897
|
/** Data format for response. */
|
|
814
|
-
alt?:
|
|
898
|
+
alt?: 'json' | 'media' | 'proto';
|
|
815
899
|
/** JSONP */
|
|
816
900
|
callback?: string;
|
|
817
901
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -842,13 +926,13 @@ declare namespace gapi.client {
|
|
|
842
926
|
/** Starts OAuth flow for an account connector. */
|
|
843
927
|
startOAuthFlow(request?: {
|
|
844
928
|
/** V1 error format. */
|
|
845
|
-
'$.xgafv'?:
|
|
929
|
+
'$.xgafv'?: '1' | '2';
|
|
846
930
|
/** OAuth access token. */
|
|
847
931
|
access_token?: string;
|
|
848
932
|
/** Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`. */
|
|
849
933
|
accountConnector: string;
|
|
850
934
|
/** Data format for response. */
|
|
851
|
-
alt?:
|
|
935
|
+
alt?: 'json' | 'media' | 'proto';
|
|
852
936
|
/** JSONP */
|
|
853
937
|
callback?: string;
|
|
854
938
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -871,13 +955,13 @@ declare namespace gapi.client {
|
|
|
871
955
|
/** Creates a new AccountConnector in a given project and location. */
|
|
872
956
|
create(request: {
|
|
873
957
|
/** V1 error format. */
|
|
874
|
-
'$.xgafv'?:
|
|
958
|
+
'$.xgafv'?: '1' | '2';
|
|
875
959
|
/** OAuth access token. */
|
|
876
960
|
access_token?: string;
|
|
877
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. */
|
|
878
962
|
accountConnectorId?: string;
|
|
879
963
|
/** Data format for response. */
|
|
880
|
-
alt?:
|
|
964
|
+
alt?: 'json' | 'media' | 'proto';
|
|
881
965
|
/** JSONP */
|
|
882
966
|
callback?: string;
|
|
883
967
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -906,13 +990,13 @@ declare namespace gapi.client {
|
|
|
906
990
|
create(
|
|
907
991
|
request: {
|
|
908
992
|
/** V1 error format. */
|
|
909
|
-
'$.xgafv'?:
|
|
993
|
+
'$.xgafv'?: '1' | '2';
|
|
910
994
|
/** OAuth access token. */
|
|
911
995
|
access_token?: string;
|
|
912
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. */
|
|
913
997
|
accountConnectorId?: string;
|
|
914
998
|
/** Data format for response. */
|
|
915
|
-
alt?:
|
|
999
|
+
alt?: 'json' | 'media' | 'proto';
|
|
916
1000
|
/** JSONP */
|
|
917
1001
|
callback?: string;
|
|
918
1002
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -941,11 +1025,11 @@ declare namespace gapi.client {
|
|
|
941
1025
|
/** Deletes a single AccountConnector. */
|
|
942
1026
|
delete(request?: {
|
|
943
1027
|
/** V1 error format. */
|
|
944
|
-
'$.xgafv'?:
|
|
1028
|
+
'$.xgafv'?: '1' | '2';
|
|
945
1029
|
/** OAuth access token. */
|
|
946
1030
|
access_token?: string;
|
|
947
1031
|
/** Data format for response. */
|
|
948
|
-
alt?:
|
|
1032
|
+
alt?: 'json' | 'media' | 'proto';
|
|
949
1033
|
/** JSONP */
|
|
950
1034
|
callback?: string;
|
|
951
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. */
|
|
@@ -973,14 +1057,47 @@ declare namespace gapi.client {
|
|
|
973
1057
|
/** Optional. If set, validate the request, but do not actually post it. */
|
|
974
1058
|
validateOnly?: boolean;
|
|
975
1059
|
}): Request<Operation>;
|
|
1060
|
+
/** FetchUserRepositories returns a list of UserRepos that are available for an account connector resource. */
|
|
1061
|
+
fetchUserRepositories(request?: {
|
|
1062
|
+
/** V1 error format. */
|
|
1063
|
+
'$.xgafv'?: '1' | '2';
|
|
1064
|
+
/** OAuth access token. */
|
|
1065
|
+
access_token?: string;
|
|
1066
|
+
/** Required. The name of the Account Connector resource in the format: `projects/*/locations/*/accountConnectors/*`. */
|
|
1067
|
+
accountConnector: string;
|
|
1068
|
+
/** Data format for response. */
|
|
1069
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1070
|
+
/** JSONP */
|
|
1071
|
+
callback?: string;
|
|
1072
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1073
|
+
fields?: string;
|
|
1074
|
+
/** 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. */
|
|
1075
|
+
key?: string;
|
|
1076
|
+
/** OAuth 2.0 token for the current user. */
|
|
1077
|
+
oauth_token?: string;
|
|
1078
|
+
/** Optional. Number of results to return in the list. Defaults to 20. */
|
|
1079
|
+
pageSize?: number;
|
|
1080
|
+
/** Optional. Page start. */
|
|
1081
|
+
pageToken?: string;
|
|
1082
|
+
/** Returns response with indentations and line breaks. */
|
|
1083
|
+
prettyPrint?: boolean;
|
|
1084
|
+
/** 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. */
|
|
1085
|
+
quotaUser?: string;
|
|
1086
|
+
/** Optional. The name of the repository. When specified, only the UserRepository with this name will be returned if the repository is accessible under this Account Connector for the calling user. */
|
|
1087
|
+
repository?: string;
|
|
1088
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1089
|
+
upload_protocol?: string;
|
|
1090
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1091
|
+
uploadType?: string;
|
|
1092
|
+
}): Request<FetchUserRepositoriesResponse>;
|
|
976
1093
|
/** Gets details of a single AccountConnector. */
|
|
977
1094
|
get(request?: {
|
|
978
1095
|
/** V1 error format. */
|
|
979
|
-
'$.xgafv'?:
|
|
1096
|
+
'$.xgafv'?: '1' | '2';
|
|
980
1097
|
/** OAuth access token. */
|
|
981
1098
|
access_token?: string;
|
|
982
1099
|
/** Data format for response. */
|
|
983
|
-
alt?:
|
|
1100
|
+
alt?: 'json' | 'media' | 'proto';
|
|
984
1101
|
/** JSONP */
|
|
985
1102
|
callback?: string;
|
|
986
1103
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1003,11 +1120,11 @@ declare namespace gapi.client {
|
|
|
1003
1120
|
/** Lists AccountConnectors in a given project and location. */
|
|
1004
1121
|
list(request?: {
|
|
1005
1122
|
/** V1 error format. */
|
|
1006
|
-
'$.xgafv'?:
|
|
1123
|
+
'$.xgafv'?: '1' | '2';
|
|
1007
1124
|
/** OAuth access token. */
|
|
1008
1125
|
access_token?: string;
|
|
1009
1126
|
/** Data format for response. */
|
|
1010
|
-
alt?:
|
|
1127
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1011
1128
|
/** JSONP */
|
|
1012
1129
|
callback?: string;
|
|
1013
1130
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1038,13 +1155,13 @@ declare namespace gapi.client {
|
|
|
1038
1155
|
/** Updates the parameters of a single AccountConnector. */
|
|
1039
1156
|
patch(request: {
|
|
1040
1157
|
/** V1 error format. */
|
|
1041
|
-
'$.xgafv'?:
|
|
1158
|
+
'$.xgafv'?: '1' | '2';
|
|
1042
1159
|
/** OAuth access token. */
|
|
1043
1160
|
access_token?: string;
|
|
1044
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 */
|
|
1045
1162
|
allowMissing?: boolean;
|
|
1046
1163
|
/** Data format for response. */
|
|
1047
|
-
alt?:
|
|
1164
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1048
1165
|
/** JSONP */
|
|
1049
1166
|
callback?: string;
|
|
1050
1167
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1075,13 +1192,13 @@ declare namespace gapi.client {
|
|
|
1075
1192
|
patch(
|
|
1076
1193
|
request: {
|
|
1077
1194
|
/** V1 error format. */
|
|
1078
|
-
'$.xgafv'?:
|
|
1195
|
+
'$.xgafv'?: '1' | '2';
|
|
1079
1196
|
/** OAuth access token. */
|
|
1080
1197
|
access_token?: string;
|
|
1081
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 */
|
|
1082
1199
|
allowMissing?: boolean;
|
|
1083
1200
|
/** Data format for response. */
|
|
1084
|
-
alt?:
|
|
1201
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1085
1202
|
/** JSONP */
|
|
1086
1203
|
callback?: string;
|
|
1087
1204
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1115,11 +1232,11 @@ declare namespace gapi.client {
|
|
|
1115
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. */
|
|
1116
1233
|
create(request: {
|
|
1117
1234
|
/** V1 error format. */
|
|
1118
|
-
'$.xgafv'?:
|
|
1235
|
+
'$.xgafv'?: '1' | '2';
|
|
1119
1236
|
/** OAuth access token. */
|
|
1120
1237
|
access_token?: string;
|
|
1121
1238
|
/** Data format for response. */
|
|
1122
|
-
alt?:
|
|
1239
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1123
1240
|
/** JSONP */
|
|
1124
1241
|
callback?: string;
|
|
1125
1242
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1150,11 +1267,11 @@ declare namespace gapi.client {
|
|
|
1150
1267
|
create(
|
|
1151
1268
|
request: {
|
|
1152
1269
|
/** V1 error format. */
|
|
1153
|
-
'$.xgafv'?:
|
|
1270
|
+
'$.xgafv'?: '1' | '2';
|
|
1154
1271
|
/** OAuth access token. */
|
|
1155
1272
|
access_token?: string;
|
|
1156
1273
|
/** Data format for response. */
|
|
1157
|
-
alt?:
|
|
1274
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1158
1275
|
/** JSONP */
|
|
1159
1276
|
callback?: string;
|
|
1160
1277
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1185,11 +1302,11 @@ declare namespace gapi.client {
|
|
|
1185
1302
|
/** Deletes a single GitRepositoryLink. */
|
|
1186
1303
|
delete(request?: {
|
|
1187
1304
|
/** V1 error format. */
|
|
1188
|
-
'$.xgafv'?:
|
|
1305
|
+
'$.xgafv'?: '1' | '2';
|
|
1189
1306
|
/** OAuth access token. */
|
|
1190
1307
|
access_token?: string;
|
|
1191
1308
|
/** Data format for response. */
|
|
1192
|
-
alt?:
|
|
1309
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1193
1310
|
/** JSONP */
|
|
1194
1311
|
callback?: string;
|
|
1195
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. */
|
|
@@ -1218,11 +1335,11 @@ declare namespace gapi.client {
|
|
|
1218
1335
|
/** Fetch the list of branches or tags for a given repository. */
|
|
1219
1336
|
fetchGitRefs(request?: {
|
|
1220
1337
|
/** V1 error format. */
|
|
1221
|
-
'$.xgafv'?:
|
|
1338
|
+
'$.xgafv'?: '1' | '2';
|
|
1222
1339
|
/** OAuth access token. */
|
|
1223
1340
|
access_token?: string;
|
|
1224
1341
|
/** Data format for response. */
|
|
1225
|
-
alt?:
|
|
1342
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1226
1343
|
/** JSONP */
|
|
1227
1344
|
callback?: string;
|
|
1228
1345
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1242,7 +1359,7 @@ declare namespace gapi.client {
|
|
|
1242
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. */
|
|
1243
1360
|
quotaUser?: string;
|
|
1244
1361
|
/** Required. Type of refs to fetch. */
|
|
1245
|
-
refType?:
|
|
1362
|
+
refType?: 'REF_TYPE_UNSPECIFIED' | 'TAG' | 'BRANCH';
|
|
1246
1363
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1247
1364
|
upload_protocol?: string;
|
|
1248
1365
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -1251,11 +1368,11 @@ declare namespace gapi.client {
|
|
|
1251
1368
|
/** Fetches read token of a given gitRepositoryLink. */
|
|
1252
1369
|
fetchReadToken(request: {
|
|
1253
1370
|
/** V1 error format. */
|
|
1254
|
-
'$.xgafv'?:
|
|
1371
|
+
'$.xgafv'?: '1' | '2';
|
|
1255
1372
|
/** OAuth access token. */
|
|
1256
1373
|
access_token?: string;
|
|
1257
1374
|
/** Data format for response. */
|
|
1258
|
-
alt?:
|
|
1375
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1259
1376
|
/** JSONP */
|
|
1260
1377
|
callback?: string;
|
|
1261
1378
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1280,11 +1397,11 @@ declare namespace gapi.client {
|
|
|
1280
1397
|
fetchReadToken(
|
|
1281
1398
|
request: {
|
|
1282
1399
|
/** V1 error format. */
|
|
1283
|
-
'$.xgafv'?:
|
|
1400
|
+
'$.xgafv'?: '1' | '2';
|
|
1284
1401
|
/** OAuth access token. */
|
|
1285
1402
|
access_token?: string;
|
|
1286
1403
|
/** Data format for response. */
|
|
1287
|
-
alt?:
|
|
1404
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1288
1405
|
/** JSONP */
|
|
1289
1406
|
callback?: string;
|
|
1290
1407
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1309,11 +1426,11 @@ declare namespace gapi.client {
|
|
|
1309
1426
|
/** Fetches read/write token of a given gitRepositoryLink. */
|
|
1310
1427
|
fetchReadWriteToken(request: {
|
|
1311
1428
|
/** V1 error format. */
|
|
1312
|
-
'$.xgafv'?:
|
|
1429
|
+
'$.xgafv'?: '1' | '2';
|
|
1313
1430
|
/** OAuth access token. */
|
|
1314
1431
|
access_token?: string;
|
|
1315
1432
|
/** Data format for response. */
|
|
1316
|
-
alt?:
|
|
1433
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1317
1434
|
/** JSONP */
|
|
1318
1435
|
callback?: string;
|
|
1319
1436
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1338,11 +1455,11 @@ declare namespace gapi.client {
|
|
|
1338
1455
|
fetchReadWriteToken(
|
|
1339
1456
|
request: {
|
|
1340
1457
|
/** V1 error format. */
|
|
1341
|
-
'$.xgafv'?:
|
|
1458
|
+
'$.xgafv'?: '1' | '2';
|
|
1342
1459
|
/** OAuth access token. */
|
|
1343
1460
|
access_token?: string;
|
|
1344
1461
|
/** Data format for response. */
|
|
1345
|
-
alt?:
|
|
1462
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1346
1463
|
/** JSONP */
|
|
1347
1464
|
callback?: string;
|
|
1348
1465
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1367,11 +1484,11 @@ declare namespace gapi.client {
|
|
|
1367
1484
|
/** Gets details of a single GitRepositoryLink. */
|
|
1368
1485
|
get(request?: {
|
|
1369
1486
|
/** V1 error format. */
|
|
1370
|
-
'$.xgafv'?:
|
|
1487
|
+
'$.xgafv'?: '1' | '2';
|
|
1371
1488
|
/** OAuth access token. */
|
|
1372
1489
|
access_token?: string;
|
|
1373
1490
|
/** Data format for response. */
|
|
1374
|
-
alt?:
|
|
1491
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1375
1492
|
/** JSONP */
|
|
1376
1493
|
callback?: string;
|
|
1377
1494
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1394,11 +1511,11 @@ declare namespace gapi.client {
|
|
|
1394
1511
|
/** Lists GitRepositoryLinks in a given project, location, and connection. */
|
|
1395
1512
|
list(request?: {
|
|
1396
1513
|
/** V1 error format. */
|
|
1397
|
-
'$.xgafv'?:
|
|
1514
|
+
'$.xgafv'?: '1' | '2';
|
|
1398
1515
|
/** OAuth access token. */
|
|
1399
1516
|
access_token?: string;
|
|
1400
1517
|
/** Data format for response. */
|
|
1401
|
-
alt?:
|
|
1518
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1402
1519
|
/** JSONP */
|
|
1403
1520
|
callback?: string;
|
|
1404
1521
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1429,11 +1546,11 @@ declare namespace gapi.client {
|
|
|
1429
1546
|
/** ProcessBitbucketCloudWebhook is called by the external Bitbucket Cloud instances for notifying events. */
|
|
1430
1547
|
processBitbucketCloudWebhook(request: {
|
|
1431
1548
|
/** V1 error format. */
|
|
1432
|
-
'$.xgafv'?:
|
|
1549
|
+
'$.xgafv'?: '1' | '2';
|
|
1433
1550
|
/** OAuth access token. */
|
|
1434
1551
|
access_token?: string;
|
|
1435
1552
|
/** Data format for response. */
|
|
1436
|
-
alt?:
|
|
1553
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1437
1554
|
/** JSONP */
|
|
1438
1555
|
callback?: string;
|
|
1439
1556
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1458,11 +1575,11 @@ declare namespace gapi.client {
|
|
|
1458
1575
|
processBitbucketCloudWebhook(
|
|
1459
1576
|
request: {
|
|
1460
1577
|
/** V1 error format. */
|
|
1461
|
-
'$.xgafv'?:
|
|
1578
|
+
'$.xgafv'?: '1' | '2';
|
|
1462
1579
|
/** OAuth access token. */
|
|
1463
1580
|
access_token?: string;
|
|
1464
1581
|
/** Data format for response. */
|
|
1465
|
-
alt?:
|
|
1582
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1466
1583
|
/** JSONP */
|
|
1467
1584
|
callback?: string;
|
|
1468
1585
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1487,11 +1604,11 @@ declare namespace gapi.client {
|
|
|
1487
1604
|
/** ProcessBitbucketDataCenterWebhook is called by the external Bitbucket Data Center instances for notifying events. */
|
|
1488
1605
|
processBitbucketDataCenterWebhook(request: {
|
|
1489
1606
|
/** V1 error format. */
|
|
1490
|
-
'$.xgafv'?:
|
|
1607
|
+
'$.xgafv'?: '1' | '2';
|
|
1491
1608
|
/** OAuth access token. */
|
|
1492
1609
|
access_token?: string;
|
|
1493
1610
|
/** Data format for response. */
|
|
1494
|
-
alt?:
|
|
1611
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1495
1612
|
/** JSONP */
|
|
1496
1613
|
callback?: string;
|
|
1497
1614
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1516,11 +1633,11 @@ declare namespace gapi.client {
|
|
|
1516
1633
|
processBitbucketDataCenterWebhook(
|
|
1517
1634
|
request: {
|
|
1518
1635
|
/** V1 error format. */
|
|
1519
|
-
'$.xgafv'?:
|
|
1636
|
+
'$.xgafv'?: '1' | '2';
|
|
1520
1637
|
/** OAuth access token. */
|
|
1521
1638
|
access_token?: string;
|
|
1522
1639
|
/** Data format for response. */
|
|
1523
|
-
alt?:
|
|
1640
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1524
1641
|
/** JSONP */
|
|
1525
1642
|
callback?: string;
|
|
1526
1643
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1545,11 +1662,11 @@ declare namespace gapi.client {
|
|
|
1545
1662
|
/** ProcessGitLabEnterpriseWebhook is called by the external GitLab Enterprise instances for notifying events. */
|
|
1546
1663
|
processGitLabEnterpriseWebhook(request: {
|
|
1547
1664
|
/** V1 error format. */
|
|
1548
|
-
'$.xgafv'?:
|
|
1665
|
+
'$.xgafv'?: '1' | '2';
|
|
1549
1666
|
/** OAuth access token. */
|
|
1550
1667
|
access_token?: string;
|
|
1551
1668
|
/** Data format for response. */
|
|
1552
|
-
alt?:
|
|
1669
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1553
1670
|
/** JSONP */
|
|
1554
1671
|
callback?: string;
|
|
1555
1672
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1574,11 +1691,11 @@ declare namespace gapi.client {
|
|
|
1574
1691
|
processGitLabEnterpriseWebhook(
|
|
1575
1692
|
request: {
|
|
1576
1693
|
/** V1 error format. */
|
|
1577
|
-
'$.xgafv'?:
|
|
1694
|
+
'$.xgafv'?: '1' | '2';
|
|
1578
1695
|
/** OAuth access token. */
|
|
1579
1696
|
access_token?: string;
|
|
1580
1697
|
/** Data format for response. */
|
|
1581
|
-
alt?:
|
|
1698
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1582
1699
|
/** JSONP */
|
|
1583
1700
|
callback?: string;
|
|
1584
1701
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1603,11 +1720,11 @@ declare namespace gapi.client {
|
|
|
1603
1720
|
/** ProcessGitLabWebhook is called by the GitLab.com for notifying events. */
|
|
1604
1721
|
processGitLabWebhook(request: {
|
|
1605
1722
|
/** V1 error format. */
|
|
1606
|
-
'$.xgafv'?:
|
|
1723
|
+
'$.xgafv'?: '1' | '2';
|
|
1607
1724
|
/** OAuth access token. */
|
|
1608
1725
|
access_token?: string;
|
|
1609
1726
|
/** Data format for response. */
|
|
1610
|
-
alt?:
|
|
1727
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1611
1728
|
/** JSONP */
|
|
1612
1729
|
callback?: string;
|
|
1613
1730
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1632,11 +1749,11 @@ declare namespace gapi.client {
|
|
|
1632
1749
|
processGitLabWebhook(
|
|
1633
1750
|
request: {
|
|
1634
1751
|
/** V1 error format. */
|
|
1635
|
-
'$.xgafv'?:
|
|
1752
|
+
'$.xgafv'?: '1' | '2';
|
|
1636
1753
|
/** OAuth access token. */
|
|
1637
1754
|
access_token?: string;
|
|
1638
1755
|
/** Data format for response. */
|
|
1639
|
-
alt?:
|
|
1756
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1640
1757
|
/** JSONP */
|
|
1641
1758
|
callback?: string;
|
|
1642
1759
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1663,11 +1780,11 @@ declare namespace gapi.client {
|
|
|
1663
1780
|
/** Creates a new Connection in a given project and location. */
|
|
1664
1781
|
create(request: {
|
|
1665
1782
|
/** V1 error format. */
|
|
1666
|
-
'$.xgafv'?:
|
|
1783
|
+
'$.xgafv'?: '1' | '2';
|
|
1667
1784
|
/** OAuth access token. */
|
|
1668
1785
|
access_token?: string;
|
|
1669
1786
|
/** Data format for response. */
|
|
1670
|
-
alt?:
|
|
1787
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1671
1788
|
/** JSONP */
|
|
1672
1789
|
callback?: string;
|
|
1673
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 */
|
|
@@ -1698,11 +1815,11 @@ declare namespace gapi.client {
|
|
|
1698
1815
|
create(
|
|
1699
1816
|
request: {
|
|
1700
1817
|
/** V1 error format. */
|
|
1701
|
-
'$.xgafv'?:
|
|
1818
|
+
'$.xgafv'?: '1' | '2';
|
|
1702
1819
|
/** OAuth access token. */
|
|
1703
1820
|
access_token?: string;
|
|
1704
1821
|
/** Data format for response. */
|
|
1705
|
-
alt?:
|
|
1822
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1706
1823
|
/** JSONP */
|
|
1707
1824
|
callback?: string;
|
|
1708
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 */
|
|
@@ -1733,11 +1850,11 @@ declare namespace gapi.client {
|
|
|
1733
1850
|
/** Deletes a single Connection. */
|
|
1734
1851
|
delete(request?: {
|
|
1735
1852
|
/** V1 error format. */
|
|
1736
|
-
'$.xgafv'?:
|
|
1853
|
+
'$.xgafv'?: '1' | '2';
|
|
1737
1854
|
/** OAuth access token. */
|
|
1738
1855
|
access_token?: string;
|
|
1739
1856
|
/** Data format for response. */
|
|
1740
|
-
alt?:
|
|
1857
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1741
1858
|
/** JSONP */
|
|
1742
1859
|
callback?: string;
|
|
1743
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. */
|
|
@@ -1766,11 +1883,11 @@ declare namespace gapi.client {
|
|
|
1766
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. */
|
|
1767
1884
|
fetchGitHubInstallations(request?: {
|
|
1768
1885
|
/** V1 error format. */
|
|
1769
|
-
'$.xgafv'?:
|
|
1886
|
+
'$.xgafv'?: '1' | '2';
|
|
1770
1887
|
/** OAuth access token. */
|
|
1771
1888
|
access_token?: string;
|
|
1772
1889
|
/** Data format for response. */
|
|
1773
|
-
alt?:
|
|
1890
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1774
1891
|
/** JSONP */
|
|
1775
1892
|
callback?: string;
|
|
1776
1893
|
/** Required. The resource name of the connection in the format `projects/*/locations/*/connections/*`. */
|
|
@@ -1793,11 +1910,11 @@ declare namespace gapi.client {
|
|
|
1793
1910
|
/** FetchLinkableGitRepositories returns a list of git repositories from an SCM that are available to be added to a Connection. */
|
|
1794
1911
|
fetchLinkableGitRepositories(request?: {
|
|
1795
1912
|
/** V1 error format. */
|
|
1796
|
-
'$.xgafv'?:
|
|
1913
|
+
'$.xgafv'?: '1' | '2';
|
|
1797
1914
|
/** OAuth access token. */
|
|
1798
1915
|
access_token?: string;
|
|
1799
1916
|
/** Data format for response. */
|
|
1800
|
-
alt?:
|
|
1917
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1801
1918
|
/** JSONP */
|
|
1802
1919
|
callback?: string;
|
|
1803
1920
|
/** Required. The name of the Connection. Format: `projects/*/locations/*/connections/*`. */
|
|
@@ -1824,11 +1941,11 @@ declare namespace gapi.client {
|
|
|
1824
1941
|
/** Gets details of a single Connection. */
|
|
1825
1942
|
get(request?: {
|
|
1826
1943
|
/** V1 error format. */
|
|
1827
|
-
'$.xgafv'?:
|
|
1944
|
+
'$.xgafv'?: '1' | '2';
|
|
1828
1945
|
/** OAuth access token. */
|
|
1829
1946
|
access_token?: string;
|
|
1830
1947
|
/** Data format for response. */
|
|
1831
|
-
alt?:
|
|
1948
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1832
1949
|
/** JSONP */
|
|
1833
1950
|
callback?: string;
|
|
1834
1951
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1851,11 +1968,11 @@ declare namespace gapi.client {
|
|
|
1851
1968
|
/** Lists Connections in a given project and location. */
|
|
1852
1969
|
list(request?: {
|
|
1853
1970
|
/** V1 error format. */
|
|
1854
|
-
'$.xgafv'?:
|
|
1971
|
+
'$.xgafv'?: '1' | '2';
|
|
1855
1972
|
/** OAuth access token. */
|
|
1856
1973
|
access_token?: string;
|
|
1857
1974
|
/** Data format for response. */
|
|
1858
|
-
alt?:
|
|
1975
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1859
1976
|
/** JSONP */
|
|
1860
1977
|
callback?: string;
|
|
1861
1978
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1886,13 +2003,13 @@ declare namespace gapi.client {
|
|
|
1886
2003
|
/** Updates the parameters of a single Connection. */
|
|
1887
2004
|
patch(request: {
|
|
1888
2005
|
/** V1 error format. */
|
|
1889
|
-
'$.xgafv'?:
|
|
2006
|
+
'$.xgafv'?: '1' | '2';
|
|
1890
2007
|
/** OAuth access token. */
|
|
1891
2008
|
access_token?: string;
|
|
1892
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). */
|
|
1893
2010
|
allowMissing?: boolean;
|
|
1894
2011
|
/** Data format for response. */
|
|
1895
|
-
alt?:
|
|
2012
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1896
2013
|
/** JSONP */
|
|
1897
2014
|
callback?: string;
|
|
1898
2015
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1923,13 +2040,13 @@ declare namespace gapi.client {
|
|
|
1923
2040
|
patch(
|
|
1924
2041
|
request: {
|
|
1925
2042
|
/** V1 error format. */
|
|
1926
|
-
'$.xgafv'?:
|
|
2043
|
+
'$.xgafv'?: '1' | '2';
|
|
1927
2044
|
/** OAuth access token. */
|
|
1928
2045
|
access_token?: string;
|
|
1929
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). */
|
|
1930
2047
|
allowMissing?: boolean;
|
|
1931
2048
|
/** Data format for response. */
|
|
1932
|
-
alt?:
|
|
2049
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1933
2050
|
/** JSONP */
|
|
1934
2051
|
callback?: string;
|
|
1935
2052
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1960,11 +2077,11 @@ declare namespace gapi.client {
|
|
|
1960
2077
|
/** ProcessGitHubEnterpriseWebhook is called by the external GitHub Enterprise instances for notifying events. */
|
|
1961
2078
|
processGitHubEnterpriseWebhook(request: {
|
|
1962
2079
|
/** V1 error format. */
|
|
1963
|
-
'$.xgafv'?:
|
|
2080
|
+
'$.xgafv'?: '1' | '2';
|
|
1964
2081
|
/** OAuth access token. */
|
|
1965
2082
|
access_token?: string;
|
|
1966
2083
|
/** Data format for response. */
|
|
1967
|
-
alt?:
|
|
2084
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1968
2085
|
/** JSONP */
|
|
1969
2086
|
callback?: string;
|
|
1970
2087
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1989,11 +2106,11 @@ declare namespace gapi.client {
|
|
|
1989
2106
|
processGitHubEnterpriseWebhook(
|
|
1990
2107
|
request: {
|
|
1991
2108
|
/** V1 error format. */
|
|
1992
|
-
'$.xgafv'?:
|
|
2109
|
+
'$.xgafv'?: '1' | '2';
|
|
1993
2110
|
/** OAuth access token. */
|
|
1994
2111
|
access_token?: string;
|
|
1995
2112
|
/** Data format for response. */
|
|
1996
|
-
alt?:
|
|
2113
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1997
2114
|
/** JSONP */
|
|
1998
2115
|
callback?: string;
|
|
1999
2116
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2021,11 +2138,11 @@ declare namespace gapi.client {
|
|
|
2021
2138
|
/** Gets a single Deployment Event. */
|
|
2022
2139
|
get(request?: {
|
|
2023
2140
|
/** V1 error format. */
|
|
2024
|
-
'$.xgafv'?:
|
|
2141
|
+
'$.xgafv'?: '1' | '2';
|
|
2025
2142
|
/** OAuth access token. */
|
|
2026
2143
|
access_token?: string;
|
|
2027
2144
|
/** Data format for response. */
|
|
2028
|
-
alt?:
|
|
2145
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2029
2146
|
/** JSONP */
|
|
2030
2147
|
callback?: string;
|
|
2031
2148
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2048,11 +2165,11 @@ declare namespace gapi.client {
|
|
|
2048
2165
|
/** Lists Deployment Events in a given insights config. */
|
|
2049
2166
|
list(request?: {
|
|
2050
2167
|
/** V1 error format. */
|
|
2051
|
-
'$.xgafv'?:
|
|
2168
|
+
'$.xgafv'?: '1' | '2';
|
|
2052
2169
|
/** OAuth access token. */
|
|
2053
2170
|
access_token?: string;
|
|
2054
2171
|
/** Data format for response. */
|
|
2055
|
-
alt?:
|
|
2172
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2056
2173
|
/** JSONP */
|
|
2057
2174
|
callback?: string;
|
|
2058
2175
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2083,11 +2200,11 @@ declare namespace gapi.client {
|
|
|
2083
2200
|
/** Creates a new InsightsConfig in a given project and location. */
|
|
2084
2201
|
create(request: {
|
|
2085
2202
|
/** V1 error format. */
|
|
2086
|
-
'$.xgafv'?:
|
|
2203
|
+
'$.xgafv'?: '1' | '2';
|
|
2087
2204
|
/** OAuth access token. */
|
|
2088
2205
|
access_token?: string;
|
|
2089
2206
|
/** Data format for response. */
|
|
2090
|
-
alt?:
|
|
2207
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2091
2208
|
/** JSONP */
|
|
2092
2209
|
callback?: string;
|
|
2093
2210
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2116,11 +2233,11 @@ declare namespace gapi.client {
|
|
|
2116
2233
|
create(
|
|
2117
2234
|
request: {
|
|
2118
2235
|
/** V1 error format. */
|
|
2119
|
-
'$.xgafv'?:
|
|
2236
|
+
'$.xgafv'?: '1' | '2';
|
|
2120
2237
|
/** OAuth access token. */
|
|
2121
2238
|
access_token?: string;
|
|
2122
2239
|
/** Data format for response. */
|
|
2123
|
-
alt?:
|
|
2240
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2124
2241
|
/** JSONP */
|
|
2125
2242
|
callback?: string;
|
|
2126
2243
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2149,11 +2266,11 @@ declare namespace gapi.client {
|
|
|
2149
2266
|
/** Deletes a single Insight. */
|
|
2150
2267
|
delete(request?: {
|
|
2151
2268
|
/** V1 error format. */
|
|
2152
|
-
'$.xgafv'?:
|
|
2269
|
+
'$.xgafv'?: '1' | '2';
|
|
2153
2270
|
/** OAuth access token. */
|
|
2154
2271
|
access_token?: string;
|
|
2155
2272
|
/** Data format for response. */
|
|
2156
|
-
alt?:
|
|
2273
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2157
2274
|
/** JSONP */
|
|
2158
2275
|
callback?: string;
|
|
2159
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. */
|
|
@@ -2182,11 +2299,11 @@ declare namespace gapi.client {
|
|
|
2182
2299
|
/** Gets details of a single Insight. */
|
|
2183
2300
|
get(request?: {
|
|
2184
2301
|
/** V1 error format. */
|
|
2185
|
-
'$.xgafv'?:
|
|
2302
|
+
'$.xgafv'?: '1' | '2';
|
|
2186
2303
|
/** OAuth access token. */
|
|
2187
2304
|
access_token?: string;
|
|
2188
2305
|
/** Data format for response. */
|
|
2189
|
-
alt?:
|
|
2306
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2190
2307
|
/** JSONP */
|
|
2191
2308
|
callback?: string;
|
|
2192
2309
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2209,11 +2326,11 @@ declare namespace gapi.client {
|
|
|
2209
2326
|
/** Lists InsightsConfigs in a given project and location. */
|
|
2210
2327
|
list(request?: {
|
|
2211
2328
|
/** V1 error format. */
|
|
2212
|
-
'$.xgafv'?:
|
|
2329
|
+
'$.xgafv'?: '1' | '2';
|
|
2213
2330
|
/** OAuth access token. */
|
|
2214
2331
|
access_token?: string;
|
|
2215
2332
|
/** Data format for response. */
|
|
2216
|
-
alt?:
|
|
2333
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2217
2334
|
/** JSONP */
|
|
2218
2335
|
callback?: string;
|
|
2219
2336
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2244,13 +2361,13 @@ declare namespace gapi.client {
|
|
|
2244
2361
|
/** Updates the parameters of a single InsightsConfig. */
|
|
2245
2362
|
patch(request: {
|
|
2246
2363
|
/** V1 error format. */
|
|
2247
|
-
'$.xgafv'?:
|
|
2364
|
+
'$.xgafv'?: '1' | '2';
|
|
2248
2365
|
/** OAuth access token. */
|
|
2249
2366
|
access_token?: string;
|
|
2250
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). */
|
|
2251
2368
|
allowMissing?: boolean;
|
|
2252
2369
|
/** Data format for response. */
|
|
2253
|
-
alt?:
|
|
2370
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2254
2371
|
/** JSONP */
|
|
2255
2372
|
callback?: string;
|
|
2256
2373
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2279,13 +2396,13 @@ declare namespace gapi.client {
|
|
|
2279
2396
|
patch(
|
|
2280
2397
|
request: {
|
|
2281
2398
|
/** V1 error format. */
|
|
2282
|
-
'$.xgafv'?:
|
|
2399
|
+
'$.xgafv'?: '1' | '2';
|
|
2283
2400
|
/** OAuth access token. */
|
|
2284
2401
|
access_token?: string;
|
|
2285
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). */
|
|
2286
2403
|
allowMissing?: boolean;
|
|
2287
2404
|
/** Data format for response. */
|
|
2288
|
-
alt?:
|
|
2405
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2289
2406
|
/** JSONP */
|
|
2290
2407
|
callback?: string;
|
|
2291
2408
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2317,11 +2434,11 @@ declare namespace gapi.client {
|
|
|
2317
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`. */
|
|
2318
2435
|
cancel(request: {
|
|
2319
2436
|
/** V1 error format. */
|
|
2320
|
-
'$.xgafv'?:
|
|
2437
|
+
'$.xgafv'?: '1' | '2';
|
|
2321
2438
|
/** OAuth access token. */
|
|
2322
2439
|
access_token?: string;
|
|
2323
2440
|
/** Data format for response. */
|
|
2324
|
-
alt?:
|
|
2441
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2325
2442
|
/** JSONP */
|
|
2326
2443
|
callback?: string;
|
|
2327
2444
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2346,11 +2463,11 @@ declare namespace gapi.client {
|
|
|
2346
2463
|
cancel(
|
|
2347
2464
|
request: {
|
|
2348
2465
|
/** V1 error format. */
|
|
2349
|
-
'$.xgafv'?:
|
|
2466
|
+
'$.xgafv'?: '1' | '2';
|
|
2350
2467
|
/** OAuth access token. */
|
|
2351
2468
|
access_token?: string;
|
|
2352
2469
|
/** Data format for response. */
|
|
2353
|
-
alt?:
|
|
2470
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2354
2471
|
/** JSONP */
|
|
2355
2472
|
callback?: string;
|
|
2356
2473
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2375,11 +2492,11 @@ declare namespace gapi.client {
|
|
|
2375
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`. */
|
|
2376
2493
|
delete(request?: {
|
|
2377
2494
|
/** V1 error format. */
|
|
2378
|
-
'$.xgafv'?:
|
|
2495
|
+
'$.xgafv'?: '1' | '2';
|
|
2379
2496
|
/** OAuth access token. */
|
|
2380
2497
|
access_token?: string;
|
|
2381
2498
|
/** Data format for response. */
|
|
2382
|
-
alt?:
|
|
2499
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2383
2500
|
/** JSONP */
|
|
2384
2501
|
callback?: string;
|
|
2385
2502
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2402,11 +2519,11 @@ declare namespace gapi.client {
|
|
|
2402
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. */
|
|
2403
2520
|
get(request?: {
|
|
2404
2521
|
/** V1 error format. */
|
|
2405
|
-
'$.xgafv'?:
|
|
2522
|
+
'$.xgafv'?: '1' | '2';
|
|
2406
2523
|
/** OAuth access token. */
|
|
2407
2524
|
access_token?: string;
|
|
2408
2525
|
/** Data format for response. */
|
|
2409
|
-
alt?:
|
|
2526
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2410
2527
|
/** JSONP */
|
|
2411
2528
|
callback?: string;
|
|
2412
2529
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2429,11 +2546,11 @@ declare namespace gapi.client {
|
|
|
2429
2546
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
2430
2547
|
list(request?: {
|
|
2431
2548
|
/** V1 error format. */
|
|
2432
|
-
'$.xgafv'?:
|
|
2549
|
+
'$.xgafv'?: '1' | '2';
|
|
2433
2550
|
/** OAuth access token. */
|
|
2434
2551
|
access_token?: string;
|
|
2435
2552
|
/** Data format for response. */
|
|
2436
|
-
alt?:
|
|
2553
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2437
2554
|
/** JSONP */
|
|
2438
2555
|
callback?: string;
|
|
2439
2556
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2466,11 +2583,11 @@ declare namespace gapi.client {
|
|
|
2466
2583
|
/** Gets information about a location. */
|
|
2467
2584
|
get(request?: {
|
|
2468
2585
|
/** V1 error format. */
|
|
2469
|
-
'$.xgafv'?:
|
|
2586
|
+
'$.xgafv'?: '1' | '2';
|
|
2470
2587
|
/** OAuth access token. */
|
|
2471
2588
|
access_token?: string;
|
|
2472
2589
|
/** Data format for response. */
|
|
2473
|
-
alt?:
|
|
2590
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2474
2591
|
/** JSONP */
|
|
2475
2592
|
callback?: string;
|
|
2476
2593
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2490,17 +2607,17 @@ declare namespace gapi.client {
|
|
|
2490
2607
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2491
2608
|
uploadType?: string;
|
|
2492
2609
|
}): Request<Location>;
|
|
2493
|
-
/** Lists information about the supported locations for this service. This method
|
|
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. */
|
|
2494
2611
|
list(request?: {
|
|
2495
2612
|
/** V1 error format. */
|
|
2496
|
-
'$.xgafv'?:
|
|
2613
|
+
'$.xgafv'?: '1' | '2';
|
|
2497
2614
|
/** OAuth access token. */
|
|
2498
2615
|
access_token?: string;
|
|
2499
2616
|
/** Data format for response. */
|
|
2500
|
-
alt?:
|
|
2617
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2501
2618
|
/** JSONP */
|
|
2502
2619
|
callback?: string;
|
|
2503
|
-
/** Optional. Do not use this field
|
|
2620
|
+
/** Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */
|
|
2504
2621
|
extraLocationTypes?: string | string[];
|
|
2505
2622
|
/** Selector specifying which fields to include in a partial response. */
|
|
2506
2623
|
fields?: string;
|
package/package.json
CHANGED
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:
|