google-apis-ondemandscanning_v1beta1 0.17.0 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bde97b7ce023f7338c6bf63851771527bfea26c6abda7c22fa435bccf5986415
4
- data.tar.gz: fcef6d57e802f32d3ffec855dbfd7164df203d89cd1d112ae09321fe131fe7c5
3
+ metadata.gz: 206e6efc01a5cd9f28d4bc35248bfe120165d18a67fafb49474d7c679b0b0eec
4
+ data.tar.gz: 862e99183449354d393409ba2ea2d5a545705418707d2633503b99fda8b36a45
5
5
  SHA512:
6
- metadata.gz: c5f016f671cdab4e8846499ef94db7d4ac41dcbffee98dbf105a2d2a792884ae06fd90e878e8fc27765a29a395111205b6e700dd4d7b5da97db9f5d8ce31e02f
7
- data.tar.gz: 6772e85ab4df38b7cb993170cdb5652abf2452fc7004bf14b98520176942fa2ad6647e75edf7f3db8eb68a884140a3a19106679e286898037e819652b4a47c5f
6
+ metadata.gz: cc1110e5005dc2017136c85f177ab46c09de6f28e3c8b330aad7dad6b5facd3933cd4c0eb38d00ef265c2e8370e309a97fa28b911443edb997151f058723f100
7
+ data.tar.gz: a994e2e9e0d9fa743e25895b4d6ed22ff1e7de2210f974c2b88b551b0fb7fddad5e004ea88c8acab5342a1db99d70c15d41533a37f5f5c3974ceef07a6bc6a1f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-ondemandscanning_v1beta1
2
2
 
3
+ ### v0.20.0 (2022-04-28)
4
+
5
+ * Regenerated from discovery document revision 20220425
6
+
7
+ ### v0.19.0 (2022-04-21)
8
+
9
+ * Regenerated from discovery document revision 20220415
10
+
11
+ ### v0.18.0 (2022-03-30)
12
+
13
+ * Regenerated from discovery document revision 20220326
14
+
3
15
  ### v0.17.0 (2022-01-12)
4
16
 
5
17
  * Regenerated from discovery document revision 20220107
@@ -816,8 +816,7 @@ module Google
816
816
  # A generic empty message that you can re-use to avoid defining duplicated empty
817
817
  # messages in your APIs. A typical example is to use it as the request or the
818
818
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
819
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
820
- # `Empty` is empty JSON object ````.
819
+ # protobuf.Empty) returns (google.protobuf.Empty); `
821
820
  class Empty
822
821
  include Google::Apis::Core::Hashable
823
822
 
@@ -909,6 +908,26 @@ module Google
909
908
  end
910
909
  end
911
910
 
911
+ # Indicates the location at which a package was found.
912
+ class FileLocation
913
+ include Google::Apis::Core::Hashable
914
+
915
+ # For jars that are contained inside .war files, this filepath can indicate the
916
+ # path to war file combined with the path to jar file.
917
+ # Corresponds to the JSON property `filePath`
918
+ # @return [String]
919
+ attr_accessor :file_path
920
+
921
+ def initialize(**args)
922
+ update!(**args)
923
+ end
924
+
925
+ # Update properties of this object
926
+ def update!(**args)
927
+ @file_path = args[:file_path] if args.key?(:file_path)
928
+ end
929
+ end
930
+
912
931
  # A set of properties that uniquely identify a given Docker image.
913
932
  class Fingerprint
914
933
  include Google::Apis::Core::Hashable
@@ -1638,6 +1657,17 @@ module Google
1638
1657
  # @return [String]
1639
1658
  attr_accessor :cpe_uri
1640
1659
 
1660
+ # The path to the jar file / go binary file.
1661
+ # Corresponds to the JSON property `fileLocation`
1662
+ # @return [Array<Google::Apis::OndemandscanningV1beta1::FileLocation>]
1663
+ attr_accessor :file_location
1664
+
1665
+ # HashDigest stores the SHA512 hash digest of the jar file if the package is of
1666
+ # type Maven. This field will be unset for non Maven packages.
1667
+ # Corresponds to the JSON property `hashDigest`
1668
+ # @return [String]
1669
+ attr_accessor :hash_digest
1670
+
1641
1671
  # The OS affected by a vulnerability This field is deprecated and the
1642
1672
  # information is in cpe_uri
1643
1673
  # Corresponds to the JSON property `os`
@@ -1677,6 +1707,8 @@ module Google
1677
1707
  # Update properties of this object
1678
1708
  def update!(**args)
1679
1709
  @cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
1710
+ @file_location = args[:file_location] if args.key?(:file_location)
1711
+ @hash_digest = args[:hash_digest] if args.key?(:hash_digest)
1680
1712
  @os = args[:os] if args.key?(:os)
1681
1713
  @os_version = args[:os_version] if args.key?(:os_version)
1682
1714
  @package = args[:package] if args.key?(:package)
@@ -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.17.0"
19
+ GEM_VERSION = "0.20.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
 
@@ -650,6 +656,13 @@ module Google
650
656
  end
651
657
  end
652
658
 
659
+ class FileLocation
660
+ # @private
661
+ class Representation < Google::Apis::Core::JsonRepresentation
662
+ property :file_path, as: 'filePath'
663
+ end
664
+ end
665
+
653
666
  class Fingerprint
654
667
  # @private
655
668
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -856,6 +869,9 @@ module Google
856
869
  # @private
857
870
  class Representation < Google::Apis::Core::JsonRepresentation
858
871
  property :cpe_uri, as: 'cpeUri'
872
+ collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1beta1::FileLocation, decorator: Google::Apis::OndemandscanningV1beta1::FileLocation::Representation
873
+
874
+ property :hash_digest, as: 'hashDigest'
859
875
  property :os, as: 'os'
860
876
  property :os_version, as: 'osVersion'
861
877
  property :package, as: 'package'
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.17.0
4
+ version: 0.20.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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.20.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: []