Skip to content

Commit

Permalink
fix(containeranalysis): update the API
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and sofisl committed May 21, 2021
1 parent 94ea5df commit f5e1d9a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/apis/containeranalysis/v1alpha1.ts
Expand Up @@ -3622,14 +3622,13 @@ export namespace containeranalysis_v1alpha1 {
* google.options({auth: authClient});
*
* // Do the magic
* const res = await containeranalysis.projects.occurrences.getVulnerabilitySummary(
* {
* const res =
* await containeranalysis.projects.occurrences.getVulnerabilitySummary({
* // The filter expression.
* filter: 'placeholder-value',
* // This contains the project Id for example: projects/{project_id\}
* parent: 'projects/my-project',
* }
* );
* });
* console.log(res.data);
*
* // Example response
Expand Down Expand Up @@ -3700,7 +3699,8 @@ export namespace containeranalysis_v1alpha1 {

if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Projects$Occurrences$Getvulnerabilitysummary;
params =
{} as Params$Resource$Projects$Occurrences$Getvulnerabilitysummary;
options = {};
}

Expand Down
10 changes: 5 additions & 5 deletions src/apis/containeranalysis/v1beta1.ts
Expand Up @@ -4067,14 +4067,13 @@ export namespace containeranalysis_v1beta1 {
* google.options({auth: authClient});
*
* // Do the magic
* const res = await containeranalysis.projects.occurrences.getVulnerabilitySummary(
* {
* const res =
* await containeranalysis.projects.occurrences.getVulnerabilitySummary({
* // The filter expression.
* filter: 'placeholder-value',
* // Required. The name of the project to get a vulnerability summary for in the form of `projects/[PROJECT_ID]`.
* parent: 'projects/my-project',
* }
* );
* });
* console.log(res.data);
*
* // Example response
Expand Down Expand Up @@ -4145,7 +4144,8 @@ export namespace containeranalysis_v1beta1 {

if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Projects$Occurrences$Getvulnerabilitysummary;
params =
{} as Params$Resource$Projects$Occurrences$Getvulnerabilitysummary;
options = {};
}

Expand Down

0 comments on commit f5e1d9a

Please sign in to comment.