google-apis-ondemandscanning_v1beta1 0.36.0 → 0.37.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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f57200ab17f0db8719a511301471b36307efad541683f3c70e9c2840b9780add
|
4
|
+
data.tar.gz: e669ed11ffdf6cce45747a4426efba62b39334b7b2a2a161144de885f215c797
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98be78d34cb1dec43fcba04d32d839ba56c6b4ee7fbbaf1a98b4eae1f9dd0222fc3c382a8fce090740dd8968dbbd0127bc83f34e035801ed9130efee7f11a6d3
|
7
|
+
data.tar.gz: 2c262a63da2247d3262c3fc8d9462e7241f1980fa402936445222bae93f2bd79835d0f4349aaf29f4cd12d9748a9ff17d92b18391cb0200845ed3e5ee5ddd86f
|
data/CHANGELOG.md
CHANGED
@@ -269,6 +269,38 @@ module Google
|
|
269
269
|
end
|
270
270
|
end
|
271
271
|
|
272
|
+
#
|
273
|
+
class BinarySourceInfo
|
274
|
+
include Google::Apis::Core::Hashable
|
275
|
+
|
276
|
+
# The binary package. This is significant when the source is different than the
|
277
|
+
# binary itself. Historically if they've differed, we've stored the name of the
|
278
|
+
# source and its version in the package/version fields, but we should also store
|
279
|
+
# the binary package info, as that's what's actually installed. See b/175908657#
|
280
|
+
# comment15.
|
281
|
+
# Corresponds to the JSON property `binaryVersion`
|
282
|
+
# @return [Google::Apis::OndemandscanningV1beta1::PackageVersion]
|
283
|
+
attr_accessor :binary_version
|
284
|
+
|
285
|
+
# The source package. Similar to the above, this is significant when the source
|
286
|
+
# is different than the binary itself. Since the top-level package/version
|
287
|
+
# fields are based on an if/else, we need a separate field for both binary and
|
288
|
+
# source if we want to know definitively where the data is coming from.
|
289
|
+
# Corresponds to the JSON property `sourceVersion`
|
290
|
+
# @return [Google::Apis::OndemandscanningV1beta1::PackageVersion]
|
291
|
+
attr_accessor :source_version
|
292
|
+
|
293
|
+
def initialize(**args)
|
294
|
+
update!(**args)
|
295
|
+
end
|
296
|
+
|
297
|
+
# Update properties of this object
|
298
|
+
def update!(**args)
|
299
|
+
@binary_version = args[:binary_version] if args.key?(:binary_version)
|
300
|
+
@source_version = args[:source_version] if args.key?(:source_version)
|
301
|
+
end
|
302
|
+
end
|
303
|
+
|
272
304
|
# Details of a build occurrence.
|
273
305
|
class BuildOccurrence
|
274
306
|
include Google::Apis::Core::Hashable
|
@@ -2016,11 +2048,12 @@ module Google
|
|
2016
2048
|
# @return [String]
|
2017
2049
|
attr_accessor :architecture
|
2018
2050
|
|
2019
|
-
#
|
2020
|
-
#
|
2021
|
-
#
|
2022
|
-
|
2023
|
-
|
2051
|
+
# A bundle containing the binary and source information.
|
2052
|
+
# Corresponds to the JSON property `binarySourceInfo`
|
2053
|
+
# @return [Array<Google::Apis::OndemandscanningV1beta1::BinarySourceInfo>]
|
2054
|
+
attr_accessor :binary_source_info
|
2055
|
+
|
2056
|
+
# DEPRECATED
|
2024
2057
|
# Corresponds to the JSON property `binaryVersion`
|
2025
2058
|
# @return [Google::Apis::OndemandscanningV1beta1::PackageVersion]
|
2026
2059
|
attr_accessor :binary_version
|
@@ -2082,10 +2115,7 @@ module Google
|
|
2082
2115
|
# @return [Array<String>]
|
2083
2116
|
attr_accessor :patched_cve
|
2084
2117
|
|
2085
|
-
#
|
2086
|
-
# is different than the binary itself. Since the top-level package/version
|
2087
|
-
# fields are based on an if/else, we need a separate field for both binary and
|
2088
|
-
# source if we want to know definitively where the data is coming from.
|
2118
|
+
# DEPRECATED
|
2089
2119
|
# Corresponds to the JSON property `sourceVersion`
|
2090
2120
|
# @return [Google::Apis::OndemandscanningV1beta1::PackageVersion]
|
2091
2121
|
attr_accessor :source_version
|
@@ -2107,6 +2137,7 @@ module Google
|
|
2107
2137
|
# Update properties of this object
|
2108
2138
|
def update!(**args)
|
2109
2139
|
@architecture = args[:architecture] if args.key?(:architecture)
|
2140
|
+
@binary_source_info = args[:binary_source_info] if args.key?(:binary_source_info)
|
2110
2141
|
@binary_version = args[:binary_version] if args.key?(:binary_version)
|
2111
2142
|
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
|
2112
2143
|
@dependency_chain = args[:dependency_chain] if args.key?(:dependency_chain)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module OndemandscanningV1beta1
|
18
18
|
# Version of the google-apis-ondemandscanning_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.37.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230522"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -76,6 +76,12 @@ module Google
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
+
class BinarySourceInfo
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
79
85
|
class BuildOccurrence
|
80
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
87
|
|
@@ -600,6 +606,16 @@ module Google
|
|
600
606
|
end
|
601
607
|
end
|
602
608
|
|
609
|
+
class BinarySourceInfo
|
610
|
+
# @private
|
611
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
612
|
+
property :binary_version, as: 'binaryVersion', class: Google::Apis::OndemandscanningV1beta1::PackageVersion, decorator: Google::Apis::OndemandscanningV1beta1::PackageVersion::Representation
|
613
|
+
|
614
|
+
property :source_version, as: 'sourceVersion', class: Google::Apis::OndemandscanningV1beta1::PackageVersion, decorator: Google::Apis::OndemandscanningV1beta1::PackageVersion::Representation
|
615
|
+
|
616
|
+
end
|
617
|
+
end
|
618
|
+
|
603
619
|
class BuildOccurrence
|
604
620
|
# @private
|
605
621
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1092,6 +1108,8 @@ module Google
|
|
1092
1108
|
# @private
|
1093
1109
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1094
1110
|
property :architecture, as: 'architecture'
|
1111
|
+
collection :binary_source_info, as: 'binarySourceInfo', class: Google::Apis::OndemandscanningV1beta1::BinarySourceInfo, decorator: Google::Apis::OndemandscanningV1beta1::BinarySourceInfo::Representation
|
1112
|
+
|
1095
1113
|
property :binary_version, as: 'binaryVersion', class: Google::Apis::OndemandscanningV1beta1::PackageVersion, decorator: Google::Apis::OndemandscanningV1beta1::PackageVersion::Representation
|
1096
1114
|
|
1097
1115
|
property :cpe_uri, as: 'cpeUri'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-ondemandscanning_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.37.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.37.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|