Skip to content

Commit 1b0f478

Browse files
feat(ondemandscanning): update the api
#### ondemandscanning:v1 The following keys were added: - schemas.DiscoveryOccurrence.properties.files (Total Keys: 2) - schemas.File (Total Keys: 5) #### ondemandscanning:v1beta1 The following keys were added: - schemas.DiscoveryOccurrence.properties.files (Total Keys: 2) - schemas.File (Total Keys: 5)
1 parent 6845b21 commit 1b0f478

File tree

4 files changed

+62
-2
lines changed

4 files changed

+62
-2
lines changed

docs/dyn/ondemandscanning_v1.projects.locations.scans.vulnerabilities.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,14 @@ <h3>Method Details</h3>
540540
&quot;archiveTime&quot;: &quot;A String&quot;, # Output only. The time occurrences related to this discovery occurrence were archived.
541541
&quot;continuousAnalysis&quot;: &quot;A String&quot;, # Whether the resource is continuously analyzed.
542542
&quot;cpe&quot;: &quot;A String&quot;, # The CPE of the resource being scanned.
543+
&quot;files&quot;: [ # Files that make up the resource described by the occurrence.
544+
{
545+
&quot;digest&quot;: {
546+
&quot;a_key&quot;: &quot;A String&quot;,
547+
},
548+
&quot;name&quot;: &quot;A String&quot;,
549+
},
550+
],
543551
&quot;lastScanTime&quot;: &quot;A String&quot;, # The last time this resource was scanned.
544552
&quot;sbomStatus&quot;: { # The status of an SBOM generation. # The status of an SBOM generation.
545553
&quot;error&quot;: &quot;A String&quot;, # If there was an error generating an SBOM, this will indicate what that error was.

docs/dyn/ondemandscanning_v1beta1.projects.locations.scans.vulnerabilities.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,14 @@ <h3>Method Details</h3>
540540
&quot;archiveTime&quot;: &quot;A String&quot;, # Output only. The time occurrences related to this discovery occurrence were archived.
541541
&quot;continuousAnalysis&quot;: &quot;A String&quot;, # Whether the resource is continuously analyzed.
542542
&quot;cpe&quot;: &quot;A String&quot;, # The CPE of the resource being scanned.
543+
&quot;files&quot;: [ # Files that make up the resource described by the occurrence.
544+
{
545+
&quot;digest&quot;: {
546+
&quot;a_key&quot;: &quot;A String&quot;,
547+
},
548+
&quot;name&quot;: &quot;A String&quot;,
549+
},
550+
],
543551
&quot;lastScanTime&quot;: &quot;A String&quot;, # The last time this resource was scanned.
544552
&quot;sbomStatus&quot;: { # The status of an SBOM generation. # The status of an SBOM generation.
545553
&quot;error&quot;: &quot;A String&quot;, # If there was an error generating an SBOM, this will indicate what that error was.

googleapiclient/discovery_cache/documents/ondemandscanning.v1.json

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
}
340340
}
341341
},
342-
"revision": "20250505",
342+
"revision": "20250519",
343343
"rootUrl": "https://ondemandscanning.googleapis.com/",
344344
"schemas": {
345345
"AliasContext": {
@@ -1122,6 +1122,13 @@
11221122
"description": "The CPE of the resource being scanned.",
11231123
"type": "string"
11241124
},
1125+
"files": {
1126+
"description": "Files that make up the resource described by the occurrence.",
1127+
"items": {
1128+
"$ref": "File"
1129+
},
1130+
"type": "array"
1131+
},
11251132
"lastScanTime": {
11261133
"description": "The last time this resource was scanned.",
11271134
"format": "google-datetime",
@@ -1173,6 +1180,21 @@
11731180
},
11741181
"type": "object"
11751182
},
1183+
"File": {
1184+
"id": "File",
1185+
"properties": {
1186+
"digest": {
1187+
"additionalProperties": {
1188+
"type": "string"
1189+
},
1190+
"type": "object"
1191+
},
1192+
"name": {
1193+
"type": "string"
1194+
}
1195+
},
1196+
"type": "object"
1197+
},
11761198
"FileHashes": {
11771199
"description": "Container message for hashes of byte content of files, used in source messages to verify integrity of source input to the build.",
11781200
"id": "FileHashes",

googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@
339339
}
340340
}
341341
},
342-
"revision": "20250505",
342+
"revision": "20250519",
343343
"rootUrl": "https://ondemandscanning.googleapis.com/",
344344
"schemas": {
345345
"AliasContext": {
@@ -1117,6 +1117,13 @@
11171117
"description": "The CPE of the resource being scanned.",
11181118
"type": "string"
11191119
},
1120+
"files": {
1121+
"description": "Files that make up the resource described by the occurrence.",
1122+
"items": {
1123+
"$ref": "File"
1124+
},
1125+
"type": "array"
1126+
},
11201127
"lastScanTime": {
11211128
"description": "The last time this resource was scanned.",
11221129
"format": "google-datetime",
@@ -1168,6 +1175,21 @@
11681175
},
11691176
"type": "object"
11701177
},
1178+
"File": {
1179+
"id": "File",
1180+
"properties": {
1181+
"digest": {
1182+
"additionalProperties": {
1183+
"type": "string"
1184+
},
1185+
"type": "object"
1186+
},
1187+
"name": {
1188+
"type": "string"
1189+
}
1190+
},
1191+
"type": "object"
1192+
},
11711193
"FileHashes": {
11721194
"description": "Container message for hashes of byte content of files, used in source messages to verify integrity of source input to the build.",
11731195
"id": "FileHashes",

0 commit comments

Comments
 (0)