@maxim_mazurok/gapi.client.cloudbuild-v2 0.0.20240427 → 0.0.20240519
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 +18 -18
- 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://cloudbuild.googleapis.com/$discovery/rest?version=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240519
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -65,7 +65,7 @@ declare namespace gapi.client {
|
|
|
65
65
|
interface BitbucketDataCenterConfig {
|
|
66
66
|
/** Required. A http access token with the `REPO_ADMIN` scope access. */
|
|
67
67
|
authorizerCredential?: UserCredential;
|
|
68
|
-
/**
|
|
68
|
+
/** Optional. The URI of the Bitbucket Data Center instance or cluster this connection is for. */
|
|
69
69
|
hostUri?: string;
|
|
70
70
|
/** Required. A http access token with the `REPO_READ` access. */
|
|
71
71
|
readAuthorizerCredential?: UserCredential;
|
|
@@ -96,7 +96,7 @@ declare namespace gapi.client {
|
|
|
96
96
|
whenExpressions?: WhenExpression[];
|
|
97
97
|
}
|
|
98
98
|
interface Connection {
|
|
99
|
-
/** Allows clients to store small amounts of arbitrary data. */
|
|
99
|
+
/** Optional. Allows clients to store small amounts of arbitrary data. */
|
|
100
100
|
annotations?: {[P in string]: string};
|
|
101
101
|
/** Configuration for connections to Bitbucket Cloud. */
|
|
102
102
|
bitbucketCloudConfig?: BitbucketCloudConfig;
|
|
@@ -104,7 +104,7 @@ declare namespace gapi.client {
|
|
|
104
104
|
bitbucketDataCenterConfig?: BitbucketDataCenterConfig;
|
|
105
105
|
/** Output only. Server assigned timestamp for when the connection was created. */
|
|
106
106
|
createTime?: string;
|
|
107
|
-
/** If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled. */
|
|
107
|
+
/** Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled. */
|
|
108
108
|
disabled?: boolean;
|
|
109
109
|
/** 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. */
|
|
110
110
|
etag?: string;
|
|
@@ -186,9 +186,9 @@ declare namespace gapi.client {
|
|
|
186
186
|
token?: string;
|
|
187
187
|
}
|
|
188
188
|
interface GitHubConfig {
|
|
189
|
-
/** GitHub App installation id. */
|
|
189
|
+
/** Optional. GitHub App installation id. */
|
|
190
190
|
appInstallationId?: string;
|
|
191
|
-
/** OAuth credential of the account that authorized the Cloud Build GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the Cloud Build GitHub App. */
|
|
191
|
+
/** Optional. OAuth credential of the account that authorized the Cloud Build GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the Cloud Build GitHub App. */
|
|
192
192
|
authorizerCredential?: OAuthCredential;
|
|
193
193
|
}
|
|
194
194
|
interface GoogleDevtoolsCloudbuildV2Condition {
|
|
@@ -208,37 +208,37 @@ declare namespace gapi.client {
|
|
|
208
208
|
interface GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig {
|
|
209
209
|
/** Required. API Key used for authentication of webhook events. */
|
|
210
210
|
apiKey?: string;
|
|
211
|
-
/** Id of the GitHub App created from the manifest. */
|
|
211
|
+
/** Optional. Id of the GitHub App created from the manifest. */
|
|
212
212
|
appId?: string;
|
|
213
|
-
/** ID of the installation of the GitHub App. */
|
|
213
|
+
/** Optional. ID of the installation of the GitHub App. */
|
|
214
214
|
appInstallationId?: string;
|
|
215
|
-
/** The URL-friendly name of the GitHub App. */
|
|
215
|
+
/** Optional. The URL-friendly name of the GitHub App. */
|
|
216
216
|
appSlug?: string;
|
|
217
217
|
/** Required. The URI of the GitHub Enterprise host this connection is for. */
|
|
218
218
|
hostUri?: string;
|
|
219
|
-
/** SecretManager resource containing the private key of the GitHub App, formatted as `projects/*/secrets/*/versions/*`. */
|
|
219
|
+
/** Optional. SecretManager resource containing the private key of the GitHub App, formatted as `projects/*/secrets/*/versions/*`. */
|
|
220
220
|
privateKeySecretVersion?: string;
|
|
221
221
|
/** Output only. GitHub Enterprise version installed at the host_uri. */
|
|
222
222
|
serverVersion?: string;
|
|
223
|
-
/** Configuration for using Service Directory to privately connect to a GitHub Enterprise server. This should only be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitHub Enterprise server will be made over the public internet. */
|
|
223
|
+
/** Optional. Configuration for using Service Directory to privately connect to a GitHub Enterprise server. This should only be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitHub Enterprise server will be made over the public internet. */
|
|
224
224
|
serviceDirectoryConfig?: GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig;
|
|
225
|
-
/** SSL certificate to use for requests to GitHub Enterprise. */
|
|
225
|
+
/** Optional. SSL certificate to use for requests to GitHub Enterprise. */
|
|
226
226
|
sslCa?: string;
|
|
227
|
-
/** SecretManager resource containing the webhook secret of the GitHub App, formatted as `projects/*/secrets/*/versions/*`. */
|
|
227
|
+
/** Optional. SecretManager resource containing the webhook secret of the GitHub App, formatted as `projects/*/secrets/*/versions/*`. */
|
|
228
228
|
webhookSecretSecretVersion?: string;
|
|
229
229
|
}
|
|
230
230
|
interface GoogleDevtoolsCloudbuildV2GitLabConfig {
|
|
231
231
|
/** Required. A GitLab personal access token with the `api` scope access. */
|
|
232
232
|
authorizerCredential?: UserCredential;
|
|
233
|
-
/** The URI of the GitLab Enterprise host this connection is for. If not specified, the default value is https://gitlab.com. */
|
|
233
|
+
/** Optional. The URI of the GitLab Enterprise host this connection is for. If not specified, the default value is https://gitlab.com. */
|
|
234
234
|
hostUri?: string;
|
|
235
235
|
/** Required. A GitLab personal access token with the minimum `read_api` scope access. */
|
|
236
236
|
readAuthorizerCredential?: UserCredential;
|
|
237
237
|
/** Output only. Version of the GitLab Enterprise server running on the `host_uri`. */
|
|
238
238
|
serverVersion?: string;
|
|
239
|
-
/** Configuration for using Service Directory to privately connect to a GitLab Enterprise server. This should only be set if the GitLab Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitLab Enterprise server will be made over the public internet. */
|
|
239
|
+
/** Optional. Configuration for using Service Directory to privately connect to a GitLab Enterprise server. This should only be set if the GitLab Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitLab Enterprise server will be made over the public internet. */
|
|
240
240
|
serviceDirectoryConfig?: GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig;
|
|
241
|
-
/** SSL certificate to use for requests to GitLab Enterprise. */
|
|
241
|
+
/** Optional. SSL certificate to use for requests to GitLab Enterprise. */
|
|
242
242
|
sslCa?: string;
|
|
243
243
|
/** Required. Immutable. SecretManager resource containing the webhook secret of a GitLab Enterprise project, formatted as `projects/*/secrets/*/versions/*`. */
|
|
244
244
|
webhookSecretSecretVersion?: string;
|
|
@@ -310,7 +310,7 @@ declare namespace gapi.client {
|
|
|
310
310
|
name?: string;
|
|
311
311
|
}
|
|
312
312
|
interface OAuthCredential {
|
|
313
|
-
/** A SecretManager resource containing the OAuth token that authorizes the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`. */
|
|
313
|
+
/** Optional. A SecretManager resource containing the OAuth token that authorizes the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`. */
|
|
314
314
|
oauthTokenSecretVersion?: string;
|
|
315
315
|
/** Output only. The username associated to this token. */
|
|
316
316
|
username?: string;
|
|
@@ -522,7 +522,7 @@ declare namespace gapi.client {
|
|
|
522
522
|
storage?: string;
|
|
523
523
|
}
|
|
524
524
|
interface Repository {
|
|
525
|
-
/** Allows clients to store small amounts of arbitrary data. */
|
|
525
|
+
/** Optional. Allows clients to store small amounts of arbitrary data. */
|
|
526
526
|
annotations?: {[P in string]: string};
|
|
527
527
|
/** Output only. Server assigned timestamp for when the connection was created. */
|
|
528
528
|
createTime?: string;
|