google-apis-apigateway_v1beta 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 ApigatewayV1beta
18
+ # Version of the google-apis-apigateway_v1beta 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 = "20201211"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,471 @@
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 ApigatewayV1beta
24
+
25
+ class ApigatewayApi
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class ApigatewayApiConfig
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class ApigatewayApiConfigFile
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class ApigatewayApiConfigGrpcServiceDefinition
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class ApigatewayApiConfigOpenApiDocument
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class ApigatewayAuditConfig
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class ApigatewayAuditLogConfig
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class ApigatewayBackendConfig
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class ApigatewayBinding
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class ApigatewayCancelOperationRequest
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class ApigatewayExpr
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class ApigatewayGateway
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ApigatewayGatewayConfig
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class ApigatewayListApiConfigsResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class ApigatewayListApisResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class ApigatewayListGatewaysResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class ApigatewayListLocationsResponse
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ApigatewayListOperationsResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ApigatewayLocation
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ApigatewayOperation
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ApigatewayOperationMetadata
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ApigatewayOperationMetadataDiagnostic
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ApigatewayPolicy
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class ApigatewaySetIamPolicyRequest
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class ApigatewayStatus
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class ApigatewayTestIamPermissionsRequest
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class ApigatewayTestIamPermissionsResponse
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class Empty
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class ApigatewayApi
194
+ # @private
195
+ class Representation < Google::Apis::Core::JsonRepresentation
196
+ property :create_time, as: 'createTime'
197
+ property :display_name, as: 'displayName'
198
+ hash :labels, as: 'labels'
199
+ property :managed_service, as: 'managedService'
200
+ property :name, as: 'name'
201
+ property :state, as: 'state'
202
+ property :update_time, as: 'updateTime'
203
+ end
204
+ end
205
+
206
+ class ApigatewayApiConfig
207
+ # @private
208
+ class Representation < Google::Apis::Core::JsonRepresentation
209
+ property :create_time, as: 'createTime'
210
+ property :display_name, as: 'displayName'
211
+ property :gateway_config, as: 'gatewayConfig', class: Google::Apis::ApigatewayV1beta::ApigatewayGatewayConfig, decorator: Google::Apis::ApigatewayV1beta::ApigatewayGatewayConfig::Representation
212
+
213
+ property :gateway_service_account, as: 'gatewayServiceAccount'
214
+ collection :grpc_services, as: 'grpcServices', class: Google::Apis::ApigatewayV1beta::ApigatewayApiConfigGrpcServiceDefinition, decorator: Google::Apis::ApigatewayV1beta::ApigatewayApiConfigGrpcServiceDefinition::Representation
215
+
216
+ hash :labels, as: 'labels'
217
+ collection :managed_service_configs, as: 'managedServiceConfigs', class: Google::Apis::ApigatewayV1beta::ApigatewayApiConfigFile, decorator: Google::Apis::ApigatewayV1beta::ApigatewayApiConfigFile::Representation
218
+
219
+ property :name, as: 'name'
220
+ collection :openapi_documents, as: 'openapiDocuments', class: Google::Apis::ApigatewayV1beta::ApigatewayApiConfigOpenApiDocument, decorator: Google::Apis::ApigatewayV1beta::ApigatewayApiConfigOpenApiDocument::Representation
221
+
222
+ property :service_config_id, as: 'serviceConfigId'
223
+ property :state, as: 'state'
224
+ property :update_time, as: 'updateTime'
225
+ end
226
+ end
227
+
228
+ class ApigatewayApiConfigFile
229
+ # @private
230
+ class Representation < Google::Apis::Core::JsonRepresentation
231
+ property :contents, :base64 => true, as: 'contents'
232
+ property :path, as: 'path'
233
+ end
234
+ end
235
+
236
+ class ApigatewayApiConfigGrpcServiceDefinition
237
+ # @private
238
+ class Representation < Google::Apis::Core::JsonRepresentation
239
+ property :file_descriptor_set, as: 'fileDescriptorSet', class: Google::Apis::ApigatewayV1beta::ApigatewayApiConfigFile, decorator: Google::Apis::ApigatewayV1beta::ApigatewayApiConfigFile::Representation
240
+
241
+ collection :source, as: 'source', class: Google::Apis::ApigatewayV1beta::ApigatewayApiConfigFile, decorator: Google::Apis::ApigatewayV1beta::ApigatewayApiConfigFile::Representation
242
+
243
+ end
244
+ end
245
+
246
+ class ApigatewayApiConfigOpenApiDocument
247
+ # @private
248
+ class Representation < Google::Apis::Core::JsonRepresentation
249
+ property :document, as: 'document', class: Google::Apis::ApigatewayV1beta::ApigatewayApiConfigFile, decorator: Google::Apis::ApigatewayV1beta::ApigatewayApiConfigFile::Representation
250
+
251
+ end
252
+ end
253
+
254
+ class ApigatewayAuditConfig
255
+ # @private
256
+ class Representation < Google::Apis::Core::JsonRepresentation
257
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::ApigatewayV1beta::ApigatewayAuditLogConfig, decorator: Google::Apis::ApigatewayV1beta::ApigatewayAuditLogConfig::Representation
258
+
259
+ property :service, as: 'service'
260
+ end
261
+ end
262
+
263
+ class ApigatewayAuditLogConfig
264
+ # @private
265
+ class Representation < Google::Apis::Core::JsonRepresentation
266
+ collection :exempted_members, as: 'exemptedMembers'
267
+ property :log_type, as: 'logType'
268
+ end
269
+ end
270
+
271
+ class ApigatewayBackendConfig
272
+ # @private
273
+ class Representation < Google::Apis::Core::JsonRepresentation
274
+ property :google_service_account, as: 'googleServiceAccount'
275
+ end
276
+ end
277
+
278
+ class ApigatewayBinding
279
+ # @private
280
+ class Representation < Google::Apis::Core::JsonRepresentation
281
+ property :condition, as: 'condition', class: Google::Apis::ApigatewayV1beta::ApigatewayExpr, decorator: Google::Apis::ApigatewayV1beta::ApigatewayExpr::Representation
282
+
283
+ collection :members, as: 'members'
284
+ property :role, as: 'role'
285
+ end
286
+ end
287
+
288
+ class ApigatewayCancelOperationRequest
289
+ # @private
290
+ class Representation < Google::Apis::Core::JsonRepresentation
291
+ end
292
+ end
293
+
294
+ class ApigatewayExpr
295
+ # @private
296
+ class Representation < Google::Apis::Core::JsonRepresentation
297
+ property :description, as: 'description'
298
+ property :expression, as: 'expression'
299
+ property :location, as: 'location'
300
+ property :title, as: 'title'
301
+ end
302
+ end
303
+
304
+ class ApigatewayGateway
305
+ # @private
306
+ class Representation < Google::Apis::Core::JsonRepresentation
307
+ property :api_config, as: 'apiConfig'
308
+ property :create_time, as: 'createTime'
309
+ property :default_hostname, as: 'defaultHostname'
310
+ property :display_name, as: 'displayName'
311
+ hash :labels, as: 'labels'
312
+ property :name, as: 'name'
313
+ property :state, as: 'state'
314
+ property :update_time, as: 'updateTime'
315
+ end
316
+ end
317
+
318
+ class ApigatewayGatewayConfig
319
+ # @private
320
+ class Representation < Google::Apis::Core::JsonRepresentation
321
+ property :backend_config, as: 'backendConfig', class: Google::Apis::ApigatewayV1beta::ApigatewayBackendConfig, decorator: Google::Apis::ApigatewayV1beta::ApigatewayBackendConfig::Representation
322
+
323
+ end
324
+ end
325
+
326
+ class ApigatewayListApiConfigsResponse
327
+ # @private
328
+ class Representation < Google::Apis::Core::JsonRepresentation
329
+ collection :api_configs, as: 'apiConfigs', class: Google::Apis::ApigatewayV1beta::ApigatewayApiConfig, decorator: Google::Apis::ApigatewayV1beta::ApigatewayApiConfig::Representation
330
+
331
+ property :next_page_token, as: 'nextPageToken'
332
+ collection :unreachable_locations, as: 'unreachableLocations'
333
+ end
334
+ end
335
+
336
+ class ApigatewayListApisResponse
337
+ # @private
338
+ class Representation < Google::Apis::Core::JsonRepresentation
339
+ collection :apis, as: 'apis', class: Google::Apis::ApigatewayV1beta::ApigatewayApi, decorator: Google::Apis::ApigatewayV1beta::ApigatewayApi::Representation
340
+
341
+ property :next_page_token, as: 'nextPageToken'
342
+ collection :unreachable_locations, as: 'unreachableLocations'
343
+ end
344
+ end
345
+
346
+ class ApigatewayListGatewaysResponse
347
+ # @private
348
+ class Representation < Google::Apis::Core::JsonRepresentation
349
+ collection :gateways, as: 'gateways', class: Google::Apis::ApigatewayV1beta::ApigatewayGateway, decorator: Google::Apis::ApigatewayV1beta::ApigatewayGateway::Representation
350
+
351
+ property :next_page_token, as: 'nextPageToken'
352
+ collection :unreachable_locations, as: 'unreachableLocations'
353
+ end
354
+ end
355
+
356
+ class ApigatewayListLocationsResponse
357
+ # @private
358
+ class Representation < Google::Apis::Core::JsonRepresentation
359
+ collection :locations, as: 'locations', class: Google::Apis::ApigatewayV1beta::ApigatewayLocation, decorator: Google::Apis::ApigatewayV1beta::ApigatewayLocation::Representation
360
+
361
+ property :next_page_token, as: 'nextPageToken'
362
+ end
363
+ end
364
+
365
+ class ApigatewayListOperationsResponse
366
+ # @private
367
+ class Representation < Google::Apis::Core::JsonRepresentation
368
+ property :next_page_token, as: 'nextPageToken'
369
+ collection :operations, as: 'operations', class: Google::Apis::ApigatewayV1beta::ApigatewayOperation, decorator: Google::Apis::ApigatewayV1beta::ApigatewayOperation::Representation
370
+
371
+ end
372
+ end
373
+
374
+ class ApigatewayLocation
375
+ # @private
376
+ class Representation < Google::Apis::Core::JsonRepresentation
377
+ property :display_name, as: 'displayName'
378
+ hash :labels, as: 'labels'
379
+ property :location_id, as: 'locationId'
380
+ hash :metadata, as: 'metadata'
381
+ property :name, as: 'name'
382
+ end
383
+ end
384
+
385
+ class ApigatewayOperation
386
+ # @private
387
+ class Representation < Google::Apis::Core::JsonRepresentation
388
+ property :done, as: 'done'
389
+ property :error, as: 'error', class: Google::Apis::ApigatewayV1beta::ApigatewayStatus, decorator: Google::Apis::ApigatewayV1beta::ApigatewayStatus::Representation
390
+
391
+ hash :metadata, as: 'metadata'
392
+ property :name, as: 'name'
393
+ hash :response, as: 'response'
394
+ end
395
+ end
396
+
397
+ class ApigatewayOperationMetadata
398
+ # @private
399
+ class Representation < Google::Apis::Core::JsonRepresentation
400
+ property :api_version, as: 'apiVersion'
401
+ property :create_time, as: 'createTime'
402
+ collection :diagnostics, as: 'diagnostics', class: Google::Apis::ApigatewayV1beta::ApigatewayOperationMetadataDiagnostic, decorator: Google::Apis::ApigatewayV1beta::ApigatewayOperationMetadataDiagnostic::Representation
403
+
404
+ property :end_time, as: 'endTime'
405
+ property :requested_cancellation, as: 'requestedCancellation'
406
+ property :status_message, as: 'statusMessage'
407
+ property :target, as: 'target'
408
+ property :verb, as: 'verb'
409
+ end
410
+ end
411
+
412
+ class ApigatewayOperationMetadataDiagnostic
413
+ # @private
414
+ class Representation < Google::Apis::Core::JsonRepresentation
415
+ property :location, as: 'location'
416
+ property :message, as: 'message'
417
+ end
418
+ end
419
+
420
+ class ApigatewayPolicy
421
+ # @private
422
+ class Representation < Google::Apis::Core::JsonRepresentation
423
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::ApigatewayV1beta::ApigatewayAuditConfig, decorator: Google::Apis::ApigatewayV1beta::ApigatewayAuditConfig::Representation
424
+
425
+ collection :bindings, as: 'bindings', class: Google::Apis::ApigatewayV1beta::ApigatewayBinding, decorator: Google::Apis::ApigatewayV1beta::ApigatewayBinding::Representation
426
+
427
+ property :etag, :base64 => true, as: 'etag'
428
+ property :version, as: 'version'
429
+ end
430
+ end
431
+
432
+ class ApigatewaySetIamPolicyRequest
433
+ # @private
434
+ class Representation < Google::Apis::Core::JsonRepresentation
435
+ property :policy, as: 'policy', class: Google::Apis::ApigatewayV1beta::ApigatewayPolicy, decorator: Google::Apis::ApigatewayV1beta::ApigatewayPolicy::Representation
436
+
437
+ property :update_mask, as: 'updateMask'
438
+ end
439
+ end
440
+
441
+ class ApigatewayStatus
442
+ # @private
443
+ class Representation < Google::Apis::Core::JsonRepresentation
444
+ property :code, as: 'code'
445
+ collection :details, as: 'details'
446
+ property :message, as: 'message'
447
+ end
448
+ end
449
+
450
+ class ApigatewayTestIamPermissionsRequest
451
+ # @private
452
+ class Representation < Google::Apis::Core::JsonRepresentation
453
+ collection :permissions, as: 'permissions'
454
+ end
455
+ end
456
+
457
+ class ApigatewayTestIamPermissionsResponse
458
+ # @private
459
+ class Representation < Google::Apis::Core::JsonRepresentation
460
+ collection :permissions, as: 'permissions'
461
+ end
462
+ end
463
+
464
+ class Empty
465
+ # @private
466
+ class Representation < Google::Apis::Core::JsonRepresentation
467
+ end
468
+ end
469
+ end
470
+ end
471
+ end