@maxim_mazurok/gapi.client.developerconnect-v1 0.1.20260303 → 0.1.20260313
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 +80 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://developerconnect.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260313
|
|
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,8 @@ 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;
|
|
46
50
|
/** Output only. The timestamp when the accountConnector was updated. */
|
|
47
51
|
updateTime?: string;
|
|
48
52
|
}
|
|
@@ -171,6 +175,30 @@ declare namespace gapi.client {
|
|
|
171
175
|
/** 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
176
|
keyReference?: string;
|
|
173
177
|
}
|
|
178
|
+
interface CustomOAuthConfig {
|
|
179
|
+
/** Required. Immutable. The OAuth2 authorization server URL. */
|
|
180
|
+
authUri?: string;
|
|
181
|
+
/** Required. The client ID of the OAuth application. */
|
|
182
|
+
clientId?: string;
|
|
183
|
+
/** 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. */
|
|
184
|
+
clientSecret?: string;
|
|
185
|
+
/** Required. The host URI of the OAuth application. */
|
|
186
|
+
hostUri?: string;
|
|
187
|
+
/** Optional. Disable PKCE for this OAuth config. PKCE is enabled by default. */
|
|
188
|
+
pkceDisabled?: boolean;
|
|
189
|
+
/** Required. The type of the SCM provider. */
|
|
190
|
+
scmProvider?: string;
|
|
191
|
+
/** Required. The scopes to be requested during OAuth. */
|
|
192
|
+
scopes?: string[];
|
|
193
|
+
/** Output only. SCM server version installed at the host URI. */
|
|
194
|
+
serverVersion?: string;
|
|
195
|
+
/** Optional. Configuration for using Service Directory to connect to a private service. */
|
|
196
|
+
serviceDirectoryConfig?: ServiceDirectoryConfig;
|
|
197
|
+
/** Optional. SSL certificate to use for requests to a private service. */
|
|
198
|
+
sslCaCertificate?: string;
|
|
199
|
+
/** Required. Immutable. The OAuth2 token request URL. */
|
|
200
|
+
tokenUri?: string;
|
|
201
|
+
}
|
|
174
202
|
interface DeploymentEvent {
|
|
175
203
|
/** 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
204
|
artifactDeployments?: ArtifactDeployment[];
|
|
@@ -243,6 +271,12 @@ declare namespace gapi.client {
|
|
|
243
271
|
/** The token content. */
|
|
244
272
|
token?: string;
|
|
245
273
|
}
|
|
274
|
+
interface FetchUserRepositoriesResponse {
|
|
275
|
+
/** A token identifying a page of results the server should return. */
|
|
276
|
+
nextPageToken?: string;
|
|
277
|
+
/** The repositories that the user can access with this account connector. */
|
|
278
|
+
userRepos?: UserRepository[];
|
|
279
|
+
}
|
|
246
280
|
interface FinishOAuthResponse {
|
|
247
281
|
/** The error resulted from exchanging OAuth tokens from the service provider. */
|
|
248
282
|
exchangeError?: ExchangeError;
|
|
@@ -559,6 +593,10 @@ declare namespace gapi.client {
|
|
|
559
593
|
/** Optional. Immutable. Developer Connect provided OAuth. */
|
|
560
594
|
systemProviderId?: string;
|
|
561
595
|
}
|
|
596
|
+
interface ProxyConfig {
|
|
597
|
+
/** 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
|
+
enabled?: boolean;
|
|
599
|
+
}
|
|
562
600
|
interface RuntimeConfig {
|
|
563
601
|
/** Output only. App Hub Service. */
|
|
564
602
|
appHubService?: AppHubService;
|
|
@@ -621,6 +659,14 @@ declare namespace gapi.client {
|
|
|
621
659
|
/** 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
660
|
userTokenSecretVersion?: string;
|
|
623
661
|
}
|
|
662
|
+
interface UserRepository {
|
|
663
|
+
/** Output only. The git clone URL of the repo. For example: https://github.com/myuser/myrepo.git */
|
|
664
|
+
cloneUri?: string;
|
|
665
|
+
/** Output only. The user friendly repo name (e.g., myuser/myrepo) */
|
|
666
|
+
displayName?: string;
|
|
667
|
+
/** 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. */
|
|
668
|
+
gitProxyUri?: string;
|
|
669
|
+
}
|
|
624
670
|
interface UsersResource {
|
|
625
671
|
/** Deletes a single User. */
|
|
626
672
|
delete(request?: {
|
|
@@ -973,6 +1019,39 @@ declare namespace gapi.client {
|
|
|
973
1019
|
/** Optional. If set, validate the request, but do not actually post it. */
|
|
974
1020
|
validateOnly?: boolean;
|
|
975
1021
|
}): Request<Operation>;
|
|
1022
|
+
/** FetchUserRepositories returns a list of UserRepos that are available for an account connector resource. */
|
|
1023
|
+
fetchUserRepositories(request?: {
|
|
1024
|
+
/** V1 error format. */
|
|
1025
|
+
'$.xgafv'?: string;
|
|
1026
|
+
/** OAuth access token. */
|
|
1027
|
+
access_token?: string;
|
|
1028
|
+
/** Required. The name of the Account Connector resource in the format: `projects/*/locations/*/accountConnectors/*`. */
|
|
1029
|
+
accountConnector: string;
|
|
1030
|
+
/** Data format for response. */
|
|
1031
|
+
alt?: string;
|
|
1032
|
+
/** JSONP */
|
|
1033
|
+
callback?: string;
|
|
1034
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1035
|
+
fields?: string;
|
|
1036
|
+
/** 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. */
|
|
1037
|
+
key?: string;
|
|
1038
|
+
/** OAuth 2.0 token for the current user. */
|
|
1039
|
+
oauth_token?: string;
|
|
1040
|
+
/** Optional. Number of results to return in the list. Defaults to 20. */
|
|
1041
|
+
pageSize?: number;
|
|
1042
|
+
/** Optional. Page start. */
|
|
1043
|
+
pageToken?: string;
|
|
1044
|
+
/** Returns response with indentations and line breaks. */
|
|
1045
|
+
prettyPrint?: boolean;
|
|
1046
|
+
/** 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. */
|
|
1047
|
+
quotaUser?: string;
|
|
1048
|
+
/** 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. */
|
|
1049
|
+
repository?: string;
|
|
1050
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1051
|
+
upload_protocol?: string;
|
|
1052
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1053
|
+
uploadType?: string;
|
|
1054
|
+
}): Request<FetchUserRepositoriesResponse>;
|
|
976
1055
|
/** Gets details of a single AccountConnector. */
|
|
977
1056
|
get(request?: {
|
|
978
1057
|
/** V1 error format. */
|