google-apis-ondemandscanning_v1beta1 0.41.0 → 0.42.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: 1f1e15b158bd4bd144c5809e87bbc472afc2b25491d511c852914aed3c0f5848
4
- data.tar.gz: 0000bf449b72c29bc41c7d0139bcbed9fd25e9bdb8f1a7916bd9c309c9c04640
3
+ metadata.gz: 4ad5028301563bc6e534b6a34cf843500aeebbfb50e59ad1b6d2ee8446e5a5d7
4
+ data.tar.gz: 232aacb2b9d5acc1c70634aec70f6d1734e4136f27e96fb363ae97a7b72c7a12
5
5
  SHA512:
6
- metadata.gz: 184b4d811753a48d0b425a1a99d0d0c619006d14db0d8695f4ad680b6cfa89979200700ae5dbd895bcc384384545b17778b753cb0a0cea79e59c85cd89cf49f9
7
- data.tar.gz: 65c05c244227300af1964f381221260ead76b05328354ad88541bd0a58cc972486c8b7f9d36e49b6eb9032dd45f208598a653b86dd3e7169dfffebf893f819bb
6
+ metadata.gz: 4bac849302335494eb95396c31d3601e401194de219bb20ec27ac6f685c4abe74283288045723615d174ac31f02de96644cd6a4b1dbb03d5e9cb77dc1b92c953
7
+ data.tar.gz: 66b99bbe415c1c48d3e8b097b5949003422d08179dc5412261e6ec6bb675fc5d4be435b10b2575b9b90795c528cf4128c946ee24da3434b1847de963485dd747
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-ondemandscanning_v1beta1
2
2
 
3
+ ### v0.42.0 (2023-10-22)
4
+
5
+ * Regenerated from discovery document revision 20231016
6
+
3
7
  ### v0.41.0 (2023-10-08)
4
8
 
5
9
  * Regenerated from discovery document revision 20231002
@@ -2205,6 +2205,15 @@ module Google
2205
2205
  # @return [String]
2206
2206
  attr_accessor :hash_digest
2207
2207
 
2208
+ # The list of licenses found that are related to a given package. Note that
2209
+ # licenses may also be stored on the BinarySourceInfo. If there is no
2210
+ # BinarySourceInfo (because there's no concept of source vs binary), then it
2211
+ # will be stored here, while if there are BinarySourceInfos, it will be stored
2212
+ # there, as one source can have multiple binaries with different licenses.
2213
+ # Corresponds to the JSON property `licenses`
2214
+ # @return [Array<String>]
2215
+ attr_accessor :licenses
2216
+
2208
2217
  # The maintainer of the package.
2209
2218
  # Corresponds to the JSON property `maintainer`
2210
2219
  # @return [Google::Apis::OndemandscanningV1beta1::Maintainer]
@@ -2265,6 +2274,7 @@ module Google
2265
2274
  @dependency_chain = args[:dependency_chain] if args.key?(:dependency_chain)
2266
2275
  @file_location = args[:file_location] if args.key?(:file_location)
2267
2276
  @hash_digest = args[:hash_digest] if args.key?(:hash_digest)
2277
+ @licenses = args[:licenses] if args.key?(:licenses)
2268
2278
  @maintainer = args[:maintainer] if args.key?(:maintainer)
2269
2279
  @os = args[:os] if args.key?(:os)
2270
2280
  @os_version = args[:os_version] if args.key?(:os_version)
@@ -2421,6 +2431,14 @@ module Google
2421
2431
  class PackageVersion
2422
2432
  include Google::Apis::Core::Hashable
2423
2433
 
2434
+ # The licenses associated with this package. Note that this has to go on the
2435
+ # PackageVersion level, because we can have cases with images with the same
2436
+ # source having different licences. E.g. in Alpine, musl and musl-utils both
2437
+ # have the same origin musl, but have different sets of licenses.
2438
+ # Corresponds to the JSON property `licenses`
2439
+ # @return [Array<String>]
2440
+ attr_accessor :licenses
2441
+
2424
2442
  #
2425
2443
  # Corresponds to the JSON property `name`
2426
2444
  # @return [String]
@@ -2437,6 +2455,7 @@ module Google
2437
2455
 
2438
2456
  # Update properties of this object
2439
2457
  def update!(**args)
2458
+ @licenses = args[:licenses] if args.key?(:licenses)
2440
2459
  @name = args[:name] if args.key?(:name)
2441
2460
  @version = args[:version] if args.key?(:version)
2442
2461
  end
@@ -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.41.0"
19
+ GEM_VERSION = "0.42.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 = "20231002"
25
+ REVISION = "20231016"
26
26
  end
27
27
  end
28
28
  end
@@ -1202,6 +1202,7 @@ module Google
1202
1202
  collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1beta1::FileLocation, decorator: Google::Apis::OndemandscanningV1beta1::FileLocation::Representation
1203
1203
 
1204
1204
  property :hash_digest, as: 'hashDigest'
1205
+ collection :licenses, as: 'licenses'
1205
1206
  property :maintainer, as: 'maintainer', class: Google::Apis::OndemandscanningV1beta1::Maintainer, decorator: Google::Apis::OndemandscanningV1beta1::Maintainer::Representation
1206
1207
 
1207
1208
  property :os, as: 'os'
@@ -1254,6 +1255,7 @@ module Google
1254
1255
  class PackageVersion
1255
1256
  # @private
1256
1257
  class Representation < Google::Apis::Core::JsonRepresentation
1258
+ collection :licenses, as: 'licenses'
1257
1259
  property :name, as: 'name'
1258
1260
  property :version, as: 'version'
1259
1261
  end
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.41.0
4
+ version: 0.42.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-10-08 00:00:00.000000000 Z
11
+ date: 2023-10-22 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.41.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.42.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: []