google-api-client 0.10.1 → 0.10.2
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 +4 -4
- data/CHANGELOG.md +3 -0
- data/api_names.yaml +395 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +254 -254
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +65 -65
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +220 -220
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +106 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +37 -0
- data/generated/google/apis/admin_reports_v1.rb +3 -3
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +39 -0
- data/generated/google/apis/analyticsreporting_v4/classes.rb +920 -920
- data/generated/google/apis/analyticsreporting_v4/representations.rb +197 -197
- data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +8 -13
- data/generated/google/apis/androidenterprise_v1/service.rb +3 -3
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +115 -5
- data/generated/google/apis/appengine_v1beta5/representations.rb +37 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +12 -9
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +32 -37
- data/generated/google/apis/bigquery_v2/service.rb +10 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +205 -0
- data/generated/google/apis/calendar_v3/representations.rb +97 -0
- data/generated/google/apis/classroom_v1.rb +22 -25
- data/generated/google/apis/classroom_v1/classes.rb +998 -907
- data/generated/google/apis/classroom_v1/representations.rb +240 -240
- data/generated/google/apis/classroom_v1/service.rb +1269 -1061
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +164 -163
- data/generated/google/apis/cloudbuild_v1/representations.rb +31 -31
- data/generated/google/apis/cloudbuild_v1/service.rb +114 -114
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +687 -687
- data/generated/google/apis/clouddebugger_v2/representations.rb +147 -147
- data/generated/google/apis/clouddebugger_v2/service.rb +132 -132
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +231 -248
- data/generated/google/apis/cloudkms_v1/representations.rb +74 -74
- data/generated/google/apis/cloudkms_v1/service.rb +228 -228
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +738 -128
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +245 -23
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +1293 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +982 -372
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +293 -71
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +626 -277
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +19 -19
- data/generated/google/apis/cloudtrace_v1/representations.rb +2 -2
- data/generated/google/apis/cloudtrace_v1/service.rb +30 -30
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +116 -0
- data/generated/google/apis/compute_beta/representations.rb +48 -0
- data/generated/google/apis/compute_beta/service.rb +46 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3276 -3320
- data/generated/google/apis/dataflow_v1b3/representations.rb +779 -781
- data/generated/google/apis/dataflow_v1b3/service.rb +225 -225
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1221 -1207
- data/generated/google/apis/dataproc_v1/representations.rb +255 -253
- data/generated/google/apis/dataproc_v1/service.rb +100 -100
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +3 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +3 -1
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +959 -959
- data/generated/google/apis/genomics_v1/representations.rb +238 -238
- data/generated/google/apis/genomics_v1/service.rb +996 -996
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +440 -440
- data/generated/google/apis/iam_v1/representations.rb +94 -94
- data/generated/google/apis/iam_v1/service.rb +170 -173
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +55 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +8 -0
- data/generated/google/apis/kgsearch_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +427 -427
- data/generated/google/apis/language_v1beta1/representations.rb +113 -113
- data/generated/google/apis/language_v1beta1/service.rb +25 -24
- data/generated/google/apis/licensing_v1.rb +2 -2
- data/generated/google/apis/licensing_v1/classes.rb +14 -2
- data/generated/google/apis/licensing_v1/representations.rb +2 -0
- data/generated/google/apis/licensing_v1/service.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +864 -864
- data/generated/google/apis/logging_v2beta1/representations.rb +168 -168
- data/generated/google/apis/logging_v2beta1/service.rb +261 -261
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +452 -105
- data/generated/google/apis/manufacturers_v1/representations.rb +138 -18
- data/generated/google/apis/manufacturers_v1/service.rb +11 -11
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +7 -7
- data/generated/google/apis/monitoring_v3/classes.rb +668 -670
- data/generated/google/apis/monitoring_v3/representations.rb +140 -140
- data/generated/google/apis/monitoring_v3/service.rb +208 -208
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +505 -505
- data/generated/google/apis/partners_v2/representations.rb +118 -118
- data/generated/google/apis/partners_v2/service.rb +275 -275
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +1037 -1031
- data/generated/google/apis/people_v1/representations.rb +247 -246
- data/generated/google/apis/people_v1/service.rb +20 -20
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +392 -392
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +93 -93
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +381 -381
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +131 -132
- data/generated/google/apis/pubsub_v1/representations.rb +35 -35
- data/generated/google/apis/pubsub_v1/service.rb +399 -408
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +9 -0
- data/generated/google/apis/reseller_v1/representations.rb +1 -0
- data/generated/google/apis/script_v1.rb +9 -9
- data/generated/google/apis/script_v1/classes.rb +110 -110
- data/generated/google/apis/script_v1/representations.rb +26 -26
- data/generated/google/apis/sheets_v4.rb +4 -4
- data/generated/google/apis/sheets_v4/classes.rb +4329 -4329
- data/generated/google/apis/sheets_v4/representations.rb +856 -856
- data/generated/google/apis/sheets_v4/service.rb +106 -106
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +2923 -2841
- data/generated/google/apis/slides_v1/representations.rb +722 -691
- data/generated/google/apis/slides_v1/service.rb +58 -15
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +191 -191
- data/generated/google/apis/speech_v1beta1/representations.rb +57 -57
- data/generated/google/apis/speech_v1beta1/service.rb +70 -70
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +151 -0
- data/generated/google/apis/storage_v1/representations.rb +45 -0
- data/generated/google/apis/storage_v1/service.rb +248 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1227 -1221
- data/generated/google/apis/vision_v1/representations.rb +217 -215
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +78 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +34 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +40 -0
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +65 -65
- data/generated/google/apis/youtubereporting_v1/representations.rb +18 -18
- data/generated/google/apis/youtubereporting_v1/service.rb +111 -111
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
|
@@ -22,6 +22,18 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module CloudkmsV1
|
|
24
24
|
|
|
25
|
+
class Location
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
class ListCryptoKeysResponse
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
25
37
|
class Condition
|
|
26
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
39
|
|
|
@@ -52,49 +64,49 @@ module Google
|
|
|
52
64
|
include Google::Apis::Core::JsonObjectSupport
|
|
53
65
|
end
|
|
54
66
|
|
|
55
|
-
class
|
|
67
|
+
class Policy
|
|
56
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
69
|
|
|
58
70
|
include Google::Apis::Core::JsonObjectSupport
|
|
59
71
|
end
|
|
60
72
|
|
|
61
|
-
class
|
|
73
|
+
class ListLocationsResponse
|
|
62
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
75
|
|
|
64
76
|
include Google::Apis::Core::JsonObjectSupport
|
|
65
77
|
end
|
|
66
78
|
|
|
67
|
-
class
|
|
79
|
+
class KeyRing
|
|
68
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
81
|
|
|
70
82
|
include Google::Apis::Core::JsonObjectSupport
|
|
71
83
|
end
|
|
72
84
|
|
|
73
|
-
class
|
|
85
|
+
class EncryptResponse
|
|
74
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
87
|
|
|
76
88
|
include Google::Apis::Core::JsonObjectSupport
|
|
77
89
|
end
|
|
78
90
|
|
|
79
|
-
class
|
|
91
|
+
class RestoreCryptoKeyVersionRequest
|
|
80
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
93
|
|
|
82
94
|
include Google::Apis::Core::JsonObjectSupport
|
|
83
95
|
end
|
|
84
96
|
|
|
85
|
-
class
|
|
97
|
+
class UpdateCryptoKeyPrimaryVersionRequest
|
|
86
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
99
|
|
|
88
100
|
include Google::Apis::Core::JsonObjectSupport
|
|
89
101
|
end
|
|
90
102
|
|
|
91
|
-
class
|
|
103
|
+
class ListKeyRingsResponse
|
|
92
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
105
|
|
|
94
106
|
include Google::Apis::Core::JsonObjectSupport
|
|
95
107
|
end
|
|
96
108
|
|
|
97
|
-
class
|
|
109
|
+
class DataAccessOptions
|
|
98
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
111
|
|
|
100
112
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -148,13 +160,13 @@ module Google
|
|
|
148
160
|
include Google::Apis::Core::JsonObjectSupport
|
|
149
161
|
end
|
|
150
162
|
|
|
151
|
-
class
|
|
163
|
+
class CryptoKey
|
|
152
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
165
|
|
|
154
166
|
include Google::Apis::Core::JsonObjectSupport
|
|
155
167
|
end
|
|
156
168
|
|
|
157
|
-
class
|
|
169
|
+
class Rule
|
|
158
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
159
171
|
|
|
160
172
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -179,15 +191,23 @@ module Google
|
|
|
179
191
|
end
|
|
180
192
|
|
|
181
193
|
class Location
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
194
|
+
# @private
|
|
195
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
196
|
+
property :name, as: 'name'
|
|
197
|
+
property :location_id, as: 'locationId'
|
|
198
|
+
hash :metadata, as: 'metadata'
|
|
199
|
+
hash :labels, as: 'labels'
|
|
200
|
+
end
|
|
185
201
|
end
|
|
186
202
|
|
|
187
203
|
class ListCryptoKeysResponse
|
|
188
|
-
|
|
204
|
+
# @private
|
|
205
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
206
|
+
property :next_page_token, as: 'nextPageToken'
|
|
207
|
+
collection :crypto_keys, as: 'cryptoKeys', class: Google::Apis::CloudkmsV1::CryptoKey, decorator: Google::Apis::CloudkmsV1::CryptoKey::Representation
|
|
189
208
|
|
|
190
|
-
|
|
209
|
+
property :total_size, as: 'totalSize'
|
|
210
|
+
end
|
|
191
211
|
end
|
|
192
212
|
|
|
193
213
|
class Condition
|
|
@@ -195,10 +215,10 @@ module Google
|
|
|
195
215
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
196
216
|
property :op, as: 'op'
|
|
197
217
|
property :svc, as: 'svc'
|
|
198
|
-
property :sys, as: 'sys'
|
|
199
218
|
property :value, as: 'value'
|
|
200
|
-
|
|
219
|
+
property :sys, as: 'sys'
|
|
201
220
|
property :iam, as: 'iam'
|
|
221
|
+
collection :values, as: 'values'
|
|
202
222
|
end
|
|
203
223
|
end
|
|
204
224
|
|
|
@@ -232,15 +252,6 @@ module Google
|
|
|
232
252
|
end
|
|
233
253
|
end
|
|
234
254
|
|
|
235
|
-
class ListLocationsResponse
|
|
236
|
-
# @private
|
|
237
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
238
|
-
collection :locations, as: 'locations', class: Google::Apis::CloudkmsV1::Location, decorator: Google::Apis::CloudkmsV1::Location::Representation
|
|
239
|
-
|
|
240
|
-
property :next_page_token, as: 'nextPageToken'
|
|
241
|
-
end
|
|
242
|
-
end
|
|
243
|
-
|
|
244
255
|
class Policy
|
|
245
256
|
# @private
|
|
246
257
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -256,26 +267,28 @@ module Google
|
|
|
256
267
|
end
|
|
257
268
|
end
|
|
258
269
|
|
|
259
|
-
class
|
|
270
|
+
class ListLocationsResponse
|
|
260
271
|
# @private
|
|
261
272
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
262
|
-
|
|
263
|
-
|
|
273
|
+
collection :locations, as: 'locations', class: Google::Apis::CloudkmsV1::Location, decorator: Google::Apis::CloudkmsV1::Location::Representation
|
|
274
|
+
|
|
275
|
+
property :next_page_token, as: 'nextPageToken'
|
|
264
276
|
end
|
|
265
277
|
end
|
|
266
278
|
|
|
267
279
|
class KeyRing
|
|
268
280
|
# @private
|
|
269
281
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
270
|
-
property :create_time, as: 'createTime'
|
|
271
282
|
property :name, as: 'name'
|
|
283
|
+
property :create_time, as: 'createTime'
|
|
272
284
|
end
|
|
273
285
|
end
|
|
274
286
|
|
|
275
|
-
class
|
|
287
|
+
class EncryptResponse
|
|
276
288
|
# @private
|
|
277
289
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
278
|
-
property :
|
|
290
|
+
property :name, as: 'name'
|
|
291
|
+
property :ciphertext, :base64 => true, as: 'ciphertext'
|
|
279
292
|
end
|
|
280
293
|
end
|
|
281
294
|
|
|
@@ -285,9 +298,10 @@ module Google
|
|
|
285
298
|
end
|
|
286
299
|
end
|
|
287
300
|
|
|
288
|
-
class
|
|
301
|
+
class UpdateCryptoKeyPrimaryVersionRequest
|
|
289
302
|
# @private
|
|
290
303
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
304
|
+
property :crypto_key_version_id, as: 'cryptoKeyVersionId'
|
|
291
305
|
end
|
|
292
306
|
end
|
|
293
307
|
|
|
@@ -301,24 +315,30 @@ module Google
|
|
|
301
315
|
end
|
|
302
316
|
end
|
|
303
317
|
|
|
318
|
+
class DataAccessOptions
|
|
319
|
+
# @private
|
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
321
|
+
end
|
|
322
|
+
end
|
|
323
|
+
|
|
304
324
|
class AuditConfig
|
|
305
325
|
# @private
|
|
306
326
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
307
|
-
collection :exempted_members, as: 'exemptedMembers'
|
|
308
327
|
property :service, as: 'service'
|
|
309
328
|
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudkmsV1::AuditLogConfig, decorator: Google::Apis::CloudkmsV1::AuditLogConfig::Representation
|
|
310
329
|
|
|
330
|
+
collection :exempted_members, as: 'exemptedMembers'
|
|
311
331
|
end
|
|
312
332
|
end
|
|
313
333
|
|
|
314
334
|
class CryptoKeyVersion
|
|
315
335
|
# @private
|
|
316
336
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
337
|
+
property :destroy_time, as: 'destroyTime'
|
|
338
|
+
property :create_time, as: 'createTime'
|
|
317
339
|
property :state, as: 'state'
|
|
318
340
|
property :name, as: 'name'
|
|
319
341
|
property :destroy_event_time, as: 'destroyEventTime'
|
|
320
|
-
property :destroy_time, as: 'destroyTime'
|
|
321
|
-
property :create_time, as: 'createTime'
|
|
322
342
|
end
|
|
323
343
|
end
|
|
324
344
|
|
|
@@ -339,8 +359,8 @@ module Google
|
|
|
339
359
|
class EncryptRequest
|
|
340
360
|
# @private
|
|
341
361
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
342
|
-
property :plaintext, :base64 => true, as: 'plaintext'
|
|
343
362
|
property :additional_authenticated_data, :base64 => true, as: 'additionalAuthenticatedData'
|
|
363
|
+
property :plaintext, :base64 => true, as: 'plaintext'
|
|
344
364
|
end
|
|
345
365
|
end
|
|
346
366
|
|
|
@@ -367,21 +387,6 @@ module Google
|
|
|
367
387
|
end
|
|
368
388
|
end
|
|
369
389
|
|
|
370
|
-
class Rule
|
|
371
|
-
# @private
|
|
372
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
373
|
-
collection :not_in, as: 'notIn'
|
|
374
|
-
property :description, as: 'description'
|
|
375
|
-
collection :conditions, as: 'conditions', class: Google::Apis::CloudkmsV1::Condition, decorator: Google::Apis::CloudkmsV1::Condition::Representation
|
|
376
|
-
|
|
377
|
-
collection :log_config, as: 'logConfig', class: Google::Apis::CloudkmsV1::LogConfig, decorator: Google::Apis::CloudkmsV1::LogConfig::Representation
|
|
378
|
-
|
|
379
|
-
collection :in, as: 'in'
|
|
380
|
-
collection :permissions, as: 'permissions'
|
|
381
|
-
property :action, as: 'action'
|
|
382
|
-
end
|
|
383
|
-
end
|
|
384
|
-
|
|
385
390
|
class CryptoKey
|
|
386
391
|
# @private
|
|
387
392
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -395,15 +400,30 @@ module Google
|
|
|
395
400
|
end
|
|
396
401
|
end
|
|
397
402
|
|
|
403
|
+
class Rule
|
|
404
|
+
# @private
|
|
405
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
406
|
+
collection :log_config, as: 'logConfig', class: Google::Apis::CloudkmsV1::LogConfig, decorator: Google::Apis::CloudkmsV1::LogConfig::Representation
|
|
407
|
+
|
|
408
|
+
collection :in, as: 'in'
|
|
409
|
+
collection :permissions, as: 'permissions'
|
|
410
|
+
property :action, as: 'action'
|
|
411
|
+
collection :not_in, as: 'notIn'
|
|
412
|
+
property :description, as: 'description'
|
|
413
|
+
collection :conditions, as: 'conditions', class: Google::Apis::CloudkmsV1::Condition, decorator: Google::Apis::CloudkmsV1::Condition::Representation
|
|
414
|
+
|
|
415
|
+
end
|
|
416
|
+
end
|
|
417
|
+
|
|
398
418
|
class LogConfig
|
|
399
419
|
# @private
|
|
400
420
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
421
|
+
property :cloud_audit, as: 'cloudAudit', class: Google::Apis::CloudkmsV1::CloudAuditOptions, decorator: Google::Apis::CloudkmsV1::CloudAuditOptions::Representation
|
|
422
|
+
|
|
401
423
|
property :counter, as: 'counter', class: Google::Apis::CloudkmsV1::CounterOptions, decorator: Google::Apis::CloudkmsV1::CounterOptions::Representation
|
|
402
424
|
|
|
403
425
|
property :data_access, as: 'dataAccess', class: Google::Apis::CloudkmsV1::DataAccessOptions, decorator: Google::Apis::CloudkmsV1::DataAccessOptions::Representation
|
|
404
426
|
|
|
405
|
-
property :cloud_audit, as: 'cloudAudit', class: Google::Apis::CloudkmsV1::CloudAuditOptions, decorator: Google::Apis::CloudkmsV1::CloudAuditOptions::Representation
|
|
406
|
-
|
|
407
427
|
end
|
|
408
428
|
end
|
|
409
429
|
|
|
@@ -423,26 +443,6 @@ module Google
|
|
|
423
443
|
property :additional_authenticated_data, :base64 => true, as: 'additionalAuthenticatedData'
|
|
424
444
|
end
|
|
425
445
|
end
|
|
426
|
-
|
|
427
|
-
class Location
|
|
428
|
-
# @private
|
|
429
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
430
|
-
property :name, as: 'name'
|
|
431
|
-
property :location_id, as: 'locationId'
|
|
432
|
-
hash :metadata, as: 'metadata'
|
|
433
|
-
hash :labels, as: 'labels'
|
|
434
|
-
end
|
|
435
|
-
end
|
|
436
|
-
|
|
437
|
-
class ListCryptoKeysResponse
|
|
438
|
-
# @private
|
|
439
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
440
|
-
property :next_page_token, as: 'nextPageToken'
|
|
441
|
-
collection :crypto_keys, as: 'cryptoKeys', class: Google::Apis::CloudkmsV1::CryptoKey, decorator: Google::Apis::CloudkmsV1::CryptoKey::Representation
|
|
442
|
-
|
|
443
|
-
property :total_size, as: 'totalSize'
|
|
444
|
-
end
|
|
445
|
-
end
|
|
446
446
|
end
|
|
447
447
|
end
|
|
448
448
|
end
|
|
@@ -33,16 +33,16 @@ module Google
|
|
|
33
33
|
#
|
|
34
34
|
# @see https://cloud.google.com/kms/
|
|
35
35
|
class CloudKMSService < Google::Apis::Core::BaseService
|
|
36
|
-
# @return [String]
|
|
37
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
38
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
39
|
-
attr_accessor :quota_user
|
|
40
|
-
|
|
41
36
|
# @return [String]
|
|
42
37
|
# API key. Your API key identifies your project and provides you with API access,
|
|
43
38
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
|
44
39
|
attr_accessor :key
|
|
45
40
|
|
|
41
|
+
# @return [String]
|
|
42
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
43
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
44
|
+
attr_accessor :quota_user
|
|
45
|
+
|
|
46
46
|
def initialize
|
|
47
47
|
super('https://cloudkms.googleapis.com/', '')
|
|
48
48
|
end
|
|
@@ -50,12 +50,12 @@ module Google
|
|
|
50
50
|
# Lists information about the supported locations for this service.
|
|
51
51
|
# @param [String] name
|
|
52
52
|
# The resource that owns the locations collection, if applicable.
|
|
53
|
-
# @param [String] filter
|
|
54
|
-
# The standard list filter.
|
|
55
53
|
# @param [String] page_token
|
|
56
54
|
# The standard list page token.
|
|
57
55
|
# @param [Fixnum] page_size
|
|
58
56
|
# The standard list page size.
|
|
57
|
+
# @param [String] filter
|
|
58
|
+
# The standard list filter.
|
|
59
59
|
# @param [String] quota_user
|
|
60
60
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
61
61
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
@@ -73,14 +73,14 @@ module Google
|
|
|
73
73
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
74
74
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
75
75
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
76
|
-
def list_project_locations(name,
|
|
76
|
+
def list_project_locations(name, page_token: nil, page_size: nil, filter: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
77
77
|
command = make_simple_command(:get, 'v1/{+name}/locations', options)
|
|
78
78
|
command.response_representation = Google::Apis::CloudkmsV1::ListLocationsResponse::Representation
|
|
79
79
|
command.response_class = Google::Apis::CloudkmsV1::ListLocationsResponse
|
|
80
80
|
command.params['name'] = name unless name.nil?
|
|
81
|
-
command.query['filter'] = filter unless filter.nil?
|
|
82
81
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
83
82
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
83
|
+
command.query['filter'] = filter unless filter.nil?
|
|
84
84
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
85
85
|
command.query['fields'] = fields unless fields.nil?
|
|
86
86
|
execute_or_queue_command(command, &block)
|
|
@@ -116,6 +116,79 @@ module Google
|
|
|
116
116
|
execute_or_queue_command(command, &block)
|
|
117
117
|
end
|
|
118
118
|
|
|
119
|
+
# Create a new KeyRing in a given Project and Location.
|
|
120
|
+
# @param [String] parent
|
|
121
|
+
# Required. The resource name of the location associated with the
|
|
122
|
+
# KeyRings, in the format `projects/*/locations/*`.
|
|
123
|
+
# @param [Google::Apis::CloudkmsV1::KeyRing] key_ring_object
|
|
124
|
+
# @param [String] key_ring_id
|
|
125
|
+
# Required. It must be unique within a location and match the regular
|
|
126
|
+
# expression `[a-zA-Z0-9_-]`1,63``
|
|
127
|
+
# @param [String] quota_user
|
|
128
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
129
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
130
|
+
# @param [String] fields
|
|
131
|
+
# Selector specifying which fields to include in a partial response.
|
|
132
|
+
# @param [Google::Apis::RequestOptions] options
|
|
133
|
+
# Request-specific options
|
|
134
|
+
#
|
|
135
|
+
# @yield [result, err] Result & error if block supplied
|
|
136
|
+
# @yieldparam result [Google::Apis::CloudkmsV1::KeyRing] parsed result object
|
|
137
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
138
|
+
#
|
|
139
|
+
# @return [Google::Apis::CloudkmsV1::KeyRing]
|
|
140
|
+
#
|
|
141
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
142
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
143
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
144
|
+
def create_project_location_key_ring(parent, key_ring_object = nil, key_ring_id: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
145
|
+
command = make_simple_command(:post, 'v1/{+parent}/keyRings', options)
|
|
146
|
+
command.request_representation = Google::Apis::CloudkmsV1::KeyRing::Representation
|
|
147
|
+
command.request_object = key_ring_object
|
|
148
|
+
command.response_representation = Google::Apis::CloudkmsV1::KeyRing::Representation
|
|
149
|
+
command.response_class = Google::Apis::CloudkmsV1::KeyRing
|
|
150
|
+
command.params['parent'] = parent unless parent.nil?
|
|
151
|
+
command.query['keyRingId'] = key_ring_id unless key_ring_id.nil?
|
|
152
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
153
|
+
command.query['fields'] = fields unless fields.nil?
|
|
154
|
+
execute_or_queue_command(command, &block)
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
# Sets the access control policy on the specified resource. Replaces any
|
|
158
|
+
# existing policy.
|
|
159
|
+
# @param [String] resource
|
|
160
|
+
# REQUIRED: The resource for which the policy is being specified.
|
|
161
|
+
# See the operation documentation for the appropriate value for this field.
|
|
162
|
+
# @param [Google::Apis::CloudkmsV1::SetIamPolicyRequest] set_iam_policy_request_object
|
|
163
|
+
# @param [String] quota_user
|
|
164
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
165
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
166
|
+
# @param [String] fields
|
|
167
|
+
# Selector specifying which fields to include in a partial response.
|
|
168
|
+
# @param [Google::Apis::RequestOptions] options
|
|
169
|
+
# Request-specific options
|
|
170
|
+
#
|
|
171
|
+
# @yield [result, err] Result & error if block supplied
|
|
172
|
+
# @yieldparam result [Google::Apis::CloudkmsV1::Policy] parsed result object
|
|
173
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
174
|
+
#
|
|
175
|
+
# @return [Google::Apis::CloudkmsV1::Policy]
|
|
176
|
+
#
|
|
177
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
178
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
179
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
180
|
+
def set_key_ring_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
181
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
|
182
|
+
command.request_representation = Google::Apis::CloudkmsV1::SetIamPolicyRequest::Representation
|
|
183
|
+
command.request_object = set_iam_policy_request_object
|
|
184
|
+
command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation
|
|
185
|
+
command.response_class = Google::Apis::CloudkmsV1::Policy
|
|
186
|
+
command.params['resource'] = resource unless resource.nil?
|
|
187
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
188
|
+
command.query['fields'] = fields unless fields.nil?
|
|
189
|
+
execute_or_queue_command(command, &block)
|
|
190
|
+
end
|
|
191
|
+
|
|
119
192
|
# Gets the access control policy for a resource.
|
|
120
193
|
# Returns an empty policy if the resource exists and does not have a policy
|
|
121
194
|
# set.
|
|
@@ -259,120 +332,6 @@ module Google
|
|
|
259
332
|
execute_or_queue_command(command, &block)
|
|
260
333
|
end
|
|
261
334
|
|
|
262
|
-
# Create a new KeyRing in a given Project and Location.
|
|
263
|
-
# @param [String] parent
|
|
264
|
-
# Required. The resource name of the location associated with the
|
|
265
|
-
# KeyRings, in the format `projects/*/locations/*`.
|
|
266
|
-
# @param [Google::Apis::CloudkmsV1::KeyRing] key_ring_object
|
|
267
|
-
# @param [String] key_ring_id
|
|
268
|
-
# Required. It must be unique within a location and match the regular
|
|
269
|
-
# expression `[a-zA-Z0-9_-]`1,63``
|
|
270
|
-
# @param [String] quota_user
|
|
271
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
272
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
273
|
-
# @param [String] fields
|
|
274
|
-
# Selector specifying which fields to include in a partial response.
|
|
275
|
-
# @param [Google::Apis::RequestOptions] options
|
|
276
|
-
# Request-specific options
|
|
277
|
-
#
|
|
278
|
-
# @yield [result, err] Result & error if block supplied
|
|
279
|
-
# @yieldparam result [Google::Apis::CloudkmsV1::KeyRing] parsed result object
|
|
280
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
281
|
-
#
|
|
282
|
-
# @return [Google::Apis::CloudkmsV1::KeyRing]
|
|
283
|
-
#
|
|
284
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
285
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
286
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
287
|
-
def create_project_location_key_ring(parent, key_ring_object = nil, key_ring_id: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
288
|
-
command = make_simple_command(:post, 'v1/{+parent}/keyRings', options)
|
|
289
|
-
command.request_representation = Google::Apis::CloudkmsV1::KeyRing::Representation
|
|
290
|
-
command.request_object = key_ring_object
|
|
291
|
-
command.response_representation = Google::Apis::CloudkmsV1::KeyRing::Representation
|
|
292
|
-
command.response_class = Google::Apis::CloudkmsV1::KeyRing
|
|
293
|
-
command.params['parent'] = parent unless parent.nil?
|
|
294
|
-
command.query['keyRingId'] = key_ring_id unless key_ring_id.nil?
|
|
295
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
296
|
-
command.query['fields'] = fields unless fields.nil?
|
|
297
|
-
execute_or_queue_command(command, &block)
|
|
298
|
-
end
|
|
299
|
-
|
|
300
|
-
# Sets the access control policy on the specified resource. Replaces any
|
|
301
|
-
# existing policy.
|
|
302
|
-
# @param [String] resource
|
|
303
|
-
# REQUIRED: The resource for which the policy is being specified.
|
|
304
|
-
# See the operation documentation for the appropriate value for this field.
|
|
305
|
-
# @param [Google::Apis::CloudkmsV1::SetIamPolicyRequest] set_iam_policy_request_object
|
|
306
|
-
# @param [String] quota_user
|
|
307
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
308
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
309
|
-
# @param [String] fields
|
|
310
|
-
# Selector specifying which fields to include in a partial response.
|
|
311
|
-
# @param [Google::Apis::RequestOptions] options
|
|
312
|
-
# Request-specific options
|
|
313
|
-
#
|
|
314
|
-
# @yield [result, err] Result & error if block supplied
|
|
315
|
-
# @yieldparam result [Google::Apis::CloudkmsV1::Policy] parsed result object
|
|
316
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
317
|
-
#
|
|
318
|
-
# @return [Google::Apis::CloudkmsV1::Policy]
|
|
319
|
-
#
|
|
320
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
321
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
322
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
323
|
-
def set_key_ring_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
324
|
-
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
|
325
|
-
command.request_representation = Google::Apis::CloudkmsV1::SetIamPolicyRequest::Representation
|
|
326
|
-
command.request_object = set_iam_policy_request_object
|
|
327
|
-
command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation
|
|
328
|
-
command.response_class = Google::Apis::CloudkmsV1::Policy
|
|
329
|
-
command.params['resource'] = resource unless resource.nil?
|
|
330
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
331
|
-
command.query['fields'] = fields unless fields.nil?
|
|
332
|
-
execute_or_queue_command(command, &block)
|
|
333
|
-
end
|
|
334
|
-
|
|
335
|
-
# Lists CryptoKeys.
|
|
336
|
-
# @param [String] parent
|
|
337
|
-
# Required. The resource name of the KeyRing to list, in the format
|
|
338
|
-
# `projects/*/locations/*/keyRings/*`.
|
|
339
|
-
# @param [String] page_token
|
|
340
|
-
# Optional pagination token, returned earlier via
|
|
341
|
-
# ListCryptoKeysResponse.next_page_token.
|
|
342
|
-
# @param [Fixnum] page_size
|
|
343
|
-
# Optional limit on the number of CryptoKeys to include in the
|
|
344
|
-
# response. Further CryptoKeys can subsequently be obtained by
|
|
345
|
-
# including the ListCryptoKeysResponse.next_page_token in a subsequent
|
|
346
|
-
# request. If unspecified, the server will pick an appropriate default.
|
|
347
|
-
# @param [String] quota_user
|
|
348
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
349
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
350
|
-
# @param [String] fields
|
|
351
|
-
# Selector specifying which fields to include in a partial response.
|
|
352
|
-
# @param [Google::Apis::RequestOptions] options
|
|
353
|
-
# Request-specific options
|
|
354
|
-
#
|
|
355
|
-
# @yield [result, err] Result & error if block supplied
|
|
356
|
-
# @yieldparam result [Google::Apis::CloudkmsV1::ListCryptoKeysResponse] parsed result object
|
|
357
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
358
|
-
#
|
|
359
|
-
# @return [Google::Apis::CloudkmsV1::ListCryptoKeysResponse]
|
|
360
|
-
#
|
|
361
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
362
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
363
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
364
|
-
def list_project_location_key_ring_crypto_keys(parent, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
365
|
-
command = make_simple_command(:get, 'v1/{+parent}/cryptoKeys', options)
|
|
366
|
-
command.response_representation = Google::Apis::CloudkmsV1::ListCryptoKeysResponse::Representation
|
|
367
|
-
command.response_class = Google::Apis::CloudkmsV1::ListCryptoKeysResponse
|
|
368
|
-
command.params['parent'] = parent unless parent.nil?
|
|
369
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
370
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
371
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
372
|
-
command.query['fields'] = fields unless fields.nil?
|
|
373
|
-
execute_or_queue_command(command, &block)
|
|
374
|
-
end
|
|
375
|
-
|
|
376
335
|
# Encrypt data, so that it can only be recovered by a call to Decrypt.
|
|
377
336
|
# @param [String] name
|
|
378
337
|
# Required. The resource name of the CryptoKey or CryptoKeyVersion
|
|
@@ -549,10 +508,13 @@ module Google
|
|
|
549
508
|
execute_or_queue_command(command, &block)
|
|
550
509
|
end
|
|
551
510
|
|
|
552
|
-
#
|
|
553
|
-
# primary CryptoKeyVersion.
|
|
511
|
+
# Update a CryptoKey.
|
|
554
512
|
# @param [String] name
|
|
555
|
-
# The name
|
|
513
|
+
# Output only. The resource name for this CryptoKey in the format
|
|
514
|
+
# `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
|
515
|
+
# @param [Google::Apis::CloudkmsV1::CryptoKey] crypto_key_object
|
|
516
|
+
# @param [String] update_mask
|
|
517
|
+
# Required list of fields to be updated in this request.
|
|
556
518
|
# @param [String] quota_user
|
|
557
519
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
558
520
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
@@ -570,23 +532,23 @@ module Google
|
|
|
570
532
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
571
533
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
572
534
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
573
|
-
def
|
|
574
|
-
command = make_simple_command(:
|
|
535
|
+
def patch_project_location_key_ring_crypto_key(name, crypto_key_object = nil, update_mask: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
536
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
537
|
+
command.request_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation
|
|
538
|
+
command.request_object = crypto_key_object
|
|
575
539
|
command.response_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation
|
|
576
540
|
command.response_class = Google::Apis::CloudkmsV1::CryptoKey
|
|
577
541
|
command.params['name'] = name unless name.nil?
|
|
542
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
578
543
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
579
544
|
command.query['fields'] = fields unless fields.nil?
|
|
580
545
|
execute_or_queue_command(command, &block)
|
|
581
546
|
end
|
|
582
547
|
|
|
583
|
-
#
|
|
548
|
+
# Returns metadata for a given CryptoKey, as well as its
|
|
549
|
+
# primary CryptoKeyVersion.
|
|
584
550
|
# @param [String] name
|
|
585
|
-
#
|
|
586
|
-
# `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
|
587
|
-
# @param [Google::Apis::CloudkmsV1::CryptoKey] crypto_key_object
|
|
588
|
-
# @param [String] update_mask
|
|
589
|
-
# Required list of fields to be updated in this request.
|
|
551
|
+
# The name of the CryptoKey to get.
|
|
590
552
|
# @param [String] quota_user
|
|
591
553
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
592
554
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
@@ -604,14 +566,11 @@ module Google
|
|
|
604
566
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
605
567
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
606
568
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
607
|
-
def
|
|
608
|
-
command = make_simple_command(:
|
|
609
|
-
command.request_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation
|
|
610
|
-
command.request_object = crypto_key_object
|
|
569
|
+
def get_project_location_key_ring_crypto_key(name, quota_user: nil, fields: nil, options: nil, &block)
|
|
570
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
611
571
|
command.response_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation
|
|
612
572
|
command.response_class = Google::Apis::CloudkmsV1::CryptoKey
|
|
613
573
|
command.params['name'] = name unless name.nil?
|
|
614
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
615
574
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
616
575
|
command.query['fields'] = fields unless fields.nil?
|
|
617
576
|
execute_or_queue_command(command, &block)
|
|
@@ -690,15 +649,18 @@ module Google
|
|
|
690
649
|
execute_or_queue_command(command, &block)
|
|
691
650
|
end
|
|
692
651
|
|
|
693
|
-
#
|
|
694
|
-
#
|
|
695
|
-
#
|
|
696
|
-
#
|
|
697
|
-
#
|
|
698
|
-
#
|
|
699
|
-
#
|
|
700
|
-
#
|
|
701
|
-
#
|
|
652
|
+
# Lists CryptoKeys.
|
|
653
|
+
# @param [String] parent
|
|
654
|
+
# Required. The resource name of the KeyRing to list, in the format
|
|
655
|
+
# `projects/*/locations/*/keyRings/*`.
|
|
656
|
+
# @param [String] page_token
|
|
657
|
+
# Optional pagination token, returned earlier via
|
|
658
|
+
# ListCryptoKeysResponse.next_page_token.
|
|
659
|
+
# @param [Fixnum] page_size
|
|
660
|
+
# Optional limit on the number of CryptoKeys to include in the
|
|
661
|
+
# response. Further CryptoKeys can subsequently be obtained by
|
|
662
|
+
# including the ListCryptoKeysResponse.next_page_token in a subsequent
|
|
663
|
+
# request. If unspecified, the server will pick an appropriate default.
|
|
702
664
|
# @param [String] quota_user
|
|
703
665
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
704
666
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
@@ -708,29 +670,76 @@ module Google
|
|
|
708
670
|
# Request-specific options
|
|
709
671
|
#
|
|
710
672
|
# @yield [result, err] Result & error if block supplied
|
|
711
|
-
# @yieldparam result [Google::Apis::CloudkmsV1::
|
|
673
|
+
# @yieldparam result [Google::Apis::CloudkmsV1::ListCryptoKeysResponse] parsed result object
|
|
712
674
|
# @yieldparam err [StandardError] error object if request failed
|
|
713
675
|
#
|
|
714
|
-
# @return [Google::Apis::CloudkmsV1::
|
|
676
|
+
# @return [Google::Apis::CloudkmsV1::ListCryptoKeysResponse]
|
|
715
677
|
#
|
|
716
678
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
717
679
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
718
680
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
719
|
-
def
|
|
720
|
-
command = make_simple_command(:
|
|
721
|
-
command.
|
|
722
|
-
command.
|
|
723
|
-
command.
|
|
724
|
-
command.
|
|
725
|
-
command.
|
|
681
|
+
def list_project_location_key_ring_crypto_keys(parent, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
682
|
+
command = make_simple_command(:get, 'v1/{+parent}/cryptoKeys', options)
|
|
683
|
+
command.response_representation = Google::Apis::CloudkmsV1::ListCryptoKeysResponse::Representation
|
|
684
|
+
command.response_class = Google::Apis::CloudkmsV1::ListCryptoKeysResponse
|
|
685
|
+
command.params['parent'] = parent unless parent.nil?
|
|
686
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
687
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
726
688
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
727
689
|
command.query['fields'] = fields unless fields.nil?
|
|
728
690
|
execute_or_queue_command(command, &block)
|
|
729
691
|
end
|
|
730
692
|
|
|
731
|
-
#
|
|
732
|
-
# @param [String]
|
|
733
|
-
# The name of the
|
|
693
|
+
# Lists CryptoKeyVersions.
|
|
694
|
+
# @param [String] parent
|
|
695
|
+
# Required. The resource name of the CryptoKey to list, in the format
|
|
696
|
+
# `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
|
697
|
+
# @param [String] page_token
|
|
698
|
+
# Optional pagination token, returned earlier via
|
|
699
|
+
# ListCryptoKeyVersionsResponse.next_page_token.
|
|
700
|
+
# @param [Fixnum] page_size
|
|
701
|
+
# Optional limit on the number of CryptoKeyVersions to
|
|
702
|
+
# include in the response. Further CryptoKeyVersions can
|
|
703
|
+
# subsequently be obtained by including the
|
|
704
|
+
# ListCryptoKeyVersionsResponse.next_page_token in a subsequent request.
|
|
705
|
+
# If unspecified, the server will pick an appropriate default.
|
|
706
|
+
# @param [String] quota_user
|
|
707
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
708
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
709
|
+
# @param [String] fields
|
|
710
|
+
# Selector specifying which fields to include in a partial response.
|
|
711
|
+
# @param [Google::Apis::RequestOptions] options
|
|
712
|
+
# Request-specific options
|
|
713
|
+
#
|
|
714
|
+
# @yield [result, err] Result & error if block supplied
|
|
715
|
+
# @yieldparam result [Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse] parsed result object
|
|
716
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
717
|
+
#
|
|
718
|
+
# @return [Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse]
|
|
719
|
+
#
|
|
720
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
721
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
722
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
723
|
+
def list_project_location_key_ring_crypto_key_crypto_key_versions(parent, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
724
|
+
command = make_simple_command(:get, 'v1/{+parent}/cryptoKeyVersions', options)
|
|
725
|
+
command.response_representation = Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse::Representation
|
|
726
|
+
command.response_class = Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse
|
|
727
|
+
command.params['parent'] = parent unless parent.nil?
|
|
728
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
729
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
730
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
731
|
+
command.query['fields'] = fields unless fields.nil?
|
|
732
|
+
execute_or_queue_command(command, &block)
|
|
733
|
+
end
|
|
734
|
+
|
|
735
|
+
# Create a new CryptoKeyVersion in a CryptoKey.
|
|
736
|
+
# The server will assign the next sequential id. If unset,
|
|
737
|
+
# state will be set to
|
|
738
|
+
# ENABLED.
|
|
739
|
+
# @param [String] parent
|
|
740
|
+
# Required. The name of the CryptoKey associated with
|
|
741
|
+
# the CryptoKeyVersions.
|
|
742
|
+
# @param [Google::Apis::CloudkmsV1::CryptoKeyVersion] crypto_key_version_object
|
|
734
743
|
# @param [String] quota_user
|
|
735
744
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
736
745
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
@@ -748,28 +757,31 @@ module Google
|
|
|
748
757
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
749
758
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
750
759
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
751
|
-
def
|
|
752
|
-
command = make_simple_command(:
|
|
760
|
+
def create_project_location_key_ring_crypto_key_crypto_key_version(parent, crypto_key_version_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
761
|
+
command = make_simple_command(:post, 'v1/{+parent}/cryptoKeyVersions', options)
|
|
762
|
+
command.request_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
|
|
763
|
+
command.request_object = crypto_key_version_object
|
|
753
764
|
command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
|
|
754
765
|
command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion
|
|
755
|
-
command.params['
|
|
766
|
+
command.params['parent'] = parent unless parent.nil?
|
|
756
767
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
757
768
|
command.query['fields'] = fields unless fields.nil?
|
|
758
769
|
execute_or_queue_command(command, &block)
|
|
759
770
|
end
|
|
760
771
|
|
|
761
|
-
#
|
|
762
|
-
# state
|
|
763
|
-
#
|
|
764
|
-
#
|
|
765
|
-
#
|
|
766
|
-
#
|
|
772
|
+
# Schedule a CryptoKeyVersion for destruction.
|
|
773
|
+
# Upon calling this method, CryptoKeyVersion.state will be set to
|
|
774
|
+
# DESTROY_SCHEDULED
|
|
775
|
+
# and destroy_time will be set to a time 24
|
|
776
|
+
# hours in the future, at which point the state
|
|
777
|
+
# will be changed to
|
|
778
|
+
# DESTROYED, and the key
|
|
779
|
+
# material will be irrevocably destroyed.
|
|
780
|
+
# Before the destroy_time is reached,
|
|
781
|
+
# RestoreCryptoKeyVersion may be called to reverse the process.
|
|
767
782
|
# @param [String] name
|
|
768
|
-
#
|
|
769
|
-
#
|
|
770
|
-
# @param [Google::Apis::CloudkmsV1::CryptoKeyVersion] crypto_key_version_object
|
|
771
|
-
# @param [String] update_mask
|
|
772
|
-
# Required list of fields to be updated in this request.
|
|
783
|
+
# The resource name of the CryptoKeyVersion to destroy.
|
|
784
|
+
# @param [Google::Apis::CloudkmsV1::DestroyCryptoKeyVersionRequest] destroy_crypto_key_version_request_object
|
|
773
785
|
# @param [String] quota_user
|
|
774
786
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
775
787
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
@@ -787,32 +799,27 @@ module Google
|
|
|
787
799
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
788
800
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
789
801
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
790
|
-
def
|
|
791
|
-
command = make_simple_command(:
|
|
792
|
-
command.request_representation = Google::Apis::CloudkmsV1::
|
|
793
|
-
command.request_object =
|
|
802
|
+
def destroy_crypto_key_version(name, destroy_crypto_key_version_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
803
|
+
command = make_simple_command(:post, 'v1/{+name}:destroy', options)
|
|
804
|
+
command.request_representation = Google::Apis::CloudkmsV1::DestroyCryptoKeyVersionRequest::Representation
|
|
805
|
+
command.request_object = destroy_crypto_key_version_request_object
|
|
794
806
|
command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
|
|
795
807
|
command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion
|
|
796
808
|
command.params['name'] = name unless name.nil?
|
|
797
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
798
809
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
799
810
|
command.query['fields'] = fields unless fields.nil?
|
|
800
811
|
execute_or_queue_command(command, &block)
|
|
801
812
|
end
|
|
802
813
|
|
|
803
|
-
#
|
|
804
|
-
#
|
|
805
|
-
#
|
|
806
|
-
#
|
|
807
|
-
#
|
|
808
|
-
#
|
|
809
|
-
#
|
|
810
|
-
#
|
|
811
|
-
#
|
|
812
|
-
# include in the response. Further CryptoKeyVersions can
|
|
813
|
-
# subsequently be obtained by including the
|
|
814
|
-
# ListCryptoKeyVersionsResponse.next_page_token in a subsequent request.
|
|
815
|
-
# If unspecified, the server will pick an appropriate default.
|
|
814
|
+
# Restore a CryptoKeyVersion in the
|
|
815
|
+
# DESTROY_SCHEDULED,
|
|
816
|
+
# state.
|
|
817
|
+
# Upon restoration of the CryptoKeyVersion, state
|
|
818
|
+
# will be set to DISABLED,
|
|
819
|
+
# and destroy_time will be cleared.
|
|
820
|
+
# @param [String] name
|
|
821
|
+
# The resource name of the CryptoKeyVersion to restore.
|
|
822
|
+
# @param [Google::Apis::CloudkmsV1::RestoreCryptoKeyVersionRequest] restore_crypto_key_version_request_object
|
|
816
823
|
# @param [String] quota_user
|
|
817
824
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
818
825
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
@@ -822,34 +829,38 @@ module Google
|
|
|
822
829
|
# Request-specific options
|
|
823
830
|
#
|
|
824
831
|
# @yield [result, err] Result & error if block supplied
|
|
825
|
-
# @yieldparam result [Google::Apis::CloudkmsV1::
|
|
832
|
+
# @yieldparam result [Google::Apis::CloudkmsV1::CryptoKeyVersion] parsed result object
|
|
826
833
|
# @yieldparam err [StandardError] error object if request failed
|
|
827
834
|
#
|
|
828
|
-
# @return [Google::Apis::CloudkmsV1::
|
|
835
|
+
# @return [Google::Apis::CloudkmsV1::CryptoKeyVersion]
|
|
829
836
|
#
|
|
830
837
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
831
838
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
832
839
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
833
|
-
def
|
|
834
|
-
command = make_simple_command(:
|
|
835
|
-
command.
|
|
836
|
-
command.
|
|
837
|
-
command.
|
|
838
|
-
command.
|
|
839
|
-
command.
|
|
840
|
+
def restore_crypto_key_version(name, restore_crypto_key_version_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
841
|
+
command = make_simple_command(:post, 'v1/{+name}:restore', options)
|
|
842
|
+
command.request_representation = Google::Apis::CloudkmsV1::RestoreCryptoKeyVersionRequest::Representation
|
|
843
|
+
command.request_object = restore_crypto_key_version_request_object
|
|
844
|
+
command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
|
|
845
|
+
command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion
|
|
846
|
+
command.params['name'] = name unless name.nil?
|
|
840
847
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
841
848
|
command.query['fields'] = fields unless fields.nil?
|
|
842
849
|
execute_or_queue_command(command, &block)
|
|
843
850
|
end
|
|
844
851
|
|
|
845
|
-
#
|
|
846
|
-
#
|
|
847
|
-
#
|
|
848
|
-
#
|
|
849
|
-
#
|
|
850
|
-
#
|
|
851
|
-
#
|
|
852
|
+
# Update a CryptoKeyVersion's metadata.
|
|
853
|
+
# state may be changed between
|
|
854
|
+
# ENABLED and
|
|
855
|
+
# DISABLED using this
|
|
856
|
+
# method. See DestroyCryptoKeyVersion and RestoreCryptoKeyVersion to
|
|
857
|
+
# move between other states.
|
|
858
|
+
# @param [String] name
|
|
859
|
+
# Output only. The resource name for this CryptoKeyVersion in the format
|
|
860
|
+
# `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
|
|
852
861
|
# @param [Google::Apis::CloudkmsV1::CryptoKeyVersion] crypto_key_version_object
|
|
862
|
+
# @param [String] update_mask
|
|
863
|
+
# Required list of fields to be updated in this request.
|
|
853
864
|
# @param [String] quota_user
|
|
854
865
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
855
866
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
@@ -867,31 +878,22 @@ module Google
|
|
|
867
878
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
868
879
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
869
880
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
870
|
-
def
|
|
871
|
-
command = make_simple_command(:
|
|
881
|
+
def patch_project_location_key_ring_crypto_key_crypto_key_version(name, crypto_key_version_object = nil, update_mask: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
882
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
872
883
|
command.request_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
|
|
873
884
|
command.request_object = crypto_key_version_object
|
|
874
885
|
command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
|
|
875
886
|
command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion
|
|
876
|
-
command.params['
|
|
887
|
+
command.params['name'] = name unless name.nil?
|
|
888
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
877
889
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
878
890
|
command.query['fields'] = fields unless fields.nil?
|
|
879
891
|
execute_or_queue_command(command, &block)
|
|
880
892
|
end
|
|
881
893
|
|
|
882
|
-
#
|
|
883
|
-
# Upon calling this method, CryptoKeyVersion.state will be set to
|
|
884
|
-
# DESTROY_SCHEDULED
|
|
885
|
-
# and destroy_time will be set to a time 24
|
|
886
|
-
# hours in the future, at which point the state
|
|
887
|
-
# will be changed to
|
|
888
|
-
# DESTROYED, and the key
|
|
889
|
-
# material will be irrevocably destroyed.
|
|
890
|
-
# Before the destroy_time is reached,
|
|
891
|
-
# RestoreCryptoKeyVersion may be called to reverse the process.
|
|
894
|
+
# Returns metadata for a given CryptoKeyVersion.
|
|
892
895
|
# @param [String] name
|
|
893
|
-
# The
|
|
894
|
-
# @param [Google::Apis::CloudkmsV1::DestroyCryptoKeyVersionRequest] destroy_crypto_key_version_request_object
|
|
896
|
+
# The name of the CryptoKeyVersion to get.
|
|
895
897
|
# @param [String] quota_user
|
|
896
898
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
897
899
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
@@ -909,10 +911,8 @@ module Google
|
|
|
909
911
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
910
912
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
911
913
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
912
|
-
def
|
|
913
|
-
command = make_simple_command(:
|
|
914
|
-
command.request_representation = Google::Apis::CloudkmsV1::DestroyCryptoKeyVersionRequest::Representation
|
|
915
|
-
command.request_object = destroy_crypto_key_version_request_object
|
|
914
|
+
def get_project_location_key_ring_crypto_key_crypto_key_version(name, quota_user: nil, fields: nil, options: nil, &block)
|
|
915
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
916
916
|
command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation
|
|
917
917
|
command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion
|
|
918
918
|
command.params['name'] = name unless name.nil?
|
|
@@ -924,8 +924,8 @@ module Google
|
|
|
924
924
|
protected
|
|
925
925
|
|
|
926
926
|
def apply_command_defaults(command)
|
|
927
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
928
927
|
command.query['key'] = key unless key.nil?
|
|
928
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
929
929
|
end
|
|
930
930
|
end
|
|
931
931
|
end
|