google-apis-ondemandscanning_v1beta1 0.34.0 → 0.35.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: 5ad60c0aca33c85bbcd51c60bb7b998ad0adab35da9cdc993462e2d34adc685e
4
- data.tar.gz: 141b2a9473f028f94293d826722ae4e9616bcb4b0e3c6f18a052b12586c02d62
3
+ metadata.gz: dbd715bd19cf20b53b2115c6a176acec109a0ddfa998839859587ee0b72b356c
4
+ data.tar.gz: 9aa345c96e05e2ddb292a0f13d3a9d0e43e92b628822273dc1ff6ccefb356e5f
5
5
  SHA512:
6
- metadata.gz: ec2ad9f495d475ba8206ef485d2e639414b68ca73917ffff2a7ae275bd1fdec0e09b280c1296190349e2feaaaf8626756c9825dd4f0dbb0c33863d8fba611b4f
7
- data.tar.gz: 450888b46881ce1a86e09a8af61bd99d27c5aa28d8e740bed9d95a38a8068442df45caedaba88d1fe8b69a4d3438731a9eeaca0bb67b59b09fb1099aa194bfd7
6
+ metadata.gz: 9cfd76b7c2e7c0c9723223114414ea506e0e3f5e937dca4d86c70180bd623be6ad87716d0f25dab01dd466b309fbb3c30a43e586e223228afa55cc0f59f63e0d
7
+ data.tar.gz: 2e6a70b19d63ead88bac9ecf8696c280d73ff73191d757f35e09fd30f014fb6c17fbb4fe8a122a368039264480ca11aefa516c2b789fa4d6dce8c76b64626e9b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-ondemandscanning_v1beta1
2
2
 
3
+ ### v0.35.0 (2023-04-02)
4
+
5
+ * Regenerated from discovery document revision 20230327
6
+
3
7
  ### v0.34.0 (2023-03-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20230313
@@ -269,6 +269,31 @@ module Google
269
269
  end
270
270
  end
271
271
 
272
+ #
273
+ class Binary
274
+ include Google::Apis::Core::Hashable
275
+
276
+ #
277
+ # Corresponds to the JSON property `name`
278
+ # @return [String]
279
+ attr_accessor :name
280
+
281
+ #
282
+ # Corresponds to the JSON property `version`
283
+ # @return [String]
284
+ attr_accessor :version
285
+
286
+ def initialize(**args)
287
+ update!(**args)
288
+ end
289
+
290
+ # Update properties of this object
291
+ def update!(**args)
292
+ @name = args[:name] if args.key?(:name)
293
+ @version = args[:version] if args.key?(:version)
294
+ end
295
+ end
296
+
272
297
  # Details of a build occurrence.
273
298
  class BuildOccurrence
274
299
  include Google::Apis::Core::Hashable
@@ -2008,6 +2033,15 @@ module Google
2008
2033
  # @return [String]
2009
2034
  attr_accessor :architecture
2010
2035
 
2036
+ # The binary package. This is significant when the source is different than the
2037
+ # binary itself. Historically if they've differed, we've stored the name of the
2038
+ # source and its version in the package/version fields, but we should also store
2039
+ # the binary package info, as that's what's actually installed. See https://b.
2040
+ # corp.google.com/issues/175908657#comment15
2041
+ # Corresponds to the JSON property `binary`
2042
+ # @return [Google::Apis::OndemandscanningV1beta1::Binary]
2043
+ attr_accessor :binary
2044
+
2011
2045
  # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) in which
2012
2046
  # the vulnerability may manifest. Examples include distro or storage location
2013
2047
  # for vulnerable jar.
@@ -2082,6 +2116,7 @@ module Google
2082
2116
  # Update properties of this object
2083
2117
  def update!(**args)
2084
2118
  @architecture = args[:architecture] if args.key?(:architecture)
2119
+ @binary = args[:binary] if args.key?(:binary)
2085
2120
  @cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
2086
2121
  @dependency_chain = args[:dependency_chain] if args.key?(:dependency_chain)
2087
2122
  @file_location = args[:file_location] if args.key?(:file_location)
@@ -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.34.0"
19
+ GEM_VERSION = "0.35.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 = "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
 
@@ -576,6 +582,14 @@ module Google
576
582
  end
577
583
  end
578
584
 
585
+ class Binary
586
+ # @private
587
+ class Representation < Google::Apis::Core::JsonRepresentation
588
+ property :name, as: 'name'
589
+ property :version, as: 'version'
590
+ end
591
+ end
592
+
579
593
  class BuildOccurrence
580
594
  # @private
581
595
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1066,6 +1080,8 @@ module Google
1066
1080
  # @private
1067
1081
  class Representation < Google::Apis::Core::JsonRepresentation
1068
1082
  property :architecture, as: 'architecture'
1083
+ property :binary, as: 'binary', class: Google::Apis::OndemandscanningV1beta1::Binary, decorator: Google::Apis::OndemandscanningV1beta1::Binary::Representation
1084
+
1069
1085
  property :cpe_uri, as: 'cpeUri'
1070
1086
  collection :dependency_chain, as: 'dependencyChain', class: Google::Apis::OndemandscanningV1beta1::LanguagePackageDependency, decorator: Google::Apis::OndemandscanningV1beta1::LanguagePackageDependency::Representation
1071
1087
 
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.34.0
4
+ version: 0.35.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-26 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.35.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: []