google-apis-ondemandscanning_v1beta1 0.1.0 → 0.6.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: fa00f433dbbfbf58c9cbbc84520fa77cce109e0027509ba3956e19fd757382a9
4
- data.tar.gz: 06c5c0ede699c809912076976e65c9eec5543870e88d1be1384a7aaae5e09714
3
+ metadata.gz: 89422e74f35ff228a0b035bffbe31cb9fb701571a4602a2e17eadcb27a3f579b
4
+ data.tar.gz: 290113b0096fcdafc28be28d2e9468371ad4eeeb585de8673ec5d83a92729508
5
5
  SHA512:
6
- metadata.gz: 8934c61b26b824fc1df254fab35c226d63936f20eb63a0a3d269ccf40b218ec67ae23f7dab6071484f344f7c01c2e04302fb13348c5991896d945ae8a127557c
7
- data.tar.gz: bbb1a9f1cdcc4647334cf5e54821031e51d8d1d220ee5b6f897ea8ba1419681f1dbc27d5e657dd53ca724b583ce0d8325c108ccca62a1cdbd2cc48e8e1de49f8
6
+ metadata.gz: 8858804c67f6d8ebd0362fc9d423c01a73eb28939a1371d97b1d25fe16b2e564827fdedcd8670e73de929598f5e2210e1461319e1d592949413402613441a381
7
+ data.tar.gz: ffbfed679803292dff3172df89cf7f3b1aff751d3d17f60daf831896288bee3d2cbc28209014d6aae078e2ffb7a51fc9d0161934e5b4f6d0127c8698e8af72ea
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-ondemandscanning_v1beta1
2
2
 
3
+ ### v0.6.0 (2021-05-19)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.5.0 (2021-04-16)
8
+
9
+ * Regenerated from discovery document revision 20210410
10
+
11
+ ### v0.4.0 (2021-03-30)
12
+
13
+ * Regenerated from discovery document revision 20210329
14
+
15
+ ### v0.3.0 (2021-03-23)
16
+
17
+ * Regenerated from discovery document revision 20210319
18
+ * Regenerated using generator version 0.2.0
19
+
20
+ ### v0.2.0 (2021-03-04)
21
+
22
+ * Unspecified changes
23
+
3
24
  ### v0.1.0 (2021-02-23)
4
25
 
5
26
  * Regenerated from discovery document revision 20210222
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1beta1'
31
31
 
32
- # View and manage your data across Google Cloud Platform services
32
+ # See, edit, configure, and delete your Google Cloud Platform data
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
  end
35
35
  end
@@ -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
@@ -1113,6 +1159,11 @@ module Google
1113
1159
  # @return [String]
1114
1160
  attr_accessor :package
1115
1161
 
1162
+ #
1163
+ # Corresponds to the JSON property `unused`
1164
+ # @return [String]
1165
+ attr_accessor :unused
1166
+
1116
1167
  # The version of the package being analysed
1117
1168
  # Corresponds to the JSON property `version`
1118
1169
  # @return [String]
@@ -1128,6 +1179,7 @@ module Google
1128
1179
  @os = args[:os] if args.key?(:os)
1129
1180
  @os_version = args[:os_version] if args.key?(:os_version)
1130
1181
  @package = args[:package] if args.key?(:package)
1182
+ @unused = args[:unused] if args.key?(:unused)
1131
1183
  @version = args[:version] if args.key?(:version)
1132
1184
  end
1133
1185
  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.1.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210222"
25
+ REVISION = "20210410"
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
@@ -580,6 +607,7 @@ module Google
580
607
  property :os, as: 'os'
581
608
  property :os_version, as: 'osVersion'
582
609
  property :package, as: 'package'
610
+ property :unused, as: 'unused'
583
611
  property :version, as: 'version'
584
612
  end
585
613
  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.1.0
4
+ version: 0.6.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-03-01 00:00:00.000000000 Z
11
+ date: 2021-05-24 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.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.6.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: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.11
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for On-Demand Scanning API V1beta1