@google-cloud/containeranalysis
Advanced tools
Comparing version 4.6.0 to 4.6.1
@@ -34,2 +34,6 @@ { | ||
"retry_params_name": "default" | ||
}, | ||
"GeneratePackagesSummary": { | ||
"retry_codes_name": "non_idempotent", | ||
"retry_params_name": "default" | ||
} | ||
@@ -36,0 +40,0 @@ } |
@@ -232,2 +232,27 @@ import type * as gax from 'google-gax'; | ||
/** | ||
* Gets a summary of the packages within a given resource. | ||
* | ||
* @param {Object} request | ||
* The request object that will be sent. | ||
* @param {string} request.name | ||
* Required. The name of the resource to get a packages summary for in the | ||
* form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`. | ||
* @param {object} [options] | ||
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. | ||
* @returns {Promise} - The promise which resolves to an array. | ||
* The first element of the array is an object representing {@link google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse | PackagesSummaryResponse}. | ||
* Please see the | ||
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) | ||
* for more details and examples. | ||
* @example <caption>include:samples/generated/v1beta1/container_analysis_v1_beta1.generate_packages_summary.js</caption> | ||
* region_tag:containeranalysis_v1beta1_generated_ContainerAnalysisV1Beta1_GeneratePackagesSummary_async | ||
*/ | ||
generatePackagesSummary(request?: protos.google.devtools.containeranalysis.v1beta1.IGeneratePackagesSummaryRequest, options?: CallOptions): Promise<[ | ||
protos.google.devtools.containeranalysis.v1beta1.IPackagesSummaryResponse, | ||
(protos.google.devtools.containeranalysis.v1beta1.IGeneratePackagesSummaryRequest | undefined), | ||
{} | undefined | ||
]>; | ||
generatePackagesSummary(request: protos.google.devtools.containeranalysis.v1beta1.IGeneratePackagesSummaryRequest, options: CallOptions, callback: Callback<protos.google.devtools.containeranalysis.v1beta1.IPackagesSummaryResponse, protos.google.devtools.containeranalysis.v1beta1.IGeneratePackagesSummaryRequest | null | undefined, {} | null | undefined>): void; | ||
generatePackagesSummary(request: protos.google.devtools.containeranalysis.v1beta1.IGeneratePackagesSummaryRequest, callback: Callback<protos.google.devtools.containeranalysis.v1beta1.IPackagesSummaryResponse, protos.google.devtools.containeranalysis.v1beta1.IGeneratePackagesSummaryRequest | null | undefined, {} | null | undefined>): void; | ||
/** | ||
* Terminate the gRPC channel and close the client. | ||
@@ -234,0 +259,0 @@ * |
@@ -188,2 +188,3 @@ "use strict"; | ||
'testIamPermissions', | ||
'generatePackagesSummary', | ||
]; | ||
@@ -310,2 +311,18 @@ for (const methodName of containerAnalysisV1Beta1StubMethods) { | ||
} | ||
generatePackagesSummary(request, optionsOrCallback, callback) { | ||
request = request || {}; | ||
let options; | ||
if (typeof optionsOrCallback === 'function' && callback === undefined) { | ||
callback = optionsOrCallback; | ||
options = {}; | ||
} | ||
else { | ||
options = optionsOrCallback; | ||
} | ||
options = options || {}; | ||
options.otherArgs = options.otherArgs || {}; | ||
options.otherArgs.headers = options.otherArgs.headers || {}; | ||
this.initialize(); | ||
return this.innerApiCalls.generatePackagesSummary(request, options, callback); | ||
} | ||
/** | ||
@@ -312,0 +329,0 @@ * Terminate the gRPC channel and close the client. |
{ | ||
"name": "@google-cloud/containeranalysis", | ||
"version": "4.6.0", | ||
"version": "4.6.1", | ||
"description": "Containeranalysis client for Node.js", | ||
@@ -11,3 +11,4 @@ "repository": "googleapis/nodejs-containeranalysis", | ||
"build/src", | ||
"build/protos" | ||
"build/protos", | ||
"!build/src/**/*.map" | ||
], | ||
@@ -70,1 +71,2 @@ "keywords": [ | ||
} | ||
@@ -83,2 +83,3 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost." | ||
| Grafeas.update_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.update_occurrence.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.update_occurrence.js,samples/README.md) | | ||
| Container_analysis_v1_beta1.generate_packages_summary | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.generate_packages_summary.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.generate_packages_summary.js,samples/README.md) | | ||
| Container_analysis_v1_beta1.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.get_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.get_iam_policy.js,samples/README.md) | | ||
@@ -85,0 +86,0 @@ | Container_analysis_v1_beta1.get_scan_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.get_scan_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.get_scan_config.js,samples/README.md) | |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
6355680
31336
177
59