google-apis-ondemandscanning_v1 0.38.0 → 0.39.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 388c15616165e493856f804ac0fbe29a5ab5c17f3eced02c7942074c2f17664d
|
4
|
+
data.tar.gz: 171e17747cc2efbf1e40f2aee0e2d8d156c29e6ac652edac7246a379afced91f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ce60d2540ceabdd50743869252ab7c05753d143a82ba500f4b44dbc0adad6fbe716ef0d3648adf2d36329969a21bb959a21a5a955d3b6ac7f0347ca00667177
|
7
|
+
data.tar.gz: 8548f518c736adeae71a59070cae1c30dba9de4ebf47727228dea1d6ad51c2937c7486b304f82df703c3f8a2f244d2f1e7e2b622fa55571c573edc63ba478b97
|
data/CHANGELOG.md
CHANGED
@@ -277,6 +277,38 @@ module Google
|
|
277
277
|
end
|
278
278
|
end
|
279
279
|
|
280
|
+
#
|
281
|
+
class BinarySourceInfo
|
282
|
+
include Google::Apis::Core::Hashable
|
283
|
+
|
284
|
+
# The binary package. This is significant when the source is different than the
|
285
|
+
# binary itself. Historically if they've differed, we've stored the name of the
|
286
|
+
# source and its version in the package/version fields, but we should also store
|
287
|
+
# the binary package info, as that's what's actually installed. See b/175908657#
|
288
|
+
# comment15.
|
289
|
+
# Corresponds to the JSON property `binaryVersion`
|
290
|
+
# @return [Google::Apis::OndemandscanningV1::PackageVersion]
|
291
|
+
attr_accessor :binary_version
|
292
|
+
|
293
|
+
# The source package. Similar to the above, this is significant when the source
|
294
|
+
# is different than the binary itself. Since the top-level package/version
|
295
|
+
# fields are based on an if/else, we need a separate field for both binary and
|
296
|
+
# source if we want to know definitively where the data is coming from.
|
297
|
+
# Corresponds to the JSON property `sourceVersion`
|
298
|
+
# @return [Google::Apis::OndemandscanningV1::PackageVersion]
|
299
|
+
attr_accessor :source_version
|
300
|
+
|
301
|
+
def initialize(**args)
|
302
|
+
update!(**args)
|
303
|
+
end
|
304
|
+
|
305
|
+
# Update properties of this object
|
306
|
+
def update!(**args)
|
307
|
+
@binary_version = args[:binary_version] if args.key?(:binary_version)
|
308
|
+
@source_version = args[:source_version] if args.key?(:source_version)
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
280
312
|
# Details of a build occurrence.
|
281
313
|
class BuildOccurrence
|
282
314
|
include Google::Apis::Core::Hashable
|
@@ -2024,11 +2056,12 @@ module Google
|
|
2024
2056
|
# @return [String]
|
2025
2057
|
attr_accessor :architecture
|
2026
2058
|
|
2027
|
-
#
|
2028
|
-
#
|
2029
|
-
#
|
2030
|
-
|
2031
|
-
|
2059
|
+
# A bundle containing the binary and source information.
|
2060
|
+
# Corresponds to the JSON property `binarySourceInfo`
|
2061
|
+
# @return [Array<Google::Apis::OndemandscanningV1::BinarySourceInfo>]
|
2062
|
+
attr_accessor :binary_source_info
|
2063
|
+
|
2064
|
+
# DEPRECATED
|
2032
2065
|
# Corresponds to the JSON property `binaryVersion`
|
2033
2066
|
# @return [Google::Apis::OndemandscanningV1::PackageVersion]
|
2034
2067
|
attr_accessor :binary_version
|
@@ -2090,10 +2123,7 @@ module Google
|
|
2090
2123
|
# @return [Array<String>]
|
2091
2124
|
attr_accessor :patched_cve
|
2092
2125
|
|
2093
|
-
#
|
2094
|
-
# is different than the binary itself. Since the top-level package/version
|
2095
|
-
# fields are based on an if/else, we need a separate field for both binary and
|
2096
|
-
# source if we want to know definitively where the data is coming from.
|
2126
|
+
# DEPRECATED
|
2097
2127
|
# Corresponds to the JSON property `sourceVersion`
|
2098
2128
|
# @return [Google::Apis::OndemandscanningV1::PackageVersion]
|
2099
2129
|
attr_accessor :source_version
|
@@ -2115,6 +2145,7 @@ module Google
|
|
2115
2145
|
# Update properties of this object
|
2116
2146
|
def update!(**args)
|
2117
2147
|
@architecture = args[:architecture] if args.key?(:architecture)
|
2148
|
+
@binary_source_info = args[:binary_source_info] if args.key?(:binary_source_info)
|
2118
2149
|
@binary_version = args[:binary_version] if args.key?(:binary_version)
|
2119
2150
|
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
|
2120
2151
|
@dependency_chain = args[:dependency_chain] if args.key?(:dependency_chain)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module OndemandscanningV1
|
18
18
|
# Version of the google-apis-ondemandscanning_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.39.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
|
|
@@ -601,6 +607,16 @@ module Google
|
|
601
607
|
end
|
602
608
|
end
|
603
609
|
|
610
|
+
class BinarySourceInfo
|
611
|
+
# @private
|
612
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
613
|
+
property :binary_version, as: 'binaryVersion', class: Google::Apis::OndemandscanningV1::PackageVersion, decorator: Google::Apis::OndemandscanningV1::PackageVersion::Representation
|
614
|
+
|
615
|
+
property :source_version, as: 'sourceVersion', class: Google::Apis::OndemandscanningV1::PackageVersion, decorator: Google::Apis::OndemandscanningV1::PackageVersion::Representation
|
616
|
+
|
617
|
+
end
|
618
|
+
end
|
619
|
+
|
604
620
|
class BuildOccurrence
|
605
621
|
# @private
|
606
622
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1093,6 +1109,8 @@ module Google
|
|
1093
1109
|
# @private
|
1094
1110
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1095
1111
|
property :architecture, as: 'architecture'
|
1112
|
+
collection :binary_source_info, as: 'binarySourceInfo', class: Google::Apis::OndemandscanningV1::BinarySourceInfo, decorator: Google::Apis::OndemandscanningV1::BinarySourceInfo::Representation
|
1113
|
+
|
1096
1114
|
property :binary_version, as: 'binaryVersion', class: Google::Apis::OndemandscanningV1::PackageVersion, decorator: Google::Apis::OndemandscanningV1::PackageVersion::Representation
|
1097
1115
|
|
1098
1116
|
property :cpe_uri, as: 'cpeUri'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-ondemandscanning_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.39.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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.39.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|