google-apis-ondemandscanning_v1beta1 0.3.0 → 0.4.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: ce560fe868e158ff64e749dfaaa9ca4c0bdc0b873c48eafe2b806c483a44cf33
|
4
|
+
data.tar.gz: 441924a18d4a70186e9bec446e9584d5f53fe104239e33bbcdb89b11c0deea0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ddd8014d9ee41bceebc9a0cbd52c14afb376b452aa357d27f61132d4bc44676d8133e08f0b80fa5dc29f4d312b930d9a49848b9fe9ea75f23757c98bea6a51e
|
7
|
+
data.tar.gz: 1f2b280ccec0d8440f8093620e0bed4c8ea3e5da1cf937b03f78919d53c776845a87bbc160cbd22be19641390157d4b2cced2b02373c59f4243541381ab67f55
|
data/CHANGELOG.md
CHANGED
@@ -73,6 +73,32 @@ module Google
|
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
76
|
+
# AnalyzePackagesMetadata contains metadata for an active scan of a container
|
77
|
+
# image.
|
78
|
+
class AnalyzePackagesMetadataV1
|
79
|
+
include Google::Apis::Core::Hashable
|
80
|
+
|
81
|
+
# When the scan was created.
|
82
|
+
# Corresponds to the JSON property `createTime`
|
83
|
+
# @return [String]
|
84
|
+
attr_accessor :create_time
|
85
|
+
|
86
|
+
# The resource URI of the container image being scanned.
|
87
|
+
# Corresponds to the JSON property `resourceUri`
|
88
|
+
# @return [String]
|
89
|
+
attr_accessor :resource_uri
|
90
|
+
|
91
|
+
def initialize(**args)
|
92
|
+
update!(**args)
|
93
|
+
end
|
94
|
+
|
95
|
+
# Update properties of this object
|
96
|
+
def update!(**args)
|
97
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
98
|
+
@resource_uri = args[:resource_uri] if args.key?(:resource_uri)
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
76
102
|
# AnalyzePackagesRequest is the request to analyze a list of packages and create
|
77
103
|
# Vulnerability Occurrences for it.
|
78
104
|
class AnalyzePackagesRequest
|
@@ -119,6 +145,26 @@ module Google
|
|
119
145
|
end
|
120
146
|
end
|
121
147
|
|
148
|
+
# AnalyzePackagesResponse contains the information necessary to find results for
|
149
|
+
# the given scan.
|
150
|
+
class AnalyzePackagesResponseV1
|
151
|
+
include Google::Apis::Core::Hashable
|
152
|
+
|
153
|
+
# The name of the scan resource created by this successful scan.
|
154
|
+
# Corresponds to the JSON property `scan`
|
155
|
+
# @return [String]
|
156
|
+
attr_accessor :scan
|
157
|
+
|
158
|
+
def initialize(**args)
|
159
|
+
update!(**args)
|
160
|
+
end
|
161
|
+
|
162
|
+
# Update properties of this object
|
163
|
+
def update!(**args)
|
164
|
+
@scan = args[:scan] if args.key?(:scan)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
122
168
|
# Artifact describes a build product.
|
123
169
|
class Artifact
|
124
170
|
include Google::Apis::Core::Hashable
|
@@ -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.4.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210329"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,12 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class AnalyzePackagesMetadataV1
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class AnalyzePackagesRequest
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
@@ -46,6 +52,12 @@ module Google
|
|
46
52
|
include Google::Apis::Core::JsonObjectSupport
|
47
53
|
end
|
48
54
|
|
55
|
+
class AnalyzePackagesResponseV1
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
49
61
|
class Artifact
|
50
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
63
|
|
@@ -296,6 +308,14 @@ module Google
|
|
296
308
|
end
|
297
309
|
end
|
298
310
|
|
311
|
+
class AnalyzePackagesMetadataV1
|
312
|
+
# @private
|
313
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
314
|
+
property :create_time, as: 'createTime'
|
315
|
+
property :resource_uri, as: 'resourceUri'
|
316
|
+
end
|
317
|
+
end
|
318
|
+
|
299
319
|
class AnalyzePackagesRequest
|
300
320
|
# @private
|
301
321
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -312,6 +332,13 @@ module Google
|
|
312
332
|
end
|
313
333
|
end
|
314
334
|
|
335
|
+
class AnalyzePackagesResponseV1
|
336
|
+
# @private
|
337
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
338
|
+
property :scan, as: 'scan'
|
339
|
+
end
|
340
|
+
end
|
341
|
+
|
315
342
|
class Artifact
|
316
343
|
# @private
|
317
344
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.4.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: 2021-
|
11
|
+
date: 2021-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-ondemandscanning_v1beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.4.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-ondemandscanning_v1beta1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|