google-apis-ondemandscanning_v1beta1 0.20.0 → 0.21.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: 206e6efc01a5cd9f28d4bc35248bfe120165d18a67fafb49474d7c679b0b0eec
4
- data.tar.gz: 862e99183449354d393409ba2ea2d5a545705418707d2633503b99fda8b36a45
3
+ metadata.gz: 8b2ae2aaf33df3f4daeb1b348238272be509d5fe78f2d71bb95e9d5295c43f45
4
+ data.tar.gz: c76e887740a926d30b7dab7820160abc1e0dbcbbb119c537e425775815db4869
5
5
  SHA512:
6
- metadata.gz: cc1110e5005dc2017136c85f177ab46c09de6f28e3c8b330aad7dad6b5facd3933cd4c0eb38d00ef265c2e8370e309a97fa28b911443edb997151f058723f100
7
- data.tar.gz: a994e2e9e0d9fa743e25895b4d6ed22ff1e7de2210f974c2b88b551b0fb7fddad5e004ea88c8acab5342a1db99d70c15d41533a37f5f5c3974ceef07a6bc6a1f
6
+ metadata.gz: 2afc16d58067e0bc4bf539679a4c059add225fccbb4b2b42b44d8bdc5c03eb0e8216e50f6414a7e0cb88f997dbff7c26b4cbcc96fec5472b8e26792f36fc81b6
7
+ data.tar.gz: 98b55741c7dfa5f5e01169a7aa7e26de00f5520e3b8bced6e2ac58d0999c0be39434632b5b66400cf0df2234eb6252232869b848a351307a596de0d075dab831
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-ondemandscanning_v1beta1
2
2
 
3
+ ### v0.21.0 (2022-05-05)
4
+
5
+ * Regenerated from discovery document revision 20220430
6
+
3
7
  ### v0.20.0 (2022-04-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20220425
@@ -413,9 +413,8 @@ module Google
413
413
 
414
414
  # Common Vulnerability Scoring System. For details, see https://www.first.org/
415
415
  # cvss/specification-document This is a message we will try to use for storing
416
- # multiple versions of CVSS. The intention is that as new versions of CVSS
417
- # scores get added, we will be able to modify this message rather than adding
418
- # new protos for each new version of the score.
416
+ # various versions of CVSS rather than making a separate proto for storing a
417
+ # specific version.
419
418
  class Cvss
420
419
  include Google::Apis::Core::Hashable
421
420
 
@@ -1026,6 +1025,26 @@ module Google
1026
1025
  end
1027
1026
  end
1028
1027
 
1028
+ # Indicates the location at which a package was found.
1029
+ class GrafeasV1FileLocation
1030
+ include Google::Apis::Core::Hashable
1031
+
1032
+ # For jars that are contained inside .war files, this filepath can indicate the
1033
+ # path to war file combined with the path to jar file.
1034
+ # Corresponds to the JSON property `filePath`
1035
+ # @return [String]
1036
+ attr_accessor :file_path
1037
+
1038
+ def initialize(**args)
1039
+ update!(**args)
1040
+ end
1041
+
1042
+ # Update properties of this object
1043
+ def update!(**args)
1044
+ @file_path = args[:file_path] if args.key?(:file_path)
1045
+ end
1046
+ end
1047
+
1029
1048
  # Container message for hash values.
1030
1049
  class HashProp
1031
1050
  include Google::Apis::Core::Hashable
@@ -1746,6 +1765,11 @@ module Google
1746
1765
  # @return [String]
1747
1766
  attr_accessor :effective_severity
1748
1767
 
1768
+ # The location at which this package was found.
1769
+ # Corresponds to the JSON property `fileLocation`
1770
+ # @return [Array<Google::Apis::OndemandscanningV1beta1::GrafeasV1FileLocation>]
1771
+ attr_accessor :file_location
1772
+
1749
1773
  # Output only. Whether a fix is available for this package.
1750
1774
  # Corresponds to the JSON property `fixAvailable`
1751
1775
  # @return [Boolean]
@@ -1784,6 +1808,7 @@ module Google
1784
1808
  @affected_package = args[:affected_package] if args.key?(:affected_package)
1785
1809
  @affected_version = args[:affected_version] if args.key?(:affected_version)
1786
1810
  @effective_severity = args[:effective_severity] if args.key?(:effective_severity)
1811
+ @file_location = args[:file_location] if args.key?(:file_location)
1787
1812
  @fix_available = args[:fix_available] if args.key?(:fix_available)
1788
1813
  @fixed_cpe_uri = args[:fixed_cpe_uri] if args.key?(:fixed_cpe_uri)
1789
1814
  @fixed_package = args[:fixed_package] if args.key?(:fixed_package)
@@ -2522,9 +2547,8 @@ module Google
2522
2547
 
2523
2548
  # Common Vulnerability Scoring System. For details, see https://www.first.org/
2524
2549
  # cvss/specification-document This is a message we will try to use for storing
2525
- # multiple versions of CVSS. The intention is that as new versions of CVSS
2526
- # scores get added, we will be able to modify this message rather than adding
2527
- # new protos for each new version of the score.
2550
+ # various versions of CVSS rather than making a separate proto for storing a
2551
+ # specific version.
2528
2552
  # Corresponds to the JSON property `cvssv3`
2529
2553
  # @return [Google::Apis::OndemandscanningV1beta1::Cvss]
2530
2554
  attr_accessor :cvssv3
@@ -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.20.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220425"
25
+ REVISION = "20220430"
26
26
  end
27
27
  end
28
28
  end
@@ -190,6 +190,12 @@ module Google
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
+ class GrafeasV1FileLocation
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
193
199
  class HashProp
194
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
201
 
@@ -691,6 +697,13 @@ module Google
691
697
  end
692
698
  end
693
699
 
700
+ class GrafeasV1FileLocation
701
+ # @private
702
+ class Representation < Google::Apis::Core::JsonRepresentation
703
+ property :file_path, as: 'filePath'
704
+ end
705
+ end
706
+
694
707
  class HashProp
695
708
  # @private
696
709
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -889,6 +902,8 @@ module Google
889
902
  property :affected_version, as: 'affectedVersion', class: Google::Apis::OndemandscanningV1beta1::Version, decorator: Google::Apis::OndemandscanningV1beta1::Version::Representation
890
903
 
891
904
  property :effective_severity, as: 'effectiveSeverity'
905
+ collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1FileLocation, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1FileLocation::Representation
906
+
892
907
  property :fix_available, as: 'fixAvailable'
893
908
  property :fixed_cpe_uri, as: 'fixedCpeUri'
894
909
  property :fixed_package, as: 'fixedPackage'
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.20.0
4
+ version: 0.21.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-05-02 00:00:00.000000000 Z
11
+ date: 2022-05-09 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.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.21.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: []