From c04b4023477393cbb41984b14e0c734fc8587d45 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 29 Jun 2021 07:07:58 +0000 Subject: [PATCH] feat(ondemandscanning): update the api #### ondemandscanning:v1 The following keys were added: - schemas.PackageData.properties.packageType.type (Total Keys: 1) #### ondemandscanning:v1beta1 The following keys were added: - schemas.PackageData.properties.packageType.type (Total Keys: 1) --- ...dscanning_v1.projects.locations.scans.html | 1 + ...ning_v1beta1.projects.locations.scans.html | 1 + .../documents/ondemandscanning.v1.json | 24 ++++++++++++++++--- .../documents/ondemandscanning.v1beta1.json | 24 ++++++++++++++++--- 4 files changed, 44 insertions(+), 6 deletions(-) diff --git a/docs/dyn/ondemandscanning_v1.projects.locations.scans.html b/docs/dyn/ondemandscanning_v1.projects.locations.scans.html index 69eff588759..93d5feeb30f 100644 --- a/docs/dyn/ondemandscanning_v1.projects.locations.scans.html +++ b/docs/dyn/ondemandscanning_v1.projects.locations.scans.html @@ -102,6 +102,7 @@

Method Details

"os": "A String", # The OS affected by a vulnerability This field is deprecated and the information is in cpe_uri "osVersion": "A String", # The version of the OS This field is deprecated and the information is in cpe_uri "package": "A String", # The package being analysed for vulnerabilities + "packageType": "A String", # The type of package: os, maven, go, etc. "unused": "A String", "version": "A String", # The version of the package being analysed }, diff --git a/docs/dyn/ondemandscanning_v1beta1.projects.locations.scans.html b/docs/dyn/ondemandscanning_v1beta1.projects.locations.scans.html index 65f3d03c76b..4b28eb15029 100644 --- a/docs/dyn/ondemandscanning_v1beta1.projects.locations.scans.html +++ b/docs/dyn/ondemandscanning_v1beta1.projects.locations.scans.html @@ -102,6 +102,7 @@

Method Details

"os": "A String", # The OS affected by a vulnerability This field is deprecated and the information is in cpe_uri "osVersion": "A String", # The version of the OS This field is deprecated and the information is in cpe_uri "package": "A String", # The package being analysed for vulnerabilities + "packageType": "A String", # The type of package: os, maven, go, etc. "unused": "A String", "version": "A String", # The version of the package being analysed }, diff --git a/googleapiclient/discovery_cache/documents/ondemandscanning.v1.json b/googleapiclient/discovery_cache/documents/ondemandscanning.v1.json index 9a5f94f437e..5b3e8a001e3 100644 --- a/googleapiclient/discovery_cache/documents/ondemandscanning.v1.json +++ b/googleapiclient/discovery_cache/documents/ondemandscanning.v1.json @@ -339,7 +339,7 @@ } } }, - "revision": "20210524", + "revision": "20210618", "rootUrl": "https://ondemandscanning.googleapis.com/", "schemas": { "AliasContext": { @@ -1053,7 +1053,8 @@ "DEPLOYMENT", "DISCOVERY", "ATTESTATION", - "UPGRADE" + "UPGRADE", + "COMPLIANCE" ], "enumDescriptions": [ "Default value. This value is unused.", @@ -1064,7 +1065,8 @@ "The note and occurrence track deployment events.", "The note and occurrence track the initial discovery status of a resource.", "This represents a logical \"role\" that can attest to artifacts.", - "This represents an available package upgrade." + "This represents an available package upgrade.", + "This represents a Compliance Note" ], "type": "string" }, @@ -1158,6 +1160,22 @@ "description": "The package being analysed for vulnerabilities", "type": "string" }, + "packageType": { + "description": "The type of package: os, maven, go, etc.", + "enum": [ + "PACKAGE_TYPE_UNSPECIFIED", + "OS", + "MAVEN", + "GO" + ], + "enumDescriptions": [ + "", + "Operating System", + "", + "" + ], + "type": "string" + }, "unused": { "type": "string" }, diff --git a/googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json b/googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json index 77e8fe5cfa9..48530114004 100644 --- a/googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json @@ -339,7 +339,7 @@ } } }, - "revision": "20210524", + "revision": "20210618", "rootUrl": "https://ondemandscanning.googleapis.com/", "schemas": { "AliasContext": { @@ -1053,7 +1053,8 @@ "DEPLOYMENT", "DISCOVERY", "ATTESTATION", - "UPGRADE" + "UPGRADE", + "COMPLIANCE" ], "enumDescriptions": [ "Default value. This value is unused.", @@ -1064,7 +1065,8 @@ "The note and occurrence track deployment events.", "The note and occurrence track the initial discovery status of a resource.", "This represents a logical \"role\" that can attest to artifacts.", - "This represents an available package upgrade." + "This represents an available package upgrade.", + "This represents a Compliance Note" ], "type": "string" }, @@ -1158,6 +1160,22 @@ "description": "The package being analysed for vulnerabilities", "type": "string" }, + "packageType": { + "description": "The type of package: os, maven, go, etc.", + "enum": [ + "PACKAGE_TYPE_UNSPECIFIED", + "OS", + "MAVEN", + "GO" + ], + "enumDescriptions": [ + "", + "Operating System", + "", + "" + ], + "type": "string" + }, "unused": { "type": "string" },