google-apis-ondemandscanning_v1 0.32.0 → 0.34.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/ondemandscanning_v1/classes.rb +37 -0
- data/lib/google/apis/ondemandscanning_v1/gem_version.rb +2 -2
- data/lib/google/apis/ondemandscanning_v1/representations.rb +17 -0
- data/lib/google/apis/ondemandscanning_v1/service.rb +1 -7
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57dec02c084594b5178dd5fe31742a2fb8ff2ead1b321f2bfed9fa530d2a5eaf
|
4
|
+
data.tar.gz: 385fd0465706125af3a890fff7ec522c13f3802328b7fbb0d35846072b604b3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 907b848eee91a9c202490e4e8f85b57de080cc7f03397e5948a033598e12db002b4df593ccfd26053416431d727b7a4b4ef7c0be3ea14ebb6da31a3dd164fe81
|
7
|
+
data.tar.gz: 196dfd8f9f4939f696eef193ee2987d6df6840a04ce17f4e4b43c18dbe21758d397d7acae3f64890face482168191431a7a8dcf20a36247b17fe5f1e2e92ebbe
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-ondemandscanning_v1
|
2
2
|
|
3
|
+
### v0.34.0 (2023-03-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230306
|
6
|
+
|
7
|
+
### v0.33.0 (2023-03-05)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230227
|
10
|
+
|
3
11
|
### v0.32.0 (2023-02-19)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230213
|
@@ -1646,6 +1646,31 @@ module Google
|
|
1646
1646
|
end
|
1647
1647
|
end
|
1648
1648
|
|
1649
|
+
#
|
1650
|
+
class Maintainer
|
1651
|
+
include Google::Apis::Core::Hashable
|
1652
|
+
|
1653
|
+
#
|
1654
|
+
# Corresponds to the JSON property `kind`
|
1655
|
+
# @return [String]
|
1656
|
+
attr_accessor :kind
|
1657
|
+
|
1658
|
+
#
|
1659
|
+
# Corresponds to the JSON property `name`
|
1660
|
+
# @return [String]
|
1661
|
+
attr_accessor :name
|
1662
|
+
|
1663
|
+
def initialize(**args)
|
1664
|
+
update!(**args)
|
1665
|
+
end
|
1666
|
+
|
1667
|
+
# Update properties of this object
|
1668
|
+
def update!(**args)
|
1669
|
+
@kind = args[:kind] if args.key?(:kind)
|
1670
|
+
@name = args[:name] if args.key?(:name)
|
1671
|
+
end
|
1672
|
+
end
|
1673
|
+
|
1649
1674
|
#
|
1650
1675
|
class Material
|
1651
1676
|
include Google::Apis::Core::Hashable
|
@@ -1960,6 +1985,11 @@ module Google
|
|
1960
1985
|
class PackageData
|
1961
1986
|
include Google::Apis::Core::Hashable
|
1962
1987
|
|
1988
|
+
# The architecture of the package.
|
1989
|
+
# Corresponds to the JSON property `architecture`
|
1990
|
+
# @return [String]
|
1991
|
+
attr_accessor :architecture
|
1992
|
+
|
1963
1993
|
# The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) in which
|
1964
1994
|
# the vulnerability may manifest. Examples include distro or storage location
|
1965
1995
|
# for vulnerable jar.
|
@@ -1985,6 +2015,11 @@ module Google
|
|
1985
2015
|
# @return [String]
|
1986
2016
|
attr_accessor :hash_digest
|
1987
2017
|
|
2018
|
+
# The maintainer of the package.
|
2019
|
+
# Corresponds to the JSON property `maintainer`
|
2020
|
+
# @return [Google::Apis::OndemandscanningV1::Maintainer]
|
2021
|
+
attr_accessor :maintainer
|
2022
|
+
|
1988
2023
|
# The OS affected by a vulnerability Used to generate the cpe_uri for OS
|
1989
2024
|
# packages
|
1990
2025
|
# Corresponds to the JSON property `os`
|
@@ -2028,10 +2063,12 @@ module Google
|
|
2028
2063
|
|
2029
2064
|
# Update properties of this object
|
2030
2065
|
def update!(**args)
|
2066
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
2031
2067
|
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
|
2032
2068
|
@dependency_chain = args[:dependency_chain] if args.key?(:dependency_chain)
|
2033
2069
|
@file_location = args[:file_location] if args.key?(:file_location)
|
2034
2070
|
@hash_digest = args[:hash_digest] if args.key?(:hash_digest)
|
2071
|
+
@maintainer = args[:maintainer] if args.key?(:maintainer)
|
2035
2072
|
@os = args[:os] if args.key?(:os)
|
2036
2073
|
@os_version = args[:os_version] if args.key?(:os_version)
|
2037
2074
|
@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.
|
19
|
+
GEM_VERSION = "0.34.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230306"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -310,6 +310,12 @@ module Google
|
|
310
310
|
include Google::Apis::Core::JsonObjectSupport
|
311
311
|
end
|
312
312
|
|
313
|
+
class Maintainer
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
313
319
|
class Material
|
314
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
321
|
|
@@ -947,6 +953,14 @@ module Google
|
|
947
953
|
end
|
948
954
|
end
|
949
955
|
|
956
|
+
class Maintainer
|
957
|
+
# @private
|
958
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
959
|
+
property :kind, as: 'kind'
|
960
|
+
property :name, as: 'name'
|
961
|
+
end
|
962
|
+
end
|
963
|
+
|
950
964
|
class Material
|
951
965
|
# @private
|
952
966
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1026,12 +1040,15 @@ module Google
|
|
1026
1040
|
class PackageData
|
1027
1041
|
# @private
|
1028
1042
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1043
|
+
property :architecture, as: 'architecture'
|
1029
1044
|
property :cpe_uri, as: 'cpeUri'
|
1030
1045
|
collection :dependency_chain, as: 'dependencyChain', class: Google::Apis::OndemandscanningV1::LanguagePackageDependency, decorator: Google::Apis::OndemandscanningV1::LanguagePackageDependency::Representation
|
1031
1046
|
|
1032
1047
|
collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1::FileLocation, decorator: Google::Apis::OndemandscanningV1::FileLocation::Representation
|
1033
1048
|
|
1034
1049
|
property :hash_digest, as: 'hashDigest'
|
1050
|
+
property :maintainer, as: 'maintainer', class: Google::Apis::OndemandscanningV1::Maintainer, decorator: Google::Apis::OndemandscanningV1::Maintainer::Representation
|
1051
|
+
|
1035
1052
|
property :os, as: 'os'
|
1036
1053
|
property :os_version, as: 'osVersion'
|
1037
1054
|
property :package, as: 'package'
|
@@ -151,13 +151,7 @@ module Google
|
|
151
151
|
end
|
152
152
|
|
153
153
|
# Lists operations that match the specified filter in the request. If the server
|
154
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
155
|
-
# binding allows API services to override the binding to use different resource
|
156
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
157
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
158
|
-
# service configuration. For backwards compatibility, the default name includes
|
159
|
-
# the operations collection id, however overriding users must ensure the name
|
160
|
-
# binding is the parent resource, without the operations collection id.
|
154
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
161
155
|
# @param [String] name
|
162
156
|
# The name of the operation's parent resource.
|
163
157
|
# @param [String] filter
|
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.
|
4
|
+
version: 0.34.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: 2023-
|
11
|
+
date: 2023-03-12 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.34.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: []
|