@google-cloud/containeranalysis 3.1.8 → 3.4.0

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 (30) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +17 -17
  3. package/build/protos/google/devtools/containeranalysis/v1/containeranalysis.proto +14 -17
  4. package/build/protos/grafeas/v1/attestation.proto +17 -0
  5. package/build/protos/grafeas/v1/build.proto +13 -1
  6. package/build/protos/grafeas/v1/common.proto +20 -2
  7. package/build/protos/grafeas/v1/compliance.proto +79 -0
  8. package/build/protos/grafeas/v1/cvss.proto +76 -0
  9. package/build/protos/grafeas/v1/discovery.proto +5 -0
  10. package/build/protos/grafeas/v1/dsse_attestation.proto +52 -0
  11. package/build/protos/grafeas/v1/grafeas.proto +13 -0
  12. package/build/protos/grafeas/v1/intoto_provenance.proto +113 -0
  13. package/build/protos/grafeas/v1/intoto_statement.proto +50 -0
  14. package/build/protos/grafeas/v1/package.proto +9 -1
  15. package/build/protos/grafeas/v1/severity.proto +38 -0
  16. package/build/protos/grafeas/v1/slsa_provenance.proto +114 -0
  17. package/build/protos/grafeas/v1/vulnerability.proto +31 -19
  18. package/build/protos/protos.d.ts +7040 -4274
  19. package/build/protos/protos.js +19667 -12384
  20. package/build/protos/protos.json +1994 -1378
  21. package/build/src/v1/container_analysis_client.d.ts +113 -0
  22. package/build/src/v1/container_analysis_client.js +6 -110
  23. package/build/src/v1/container_analysis_client.js.map +1 -1
  24. package/build/src/v1beta1/container_analysis_v1_beta1_client.d.ts +160 -5
  25. package/build/src/v1beta1/container_analysis_v1_beta1_client.js +12 -163
  26. package/build/src/v1beta1/container_analysis_v1_beta1_client.js.map +1 -1
  27. package/build/src/v1beta1/grafeas_v1_beta1_client.d.ts +328 -15
  28. package/build/src/v1beta1/grafeas_v1_beta1_client.js +24 -349
  29. package/build/src/v1beta1/grafeas_v1_beta1_client.js.map +1 -1
  30. package/package.json +3 -3
@@ -111,15 +111,128 @@ export declare class ContainerAnalysisClient {
111
111
  static get scopes(): string[];
112
112
  getProjectId(): Promise<string>;
113
113
  getProjectId(callback: Callback<string, undefined, undefined>): void;
114
+ /**
115
+ * Sets the access control policy on the specified note or occurrence.
116
+ * Requires `containeranalysis.notes.setIamPolicy` or
117
+ * `containeranalysis.occurrences.setIamPolicy` permission if the resource is
118
+ * a note or an occurrence, respectively.
119
+ *
120
+ * The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
121
+ * notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
122
+ * occurrences.
123
+ *
124
+ * @param {Object} request
125
+ * The request object that will be sent.
126
+ * @param {string} request.resource
127
+ * REQUIRED: The resource for which the policy is being specified.
128
+ * See the operation documentation for the appropriate value for this field.
129
+ * @param {google.iam.v1.Policy} request.policy
130
+ * REQUIRED: The complete policy to be applied to the `resource`. The size of
131
+ * the policy is limited to a few 10s of KB. An empty policy is a
132
+ * valid policy but certain Cloud Platform services (such as Projects)
133
+ * might reject them.
134
+ * @param {google.protobuf.FieldMask} request.updateMask
135
+ * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
136
+ * the fields in the mask will be modified. If no mask is provided, the
137
+ * following default mask is used:
138
+ *
139
+ * `paths: "bindings, etag"`
140
+ * @param {object} [options]
141
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
142
+ * @returns {Promise} - The promise which resolves to an array.
143
+ * The first element of the array is an object representing [Policy]{@link google.iam.v1.Policy}.
144
+ * Please see the
145
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
146
+ * for more details and examples.
147
+ * @example <caption>include:samples/generated/v1/container_analysis.set_iam_policy.js</caption>
148
+ * region_tag:containeranalysis_v1_generated_ContainerAnalysis_SetIamPolicy_async
149
+ */
114
150
  setIamPolicy(request?: protos.google.iam.v1.ISetIamPolicyRequest, options?: CallOptions): Promise<[protos.google.iam.v1.IPolicy, protos.google.iam.v1.ISetIamPolicyRequest | undefined, {} | undefined]>;
115
151
  setIamPolicy(request: protos.google.iam.v1.ISetIamPolicyRequest, options: CallOptions, callback: Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.ISetIamPolicyRequest | null | undefined, {} | null | undefined>): void;
116
152
  setIamPolicy(request: protos.google.iam.v1.ISetIamPolicyRequest, callback: Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.ISetIamPolicyRequest | null | undefined, {} | null | undefined>): void;
153
+ /**
154
+ * Gets the access control policy for a note or an occurrence resource.
155
+ * Requires `containeranalysis.notes.setIamPolicy` or
156
+ * `containeranalysis.occurrences.setIamPolicy` permission if the resource is
157
+ * a note or occurrence, respectively.
158
+ *
159
+ * The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
160
+ * notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
161
+ * occurrences.
162
+ *
163
+ * @param {Object} request
164
+ * The request object that will be sent.
165
+ * @param {string} request.resource
166
+ * REQUIRED: The resource for which the policy is being requested.
167
+ * See the operation documentation for the appropriate value for this field.
168
+ * @param {google.iam.v1.GetPolicyOptions} request.options
169
+ * OPTIONAL: A `GetPolicyOptions` object for specifying options to
170
+ * `GetIamPolicy`.
171
+ * @param {object} [options]
172
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
173
+ * @returns {Promise} - The promise which resolves to an array.
174
+ * The first element of the array is an object representing [Policy]{@link google.iam.v1.Policy}.
175
+ * Please see the
176
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
177
+ * for more details and examples.
178
+ * @example <caption>include:samples/generated/v1/container_analysis.get_iam_policy.js</caption>
179
+ * region_tag:containeranalysis_v1_generated_ContainerAnalysis_GetIamPolicy_async
180
+ */
117
181
  getIamPolicy(request?: protos.google.iam.v1.IGetIamPolicyRequest, options?: CallOptions): Promise<[protos.google.iam.v1.IPolicy, protos.google.iam.v1.IGetIamPolicyRequest | undefined, {} | undefined]>;
118
182
  getIamPolicy(request: protos.google.iam.v1.IGetIamPolicyRequest, options: CallOptions, callback: Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.IGetIamPolicyRequest | null | undefined, {} | null | undefined>): void;
119
183
  getIamPolicy(request: protos.google.iam.v1.IGetIamPolicyRequest, callback: Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.IGetIamPolicyRequest | null | undefined, {} | null | undefined>): void;
184
+ /**
185
+ * Returns the permissions that a caller has on the specified note or
186
+ * occurrence. Requires list permission on the project (for example,
187
+ * `containeranalysis.notes.list`).
188
+ *
189
+ * The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
190
+ * notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
191
+ * occurrences.
192
+ *
193
+ * @param {Object} request
194
+ * The request object that will be sent.
195
+ * @param {string} request.resource
196
+ * REQUIRED: The resource for which the policy detail is being requested.
197
+ * See the operation documentation for the appropriate value for this field.
198
+ * @param {string[]} request.permissions
199
+ * The set of permissions to check for the `resource`. Permissions with
200
+ * wildcards (such as '*' or 'storage.*') are not allowed. For more
201
+ * information see
202
+ * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
203
+ * @param {object} [options]
204
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
205
+ * @returns {Promise} - The promise which resolves to an array.
206
+ * The first element of the array is an object representing [TestIamPermissionsResponse]{@link google.iam.v1.TestIamPermissionsResponse}.
207
+ * Please see the
208
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
209
+ * for more details and examples.
210
+ * @example <caption>include:samples/generated/v1/container_analysis.test_iam_permissions.js</caption>
211
+ * region_tag:containeranalysis_v1_generated_ContainerAnalysis_TestIamPermissions_async
212
+ */
120
213
  testIamPermissions(request?: protos.google.iam.v1.ITestIamPermissionsRequest, options?: CallOptions): Promise<[protos.google.iam.v1.ITestIamPermissionsResponse, protos.google.iam.v1.ITestIamPermissionsRequest | undefined, {} | undefined]>;
121
214
  testIamPermissions(request: protos.google.iam.v1.ITestIamPermissionsRequest, options: CallOptions, callback: Callback<protos.google.iam.v1.ITestIamPermissionsResponse, protos.google.iam.v1.ITestIamPermissionsRequest | null | undefined, {} | null | undefined>): void;
122
215
  testIamPermissions(request: protos.google.iam.v1.ITestIamPermissionsRequest, callback: Callback<protos.google.iam.v1.ITestIamPermissionsResponse, protos.google.iam.v1.ITestIamPermissionsRequest | null | undefined, {} | null | undefined>): void;
216
+ /**
217
+ * Gets a summary of the number and severity of occurrences.
218
+ *
219
+ * @param {Object} request
220
+ * The request object that will be sent.
221
+ * @param {string} request.parent
222
+ * Required. The name of the project to get a vulnerability summary for in the form of
223
+ * `projects/[PROJECT_ID]`.
224
+ * @param {string} request.filter
225
+ * The filter expression.
226
+ * @param {object} [options]
227
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
228
+ * @returns {Promise} - The promise which resolves to an array.
229
+ * The first element of the array is an object representing [VulnerabilityOccurrencesSummary]{@link google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary}.
230
+ * Please see the
231
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
232
+ * for more details and examples.
233
+ * @example <caption>include:samples/generated/v1/container_analysis.get_vulnerability_occurrences_summary.js</caption>
234
+ * region_tag:containeranalysis_v1_generated_ContainerAnalysis_GetVulnerabilityOccurrencesSummary_async
235
+ */
123
236
  getVulnerabilityOccurrencesSummary(request?: protos.google.devtools.containeranalysis.v1.IGetVulnerabilityOccurrencesSummaryRequest, options?: CallOptions): Promise<[protos.google.devtools.containeranalysis.v1.IVulnerabilityOccurrencesSummary, (protos.google.devtools.containeranalysis.v1.IGetVulnerabilityOccurrencesSummaryRequest | undefined), {} | undefined]>;
124
237
  getVulnerabilityOccurrencesSummary(request: protos.google.devtools.containeranalysis.v1.IGetVulnerabilityOccurrencesSummaryRequest, options: CallOptions, callback: Callback<protos.google.devtools.containeranalysis.v1.IVulnerabilityOccurrencesSummary, protos.google.devtools.containeranalysis.v1.IGetVulnerabilityOccurrencesSummaryRequest | null | undefined, {} | null | undefined>): void;
125
238
  getVulnerabilityOccurrencesSummary(request: protos.google.devtools.containeranalysis.v1.IGetVulnerabilityOccurrencesSummaryRequest, callback: Callback<protos.google.devtools.containeranalysis.v1.IVulnerabilityOccurrencesSummary, protos.google.devtools.containeranalysis.v1.IGetVulnerabilityOccurrencesSummaryRequest | null | undefined, {} | null | undefined>): void;
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2021 Google LLC
2
+ // Copyright 2022 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
@@ -110,6 +110,10 @@ class ContainerAnalysisClient {
110
110
  this._opts = opts;
111
111
  // Save the auth object to the client, for use by other methods.
112
112
  this.auth = this._gaxGrpc.auth;
113
+ // Set useJWTAccessWithScope on the auth object.
114
+ this.auth.useJWTAccessWithScope = true;
115
+ // Set defaultServicePath on the auth object.
116
+ this.auth.defaultServicePath = staticMembers.servicePath;
113
117
  // Set the default scopes in auth client if needed.
114
118
  if (servicePath === staticMembers.servicePath) {
115
119
  this.auth.defaultScopes = staticMembers.scopes;
@@ -238,36 +242,6 @@ class ContainerAnalysisClient {
238
242
  }
239
243
  return this.auth.getProjectId();
240
244
  }
241
- /**
242
- * Sets the access control policy on the specified note or occurrence.
243
- * Requires `containeranalysis.notes.setIamPolicy` or
244
- * `containeranalysis.occurrences.setIamPolicy` permission if the resource is
245
- * a note or an occurrence, respectively.
246
- *
247
- * The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
248
- * notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
249
- * occurrences.
250
- *
251
- * @param {Object} request
252
- * The request object that will be sent.
253
- * @param {string} request.resource
254
- * REQUIRED: The resource for which the policy is being specified.
255
- * See the operation documentation for the appropriate value for this field.
256
- * @param {google.iam.v1.Policy} request.policy
257
- * REQUIRED: The complete policy to be applied to the `resource`. The size of
258
- * the policy is limited to a few 10s of KB. An empty policy is a
259
- * valid policy but certain Cloud Platform services (such as Projects)
260
- * might reject them.
261
- * @param {object} [options]
262
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
263
- * @returns {Promise} - The promise which resolves to an array.
264
- * The first element of the array is an object representing [Policy]{@link google.iam.v1.Policy}.
265
- * Please see the
266
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
267
- * for more details and examples.
268
- * @example
269
- * const [response] = await client.setIamPolicy(request);
270
- */
271
245
  setIamPolicy(request, optionsOrCallback, callback) {
272
246
  request = request || {};
273
247
  let options;
@@ -288,34 +262,6 @@ class ContainerAnalysisClient {
288
262
  this.initialize();
289
263
  return this.innerApiCalls.setIamPolicy(request, options, callback);
290
264
  }
291
- /**
292
- * Gets the access control policy for a note or an occurrence resource.
293
- * Requires `containeranalysis.notes.setIamPolicy` or
294
- * `containeranalysis.occurrences.setIamPolicy` permission if the resource is
295
- * a note or occurrence, respectively.
296
- *
297
- * The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
298
- * notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
299
- * occurrences.
300
- *
301
- * @param {Object} request
302
- * The request object that will be sent.
303
- * @param {string} request.resource
304
- * REQUIRED: The resource for which the policy is being requested.
305
- * See the operation documentation for the appropriate value for this field.
306
- * @param {google.iam.v1.GetPolicyOptions} request.options
307
- * OPTIONAL: A `GetPolicyOptions` object for specifying options to
308
- * `GetIamPolicy`. This field is only used by Cloud IAM.
309
- * @param {object} [options]
310
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
311
- * @returns {Promise} - The promise which resolves to an array.
312
- * The first element of the array is an object representing [Policy]{@link google.iam.v1.Policy}.
313
- * Please see the
314
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
315
- * for more details and examples.
316
- * @example
317
- * const [response] = await client.getIamPolicy(request);
318
- */
319
265
  getIamPolicy(request, optionsOrCallback, callback) {
320
266
  request = request || {};
321
267
  let options;
@@ -336,35 +282,6 @@ class ContainerAnalysisClient {
336
282
  this.initialize();
337
283
  return this.innerApiCalls.getIamPolicy(request, options, callback);
338
284
  }
339
- /**
340
- * Returns the permissions that a caller has on the specified note or
341
- * occurrence. Requires list permission on the project (for example,
342
- * `containeranalysis.notes.list`).
343
- *
344
- * The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
345
- * notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
346
- * occurrences.
347
- *
348
- * @param {Object} request
349
- * The request object that will be sent.
350
- * @param {string} request.resource
351
- * REQUIRED: The resource for which the policy detail is being requested.
352
- * See the operation documentation for the appropriate value for this field.
353
- * @param {string[]} request.permissions
354
- * The set of permissions to check for the `resource`. Permissions with
355
- * wildcards (such as '*' or 'storage.*') are not allowed. For more
356
- * information see
357
- * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
358
- * @param {object} [options]
359
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
360
- * @returns {Promise} - The promise which resolves to an array.
361
- * The first element of the array is an object representing [TestIamPermissionsResponse]{@link google.iam.v1.TestIamPermissionsResponse}.
362
- * Please see the
363
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
364
- * for more details and examples.
365
- * @example
366
- * const [response] = await client.testIamPermissions(request);
367
- */
368
285
  testIamPermissions(request, optionsOrCallback, callback) {
369
286
  request = request || {};
370
287
  let options;
@@ -385,26 +302,6 @@ class ContainerAnalysisClient {
385
302
  this.initialize();
386
303
  return this.innerApiCalls.testIamPermissions(request, options, callback);
387
304
  }
388
- /**
389
- * Gets a summary of the number and severity of occurrences.
390
- *
391
- * @param {Object} request
392
- * The request object that will be sent.
393
- * @param {string} request.parent
394
- * The name of the project to get a vulnerability summary for in the form of
395
- * `projects/[PROJECT_ID]`.
396
- * @param {string} request.filter
397
- * The filter expression.
398
- * @param {object} [options]
399
- * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
400
- * @returns {Promise} - The promise which resolves to an array.
401
- * The first element of the array is an object representing [VulnerabilityOccurrencesSummary]{@link google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary}.
402
- * Please see the
403
- * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
404
- * for more details and examples.
405
- * @example
406
- * const [response] = await client.getVulnerabilityOccurrencesSummary(request);
407
- */
408
305
  getVulnerabilityOccurrencesSummary(request, optionsOrCallback, callback) {
409
306
  request = request || {};
410
307
  let options;
@@ -524,8 +421,7 @@ class ContainerAnalysisClient {
524
421
  * @returns {Promise} A promise that resolves when the client is closed.
525
422
  */
526
423
  close() {
527
- this.initialize();
528
- if (!this._terminated) {
424
+ if (this.containerAnalysisStub && !this._terminated) {
529
425
  return this.containerAnalysisStub.then(stub => {
530
426
  this._terminated = true;
531
427
  stub.close();
@@ -1 +1 @@
1
- {"version":3,"file":"container_analysis_client.js","sourceRoot":"","sources":["../../../src/v1/container_analysis_client.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,4EAA4E;AAC5E,iEAAiE;AACjE,qDAAqD;;;AAErD,mBAAmB;AACnB,kCAAkC;AAClC,mDAAoD;AAI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iCAAiC,CAAC,cAAsB;QACtD,OAAO,IAAI,CAAC,aAAa,CAAC,sBAAsB,CAAC,KAAK,CAAC,cAAc,CAAC;aACnE,UAAU,CAAC;IAChB,CAAC;IAED;;;;;OAKG;IACH,WAAW,CAAC,OAAe;QACzB,OAAO,IAAI,CAAC,aAAa,CAAC,mBAAmB,CAAC,MAAM,CAAC;YACnD,OAAO,EAAE,OAAO;SACjB,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,2BAA2B,CAAC,WAAmB;QAC7C,OAAO,IAAI,CAAC,aAAa,CAAC,mBAAmB,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC;IAC3E,CAAC;IAED;;;;;OAKG;IACH,KAAK;QACH,IAAI,CAAC,UAAU,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE;YACrB,OAAO,IAAI,CAAC,qBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;gBAC7C,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;gBACxB,IAAI,CAAC,KAAK,EAAE,CAAC;YACf,CAAC,CAAC,CAAC;SACJ;QACD,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;IAC3B,CAAC;IAED;;;;;;;;OAQG;IACH,gBAAgB;QACd,OAAO,IAAI,uBAAa,CAAC,IAAI,CAAC,KAAW,CAAC,CAAC;IAC7C,CAAC;CACF;AA7wBD,0DA6wBC"}
1
+ {"version":3,"file":"container_analysis_client.js","sourceRoot":"","sources":["../../../src/v1/container_analysis_client.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,4EAA4E;AAC5E,iEAAiE;AACjE,qDAAqD;;;AAErD,mBAAmB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;IAED;;;;;;OAMG;IACH,iCAAiC,CAAC,cAAsB;QACtD,OAAO,IAAI,CAAC,aAAa,CAAC,sBAAsB,CAAC,KAAK,CAAC,cAAc,CAAC;aACnE,UAAU,CAAC;IAChB,CAAC;IAED;;;;;OAKG;IACH,WAAW,CAAC,OAAe;QACzB,OAAO,IAAI,CAAC,aAAa,CAAC,mBAAmB,CAAC,MAAM,CAAC;YACnD,OAAO,EAAE,OAAO;SACjB,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,2BAA2B,CAAC,WAAmB;QAC7C,OAAO,IAAI,CAAC,aAAa,CAAC,mBAAmB,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC;IAC3E,CAAC;IAED;;;;;OAKG;IACH,KAAK;QACH,IAAI,IAAI,CAAC,qBAAqB,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE;YACnD,OAAO,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;gBAC5C,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;gBACxB,IAAI,CAAC,KAAK,EAAE,CAAC;YACf,CAAC,CAAC,CAAC;SACJ;QACD,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;IAC3B,CAAC;IAED;;;;;;;;OAQG;IACH,gBAAgB;QACd,OAAO,IAAI,uBAAa,CAAC,IAAI,CAAC,KAAW,CAAC,CAAC;IAC7C,CAAC;CACF;AAxxBD,0DAwxBC"}
@@ -113,21 +113,179 @@ export declare class ContainerAnalysisV1Beta1Client {
113
113
  static get scopes(): string[];
114
114
  getProjectId(): Promise<string>;
115
115
  getProjectId(callback: Callback<string, undefined, undefined>): void;
116
+ /**
117
+ * Sets the access control policy on the specified note or occurrence.
118
+ * Requires `containeranalysis.notes.setIamPolicy` or
119
+ * `containeranalysis.occurrences.setIamPolicy` permission if the resource is
120
+ * a note or an occurrence, respectively.
121
+ *
122
+ * The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
123
+ * notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
124
+ * occurrences.
125
+ *
126
+ * @param {Object} request
127
+ * The request object that will be sent.
128
+ * @param {string} request.resource
129
+ * REQUIRED: The resource for which the policy is being specified.
130
+ * See the operation documentation for the appropriate value for this field.
131
+ * @param {google.iam.v1.Policy} request.policy
132
+ * REQUIRED: The complete policy to be applied to the `resource`. The size of
133
+ * the policy is limited to a few 10s of KB. An empty policy is a
134
+ * valid policy but certain Cloud Platform services (such as Projects)
135
+ * might reject them.
136
+ * @param {google.protobuf.FieldMask} request.updateMask
137
+ * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
138
+ * the fields in the mask will be modified. If no mask is provided, the
139
+ * following default mask is used:
140
+ *
141
+ * `paths: "bindings, etag"`
142
+ * @param {object} [options]
143
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
144
+ * @returns {Promise} - The promise which resolves to an array.
145
+ * The first element of the array is an object representing [Policy]{@link google.iam.v1.Policy}.
146
+ * Please see the
147
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
148
+ * for more details and examples.
149
+ * @example <caption>include:samples/generated/v1beta1/container_analysis_v1_beta1.set_iam_policy.js</caption>
150
+ * region_tag:containeranalysis_v1beta1_generated_ContainerAnalysisV1Beta1_SetIamPolicy_async
151
+ */
116
152
  setIamPolicy(request?: protos.google.iam.v1.ISetIamPolicyRequest, options?: CallOptions): Promise<[protos.google.iam.v1.IPolicy, protos.google.iam.v1.ISetIamPolicyRequest | undefined, {} | undefined]>;
117
153
  setIamPolicy(request: protos.google.iam.v1.ISetIamPolicyRequest, options: CallOptions, callback: Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.ISetIamPolicyRequest | null | undefined, {} | null | undefined>): void;
118
154
  setIamPolicy(request: protos.google.iam.v1.ISetIamPolicyRequest, callback: Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.ISetIamPolicyRequest | null | undefined, {} | null | undefined>): void;
155
+ /**
156
+ * Gets the access control policy for a note or an occurrence resource.
157
+ * Requires `containeranalysis.notes.setIamPolicy` or
158
+ * `containeranalysis.occurrences.setIamPolicy` permission if the resource is
159
+ * a note or occurrence, respectively.
160
+ *
161
+ * The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
162
+ * notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
163
+ * occurrences.
164
+ *
165
+ * @param {Object} request
166
+ * The request object that will be sent.
167
+ * @param {string} request.resource
168
+ * REQUIRED: The resource for which the policy is being requested.
169
+ * See the operation documentation for the appropriate value for this field.
170
+ * @param {google.iam.v1.GetPolicyOptions} request.options
171
+ * OPTIONAL: A `GetPolicyOptions` object for specifying options to
172
+ * `GetIamPolicy`.
173
+ * @param {object} [options]
174
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
175
+ * @returns {Promise} - The promise which resolves to an array.
176
+ * The first element of the array is an object representing [Policy]{@link google.iam.v1.Policy}.
177
+ * Please see the
178
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
179
+ * for more details and examples.
180
+ * @example <caption>include:samples/generated/v1beta1/container_analysis_v1_beta1.get_iam_policy.js</caption>
181
+ * region_tag:containeranalysis_v1beta1_generated_ContainerAnalysisV1Beta1_GetIamPolicy_async
182
+ */
119
183
  getIamPolicy(request?: protos.google.iam.v1.IGetIamPolicyRequest, options?: CallOptions): Promise<[protos.google.iam.v1.IPolicy, protos.google.iam.v1.IGetIamPolicyRequest | undefined, {} | undefined]>;
120
184
  getIamPolicy(request: protos.google.iam.v1.IGetIamPolicyRequest, options: CallOptions, callback: Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.IGetIamPolicyRequest | null | undefined, {} | null | undefined>): void;
121
185
  getIamPolicy(request: protos.google.iam.v1.IGetIamPolicyRequest, callback: Callback<protos.google.iam.v1.IPolicy, protos.google.iam.v1.IGetIamPolicyRequest | null | undefined, {} | null | undefined>): void;
186
+ /**
187
+ * Returns the permissions that a caller has on the specified note or
188
+ * occurrence. Requires list permission on the project (for example,
189
+ * `containeranalysis.notes.list`).
190
+ *
191
+ * The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
192
+ * notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
193
+ * occurrences.
194
+ *
195
+ * @param {Object} request
196
+ * The request object that will be sent.
197
+ * @param {string} request.resource
198
+ * REQUIRED: The resource for which the policy detail is being requested.
199
+ * See the operation documentation for the appropriate value for this field.
200
+ * @param {string[]} request.permissions
201
+ * The set of permissions to check for the `resource`. Permissions with
202
+ * wildcards (such as '*' or 'storage.*') are not allowed. For more
203
+ * information see
204
+ * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
205
+ * @param {object} [options]
206
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
207
+ * @returns {Promise} - The promise which resolves to an array.
208
+ * The first element of the array is an object representing [TestIamPermissionsResponse]{@link google.iam.v1.TestIamPermissionsResponse}.
209
+ * Please see the
210
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
211
+ * for more details and examples.
212
+ * @example <caption>include:samples/generated/v1beta1/container_analysis_v1_beta1.test_iam_permissions.js</caption>
213
+ * region_tag:containeranalysis_v1beta1_generated_ContainerAnalysisV1Beta1_TestIamPermissions_async
214
+ */
122
215
  testIamPermissions(request?: protos.google.iam.v1.ITestIamPermissionsRequest, options?: CallOptions): Promise<[protos.google.iam.v1.ITestIamPermissionsResponse, protos.google.iam.v1.ITestIamPermissionsRequest | undefined, {} | undefined]>;
123
216
  testIamPermissions(request: protos.google.iam.v1.ITestIamPermissionsRequest, options: CallOptions, callback: Callback<protos.google.iam.v1.ITestIamPermissionsResponse, protos.google.iam.v1.ITestIamPermissionsRequest | null | undefined, {} | null | undefined>): void;
124
217
  testIamPermissions(request: protos.google.iam.v1.ITestIamPermissionsRequest, callback: Callback<protos.google.iam.v1.ITestIamPermissionsResponse, protos.google.iam.v1.ITestIamPermissionsRequest | null | undefined, {} | null | undefined>): void;
218
+ /**
219
+ * Gets the specified scan configuration.
220
+ *
221
+ * @param {Object} request
222
+ * The request object that will be sent.
223
+ * @param {string} request.name
224
+ * Required. The name of the scan configuration in the form of
225
+ * `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`.
226
+ * @param {object} [options]
227
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
228
+ * @returns {Promise} - The promise which resolves to an array.
229
+ * The first element of the array is an object representing [ScanConfig]{@link google.devtools.containeranalysis.v1beta1.ScanConfig}.
230
+ * Please see the
231
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
232
+ * for more details and examples.
233
+ * @example <caption>include:samples/generated/v1beta1/container_analysis_v1_beta1.get_scan_config.js</caption>
234
+ * region_tag:containeranalysis_v1beta1_generated_ContainerAnalysisV1Beta1_GetScanConfig_async
235
+ */
125
236
  getScanConfig(request?: protos.google.devtools.containeranalysis.v1beta1.IGetScanConfigRequest, options?: CallOptions): Promise<[protos.google.devtools.containeranalysis.v1beta1.IScanConfig, (protos.google.devtools.containeranalysis.v1beta1.IGetScanConfigRequest | undefined), {} | undefined]>;
126
237
  getScanConfig(request: protos.google.devtools.containeranalysis.v1beta1.IGetScanConfigRequest, options: CallOptions, callback: Callback<protos.google.devtools.containeranalysis.v1beta1.IScanConfig, protos.google.devtools.containeranalysis.v1beta1.IGetScanConfigRequest | null | undefined, {} | null | undefined>): void;
127
238
  getScanConfig(request: protos.google.devtools.containeranalysis.v1beta1.IGetScanConfigRequest, callback: Callback<protos.google.devtools.containeranalysis.v1beta1.IScanConfig, protos.google.devtools.containeranalysis.v1beta1.IGetScanConfigRequest | null | undefined, {} | null | undefined>): void;
239
+ /**
240
+ * Updates the specified scan configuration.
241
+ *
242
+ * @param {Object} request
243
+ * The request object that will be sent.
244
+ * @param {string} request.name
245
+ * Required. The name of the scan configuration in the form of
246
+ * `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`.
247
+ * @param {google.devtools.containeranalysis.v1beta1.ScanConfig} request.scanConfig
248
+ * Required. The updated scan configuration.
249
+ * @param {object} [options]
250
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
251
+ * @returns {Promise} - The promise which resolves to an array.
252
+ * The first element of the array is an object representing [ScanConfig]{@link google.devtools.containeranalysis.v1beta1.ScanConfig}.
253
+ * Please see the
254
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
255
+ * for more details and examples.
256
+ * @example <caption>include:samples/generated/v1beta1/container_analysis_v1_beta1.update_scan_config.js</caption>
257
+ * region_tag:containeranalysis_v1beta1_generated_ContainerAnalysisV1Beta1_UpdateScanConfig_async
258
+ */
128
259
  updateScanConfig(request?: protos.google.devtools.containeranalysis.v1beta1.IUpdateScanConfigRequest, options?: CallOptions): Promise<[protos.google.devtools.containeranalysis.v1beta1.IScanConfig, (protos.google.devtools.containeranalysis.v1beta1.IUpdateScanConfigRequest | undefined), {} | undefined]>;
129
260
  updateScanConfig(request: protos.google.devtools.containeranalysis.v1beta1.IUpdateScanConfigRequest, options: CallOptions, callback: Callback<protos.google.devtools.containeranalysis.v1beta1.IScanConfig, protos.google.devtools.containeranalysis.v1beta1.IUpdateScanConfigRequest | null | undefined, {} | null | undefined>): void;
130
261
  updateScanConfig(request: protos.google.devtools.containeranalysis.v1beta1.IUpdateScanConfigRequest, callback: Callback<protos.google.devtools.containeranalysis.v1beta1.IScanConfig, protos.google.devtools.containeranalysis.v1beta1.IUpdateScanConfigRequest | null | undefined, {} | null | undefined>): void;
262
+ /**
263
+ * Lists scan configurations for the specified project.
264
+ *
265
+ * @param {Object} request
266
+ * The request object that will be sent.
267
+ * @param {string} request.parent
268
+ * Required. The name of the project to list scan configurations for in the form of
269
+ * `projects/[PROJECT_ID]`.
270
+ * @param {string} request.filter
271
+ * Required. The filter expression.
272
+ * @param {number} request.pageSize
273
+ * The number of scan configs to return in the list.
274
+ * @param {string} request.pageToken
275
+ * Token to provide to skip to a particular spot in the list.
276
+ * @param {object} [options]
277
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
278
+ * @returns {Promise} - The promise which resolves to an array.
279
+ * The first element of the array is Array of [ScanConfig]{@link google.devtools.containeranalysis.v1beta1.ScanConfig}.
280
+ * The client library will perform auto-pagination by default: it will call the API as many
281
+ * times as needed and will merge results from all the pages into this array.
282
+ * Note that it can affect your quota.
283
+ * We recommend using `listScanConfigsAsync()`
284
+ * method described below for async iteration which you can stop as needed.
285
+ * Please see the
286
+ * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
287
+ * for more details and examples.
288
+ */
131
289
  listScanConfigs(request?: protos.google.devtools.containeranalysis.v1beta1.IListScanConfigsRequest, options?: CallOptions): Promise<[protos.google.devtools.containeranalysis.v1beta1.IScanConfig[], protos.google.devtools.containeranalysis.v1beta1.IListScanConfigsRequest | null, protos.google.devtools.containeranalysis.v1beta1.IListScanConfigsResponse]>;
132
290
  listScanConfigs(request: protos.google.devtools.containeranalysis.v1beta1.IListScanConfigsRequest, options: CallOptions, callback: PaginationCallback<protos.google.devtools.containeranalysis.v1beta1.IListScanConfigsRequest, protos.google.devtools.containeranalysis.v1beta1.IListScanConfigsResponse | null | undefined, protos.google.devtools.containeranalysis.v1beta1.IScanConfig>): void;
133
291
  listScanConfigs(request: protos.google.devtools.containeranalysis.v1beta1.IListScanConfigsRequest, callback: PaginationCallback<protos.google.devtools.containeranalysis.v1beta1.IListScanConfigsRequest, protos.google.devtools.containeranalysis.v1beta1.IListScanConfigsResponse | null | undefined, protos.google.devtools.containeranalysis.v1beta1.IScanConfig>): void;
@@ -182,11 +340,8 @@ export declare class ContainerAnalysisV1Beta1Client {
182
340
  * Please see the
183
341
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
184
342
  * for more details and examples.
185
- * @example
186
- * const iterable = client.listScanConfigsAsync(request);
187
- * for await (const response of iterable) {
188
- * // process response
189
- * }
343
+ * @example <caption>include:samples/generated/v1beta1/container_analysis_v1_beta1.list_scan_configs.js</caption>
344
+ * region_tag:containeranalysis_v1beta1_generated_ContainerAnalysisV1Beta1_ListScanConfigs_async
190
345
  */
191
346
  listScanConfigsAsync(request?: protos.google.devtools.containeranalysis.v1beta1.IListScanConfigsRequest, options?: CallOptions): AsyncIterable<protos.google.devtools.containeranalysis.v1beta1.IScanConfig>;
192
347
  /**