google-apis-ondemandscanning_v1 0.17.0 → 0.18.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: 6fd0147cc156e48e87d90783bb88f7cdeb4c7379edd2f6cc8df661e4f7cd3f9d
4
- data.tar.gz: 8f1717748079515b2195de73d2322f9ce861b77583f611bd5e2f278acef63ddc
3
+ metadata.gz: 158c3a77ad4a7bf4888776084b0d8d18f30eb4cfaa4c7ea0edcef87194a9f849
4
+ data.tar.gz: 6650c50ba838ed13636bea8e535a19ffcbe5b978d798f84a0b56c8da4f72001a
5
5
  SHA512:
6
- metadata.gz: cacbd1b0427d34feff92f8b4465ad8391d1e6ffe148dc7a69ead8dba2fda3d7cd174a8a155bd465cdb564ee70bcc1847a2d4f33b4381dfee878a8cc20849e6d9
7
- data.tar.gz: 6323f3e1024870dbcca2e9df917015fca28c5551e2b5f85af01134bc6f9e01ca614a3686713078a188e458d9b1d62f9538de7122eb681845d59663adf1d2ff1a
6
+ metadata.gz: 60e1fc7230114f8928182fc169796da91e98fe1d94552cb78fff230560c8a1072edd253b9450aa2624e19e5c772203fb87327b14cccd2946fbaa316cd1763631
7
+ data.tar.gz: 751419de761ffc778d5432ed2d6e07c7d387212634f929406043f571cee71ac8d4553d2ef39836e279fc44faa9e5c86c7aa217ede794f02aa472d6bba68803b7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-ondemandscanning_v1
2
2
 
3
+ ### v0.18.0 (2022-04-28)
4
+
5
+ * Regenerated from discovery document revision 20220425
6
+
3
7
  ### v0.17.0 (2022-04-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20220415
@@ -916,6 +916,26 @@ module Google
916
916
  end
917
917
  end
918
918
 
919
+ # Indicates the location at which a package was found.
920
+ class FileLocation
921
+ include Google::Apis::Core::Hashable
922
+
923
+ # For jars that are contained inside .war files, this filepath can indicate the
924
+ # path to war file combined with the path to jar file.
925
+ # Corresponds to the JSON property `filePath`
926
+ # @return [String]
927
+ attr_accessor :file_path
928
+
929
+ def initialize(**args)
930
+ update!(**args)
931
+ end
932
+
933
+ # Update properties of this object
934
+ def update!(**args)
935
+ @file_path = args[:file_path] if args.key?(:file_path)
936
+ end
937
+ end
938
+
919
939
  # A set of properties that uniquely identify a given Docker image.
920
940
  class Fingerprint
921
941
  include Google::Apis::Core::Hashable
@@ -1645,6 +1665,17 @@ module Google
1645
1665
  # @return [String]
1646
1666
  attr_accessor :cpe_uri
1647
1667
 
1668
+ # The path to the jar file / go binary file.
1669
+ # Corresponds to the JSON property `fileLocation`
1670
+ # @return [Array<Google::Apis::OndemandscanningV1::FileLocation>]
1671
+ attr_accessor :file_location
1672
+
1673
+ # HashDigest stores the SHA512 hash digest of the jar file if the package is of
1674
+ # type Maven. This field will be unset for non Maven packages.
1675
+ # Corresponds to the JSON property `hashDigest`
1676
+ # @return [String]
1677
+ attr_accessor :hash_digest
1678
+
1648
1679
  # The OS affected by a vulnerability This field is deprecated and the
1649
1680
  # information is in cpe_uri
1650
1681
  # Corresponds to the JSON property `os`
@@ -1667,12 +1698,6 @@ module Google
1667
1698
  # @return [String]
1668
1699
  attr_accessor :package_type
1669
1700
 
1670
- # The path to the jar file / go binary file. The same jar file can be in
1671
- # multiple locations - all of them will be listed.
1672
- # Corresponds to the JSON property `pathToFile`
1673
- # @return [Array<String>]
1674
- attr_accessor :path_to_file
1675
-
1676
1701
  #
1677
1702
  # Corresponds to the JSON property `unused`
1678
1703
  # @return [String]
@@ -1690,11 +1715,12 @@ module Google
1690
1715
  # Update properties of this object
1691
1716
  def update!(**args)
1692
1717
  @cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
1718
+ @file_location = args[:file_location] if args.key?(:file_location)
1719
+ @hash_digest = args[:hash_digest] if args.key?(:hash_digest)
1693
1720
  @os = args[:os] if args.key?(:os)
1694
1721
  @os_version = args[:os_version] if args.key?(:os_version)
1695
1722
  @package = args[:package] if args.key?(:package)
1696
1723
  @package_type = args[:package_type] if args.key?(:package_type)
1697
- @path_to_file = args[:path_to_file] if args.key?(:path_to_file)
1698
1724
  @unused = args[:unused] if args.key?(:unused)
1699
1725
  @version = args[:version] if args.key?(:version)
1700
1726
  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.17.0"
19
+ GEM_VERSION = "0.18.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 = "20220415"
25
+ REVISION = "20220425"
26
26
  end
27
27
  end
28
28
  end
@@ -166,6 +166,12 @@ module Google
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
+ class FileLocation
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
169
175
  class Fingerprint
170
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
177
 
@@ -651,6 +657,13 @@ module Google
651
657
  end
652
658
  end
653
659
 
660
+ class FileLocation
661
+ # @private
662
+ class Representation < Google::Apis::Core::JsonRepresentation
663
+ property :file_path, as: 'filePath'
664
+ end
665
+ end
666
+
654
667
  class Fingerprint
655
668
  # @private
656
669
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -857,11 +870,13 @@ module Google
857
870
  # @private
858
871
  class Representation < Google::Apis::Core::JsonRepresentation
859
872
  property :cpe_uri, as: 'cpeUri'
873
+ collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1::FileLocation, decorator: Google::Apis::OndemandscanningV1::FileLocation::Representation
874
+
875
+ property :hash_digest, as: 'hashDigest'
860
876
  property :os, as: 'os'
861
877
  property :os_version, as: 'osVersion'
862
878
  property :package, as: 'package'
863
879
  property :package_type, as: 'packageType'
864
- collection :path_to_file, as: 'pathToFile'
865
880
  property :unused, as: 'unused'
866
881
  property :version, as: 'version'
867
882
  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.17.0
4
+ version: 0.18.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-04-25 00:00:00.000000000 Z
11
+ date: 2022-05-02 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.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.18.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: []