google-apis-iam_v1 0.1.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 +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google-apis-iam_v1.rb +15 -0
- data/lib/google/apis/iam_v1.rb +38 -0
- data/lib/google/apis/iam_v1/classes.rb +1693 -0
- data/lib/google/apis/iam_v1/gem_version.rb +28 -0
- data/lib/google/apis/iam_v1/representations.rb +726 -0
- data/lib/google/apis/iam_v1/service.rb +1733 -0
- metadata +77 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Apis
|
17
|
+
module IamV1
|
18
|
+
# Version of the google-apis-iam_v1 gem
|
19
|
+
GEM_VERSION = "0.1.0"
|
20
|
+
|
21
|
+
# Version of the code generator used to generate this client
|
22
|
+
GENERATOR_VERSION = "0.1.1"
|
23
|
+
|
24
|
+
# Revision of the discovery document this client was generated from
|
25
|
+
REVISION = "20201112"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,726 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module IamV1
|
24
|
+
|
25
|
+
class AdminAuditData
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class AuditConfig
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class AuditData
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class AuditLogConfig
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class AuditableService
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class Binding
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class BindingDelta
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class CreateRoleRequest
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class CreateServiceAccountKeyRequest
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class CreateServiceAccountRequest
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class DisableServiceAccountRequest
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class Empty
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class EnableServiceAccountRequest
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class Expr
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class LintPolicyRequest
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class LintPolicyResponse
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class LintResult
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class ListRolesResponse
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class ListServiceAccountKeysResponse
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class ListServiceAccountsResponse
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class Operation
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class PatchServiceAccountRequest
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class Permission
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class PermissionDelta
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class Policy
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class PolicyDelta
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class QueryAuditableServicesRequest
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class QueryAuditableServicesResponse
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class QueryGrantableRolesRequest
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class QueryGrantableRolesResponse
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class QueryTestablePermissionsRequest
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class QueryTestablePermissionsResponse
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class Role
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class ServiceAccount
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class ServiceAccountKey
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class SetIamPolicyRequest
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class SignBlobRequest
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class SignBlobResponse
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class SignJwtRequest
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class SignJwtResponse
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
|
+
class Status
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class TestIamPermissionsRequest
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class TestIamPermissionsResponse
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
283
|
+
class UndeleteRoleRequest
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
289
|
+
class UndeleteServiceAccountRequest
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
295
|
+
class UndeleteServiceAccountResponse
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
301
|
+
class UploadServiceAccountKeyRequest
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
307
|
+
class AdminAuditData
|
308
|
+
# @private
|
309
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
310
|
+
property :permission_delta, as: 'permissionDelta', class: Google::Apis::IamV1::PermissionDelta, decorator: Google::Apis::IamV1::PermissionDelta::Representation
|
311
|
+
|
312
|
+
end
|
313
|
+
end
|
314
|
+
|
315
|
+
class AuditConfig
|
316
|
+
# @private
|
317
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
318
|
+
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::IamV1::AuditLogConfig, decorator: Google::Apis::IamV1::AuditLogConfig::Representation
|
319
|
+
|
320
|
+
property :service, as: 'service'
|
321
|
+
end
|
322
|
+
end
|
323
|
+
|
324
|
+
class AuditData
|
325
|
+
# @private
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
327
|
+
property :policy_delta, as: 'policyDelta', class: Google::Apis::IamV1::PolicyDelta, decorator: Google::Apis::IamV1::PolicyDelta::Representation
|
328
|
+
|
329
|
+
end
|
330
|
+
end
|
331
|
+
|
332
|
+
class AuditLogConfig
|
333
|
+
# @private
|
334
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
335
|
+
collection :exempted_members, as: 'exemptedMembers'
|
336
|
+
property :log_type, as: 'logType'
|
337
|
+
end
|
338
|
+
end
|
339
|
+
|
340
|
+
class AuditableService
|
341
|
+
# @private
|
342
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
343
|
+
property :name, as: 'name'
|
344
|
+
end
|
345
|
+
end
|
346
|
+
|
347
|
+
class Binding
|
348
|
+
# @private
|
349
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
350
|
+
property :condition, as: 'condition', class: Google::Apis::IamV1::Expr, decorator: Google::Apis::IamV1::Expr::Representation
|
351
|
+
|
352
|
+
collection :members, as: 'members'
|
353
|
+
property :role, as: 'role'
|
354
|
+
end
|
355
|
+
end
|
356
|
+
|
357
|
+
class BindingDelta
|
358
|
+
# @private
|
359
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
360
|
+
property :action, as: 'action'
|
361
|
+
property :condition, as: 'condition', class: Google::Apis::IamV1::Expr, decorator: Google::Apis::IamV1::Expr::Representation
|
362
|
+
|
363
|
+
property :member, as: 'member'
|
364
|
+
property :role, as: 'role'
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
368
|
+
class CreateRoleRequest
|
369
|
+
# @private
|
370
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
371
|
+
property :role, as: 'role', class: Google::Apis::IamV1::Role, decorator: Google::Apis::IamV1::Role::Representation
|
372
|
+
|
373
|
+
property :role_id, as: 'roleId'
|
374
|
+
end
|
375
|
+
end
|
376
|
+
|
377
|
+
class CreateServiceAccountKeyRequest
|
378
|
+
# @private
|
379
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
380
|
+
property :key_algorithm, as: 'keyAlgorithm'
|
381
|
+
property :private_key_type, as: 'privateKeyType'
|
382
|
+
end
|
383
|
+
end
|
384
|
+
|
385
|
+
class CreateServiceAccountRequest
|
386
|
+
# @private
|
387
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
388
|
+
property :account_id, as: 'accountId'
|
389
|
+
property :service_account, as: 'serviceAccount', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation
|
390
|
+
|
391
|
+
end
|
392
|
+
end
|
393
|
+
|
394
|
+
class DisableServiceAccountRequest
|
395
|
+
# @private
|
396
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
400
|
+
class Empty
|
401
|
+
# @private
|
402
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
406
|
+
class EnableServiceAccountRequest
|
407
|
+
# @private
|
408
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
409
|
+
end
|
410
|
+
end
|
411
|
+
|
412
|
+
class Expr
|
413
|
+
# @private
|
414
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
415
|
+
property :description, as: 'description'
|
416
|
+
property :expression, as: 'expression'
|
417
|
+
property :location, as: 'location'
|
418
|
+
property :title, as: 'title'
|
419
|
+
end
|
420
|
+
end
|
421
|
+
|
422
|
+
class LintPolicyRequest
|
423
|
+
# @private
|
424
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
425
|
+
property :condition, as: 'condition', class: Google::Apis::IamV1::Expr, decorator: Google::Apis::IamV1::Expr::Representation
|
426
|
+
|
427
|
+
property :full_resource_name, as: 'fullResourceName'
|
428
|
+
end
|
429
|
+
end
|
430
|
+
|
431
|
+
class LintPolicyResponse
|
432
|
+
# @private
|
433
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
434
|
+
collection :lint_results, as: 'lintResults', class: Google::Apis::IamV1::LintResult, decorator: Google::Apis::IamV1::LintResult::Representation
|
435
|
+
|
436
|
+
end
|
437
|
+
end
|
438
|
+
|
439
|
+
class LintResult
|
440
|
+
# @private
|
441
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
442
|
+
property :debug_message, as: 'debugMessage'
|
443
|
+
property :field_name, as: 'fieldName'
|
444
|
+
property :level, as: 'level'
|
445
|
+
property :location_offset, as: 'locationOffset'
|
446
|
+
property :severity, as: 'severity'
|
447
|
+
property :validation_unit_name, as: 'validationUnitName'
|
448
|
+
end
|
449
|
+
end
|
450
|
+
|
451
|
+
class ListRolesResponse
|
452
|
+
# @private
|
453
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
454
|
+
property :next_page_token, as: 'nextPageToken'
|
455
|
+
collection :roles, as: 'roles', class: Google::Apis::IamV1::Role, decorator: Google::Apis::IamV1::Role::Representation
|
456
|
+
|
457
|
+
end
|
458
|
+
end
|
459
|
+
|
460
|
+
class ListServiceAccountKeysResponse
|
461
|
+
# @private
|
462
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
463
|
+
collection :keys, as: 'keys', class: Google::Apis::IamV1::ServiceAccountKey, decorator: Google::Apis::IamV1::ServiceAccountKey::Representation
|
464
|
+
|
465
|
+
end
|
466
|
+
end
|
467
|
+
|
468
|
+
class ListServiceAccountsResponse
|
469
|
+
# @private
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
471
|
+
collection :accounts, as: 'accounts', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation
|
472
|
+
|
473
|
+
property :next_page_token, as: 'nextPageToken'
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
477
|
+
class Operation
|
478
|
+
# @private
|
479
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
480
|
+
property :done, as: 'done'
|
481
|
+
property :error, as: 'error', class: Google::Apis::IamV1::Status, decorator: Google::Apis::IamV1::Status::Representation
|
482
|
+
|
483
|
+
hash :metadata, as: 'metadata'
|
484
|
+
property :name, as: 'name'
|
485
|
+
hash :response, as: 'response'
|
486
|
+
end
|
487
|
+
end
|
488
|
+
|
489
|
+
class PatchServiceAccountRequest
|
490
|
+
# @private
|
491
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
492
|
+
property :service_account, as: 'serviceAccount', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation
|
493
|
+
|
494
|
+
property :update_mask, as: 'updateMask'
|
495
|
+
end
|
496
|
+
end
|
497
|
+
|
498
|
+
class Permission
|
499
|
+
# @private
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
501
|
+
property :api_disabled, as: 'apiDisabled'
|
502
|
+
property :custom_roles_support_level, as: 'customRolesSupportLevel'
|
503
|
+
property :description, as: 'description'
|
504
|
+
property :name, as: 'name'
|
505
|
+
property :only_in_predefined_roles, as: 'onlyInPredefinedRoles'
|
506
|
+
property :primary_permission, as: 'primaryPermission'
|
507
|
+
property :stage, as: 'stage'
|
508
|
+
property :title, as: 'title'
|
509
|
+
end
|
510
|
+
end
|
511
|
+
|
512
|
+
class PermissionDelta
|
513
|
+
# @private
|
514
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
515
|
+
collection :added_permissions, as: 'addedPermissions'
|
516
|
+
collection :removed_permissions, as: 'removedPermissions'
|
517
|
+
end
|
518
|
+
end
|
519
|
+
|
520
|
+
class Policy
|
521
|
+
# @private
|
522
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
523
|
+
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::IamV1::AuditConfig, decorator: Google::Apis::IamV1::AuditConfig::Representation
|
524
|
+
|
525
|
+
collection :bindings, as: 'bindings', class: Google::Apis::IamV1::Binding, decorator: Google::Apis::IamV1::Binding::Representation
|
526
|
+
|
527
|
+
property :etag, :base64 => true, as: 'etag'
|
528
|
+
property :version, as: 'version'
|
529
|
+
end
|
530
|
+
end
|
531
|
+
|
532
|
+
class PolicyDelta
|
533
|
+
# @private
|
534
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
535
|
+
collection :binding_deltas, as: 'bindingDeltas', class: Google::Apis::IamV1::BindingDelta, decorator: Google::Apis::IamV1::BindingDelta::Representation
|
536
|
+
|
537
|
+
end
|
538
|
+
end
|
539
|
+
|
540
|
+
class QueryAuditableServicesRequest
|
541
|
+
# @private
|
542
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
543
|
+
property :full_resource_name, as: 'fullResourceName'
|
544
|
+
end
|
545
|
+
end
|
546
|
+
|
547
|
+
class QueryAuditableServicesResponse
|
548
|
+
# @private
|
549
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
550
|
+
collection :services, as: 'services', class: Google::Apis::IamV1::AuditableService, decorator: Google::Apis::IamV1::AuditableService::Representation
|
551
|
+
|
552
|
+
end
|
553
|
+
end
|
554
|
+
|
555
|
+
class QueryGrantableRolesRequest
|
556
|
+
# @private
|
557
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
558
|
+
property :full_resource_name, as: 'fullResourceName'
|
559
|
+
property :page_size, as: 'pageSize'
|
560
|
+
property :page_token, as: 'pageToken'
|
561
|
+
property :view, as: 'view'
|
562
|
+
end
|
563
|
+
end
|
564
|
+
|
565
|
+
class QueryGrantableRolesResponse
|
566
|
+
# @private
|
567
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
568
|
+
property :next_page_token, as: 'nextPageToken'
|
569
|
+
collection :roles, as: 'roles', class: Google::Apis::IamV1::Role, decorator: Google::Apis::IamV1::Role::Representation
|
570
|
+
|
571
|
+
end
|
572
|
+
end
|
573
|
+
|
574
|
+
class QueryTestablePermissionsRequest
|
575
|
+
# @private
|
576
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
577
|
+
property :full_resource_name, as: 'fullResourceName'
|
578
|
+
property :page_size, as: 'pageSize'
|
579
|
+
property :page_token, as: 'pageToken'
|
580
|
+
end
|
581
|
+
end
|
582
|
+
|
583
|
+
class QueryTestablePermissionsResponse
|
584
|
+
# @private
|
585
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
586
|
+
property :next_page_token, as: 'nextPageToken'
|
587
|
+
collection :permissions, as: 'permissions', class: Google::Apis::IamV1::Permission, decorator: Google::Apis::IamV1::Permission::Representation
|
588
|
+
|
589
|
+
end
|
590
|
+
end
|
591
|
+
|
592
|
+
class Role
|
593
|
+
# @private
|
594
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
595
|
+
property :deleted, as: 'deleted'
|
596
|
+
property :description, as: 'description'
|
597
|
+
property :etag, :base64 => true, as: 'etag'
|
598
|
+
collection :included_permissions, as: 'includedPermissions'
|
599
|
+
property :name, as: 'name'
|
600
|
+
property :stage, as: 'stage'
|
601
|
+
property :title, as: 'title'
|
602
|
+
end
|
603
|
+
end
|
604
|
+
|
605
|
+
class ServiceAccount
|
606
|
+
# @private
|
607
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
608
|
+
property :description, as: 'description'
|
609
|
+
property :disabled, as: 'disabled'
|
610
|
+
property :display_name, as: 'displayName'
|
611
|
+
property :email, as: 'email'
|
612
|
+
property :etag, :base64 => true, as: 'etag'
|
613
|
+
property :name, as: 'name'
|
614
|
+
property :oauth2_client_id, as: 'oauth2ClientId'
|
615
|
+
property :project_id, as: 'projectId'
|
616
|
+
property :unique_id, as: 'uniqueId'
|
617
|
+
end
|
618
|
+
end
|
619
|
+
|
620
|
+
class ServiceAccountKey
|
621
|
+
# @private
|
622
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
623
|
+
property :key_algorithm, as: 'keyAlgorithm'
|
624
|
+
property :key_origin, as: 'keyOrigin'
|
625
|
+
property :key_type, as: 'keyType'
|
626
|
+
property :name, as: 'name'
|
627
|
+
property :private_key_data, :base64 => true, as: 'privateKeyData'
|
628
|
+
property :private_key_type, as: 'privateKeyType'
|
629
|
+
property :public_key_data, :base64 => true, as: 'publicKeyData'
|
630
|
+
property :valid_after_time, as: 'validAfterTime'
|
631
|
+
property :valid_before_time, as: 'validBeforeTime'
|
632
|
+
end
|
633
|
+
end
|
634
|
+
|
635
|
+
class SetIamPolicyRequest
|
636
|
+
# @private
|
637
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
638
|
+
property :policy, as: 'policy', class: Google::Apis::IamV1::Policy, decorator: Google::Apis::IamV1::Policy::Representation
|
639
|
+
|
640
|
+
property :update_mask, as: 'updateMask'
|
641
|
+
end
|
642
|
+
end
|
643
|
+
|
644
|
+
class SignBlobRequest
|
645
|
+
# @private
|
646
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
647
|
+
property :bytes_to_sign, :base64 => true, as: 'bytesToSign'
|
648
|
+
end
|
649
|
+
end
|
650
|
+
|
651
|
+
class SignBlobResponse
|
652
|
+
# @private
|
653
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
654
|
+
property :key_id, as: 'keyId'
|
655
|
+
property :signature, :base64 => true, as: 'signature'
|
656
|
+
end
|
657
|
+
end
|
658
|
+
|
659
|
+
class SignJwtRequest
|
660
|
+
# @private
|
661
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
662
|
+
property :payload, as: 'payload'
|
663
|
+
end
|
664
|
+
end
|
665
|
+
|
666
|
+
class SignJwtResponse
|
667
|
+
# @private
|
668
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
669
|
+
property :key_id, as: 'keyId'
|
670
|
+
property :signed_jwt, as: 'signedJwt'
|
671
|
+
end
|
672
|
+
end
|
673
|
+
|
674
|
+
class Status
|
675
|
+
# @private
|
676
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
677
|
+
property :code, as: 'code'
|
678
|
+
collection :details, as: 'details'
|
679
|
+
property :message, as: 'message'
|
680
|
+
end
|
681
|
+
end
|
682
|
+
|
683
|
+
class TestIamPermissionsRequest
|
684
|
+
# @private
|
685
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
686
|
+
collection :permissions, as: 'permissions'
|
687
|
+
end
|
688
|
+
end
|
689
|
+
|
690
|
+
class TestIamPermissionsResponse
|
691
|
+
# @private
|
692
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
693
|
+
collection :permissions, as: 'permissions'
|
694
|
+
end
|
695
|
+
end
|
696
|
+
|
697
|
+
class UndeleteRoleRequest
|
698
|
+
# @private
|
699
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
700
|
+
property :etag, :base64 => true, as: 'etag'
|
701
|
+
end
|
702
|
+
end
|
703
|
+
|
704
|
+
class UndeleteServiceAccountRequest
|
705
|
+
# @private
|
706
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
707
|
+
end
|
708
|
+
end
|
709
|
+
|
710
|
+
class UndeleteServiceAccountResponse
|
711
|
+
# @private
|
712
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
713
|
+
property :restored_account, as: 'restoredAccount', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation
|
714
|
+
|
715
|
+
end
|
716
|
+
end
|
717
|
+
|
718
|
+
class UploadServiceAccountKeyRequest
|
719
|
+
# @private
|
720
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
721
|
+
property :public_key_data, :base64 => true, as: 'publicKeyData'
|
722
|
+
end
|
723
|
+
end
|
724
|
+
end
|
725
|
+
end
|
726
|
+
end
|