google-apis-ondemandscanning_v1 0.43.0 → 0.45.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: e2c1705d52dfe057b7f0acfaca628dd7a6677311237a8927f26f5c335d9f99ce
4
- data.tar.gz: 33584ad184f5bdcbdcc418ad5308618d958ed86ec5f466aa9a5b201e484a3f12
3
+ metadata.gz: 5602cd19187743e172426e5e74bcaee739e3712eefa7a0fbc25961f29eb786bd
4
+ data.tar.gz: 2719fbba018b3330e72ff842ad7ad2d123f529df1147b0a05e36e95c103f62ef
5
5
  SHA512:
6
- metadata.gz: 57a6e2b712f0b421afb5325a5729acdfb0e1275e4affb1913859b043c8bf6bfce6a0484cb240bfb6333ffa6a56fabc0621af214e3ccd2b990d7552c84571a19f
7
- data.tar.gz: b37ac4100906908b1eebbab85233fb0269715c10373d48cb6eda101eeb679443ce56a77502c0c0b2a3406eb5547622227b4d83fd64935944ca8549e7e6b7ec07
6
+ metadata.gz: 7bcfd16a732c3af047289fb22533a0a5069114e79e6c007c338bead5d31f2841570ae19e06686c55f4c16f1bf51da001b0727280474abcaec09a82ba2d8ff8b7
7
+ data.tar.gz: dee698da08c68ec0eae27109a57a37e07dcb1e4fb39c9ee6ef99a6ae31f401bccc76504ae012cee75b23850acc6d33b0c7b5b4cf6ced9b9b687534f91492449f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-ondemandscanning_v1
2
2
 
3
+ ### v0.45.0 (2023-11-19)
4
+
5
+ * Regenerated from discovery document revision 20231113
6
+
7
+ ### v0.44.0 (2023-10-22)
8
+
9
+ * Regenerated from discovery document revision 20231016
10
+
3
11
  ### v0.43.0 (2023-10-08)
4
12
 
5
13
  * Regenerated from discovery document revision 20231002
@@ -1830,6 +1830,11 @@ module Google
1830
1830
  class Maintainer
1831
1831
  include Google::Apis::Core::Hashable
1832
1832
 
1833
+ #
1834
+ # Corresponds to the JSON property `email`
1835
+ # @return [String]
1836
+ attr_accessor :email
1837
+
1833
1838
  #
1834
1839
  # Corresponds to the JSON property `kind`
1835
1840
  # @return [String]
@@ -1840,14 +1845,21 @@ module Google
1840
1845
  # @return [String]
1841
1846
  attr_accessor :name
1842
1847
 
1848
+ #
1849
+ # Corresponds to the JSON property `url`
1850
+ # @return [String]
1851
+ attr_accessor :url
1852
+
1843
1853
  def initialize(**args)
1844
1854
  update!(**args)
1845
1855
  end
1846
1856
 
1847
1857
  # Update properties of this object
1848
1858
  def update!(**args)
1859
+ @email = args[:email] if args.key?(:email)
1849
1860
  @kind = args[:kind] if args.key?(:kind)
1850
1861
  @name = args[:name] if args.key?(:name)
1862
+ @url = args[:url] if args.key?(:url)
1851
1863
  end
1852
1864
  end
1853
1865
 
@@ -2213,6 +2225,15 @@ module Google
2213
2225
  # @return [String]
2214
2226
  attr_accessor :hash_digest
2215
2227
 
2228
+ # The list of licenses found that are related to a given package. Note that
2229
+ # licenses may also be stored on the BinarySourceInfo. If there is no
2230
+ # BinarySourceInfo (because there's no concept of source vs binary), then it
2231
+ # will be stored here, while if there are BinarySourceInfos, it will be stored
2232
+ # there, as one source can have multiple binaries with different licenses.
2233
+ # Corresponds to the JSON property `licenses`
2234
+ # @return [Array<String>]
2235
+ attr_accessor :licenses
2236
+
2216
2237
  # The maintainer of the package.
2217
2238
  # Corresponds to the JSON property `maintainer`
2218
2239
  # @return [Google::Apis::OndemandscanningV1::Maintainer]
@@ -2273,6 +2294,7 @@ module Google
2273
2294
  @dependency_chain = args[:dependency_chain] if args.key?(:dependency_chain)
2274
2295
  @file_location = args[:file_location] if args.key?(:file_location)
2275
2296
  @hash_digest = args[:hash_digest] if args.key?(:hash_digest)
2297
+ @licenses = args[:licenses] if args.key?(:licenses)
2276
2298
  @maintainer = args[:maintainer] if args.key?(:maintainer)
2277
2299
  @os = args[:os] if args.key?(:os)
2278
2300
  @os_version = args[:os_version] if args.key?(:os_version)
@@ -2429,6 +2451,14 @@ module Google
2429
2451
  class PackageVersion
2430
2452
  include Google::Apis::Core::Hashable
2431
2453
 
2454
+ # The licenses associated with this package. Note that this has to go on the
2455
+ # PackageVersion level, because we can have cases with images with the same
2456
+ # source having different licences. E.g. in Alpine, musl and musl-utils both
2457
+ # have the same origin musl, but have different sets of licenses.
2458
+ # Corresponds to the JSON property `licenses`
2459
+ # @return [Array<String>]
2460
+ attr_accessor :licenses
2461
+
2432
2462
  #
2433
2463
  # Corresponds to the JSON property `name`
2434
2464
  # @return [String]
@@ -2445,6 +2475,7 @@ module Google
2445
2475
 
2446
2476
  # Update properties of this object
2447
2477
  def update!(**args)
2478
+ @licenses = args[:licenses] if args.key?(:licenses)
2448
2479
  @name = args[:name] if args.key?(:name)
2449
2480
  @version = args[:version] if args.key?(:version)
2450
2481
  end
@@ -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.43.0"
19
+ GEM_VERSION = "0.45.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 = "20231113"
26
26
  end
27
27
  end
28
28
  end
@@ -1106,8 +1106,10 @@ module Google
1106
1106
  class Maintainer
1107
1107
  # @private
1108
1108
  class Representation < Google::Apis::Core::JsonRepresentation
1109
+ property :email, as: 'email'
1109
1110
  property :kind, as: 'kind'
1110
1111
  property :name, as: 'name'
1112
+ property :url, as: 'url'
1111
1113
  end
1112
1114
  end
1113
1115
 
@@ -1203,6 +1205,7 @@ module Google
1203
1205
  collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1::FileLocation, decorator: Google::Apis::OndemandscanningV1::FileLocation::Representation
1204
1206
 
1205
1207
  property :hash_digest, as: 'hashDigest'
1208
+ collection :licenses, as: 'licenses'
1206
1209
  property :maintainer, as: 'maintainer', class: Google::Apis::OndemandscanningV1::Maintainer, decorator: Google::Apis::OndemandscanningV1::Maintainer::Representation
1207
1210
 
1208
1211
  property :os, as: 'os'
@@ -1255,6 +1258,7 @@ module Google
1255
1258
  class PackageVersion
1256
1259
  # @private
1257
1260
  class Representation < Google::Apis::Core::JsonRepresentation
1261
+ collection :licenses, as: 'licenses'
1258
1262
  property :name, as: 'name'
1259
1263
  property :version, as: 'version'
1260
1264
  end
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.43.0
4
+ version: 0.45.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-11-19 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.43.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.45.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: []