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: df0fa2b60ab13954c212860f98da9152661c1b1270d7362a95c228da11641df4
4
- data.tar.gz: a94cd525eb7b86571e0a92a25ee7516492fb71280cf050c466597917874d3e0b
3
+ metadata.gz: f57200ab17f0db8719a511301471b36307efad541683f3c70e9c2840b9780add
4
+ data.tar.gz: e669ed11ffdf6cce45747a4426efba62b39334b7b2a2a161144de885f215c797
5
5
  SHA512:
6
- metadata.gz: 023e03a5ab277d15525c5e88233ae38cd529a56390140e90ed87826bf8599d33e53cfb198d5372cc4f9565ee99193a4db090b941d1c1dd2d33f0baa46f6115dd
7
- data.tar.gz: 3ee60f7dffa5c41ebcc41066d9956d00550d3e55720c15dcd408569162c73256015c4c27df310a5949da6343b74794deb4ecb9a452d43f1f0149ebebc4053774
6
+ metadata.gz: 98be78d34cb1dec43fcba04d32d839ba56c6b4ee7fbbaf1a98b4eae1f9dd0222fc3c382a8fce090740dd8968dbbd0127bc83f34e035801ed9130efee7f11a6d3
7
+ data.tar.gz: 2c262a63da2247d3262c3fc8d9462e7241f1980fa402936445222bae93f2bd79835d0f4349aaf29f4cd12d9748a9ff17d92b18391cb0200845ed3e5ee5ddd86f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-ondemandscanning_v1beta1
2
2
 
3
+ ### v0.37.0 (2023-05-28)
4
+
5
+ * Regenerated from discovery document revision 20230522
6
+
3
7
  ### v0.36.0 (2023-05-07)
4
8
 
5
9
  * Regenerated from discovery document revision 20230501
@@ -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
- # The binary package. This is significant when the source is different than the
2020
- # binary itself. Historically if they've differed, we've stored the name of the
2021
- # source and its version in the package/version fields, but we should also store
2022
- # the binary package info, as that's what's actually installed. See b/175908657#
2023
- # comment15.
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
- # The source package. Similar to the above, this is significant when the source
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.36.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 = "20230501"
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.36.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-14 00:00:00.000000000 Z
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.36.0
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: []