google-apis-ondemandscanning_v1beta1 0.21.0 → 0.22.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: 3714a33d13b823cf1c93622b211b4c2b54b84f74997a7529c2252c0578d6f9a1
|
4
|
+
data.tar.gz: 8cc921cacd8ccea2cda634d84eb0123d834903cfc3580748549d2f57600770a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9660df4268dff06920c94efc0a3c593e059cfde9070cb4ab7e286f233a2180fc6270a88193efd3ca7eb3c14a4352c65e314f7757209dcd499769d7a71d55297
|
7
|
+
data.tar.gz: 556ce38e5a30802794dc30cd714a64ed26eb2f210a5db73dfa501171886e004221cb028316fa85bcd601440cbe9a398da3f6bef1a30fd39a3f6d62c52b6b5f5f
|
data/CHANGELOG.md
CHANGED
@@ -1270,6 +1270,34 @@ module Google
|
|
1270
1270
|
end
|
1271
1271
|
end
|
1272
1272
|
|
1273
|
+
# License information.
|
1274
|
+
class License
|
1275
|
+
include Google::Apis::Core::Hashable
|
1276
|
+
|
1277
|
+
# Comments
|
1278
|
+
# Corresponds to the JSON property `comments`
|
1279
|
+
# @return [String]
|
1280
|
+
attr_accessor :comments
|
1281
|
+
|
1282
|
+
# Often a single license can be used to represent the licensing terms. Sometimes
|
1283
|
+
# it is necessary to include a choice of one or more licenses or some
|
1284
|
+
# combination of license identifiers. Examples: "LGPL-2.1-only OR MIT", "LGPL-2.
|
1285
|
+
# 1-only AND MIT", "GPL-2.0-or-later WITH Bison-exception-2.2".
|
1286
|
+
# Corresponds to the JSON property `expression`
|
1287
|
+
# @return [String]
|
1288
|
+
attr_accessor :expression
|
1289
|
+
|
1290
|
+
def initialize(**args)
|
1291
|
+
update!(**args)
|
1292
|
+
end
|
1293
|
+
|
1294
|
+
# Update properties of this object
|
1295
|
+
def update!(**args)
|
1296
|
+
@comments = args[:comments] if args.key?(:comments)
|
1297
|
+
@expression = args[:expression] if args.key?(:expression)
|
1298
|
+
end
|
1299
|
+
end
|
1300
|
+
|
1273
1301
|
# The response message for Operations.ListOperations.
|
1274
1302
|
class ListOperationsResponse
|
1275
1303
|
include Google::Apis::Core::Hashable
|
@@ -1327,8 +1355,7 @@ module Google
|
|
1327
1355
|
class Location
|
1328
1356
|
include Google::Apis::Core::Hashable
|
1329
1357
|
|
1330
|
-
#
|
1331
|
-
# denoting the package manager version distributing a package.
|
1358
|
+
# Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)
|
1332
1359
|
# Corresponds to the JSON property `cpeUri`
|
1333
1360
|
# @return [String]
|
1334
1361
|
attr_accessor :cpe_uri
|
@@ -1821,25 +1848,59 @@ module Google
|
|
1821
1848
|
class PackageOccurrence
|
1822
1849
|
include Google::Apis::Core::Hashable
|
1823
1850
|
|
1824
|
-
#
|
1825
|
-
#
|
1851
|
+
# Output only. The CPU architecture for which packages in this distribution
|
1852
|
+
# channel were built. Architecture will be blank for language packages.
|
1853
|
+
# Corresponds to the JSON property `architecture`
|
1854
|
+
# @return [String]
|
1855
|
+
attr_accessor :architecture
|
1856
|
+
|
1857
|
+
# Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/)
|
1858
|
+
# denoting the package manager version distributing a package. The cpe_uri will
|
1859
|
+
# be blank for language packages.
|
1860
|
+
# Corresponds to the JSON property `cpeUri`
|
1861
|
+
# @return [String]
|
1862
|
+
attr_accessor :cpe_uri
|
1863
|
+
|
1864
|
+
# License information.
|
1865
|
+
# Corresponds to the JSON property `license`
|
1866
|
+
# @return [Google::Apis::OndemandscanningV1beta1::License]
|
1867
|
+
attr_accessor :license
|
1868
|
+
|
1869
|
+
# All of the places within the filesystem versions of this package have been
|
1870
|
+
# found.
|
1826
1871
|
# Corresponds to the JSON property `location`
|
1827
1872
|
# @return [Array<Google::Apis::OndemandscanningV1beta1::Location>]
|
1828
1873
|
attr_accessor :location
|
1829
1874
|
|
1830
|
-
# Output only. The name of the installed package.
|
1875
|
+
# Required. Output only. The name of the installed package.
|
1831
1876
|
# Corresponds to the JSON property `name`
|
1832
1877
|
# @return [String]
|
1833
1878
|
attr_accessor :name
|
1834
1879
|
|
1880
|
+
# Output only. The type of package; whether native or non native (e.g., ruby
|
1881
|
+
# gems, node.js packages, etc.).
|
1882
|
+
# Corresponds to the JSON property `packageType`
|
1883
|
+
# @return [String]
|
1884
|
+
attr_accessor :package_type
|
1885
|
+
|
1886
|
+
# Version contains structured information about the version of a package.
|
1887
|
+
# Corresponds to the JSON property `version`
|
1888
|
+
# @return [Google::Apis::OndemandscanningV1beta1::Version]
|
1889
|
+
attr_accessor :version
|
1890
|
+
|
1835
1891
|
def initialize(**args)
|
1836
1892
|
update!(**args)
|
1837
1893
|
end
|
1838
1894
|
|
1839
1895
|
# Update properties of this object
|
1840
1896
|
def update!(**args)
|
1897
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
1898
|
+
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
|
1899
|
+
@license = args[:license] if args.key?(:license)
|
1841
1900
|
@location = args[:location] if args.key?(:location)
|
1842
1901
|
@name = args[:name] if args.key?(:name)
|
1902
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
1903
|
+
@version = args[:version] if args.key?(:version)
|
1843
1904
|
end
|
1844
1905
|
end
|
1845
1906
|
|
@@ -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.22.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
|
|
@@ -774,6 +780,14 @@ module Google
|
|
774
780
|
end
|
775
781
|
end
|
776
782
|
|
783
|
+
class License
|
784
|
+
# @private
|
785
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
786
|
+
property :comments, as: 'comments'
|
787
|
+
property :expression, as: 'expression'
|
788
|
+
end
|
789
|
+
end
|
790
|
+
|
777
791
|
class ListOperationsResponse
|
778
792
|
# @private
|
779
793
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -916,9 +930,16 @@ module Google
|
|
916
930
|
class PackageOccurrence
|
917
931
|
# @private
|
918
932
|
class Representation < Google::Apis::Core::JsonRepresentation
|
933
|
+
property :architecture, as: 'architecture'
|
934
|
+
property :cpe_uri, as: 'cpeUri'
|
935
|
+
property :license, as: 'license', class: Google::Apis::OndemandscanningV1beta1::License, decorator: Google::Apis::OndemandscanningV1beta1::License::Representation
|
936
|
+
|
919
937
|
collection :location, as: 'location', class: Google::Apis::OndemandscanningV1beta1::Location, decorator: Google::Apis::OndemandscanningV1beta1::Location::Representation
|
920
938
|
|
921
939
|
property :name, as: 'name'
|
940
|
+
property :package_type, as: 'packageType'
|
941
|
+
property :version, as: 'version', class: Google::Apis::OndemandscanningV1beta1::Version, decorator: Google::Apis::OndemandscanningV1beta1::Version::Representation
|
942
|
+
|
922
943
|
end
|
923
944
|
end
|
924
945
|
|
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.22.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_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.22.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: []
|