google-apis-accesscontextmanager_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-accesscontextmanager_v1.rb +15 -0
- data/lib/google/apis/accesscontextmanager_v1.rb +36 -0
- data/lib/google/apis/accesscontextmanager_v1/classes.rb +1346 -0
- data/lib/google/apis/accesscontextmanager_v1/gem_version.rb +28 -0
- data/lib/google/apis/accesscontextmanager_v1/representations.rb +582 -0
- data/lib/google/apis/accesscontextmanager_v1/service.rb +1065 -0
- metadata +76 -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 AccesscontextmanagerV1
|
|
18
|
+
# Version of the google-apis-accesscontextmanager_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 = "20201210"
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -0,0 +1,582 @@
|
|
|
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 AccesscontextmanagerV1
|
|
24
|
+
|
|
25
|
+
class AccessLevel
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
class AccessPolicy
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
class ApiOperation
|
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
|
+
|
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
class BasicLevel
|
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
+
|
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
class CancelOperationRequest
|
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
class CommitServicePerimetersRequest
|
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
+
|
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
class CommitServicePerimetersResponse
|
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
+
|
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
class Condition
|
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
+
|
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
class CustomLevel
|
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
class DevicePolicy
|
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
+
|
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
class EgressFrom
|
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
+
|
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
class EgressPolicy
|
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
class EgressTo
|
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
class Empty
|
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
|
+
|
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
class Expr
|
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
|
+
|
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
class GcpUserAccessBinding
|
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
|
+
|
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
class IngressFrom
|
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
|
+
|
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
class IngressPolicy
|
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
|
+
|
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
class IngressSource
|
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
135
|
+
|
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
class IngressTo
|
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
|
+
|
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
class ListAccessLevelsResponse
|
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
|
+
|
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
class ListAccessPoliciesResponse
|
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
|
+
|
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
class ListGcpUserAccessBindingsResponse
|
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
159
|
+
|
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
class ListOperationsResponse
|
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
165
|
+
|
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
class ListServicePerimetersResponse
|
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
171
|
+
|
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
class MethodSelector
|
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
177
|
+
|
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
class Operation
|
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
183
|
+
|
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
class OsConstraint
|
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
189
|
+
|
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
class ReplaceAccessLevelsRequest
|
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
195
|
+
|
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
class ReplaceAccessLevelsResponse
|
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
|
+
|
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
class ReplaceServicePerimetersRequest
|
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
207
|
+
|
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
class ReplaceServicePerimetersResponse
|
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
213
|
+
|
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
class ServicePerimeter
|
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
219
|
+
|
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
class ServicePerimeterConfig
|
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
225
|
+
|
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
class Status
|
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
231
|
+
|
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
class VpcAccessibleServices
|
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
237
|
+
|
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
class AccessLevel
|
|
242
|
+
# @private
|
|
243
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
244
|
+
property :basic, as: 'basic', class: Google::Apis::AccesscontextmanagerV1::BasicLevel, decorator: Google::Apis::AccesscontextmanagerV1::BasicLevel::Representation
|
|
245
|
+
|
|
246
|
+
property :custom, as: 'custom', class: Google::Apis::AccesscontextmanagerV1::CustomLevel, decorator: Google::Apis::AccesscontextmanagerV1::CustomLevel::Representation
|
|
247
|
+
|
|
248
|
+
property :description, as: 'description'
|
|
249
|
+
property :name, as: 'name'
|
|
250
|
+
property :title, as: 'title'
|
|
251
|
+
end
|
|
252
|
+
end
|
|
253
|
+
|
|
254
|
+
class AccessPolicy
|
|
255
|
+
# @private
|
|
256
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
257
|
+
property :etag, as: 'etag'
|
|
258
|
+
property :name, as: 'name'
|
|
259
|
+
property :parent, as: 'parent'
|
|
260
|
+
property :title, as: 'title'
|
|
261
|
+
end
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
class ApiOperation
|
|
265
|
+
# @private
|
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
267
|
+
collection :method_selectors, as: 'methodSelectors', class: Google::Apis::AccesscontextmanagerV1::MethodSelector, decorator: Google::Apis::AccesscontextmanagerV1::MethodSelector::Representation
|
|
268
|
+
|
|
269
|
+
property :service_name, as: 'serviceName'
|
|
270
|
+
end
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
class BasicLevel
|
|
274
|
+
# @private
|
|
275
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
276
|
+
property :combining_function, as: 'combiningFunction'
|
|
277
|
+
collection :conditions, as: 'conditions', class: Google::Apis::AccesscontextmanagerV1::Condition, decorator: Google::Apis::AccesscontextmanagerV1::Condition::Representation
|
|
278
|
+
|
|
279
|
+
end
|
|
280
|
+
end
|
|
281
|
+
|
|
282
|
+
class CancelOperationRequest
|
|
283
|
+
# @private
|
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
285
|
+
end
|
|
286
|
+
end
|
|
287
|
+
|
|
288
|
+
class CommitServicePerimetersRequest
|
|
289
|
+
# @private
|
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
291
|
+
property :etag, as: 'etag'
|
|
292
|
+
end
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
class CommitServicePerimetersResponse
|
|
296
|
+
# @private
|
|
297
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
298
|
+
collection :service_perimeters, as: 'servicePerimeters', class: Google::Apis::AccesscontextmanagerV1::ServicePerimeter, decorator: Google::Apis::AccesscontextmanagerV1::ServicePerimeter::Representation
|
|
299
|
+
|
|
300
|
+
end
|
|
301
|
+
end
|
|
302
|
+
|
|
303
|
+
class Condition
|
|
304
|
+
# @private
|
|
305
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
306
|
+
property :device_policy, as: 'devicePolicy', class: Google::Apis::AccesscontextmanagerV1::DevicePolicy, decorator: Google::Apis::AccesscontextmanagerV1::DevicePolicy::Representation
|
|
307
|
+
|
|
308
|
+
collection :ip_subnetworks, as: 'ipSubnetworks'
|
|
309
|
+
collection :members, as: 'members'
|
|
310
|
+
property :negate, as: 'negate'
|
|
311
|
+
collection :regions, as: 'regions'
|
|
312
|
+
collection :required_access_levels, as: 'requiredAccessLevels'
|
|
313
|
+
end
|
|
314
|
+
end
|
|
315
|
+
|
|
316
|
+
class CustomLevel
|
|
317
|
+
# @private
|
|
318
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
319
|
+
property :expr, as: 'expr', class: Google::Apis::AccesscontextmanagerV1::Expr, decorator: Google::Apis::AccesscontextmanagerV1::Expr::Representation
|
|
320
|
+
|
|
321
|
+
end
|
|
322
|
+
end
|
|
323
|
+
|
|
324
|
+
class DevicePolicy
|
|
325
|
+
# @private
|
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
327
|
+
collection :allowed_device_management_levels, as: 'allowedDeviceManagementLevels'
|
|
328
|
+
collection :allowed_encryption_statuses, as: 'allowedEncryptionStatuses'
|
|
329
|
+
collection :os_constraints, as: 'osConstraints', class: Google::Apis::AccesscontextmanagerV1::OsConstraint, decorator: Google::Apis::AccesscontextmanagerV1::OsConstraint::Representation
|
|
330
|
+
|
|
331
|
+
property :require_admin_approval, as: 'requireAdminApproval'
|
|
332
|
+
property :require_corp_owned, as: 'requireCorpOwned'
|
|
333
|
+
property :require_screenlock, as: 'requireScreenlock'
|
|
334
|
+
end
|
|
335
|
+
end
|
|
336
|
+
|
|
337
|
+
class EgressFrom
|
|
338
|
+
# @private
|
|
339
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
340
|
+
collection :identities, as: 'identities'
|
|
341
|
+
property :identity_type, as: 'identityType'
|
|
342
|
+
end
|
|
343
|
+
end
|
|
344
|
+
|
|
345
|
+
class EgressPolicy
|
|
346
|
+
# @private
|
|
347
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
348
|
+
property :egress_from, as: 'egressFrom', class: Google::Apis::AccesscontextmanagerV1::EgressFrom, decorator: Google::Apis::AccesscontextmanagerV1::EgressFrom::Representation
|
|
349
|
+
|
|
350
|
+
property :egress_to, as: 'egressTo', class: Google::Apis::AccesscontextmanagerV1::EgressTo, decorator: Google::Apis::AccesscontextmanagerV1::EgressTo::Representation
|
|
351
|
+
|
|
352
|
+
end
|
|
353
|
+
end
|
|
354
|
+
|
|
355
|
+
class EgressTo
|
|
356
|
+
# @private
|
|
357
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
358
|
+
collection :operations, as: 'operations', class: Google::Apis::AccesscontextmanagerV1::ApiOperation, decorator: Google::Apis::AccesscontextmanagerV1::ApiOperation::Representation
|
|
359
|
+
|
|
360
|
+
collection :resources, as: 'resources'
|
|
361
|
+
end
|
|
362
|
+
end
|
|
363
|
+
|
|
364
|
+
class Empty
|
|
365
|
+
# @private
|
|
366
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
367
|
+
end
|
|
368
|
+
end
|
|
369
|
+
|
|
370
|
+
class Expr
|
|
371
|
+
# @private
|
|
372
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
373
|
+
property :description, as: 'description'
|
|
374
|
+
property :expression, as: 'expression'
|
|
375
|
+
property :location, as: 'location'
|
|
376
|
+
property :title, as: 'title'
|
|
377
|
+
end
|
|
378
|
+
end
|
|
379
|
+
|
|
380
|
+
class GcpUserAccessBinding
|
|
381
|
+
# @private
|
|
382
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
383
|
+
collection :access_levels, as: 'accessLevels'
|
|
384
|
+
property :group_key, as: 'groupKey'
|
|
385
|
+
property :name, as: 'name'
|
|
386
|
+
end
|
|
387
|
+
end
|
|
388
|
+
|
|
389
|
+
class IngressFrom
|
|
390
|
+
# @private
|
|
391
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
392
|
+
collection :identities, as: 'identities'
|
|
393
|
+
property :identity_type, as: 'identityType'
|
|
394
|
+
collection :sources, as: 'sources', class: Google::Apis::AccesscontextmanagerV1::IngressSource, decorator: Google::Apis::AccesscontextmanagerV1::IngressSource::Representation
|
|
395
|
+
|
|
396
|
+
end
|
|
397
|
+
end
|
|
398
|
+
|
|
399
|
+
class IngressPolicy
|
|
400
|
+
# @private
|
|
401
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
402
|
+
property :ingress_from, as: 'ingressFrom', class: Google::Apis::AccesscontextmanagerV1::IngressFrom, decorator: Google::Apis::AccesscontextmanagerV1::IngressFrom::Representation
|
|
403
|
+
|
|
404
|
+
property :ingress_to, as: 'ingressTo', class: Google::Apis::AccesscontextmanagerV1::IngressTo, decorator: Google::Apis::AccesscontextmanagerV1::IngressTo::Representation
|
|
405
|
+
|
|
406
|
+
end
|
|
407
|
+
end
|
|
408
|
+
|
|
409
|
+
class IngressSource
|
|
410
|
+
# @private
|
|
411
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
412
|
+
property :access_level, as: 'accessLevel'
|
|
413
|
+
property :resource, as: 'resource'
|
|
414
|
+
end
|
|
415
|
+
end
|
|
416
|
+
|
|
417
|
+
class IngressTo
|
|
418
|
+
# @private
|
|
419
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
420
|
+
collection :operations, as: 'operations', class: Google::Apis::AccesscontextmanagerV1::ApiOperation, decorator: Google::Apis::AccesscontextmanagerV1::ApiOperation::Representation
|
|
421
|
+
|
|
422
|
+
collection :resources, as: 'resources'
|
|
423
|
+
end
|
|
424
|
+
end
|
|
425
|
+
|
|
426
|
+
class ListAccessLevelsResponse
|
|
427
|
+
# @private
|
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
429
|
+
collection :access_levels, as: 'accessLevels', class: Google::Apis::AccesscontextmanagerV1::AccessLevel, decorator: Google::Apis::AccesscontextmanagerV1::AccessLevel::Representation
|
|
430
|
+
|
|
431
|
+
property :next_page_token, as: 'nextPageToken'
|
|
432
|
+
end
|
|
433
|
+
end
|
|
434
|
+
|
|
435
|
+
class ListAccessPoliciesResponse
|
|
436
|
+
# @private
|
|
437
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
438
|
+
collection :access_policies, as: 'accessPolicies', class: Google::Apis::AccesscontextmanagerV1::AccessPolicy, decorator: Google::Apis::AccesscontextmanagerV1::AccessPolicy::Representation
|
|
439
|
+
|
|
440
|
+
property :next_page_token, as: 'nextPageToken'
|
|
441
|
+
end
|
|
442
|
+
end
|
|
443
|
+
|
|
444
|
+
class ListGcpUserAccessBindingsResponse
|
|
445
|
+
# @private
|
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
447
|
+
collection :gcp_user_access_bindings, as: 'gcpUserAccessBindings', class: Google::Apis::AccesscontextmanagerV1::GcpUserAccessBinding, decorator: Google::Apis::AccesscontextmanagerV1::GcpUserAccessBinding::Representation
|
|
448
|
+
|
|
449
|
+
property :next_page_token, as: 'nextPageToken'
|
|
450
|
+
end
|
|
451
|
+
end
|
|
452
|
+
|
|
453
|
+
class ListOperationsResponse
|
|
454
|
+
# @private
|
|
455
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
456
|
+
property :next_page_token, as: 'nextPageToken'
|
|
457
|
+
collection :operations, as: 'operations', class: Google::Apis::AccesscontextmanagerV1::Operation, decorator: Google::Apis::AccesscontextmanagerV1::Operation::Representation
|
|
458
|
+
|
|
459
|
+
end
|
|
460
|
+
end
|
|
461
|
+
|
|
462
|
+
class ListServicePerimetersResponse
|
|
463
|
+
# @private
|
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
465
|
+
property :next_page_token, as: 'nextPageToken'
|
|
466
|
+
collection :service_perimeters, as: 'servicePerimeters', class: Google::Apis::AccesscontextmanagerV1::ServicePerimeter, decorator: Google::Apis::AccesscontextmanagerV1::ServicePerimeter::Representation
|
|
467
|
+
|
|
468
|
+
end
|
|
469
|
+
end
|
|
470
|
+
|
|
471
|
+
class MethodSelector
|
|
472
|
+
# @private
|
|
473
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
474
|
+
property :method_prop, as: 'method'
|
|
475
|
+
property :permission, as: 'permission'
|
|
476
|
+
end
|
|
477
|
+
end
|
|
478
|
+
|
|
479
|
+
class Operation
|
|
480
|
+
# @private
|
|
481
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
482
|
+
property :done, as: 'done'
|
|
483
|
+
property :error, as: 'error', class: Google::Apis::AccesscontextmanagerV1::Status, decorator: Google::Apis::AccesscontextmanagerV1::Status::Representation
|
|
484
|
+
|
|
485
|
+
hash :metadata, as: 'metadata'
|
|
486
|
+
property :name, as: 'name'
|
|
487
|
+
hash :response, as: 'response'
|
|
488
|
+
end
|
|
489
|
+
end
|
|
490
|
+
|
|
491
|
+
class OsConstraint
|
|
492
|
+
# @private
|
|
493
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
494
|
+
property :minimum_version, as: 'minimumVersion'
|
|
495
|
+
property :os_type, as: 'osType'
|
|
496
|
+
property :require_verified_chrome_os, as: 'requireVerifiedChromeOs'
|
|
497
|
+
end
|
|
498
|
+
end
|
|
499
|
+
|
|
500
|
+
class ReplaceAccessLevelsRequest
|
|
501
|
+
# @private
|
|
502
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
503
|
+
collection :access_levels, as: 'accessLevels', class: Google::Apis::AccesscontextmanagerV1::AccessLevel, decorator: Google::Apis::AccesscontextmanagerV1::AccessLevel::Representation
|
|
504
|
+
|
|
505
|
+
property :etag, as: 'etag'
|
|
506
|
+
end
|
|
507
|
+
end
|
|
508
|
+
|
|
509
|
+
class ReplaceAccessLevelsResponse
|
|
510
|
+
# @private
|
|
511
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
512
|
+
collection :access_levels, as: 'accessLevels', class: Google::Apis::AccesscontextmanagerV1::AccessLevel, decorator: Google::Apis::AccesscontextmanagerV1::AccessLevel::Representation
|
|
513
|
+
|
|
514
|
+
end
|
|
515
|
+
end
|
|
516
|
+
|
|
517
|
+
class ReplaceServicePerimetersRequest
|
|
518
|
+
# @private
|
|
519
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
520
|
+
property :etag, as: 'etag'
|
|
521
|
+
collection :service_perimeters, as: 'servicePerimeters', class: Google::Apis::AccesscontextmanagerV1::ServicePerimeter, decorator: Google::Apis::AccesscontextmanagerV1::ServicePerimeter::Representation
|
|
522
|
+
|
|
523
|
+
end
|
|
524
|
+
end
|
|
525
|
+
|
|
526
|
+
class ReplaceServicePerimetersResponse
|
|
527
|
+
# @private
|
|
528
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
529
|
+
collection :service_perimeters, as: 'servicePerimeters', class: Google::Apis::AccesscontextmanagerV1::ServicePerimeter, decorator: Google::Apis::AccesscontextmanagerV1::ServicePerimeter::Representation
|
|
530
|
+
|
|
531
|
+
end
|
|
532
|
+
end
|
|
533
|
+
|
|
534
|
+
class ServicePerimeter
|
|
535
|
+
# @private
|
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
537
|
+
property :description, as: 'description'
|
|
538
|
+
property :name, as: 'name'
|
|
539
|
+
property :perimeter_type, as: 'perimeterType'
|
|
540
|
+
property :spec, as: 'spec', class: Google::Apis::AccesscontextmanagerV1::ServicePerimeterConfig, decorator: Google::Apis::AccesscontextmanagerV1::ServicePerimeterConfig::Representation
|
|
541
|
+
|
|
542
|
+
property :status, as: 'status', class: Google::Apis::AccesscontextmanagerV1::ServicePerimeterConfig, decorator: Google::Apis::AccesscontextmanagerV1::ServicePerimeterConfig::Representation
|
|
543
|
+
|
|
544
|
+
property :title, as: 'title'
|
|
545
|
+
property :use_explicit_dry_run_spec, as: 'useExplicitDryRunSpec'
|
|
546
|
+
end
|
|
547
|
+
end
|
|
548
|
+
|
|
549
|
+
class ServicePerimeterConfig
|
|
550
|
+
# @private
|
|
551
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
552
|
+
collection :access_levels, as: 'accessLevels'
|
|
553
|
+
collection :egress_policies, as: 'egressPolicies', class: Google::Apis::AccesscontextmanagerV1::EgressPolicy, decorator: Google::Apis::AccesscontextmanagerV1::EgressPolicy::Representation
|
|
554
|
+
|
|
555
|
+
collection :ingress_policies, as: 'ingressPolicies', class: Google::Apis::AccesscontextmanagerV1::IngressPolicy, decorator: Google::Apis::AccesscontextmanagerV1::IngressPolicy::Representation
|
|
556
|
+
|
|
557
|
+
collection :resources, as: 'resources'
|
|
558
|
+
collection :restricted_services, as: 'restrictedServices'
|
|
559
|
+
property :vpc_accessible_services, as: 'vpcAccessibleServices', class: Google::Apis::AccesscontextmanagerV1::VpcAccessibleServices, decorator: Google::Apis::AccesscontextmanagerV1::VpcAccessibleServices::Representation
|
|
560
|
+
|
|
561
|
+
end
|
|
562
|
+
end
|
|
563
|
+
|
|
564
|
+
class Status
|
|
565
|
+
# @private
|
|
566
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
567
|
+
property :code, as: 'code'
|
|
568
|
+
collection :details, as: 'details'
|
|
569
|
+
property :message, as: 'message'
|
|
570
|
+
end
|
|
571
|
+
end
|
|
572
|
+
|
|
573
|
+
class VpcAccessibleServices
|
|
574
|
+
# @private
|
|
575
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
576
|
+
collection :allowed_services, as: 'allowedServices'
|
|
577
|
+
property :enable_restriction, as: 'enableRestriction'
|
|
578
|
+
end
|
|
579
|
+
end
|
|
580
|
+
end
|
|
581
|
+
end
|
|
582
|
+
end
|