google-apis-ondemandscanning_v1 0.15.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: 67aa857bfd88927eb23fc0c025756bdd1e9a1f4e24ca1a2aa2145ce1c7bf9ed6
4
- data.tar.gz: 3fc344719d963a7147a63b6f3ba448cefbc5c80fb886735900854d06c0af8397
3
+ metadata.gz: 158c3a77ad4a7bf4888776084b0d8d18f30eb4cfaa4c7ea0edcef87194a9f849
4
+ data.tar.gz: 6650c50ba838ed13636bea8e535a19ffcbe5b978d798f84a0b56c8da4f72001a
5
5
  SHA512:
6
- metadata.gz: 9ed5301e5e79ac8508015796c855faed5364ef561d880b4ae01993d9a4a3b011e6c4c0de42e573131b430188e87017a3eaac02df4923e5ec12b3a9178ab26508
7
- data.tar.gz: 70cdad78c25ff32fe3b28a73c7732cdf908baca28c3766200058767bce623e2d04bf3ce56e4112a64d0047cafcc519119dd84c6f13da23df801edddb73d600cb
6
+ metadata.gz: 60e1fc7230114f8928182fc169796da91e98fe1d94552cb78fff230560c8a1072edd253b9450aa2624e19e5c772203fb87327b14cccd2946fbaa316cd1763631
7
+ data.tar.gz: 751419de761ffc778d5432ed2d6e07c7d387212634f929406043f571cee71ac8d4553d2ef39836e279fc44faa9e5c86c7aa217ede794f02aa472d6bba68803b7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
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
+
7
+ ### v0.17.0 (2022-04-21)
8
+
9
+ * Regenerated from discovery document revision 20220415
10
+
11
+ ### v0.16.0 (2022-03-30)
12
+
13
+ * Regenerated from discovery document revision 20220326
14
+
3
15
  ### v0.15.0 (2022-01-12)
4
16
 
5
17
  * Regenerated from discovery document revision 20220107
@@ -824,8 +824,7 @@ module Google
824
824
  # A generic empty message that you can re-use to avoid defining duplicated empty
825
825
  # messages in your APIs. A typical example is to use it as the request or the
826
826
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
827
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
828
- # `Empty` is empty JSON object ````.
827
+ # protobuf.Empty) returns (google.protobuf.Empty); `
829
828
  class Empty
830
829
  include Google::Apis::Core::Hashable
831
830
 
@@ -917,6 +916,26 @@ module Google
917
916
  end
918
917
  end
919
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
+
920
939
  # A set of properties that uniquely identify a given Docker image.
921
940
  class Fingerprint
922
941
  include Google::Apis::Core::Hashable
@@ -1646,6 +1665,17 @@ module Google
1646
1665
  # @return [String]
1647
1666
  attr_accessor :cpe_uri
1648
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
+
1649
1679
  # The OS affected by a vulnerability This field is deprecated and the
1650
1680
  # information is in cpe_uri
1651
1681
  # Corresponds to the JSON property `os`
@@ -1685,6 +1715,8 @@ module Google
1685
1715
  # Update properties of this object
1686
1716
  def update!(**args)
1687
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)
1688
1720
  @os = args[:os] if args.key?(:os)
1689
1721
  @os_version = args[:os_version] if args.key?(:os_version)
1690
1722
  @package = args[:package] if args.key?(:package)
@@ -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.15.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 = "20220107"
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,6 +870,9 @@ 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'
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.15.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-01-17 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.15.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: []