google-apis-ondemandscanning_v1 0.18.0 → 0.19.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: 158c3a77ad4a7bf4888776084b0d8d18f30eb4cfaa4c7ea0edcef87194a9f849
4
- data.tar.gz: 6650c50ba838ed13636bea8e535a19ffcbe5b978d798f84a0b56c8da4f72001a
3
+ metadata.gz: eb8d75a8df35fa88a0933a1fb557efb7e7692abc0e5b3c29d68a22d27b043bbc
4
+ data.tar.gz: 2933df6f31a6dedc06451d9e4001afa5877948379f55f8d48235b83d0ddae0dd
5
5
  SHA512:
6
- metadata.gz: 60e1fc7230114f8928182fc169796da91e98fe1d94552cb78fff230560c8a1072edd253b9450aa2624e19e5c772203fb87327b14cccd2946fbaa316cd1763631
7
- data.tar.gz: 751419de761ffc778d5432ed2d6e07c7d387212634f929406043f571cee71ac8d4553d2ef39836e279fc44faa9e5c86c7aa217ede794f02aa472d6bba68803b7
6
+ metadata.gz: 9f7a2b9c2fa18a48084b13ee93b20392a247f500ed79483844de5ea9f555a2ed19365484a5992dd1df1521503abd28e3f98503d4479c241ca658ea98e53300cb
7
+ data.tar.gz: e98d04abdcfabdb480d4dafc96cc461072960623fe8b792862cefb7cf29978648bb0b042d64c561cfea1e7c1d62a98089af65408d4a8d9e6cec6fec1bca832fa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-ondemandscanning_v1
2
2
 
3
+ ### v0.19.0 (2022-05-05)
4
+
5
+ * Regenerated from discovery document revision 20220430
6
+
3
7
  ### v0.18.0 (2022-04-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20220425
@@ -421,9 +421,8 @@ module Google
421
421
 
422
422
  # Common Vulnerability Scoring System. For details, see https://www.first.org/
423
423
  # cvss/specification-document This is a message we will try to use for storing
424
- # multiple versions of CVSS. The intention is that as new versions of CVSS
425
- # scores get added, we will be able to modify this message rather than adding
426
- # new protos for each new version of the score.
424
+ # various versions of CVSS rather than making a separate proto for storing a
425
+ # specific version.
427
426
  class Cvss
428
427
  include Google::Apis::Core::Hashable
429
428
 
@@ -1034,6 +1033,26 @@ module Google
1034
1033
  end
1035
1034
  end
1036
1035
 
1036
+ # Indicates the location at which a package was found.
1037
+ class GrafeasV1FileLocation
1038
+ include Google::Apis::Core::Hashable
1039
+
1040
+ # For jars that are contained inside .war files, this filepath can indicate the
1041
+ # path to war file combined with the path to jar file.
1042
+ # Corresponds to the JSON property `filePath`
1043
+ # @return [String]
1044
+ attr_accessor :file_path
1045
+
1046
+ def initialize(**args)
1047
+ update!(**args)
1048
+ end
1049
+
1050
+ # Update properties of this object
1051
+ def update!(**args)
1052
+ @file_path = args[:file_path] if args.key?(:file_path)
1053
+ end
1054
+ end
1055
+
1037
1056
  # Container message for hash values.
1038
1057
  class HashProp
1039
1058
  include Google::Apis::Core::Hashable
@@ -1754,6 +1773,11 @@ module Google
1754
1773
  # @return [String]
1755
1774
  attr_accessor :effective_severity
1756
1775
 
1776
+ # The location at which this package was found.
1777
+ # Corresponds to the JSON property `fileLocation`
1778
+ # @return [Array<Google::Apis::OndemandscanningV1::GrafeasV1FileLocation>]
1779
+ attr_accessor :file_location
1780
+
1757
1781
  # Output only. Whether a fix is available for this package.
1758
1782
  # Corresponds to the JSON property `fixAvailable`
1759
1783
  # @return [Boolean]
@@ -1792,6 +1816,7 @@ module Google
1792
1816
  @affected_package = args[:affected_package] if args.key?(:affected_package)
1793
1817
  @affected_version = args[:affected_version] if args.key?(:affected_version)
1794
1818
  @effective_severity = args[:effective_severity] if args.key?(:effective_severity)
1819
+ @file_location = args[:file_location] if args.key?(:file_location)
1795
1820
  @fix_available = args[:fix_available] if args.key?(:fix_available)
1796
1821
  @fixed_cpe_uri = args[:fixed_cpe_uri] if args.key?(:fixed_cpe_uri)
1797
1822
  @fixed_package = args[:fixed_package] if args.key?(:fixed_package)
@@ -2530,9 +2555,8 @@ module Google
2530
2555
 
2531
2556
  # Common Vulnerability Scoring System. For details, see https://www.first.org/
2532
2557
  # cvss/specification-document This is a message we will try to use for storing
2533
- # multiple versions of CVSS. The intention is that as new versions of CVSS
2534
- # scores get added, we will be able to modify this message rather than adding
2535
- # new protos for each new version of the score.
2558
+ # various versions of CVSS rather than making a separate proto for storing a
2559
+ # specific version.
2536
2560
  # Corresponds to the JSON property `cvssv3`
2537
2561
  # @return [Google::Apis::OndemandscanningV1::Cvss]
2538
2562
  attr_accessor :cvssv3
@@ -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.18.0"
19
+ GEM_VERSION = "0.19.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
 
@@ -692,6 +698,13 @@ module Google
692
698
  end
693
699
  end
694
700
 
701
+ class GrafeasV1FileLocation
702
+ # @private
703
+ class Representation < Google::Apis::Core::JsonRepresentation
704
+ property :file_path, as: 'filePath'
705
+ end
706
+ end
707
+
695
708
  class HashProp
696
709
  # @private
697
710
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -890,6 +903,8 @@ module Google
890
903
  property :affected_version, as: 'affectedVersion', class: Google::Apis::OndemandscanningV1::Version, decorator: Google::Apis::OndemandscanningV1::Version::Representation
891
904
 
892
905
  property :effective_severity, as: 'effectiveSeverity'
906
+ collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1::GrafeasV1FileLocation, decorator: Google::Apis::OndemandscanningV1::GrafeasV1FileLocation::Representation
907
+
893
908
  property :fix_available, as: 'fixAvailable'
894
909
  property :fixed_cpe_uri, as: 'fixedCpeUri'
895
910
  property :fixed_package, as: 'fixedPackage'
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.18.0
4
+ version: 0.19.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.19.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: []