google-apis-ondemandscanning_v1 0.35.0 → 0.37.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: 73f779cce6ff04cb7e01eaa8320a0b3934fc1cde412db6fd58e8ec3e791b41e0
4
- data.tar.gz: ce57e65bc3574f1f33a95a3f0787effae51ec9bf4cfb74b4bed0b7df85e50c40
3
+ metadata.gz: 4f4df01283484c4c0a09ec01ad2cdd6caa02c4db300d011bd94bb1597e177561
4
+ data.tar.gz: ab55f3a32012b7f2b2c6f62c88df2a55819e5174956dc22221c7f0908e432373
5
5
  SHA512:
6
- metadata.gz: 721491f01af9d8d0b3a16c0a49b024710bdd6d92922159e6be0a9fda838b8a339f966bd3857992d43f81e8b77bedf5efa138b514fac0d8790277ae2f2022caf0
7
- data.tar.gz: dcef3f9f5e6fb9ee5315088decb2cd241f517d5643f365e77f3d43ee08be86d57092a6adc74d2cb301547f6441945a62cdef0a92cf67709255b1e785de805ad3
6
+ metadata.gz: 7ea7078039a927f4d9c6af41d785a52ce6ee37e7e290d2507aabf47b70203b4611a1ec5467e232966527432d251e6f078d3decbf24f2e49ef8bfc0c320ec5bcb
7
+ data.tar.gz: 797fec5771da6489e2d77328e9445d292dbd252eb98ea35ec41cafda7cd9539b191ce8a6fc60957f4113562e0424d386da35250de81905e856d2b8f9cfe5727e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-ondemandscanning_v1
2
2
 
3
+ ### v0.37.0 (2023-04-16)
4
+
5
+ * Regenerated from discovery document revision 20230403
6
+
7
+ ### v0.36.0 (2023-04-02)
8
+
9
+ * Regenerated from discovery document revision 20230327
10
+
3
11
  ### v0.35.0 (2023-03-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20230313
@@ -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 b/175908657#
2048
+ # 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.35.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 = "20230313"
25
+ REVISION = "20230403"
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.35.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-03-19 00:00:00.000000000 Z
11
+ date: 2023-04-16 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.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.37.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: []