google-apis-ondemandscanning_v1beta1 0.19.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 206e6efc01a5cd9f28d4bc35248bfe120165d18a67fafb49474d7c679b0b0eec
|
4
|
+
data.tar.gz: 862e99183449354d393409ba2ea2d5a545705418707d2633503b99fda8b36a45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc1110e5005dc2017136c85f177ab46c09de6f28e3c8b330aad7dad6b5facd3933cd4c0eb38d00ef265c2e8370e309a97fa28b911443edb997151f058723f100
|
7
|
+
data.tar.gz: a994e2e9e0d9fa743e25895b4d6ed22ff1e7de2210f974c2b88b551b0fb7fddad5e004ea88c8acab5342a1db99d70c15d41533a37f5f5c3974ceef07a6bc6a1f
|
data/CHANGELOG.md
CHANGED
@@ -908,6 +908,26 @@ module Google
|
|
908
908
|
end
|
909
909
|
end
|
910
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
|
+
|
911
931
|
# A set of properties that uniquely identify a given Docker image.
|
912
932
|
class Fingerprint
|
913
933
|
include Google::Apis::Core::Hashable
|
@@ -1637,6 +1657,17 @@ module Google
|
|
1637
1657
|
# @return [String]
|
1638
1658
|
attr_accessor :cpe_uri
|
1639
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
|
+
|
1640
1671
|
# The OS affected by a vulnerability This field is deprecated and the
|
1641
1672
|
# information is in cpe_uri
|
1642
1673
|
# Corresponds to the JSON property `os`
|
@@ -1659,12 +1690,6 @@ module Google
|
|
1659
1690
|
# @return [String]
|
1660
1691
|
attr_accessor :package_type
|
1661
1692
|
|
1662
|
-
# The path to the jar file / go binary file. The same jar file can be in
|
1663
|
-
# multiple locations - all of them will be listed.
|
1664
|
-
# Corresponds to the JSON property `pathToFile`
|
1665
|
-
# @return [Array<String>]
|
1666
|
-
attr_accessor :path_to_file
|
1667
|
-
|
1668
1693
|
#
|
1669
1694
|
# Corresponds to the JSON property `unused`
|
1670
1695
|
# @return [String]
|
@@ -1682,11 +1707,12 @@ module Google
|
|
1682
1707
|
# Update properties of this object
|
1683
1708
|
def update!(**args)
|
1684
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)
|
1685
1712
|
@os = args[:os] if args.key?(:os)
|
1686
1713
|
@os_version = args[:os_version] if args.key?(:os_version)
|
1687
1714
|
@package = args[:package] if args.key?(:package)
|
1688
1715
|
@package_type = args[:package_type] if args.key?(:package_type)
|
1689
|
-
@path_to_file = args[:path_to_file] if args.key?(:path_to_file)
|
1690
1716
|
@unused = args[:unused] if args.key?(:unused)
|
1691
1717
|
@version = args[:version] if args.key?(:version)
|
1692
1718
|
end
|
@@ -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.
|
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 = "
|
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,11 +869,13 @@ 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'
|
862
878
|
property :package_type, as: 'packageType'
|
863
|
-
collection :path_to_file, as: 'pathToFile'
|
864
879
|
property :unused, as: 'unused'
|
865
880
|
property :version, as: 'version'
|
866
881
|
end
|
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.
|
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-
|
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.
|
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: []
|