google-apis-ondemandscanning_v1 0.31.0 → 0.33.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: 160ccf61211c6130eb7040d88aa426432afe767efb4136a561aff9abb5d168cc
4
- data.tar.gz: 0f99b3fff2c0ee046e29a3a8538cd24478185606d33786baa6ef9e6b4c5e1711
3
+ metadata.gz: fdde65facedb2ea110a1c308fc9f63978e6cd040fe2989236e2aa67d3500a70e
4
+ data.tar.gz: 1bdbef05288d797b546da5f2c1948f78076a0dcceba45acaa961e3e1fdb509bf
5
5
  SHA512:
6
- metadata.gz: f01e5ecf511120d49dd97c672c9c1168a7f993291fcb28e0e86f0f685301a2b8ad772a73c2824c3f874b130ae58e00a121254a63f15e3f704432c083dbe3cdd7
7
- data.tar.gz: 4b4082461e1f02b95300286a8e074685530a44abce7e4585449f5b38655b6324a9c6d0696f502d776b80ecec4c39e7e1fe5726fb2a41a9e0b1ccc562f37dbbf2
6
+ metadata.gz: b516d0e050372912b7482fc0dc26782e4047b6d8ffcea1746a8756080095b1ada4f8fd7af7f704e87a55025dd0cf0bfc6284a5dbe50b28eb1cf8e64e7c83a779
7
+ data.tar.gz: 70606b40e78bd0554ff692e1d924a1b380bd173dae9df2d6dd870b1d6298f85c893ec130f180148c183630c461dee009eca8f5b130b3429da96ef23d5a5ad84e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-ondemandscanning_v1
2
2
 
3
+ ### v0.33.0 (2023-03-05)
4
+
5
+ * Regenerated from discovery document revision 20230227
6
+
7
+ ### v0.32.0 (2023-02-19)
8
+
9
+ * Regenerated from discovery document revision 20230213
10
+ * Regenerated using generator version 0.12.0
11
+
3
12
  ### v0.31.0 (2022-10-27)
4
13
 
5
14
  * Regenerated from discovery document revision 20221024
@@ -1646,6 +1646,31 @@ module Google
1646
1646
  end
1647
1647
  end
1648
1648
 
1649
+ #
1650
+ class Maintainer
1651
+ include Google::Apis::Core::Hashable
1652
+
1653
+ #
1654
+ # Corresponds to the JSON property `kind`
1655
+ # @return [String]
1656
+ attr_accessor :kind
1657
+
1658
+ #
1659
+ # Corresponds to the JSON property `name`
1660
+ # @return [String]
1661
+ attr_accessor :name
1662
+
1663
+ def initialize(**args)
1664
+ update!(**args)
1665
+ end
1666
+
1667
+ # Update properties of this object
1668
+ def update!(**args)
1669
+ @kind = args[:kind] if args.key?(:kind)
1670
+ @name = args[:name] if args.key?(:name)
1671
+ end
1672
+ end
1673
+
1649
1674
  #
1650
1675
  class Material
1651
1676
  include Google::Apis::Core::Hashable
@@ -1985,6 +2010,11 @@ module Google
1985
2010
  # @return [String]
1986
2011
  attr_accessor :hash_digest
1987
2012
 
2013
+ # The maintainer of the package.
2014
+ # Corresponds to the JSON property `maintainer`
2015
+ # @return [Google::Apis::OndemandscanningV1::Maintainer]
2016
+ attr_accessor :maintainer
2017
+
1988
2018
  # The OS affected by a vulnerability Used to generate the cpe_uri for OS
1989
2019
  # packages
1990
2020
  # Corresponds to the JSON property `os`
@@ -2032,6 +2062,7 @@ module Google
2032
2062
  @dependency_chain = args[:dependency_chain] if args.key?(:dependency_chain)
2033
2063
  @file_location = args[:file_location] if args.key?(:file_location)
2034
2064
  @hash_digest = args[:hash_digest] if args.key?(:hash_digest)
2065
+ @maintainer = args[:maintainer] if args.key?(:maintainer)
2035
2066
  @os = args[:os] if args.key?(:os)
2036
2067
  @os_version = args[:os_version] if args.key?(:os_version)
2037
2068
  @package = args[:package] if args.key?(:package)
@@ -2934,6 +2965,14 @@ module Google
2934
2965
  # @return [Float]
2935
2966
  attr_accessor :cvss_score
2936
2967
 
2968
+ # Common Vulnerability Scoring System. For details, see https://www.first.org/
2969
+ # cvss/specification-document This is a message we will try to use for storing
2970
+ # various versions of CVSS rather than making a separate proto for storing a
2971
+ # specific version.
2972
+ # Corresponds to the JSON property `cvssV2`
2973
+ # @return [Google::Apis::OndemandscanningV1::Cvss]
2974
+ attr_accessor :cvss_v2
2975
+
2937
2976
  # Output only. CVSS version used to populate cvss_score and severity.
2938
2977
  # Corresponds to the JSON property `cvssVersion`
2939
2978
  # @return [String]
@@ -3004,6 +3043,7 @@ module Google
3004
3043
  # Update properties of this object
3005
3044
  def update!(**args)
3006
3045
  @cvss_score = args[:cvss_score] if args.key?(:cvss_score)
3046
+ @cvss_v2 = args[:cvss_v2] if args.key?(:cvss_v2)
3007
3047
  @cvss_version = args[:cvss_version] if args.key?(:cvss_version)
3008
3048
  @cvssv3 = args[:cvssv3] if args.key?(:cvssv3)
3009
3049
  @effective_severity = args[:effective_severity] if args.key?(:effective_severity)
@@ -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.31.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221024"
25
+ REVISION = "20230227"
26
26
  end
27
27
  end
28
28
  end
@@ -310,6 +310,12 @@ module Google
310
310
  include Google::Apis::Core::JsonObjectSupport
311
311
  end
312
312
 
313
+ class Maintainer
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
313
319
  class Material
314
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
321
 
@@ -947,6 +953,14 @@ module Google
947
953
  end
948
954
  end
949
955
 
956
+ class Maintainer
957
+ # @private
958
+ class Representation < Google::Apis::Core::JsonRepresentation
959
+ property :kind, as: 'kind'
960
+ property :name, as: 'name'
961
+ end
962
+ end
963
+
950
964
  class Material
951
965
  # @private
952
966
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1032,6 +1046,8 @@ module Google
1032
1046
  collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1::FileLocation, decorator: Google::Apis::OndemandscanningV1::FileLocation::Representation
1033
1047
 
1034
1048
  property :hash_digest, as: 'hashDigest'
1049
+ property :maintainer, as: 'maintainer', class: Google::Apis::OndemandscanningV1::Maintainer, decorator: Google::Apis::OndemandscanningV1::Maintainer::Representation
1050
+
1035
1051
  property :os, as: 'os'
1036
1052
  property :os_version, as: 'osVersion'
1037
1053
  property :package, as: 'package'
@@ -1272,6 +1288,8 @@ module Google
1272
1288
  # @private
1273
1289
  class Representation < Google::Apis::Core::JsonRepresentation
1274
1290
  property :cvss_score, as: 'cvssScore'
1291
+ property :cvss_v2, as: 'cvssV2', class: Google::Apis::OndemandscanningV1::Cvss, decorator: Google::Apis::OndemandscanningV1::Cvss::Representation
1292
+
1275
1293
  property :cvss_version, as: 'cvssVersion'
1276
1294
  property :cvssv3, as: 'cvssv3', class: Google::Apis::OndemandscanningV1::Cvss, decorator: Google::Apis::OndemandscanningV1::Cvss::Representation
1277
1295
 
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.31.0
4
+ version: 0.33.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: 2022-10-31 00:00:00.000000000 Z
11
+ date: 2023-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.1
19
+ version: 0.11.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.1
29
+ version: 0.11.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.33.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for On-Demand Scanning API V1