google-apis-ondemandscanning_v1 0.19.0 → 0.20.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 939337bc26736f0a965d37cfb27b33a3167934e4d0d20aafdc2ed4edc62bb5d9
|
4
|
+
data.tar.gz: 199cf477d9fe6d0c15d65cbd9a68135f7d7323626fc7e2fd3a5a0b1f79d99992
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2cd892ed5a8b8f6c4617fb0bc3bbac2bf59dea0ec1f5bed6112d38fc1679ed6ac37ffa3e331d8ecf9bde29d9b83af26eb8298da55177071dc6930a2f15e37f0
|
7
|
+
data.tar.gz: c87f6b703164f39e7a707b143ae7fd8a02be86d5be2c28a16ed4f2eb643c997352ce924dee9eb09cb9ca4d9bb061073f4bfca2242dfb788aca1da630939b832a
|
data/CHANGELOG.md
CHANGED
@@ -1278,6 +1278,34 @@ module Google
|
|
1278
1278
|
end
|
1279
1279
|
end
|
1280
1280
|
|
1281
|
+
# License information.
|
1282
|
+
class License
|
1283
|
+
include Google::Apis::Core::Hashable
|
1284
|
+
|
1285
|
+
# Comments
|
1286
|
+
# Corresponds to the JSON property `comments`
|
1287
|
+
# @return [String]
|
1288
|
+
attr_accessor :comments
|
1289
|
+
|
1290
|
+
# Often a single license can be used to represent the licensing terms. Sometimes
|
1291
|
+
# it is necessary to include a choice of one or more licenses or some
|
1292
|
+
# combination of license identifiers. Examples: "LGPL-2.1-only OR MIT", "LGPL-2.
|
1293
|
+
# 1-only AND MIT", "GPL-2.0-or-later WITH Bison-exception-2.2".
|
1294
|
+
# Corresponds to the JSON property `expression`
|
1295
|
+
# @return [String]
|
1296
|
+
attr_accessor :expression
|
1297
|
+
|
1298
|
+
def initialize(**args)
|
1299
|
+
update!(**args)
|
1300
|
+
end
|
1301
|
+
|
1302
|
+
# Update properties of this object
|
1303
|
+
def update!(**args)
|
1304
|
+
@comments = args[:comments] if args.key?(:comments)
|
1305
|
+
@expression = args[:expression] if args.key?(:expression)
|
1306
|
+
end
|
1307
|
+
end
|
1308
|
+
|
1281
1309
|
# The response message for Operations.ListOperations.
|
1282
1310
|
class ListOperationsResponse
|
1283
1311
|
include Google::Apis::Core::Hashable
|
@@ -1335,8 +1363,7 @@ module Google
|
|
1335
1363
|
class Location
|
1336
1364
|
include Google::Apis::Core::Hashable
|
1337
1365
|
|
1338
|
-
#
|
1339
|
-
# denoting the package manager version distributing a package.
|
1366
|
+
# Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)
|
1340
1367
|
# Corresponds to the JSON property `cpeUri`
|
1341
1368
|
# @return [String]
|
1342
1369
|
attr_accessor :cpe_uri
|
@@ -1829,25 +1856,59 @@ module Google
|
|
1829
1856
|
class PackageOccurrence
|
1830
1857
|
include Google::Apis::Core::Hashable
|
1831
1858
|
|
1832
|
-
#
|
1833
|
-
#
|
1859
|
+
# Output only. The CPU architecture for which packages in this distribution
|
1860
|
+
# channel were built. Architecture will be blank for language packages.
|
1861
|
+
# Corresponds to the JSON property `architecture`
|
1862
|
+
# @return [String]
|
1863
|
+
attr_accessor :architecture
|
1864
|
+
|
1865
|
+
# Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/)
|
1866
|
+
# denoting the package manager version distributing a package. The cpe_uri will
|
1867
|
+
# be blank for language packages.
|
1868
|
+
# Corresponds to the JSON property `cpeUri`
|
1869
|
+
# @return [String]
|
1870
|
+
attr_accessor :cpe_uri
|
1871
|
+
|
1872
|
+
# License information.
|
1873
|
+
# Corresponds to the JSON property `license`
|
1874
|
+
# @return [Google::Apis::OndemandscanningV1::License]
|
1875
|
+
attr_accessor :license
|
1876
|
+
|
1877
|
+
# All of the places within the filesystem versions of this package have been
|
1878
|
+
# found.
|
1834
1879
|
# Corresponds to the JSON property `location`
|
1835
1880
|
# @return [Array<Google::Apis::OndemandscanningV1::Location>]
|
1836
1881
|
attr_accessor :location
|
1837
1882
|
|
1838
|
-
# Output only. The name of the installed package.
|
1883
|
+
# Required. Output only. The name of the installed package.
|
1839
1884
|
# Corresponds to the JSON property `name`
|
1840
1885
|
# @return [String]
|
1841
1886
|
attr_accessor :name
|
1842
1887
|
|
1888
|
+
# Output only. The type of package; whether native or non native (e.g., ruby
|
1889
|
+
# gems, node.js packages, etc.).
|
1890
|
+
# Corresponds to the JSON property `packageType`
|
1891
|
+
# @return [String]
|
1892
|
+
attr_accessor :package_type
|
1893
|
+
|
1894
|
+
# Version contains structured information about the version of a package.
|
1895
|
+
# Corresponds to the JSON property `version`
|
1896
|
+
# @return [Google::Apis::OndemandscanningV1::Version]
|
1897
|
+
attr_accessor :version
|
1898
|
+
|
1843
1899
|
def initialize(**args)
|
1844
1900
|
update!(**args)
|
1845
1901
|
end
|
1846
1902
|
|
1847
1903
|
# Update properties of this object
|
1848
1904
|
def update!(**args)
|
1905
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
1906
|
+
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
|
1907
|
+
@license = args[:license] if args.key?(:license)
|
1849
1908
|
@location = args[:location] if args.key?(:location)
|
1850
1909
|
@name = args[:name] if args.key?(:name)
|
1910
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
1911
|
+
@version = args[:version] if args.key?(:version)
|
1851
1912
|
end
|
1852
1913
|
end
|
1853
1914
|
|
@@ -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.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 = "20220509"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -238,6 +238,12 @@ module Google
|
|
238
238
|
include Google::Apis::Core::JsonObjectSupport
|
239
239
|
end
|
240
240
|
|
241
|
+
class License
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
241
247
|
class ListOperationsResponse
|
242
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
249
|
|
@@ -775,6 +781,14 @@ module Google
|
|
775
781
|
end
|
776
782
|
end
|
777
783
|
|
784
|
+
class License
|
785
|
+
# @private
|
786
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
787
|
+
property :comments, as: 'comments'
|
788
|
+
property :expression, as: 'expression'
|
789
|
+
end
|
790
|
+
end
|
791
|
+
|
778
792
|
class ListOperationsResponse
|
779
793
|
# @private
|
780
794
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -917,9 +931,16 @@ module Google
|
|
917
931
|
class PackageOccurrence
|
918
932
|
# @private
|
919
933
|
class Representation < Google::Apis::Core::JsonRepresentation
|
934
|
+
property :architecture, as: 'architecture'
|
935
|
+
property :cpe_uri, as: 'cpeUri'
|
936
|
+
property :license, as: 'license', class: Google::Apis::OndemandscanningV1::License, decorator: Google::Apis::OndemandscanningV1::License::Representation
|
937
|
+
|
920
938
|
collection :location, as: 'location', class: Google::Apis::OndemandscanningV1::Location, decorator: Google::Apis::OndemandscanningV1::Location::Representation
|
921
939
|
|
922
940
|
property :name, as: 'name'
|
941
|
+
property :package_type, as: 'packageType'
|
942
|
+
property :version, as: 'version', class: Google::Apis::OndemandscanningV1::Version, decorator: Google::Apis::OndemandscanningV1::Version::Representation
|
943
|
+
|
923
944
|
end
|
924
945
|
end
|
925
946
|
|
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.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-05-
|
11
|
+
date: 2022-05-16 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.20.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: []
|