google-apis-ondemandscanning_v1 0.35.0 → 0.36.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: ffb3d01999ccc34a223bf5fbd8058af07971a8e0988f2de07dd16a7198bb7e3f
|
4
|
+
data.tar.gz: a745bdfb6abc64d010092a2cef6a0c7f04963a0d16beb1e6cbd29bf96c7d2fad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12b707cd8d33cffcf20e2719b431b33b59dd9c444738f4039f7f17421134c54df1c23dfb9ed12818cc3476a7382168fc6e4396aae955afdc378d3ce0ff82b9c6
|
7
|
+
data.tar.gz: aa4ba0536966b118bc81e9ec01aa8d5b478974d70ccf5ea22a1bf2d270db996571abdc311bf1351b6620fe899f523bd262228504a98c9f9ff284c073493f7b63
|
data/CHANGELOG.md
CHANGED
@@ -277,6 +277,31 @@ module Google
|
|
277
277
|
end
|
278
278
|
end
|
279
279
|
|
280
|
+
#
|
281
|
+
class Binary
|
282
|
+
include Google::Apis::Core::Hashable
|
283
|
+
|
284
|
+
#
|
285
|
+
# Corresponds to the JSON property `name`
|
286
|
+
# @return [String]
|
287
|
+
attr_accessor :name
|
288
|
+
|
289
|
+
#
|
290
|
+
# Corresponds to the JSON property `version`
|
291
|
+
# @return [String]
|
292
|
+
attr_accessor :version
|
293
|
+
|
294
|
+
def initialize(**args)
|
295
|
+
update!(**args)
|
296
|
+
end
|
297
|
+
|
298
|
+
# Update properties of this object
|
299
|
+
def update!(**args)
|
300
|
+
@name = args[:name] if args.key?(:name)
|
301
|
+
@version = args[:version] if args.key?(:version)
|
302
|
+
end
|
303
|
+
end
|
304
|
+
|
280
305
|
# Details of a build occurrence.
|
281
306
|
class BuildOccurrence
|
282
307
|
include Google::Apis::Core::Hashable
|
@@ -2016,6 +2041,15 @@ module Google
|
|
2016
2041
|
# @return [String]
|
2017
2042
|
attr_accessor :architecture
|
2018
2043
|
|
2044
|
+
# The binary package. This is significant when the source is different than the
|
2045
|
+
# binary itself. Historically if they've differed, we've stored the name of the
|
2046
|
+
# source and its version in the package/version fields, but we should also store
|
2047
|
+
# the binary package info, as that's what's actually installed. See https://b.
|
2048
|
+
# corp.google.com/issues/175908657#comment15
|
2049
|
+
# Corresponds to the JSON property `binary`
|
2050
|
+
# @return [Google::Apis::OndemandscanningV1::Binary]
|
2051
|
+
attr_accessor :binary
|
2052
|
+
|
2019
2053
|
# The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) in which
|
2020
2054
|
# the vulnerability may manifest. Examples include distro or storage location
|
2021
2055
|
# for vulnerable jar.
|
@@ -2090,6 +2124,7 @@ module Google
|
|
2090
2124
|
# Update properties of this object
|
2091
2125
|
def update!(**args)
|
2092
2126
|
@architecture = args[:architecture] if args.key?(:architecture)
|
2127
|
+
@binary = args[:binary] if args.key?(:binary)
|
2093
2128
|
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
|
2094
2129
|
@dependency_chain = args[:dependency_chain] if args.key?(:dependency_chain)
|
2095
2130
|
@file_location = args[:file_location] if args.key?(:file_location)
|
@@ -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.36.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 = "20230327"
|
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 Binary
|
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
|
|
@@ -577,6 +583,14 @@ module Google
|
|
577
583
|
end
|
578
584
|
end
|
579
585
|
|
586
|
+
class Binary
|
587
|
+
# @private
|
588
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
589
|
+
property :name, as: 'name'
|
590
|
+
property :version, as: 'version'
|
591
|
+
end
|
592
|
+
end
|
593
|
+
|
580
594
|
class BuildOccurrence
|
581
595
|
# @private
|
582
596
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1067,6 +1081,8 @@ module Google
|
|
1067
1081
|
# @private
|
1068
1082
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1069
1083
|
property :architecture, as: 'architecture'
|
1084
|
+
property :binary, as: 'binary', class: Google::Apis::OndemandscanningV1::Binary, decorator: Google::Apis::OndemandscanningV1::Binary::Representation
|
1085
|
+
|
1070
1086
|
property :cpe_uri, as: 'cpeUri'
|
1071
1087
|
collection :dependency_chain, as: 'dependencyChain', class: Google::Apis::OndemandscanningV1::LanguagePackageDependency, decorator: Google::Apis::OndemandscanningV1::LanguagePackageDependency::Representation
|
1072
1088
|
|
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.36.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-
|
11
|
+
date: 2023-04-02 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.36.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: []
|