google-apis-run_v2 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.
@@ -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 RunV2
18
+ # Version of the google-apis-run_v2 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.4.0"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20220103"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,638 @@
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 RunV2
24
+
25
+ class GoogleCloudRunOpV2BinaryAuthorization
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class GoogleCloudRunOpV2CloudSqlInstance
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GoogleCloudRunOpV2Condition
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class GoogleCloudRunOpV2Container
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GoogleCloudRunOpV2ContainerPort
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class GoogleCloudRunOpV2ContainerStatus
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class GoogleCloudRunOpV2EnvVar
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GoogleCloudRunOpV2EnvVarSource
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GoogleCloudRunOpV2ListRevisionsResponse
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GoogleCloudRunOpV2ListServicesResponse
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudRunOpV2ResourceRequirements
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleCloudRunOpV2Revision
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleCloudRunOpV2RevisionScaling
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleCloudRunOpV2RevisionTemplate
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleCloudRunOpV2SecretKeySelector
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleCloudRunOpV2SecretVolumeSource
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GoogleCloudRunOpV2Service
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GoogleCloudRunOpV2TrafficTarget
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleCloudRunOpV2TrafficTargetStatus
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GoogleCloudRunOpV2VersionToPath
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GoogleCloudRunOpV2Volume
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GoogleCloudRunOpV2VolumeMount
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleCloudRunOpV2VpcAccess
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GoogleIamV1AuditConfig
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GoogleIamV1AuditLogConfig
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GoogleIamV1Binding
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class GoogleIamV1Policy
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class GoogleIamV1SetIamPolicyRequest
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class GoogleIamV1TestIamPermissionsRequest
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class GoogleIamV1TestIamPermissionsResponse
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GoogleLongrunningListOperationsResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class GoogleLongrunningOperation
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class GoogleProtobufEmpty
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class GoogleRpcStatus
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleTypeExpr
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class GoogleCloudRunOpV2BinaryAuthorization
236
+ # @private
237
+ class Representation < Google::Apis::Core::JsonRepresentation
238
+ property :breakglass_justification, as: 'breakglassJustification'
239
+ property :use_default, as: 'useDefault'
240
+ end
241
+ end
242
+
243
+ class GoogleCloudRunOpV2CloudSqlInstance
244
+ # @private
245
+ class Representation < Google::Apis::Core::JsonRepresentation
246
+ collection :connections, as: 'connections'
247
+ end
248
+ end
249
+
250
+ class GoogleCloudRunOpV2Condition
251
+ # @private
252
+ class Representation < Google::Apis::Core::JsonRepresentation
253
+ property :domain_mapping_reason, as: 'domainMappingReason'
254
+ property :execution_reason, as: 'executionReason'
255
+ property :internal_reason, as: 'internalReason'
256
+ property :last_transition_time, as: 'lastTransitionTime'
257
+ property :message, as: 'message'
258
+ property :reason, as: 'reason'
259
+ property :revision_reason, as: 'revisionReason'
260
+ property :severity, as: 'severity'
261
+ property :state, as: 'state'
262
+ property :type, as: 'type'
263
+ end
264
+ end
265
+
266
+ class GoogleCloudRunOpV2Container
267
+ # @private
268
+ class Representation < Google::Apis::Core::JsonRepresentation
269
+ collection :args, as: 'args'
270
+ collection :command, as: 'command'
271
+ collection :env, as: 'env', class: Google::Apis::RunV2::GoogleCloudRunOpV2EnvVar, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2EnvVar::Representation
272
+
273
+ property :image, as: 'image'
274
+ property :name, as: 'name'
275
+ collection :ports, as: 'ports', class: Google::Apis::RunV2::GoogleCloudRunOpV2ContainerPort, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2ContainerPort::Representation
276
+
277
+ property :resources, as: 'resources', class: Google::Apis::RunV2::GoogleCloudRunOpV2ResourceRequirements, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2ResourceRequirements::Representation
278
+
279
+ collection :volume_mounts, as: 'volumeMounts', class: Google::Apis::RunV2::GoogleCloudRunOpV2VolumeMount, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2VolumeMount::Representation
280
+
281
+ end
282
+ end
283
+
284
+ class GoogleCloudRunOpV2ContainerPort
285
+ # @private
286
+ class Representation < Google::Apis::Core::JsonRepresentation
287
+ property :container_port, as: 'containerPort'
288
+ property :name, as: 'name'
289
+ end
290
+ end
291
+
292
+ class GoogleCloudRunOpV2ContainerStatus
293
+ # @private
294
+ class Representation < Google::Apis::Core::JsonRepresentation
295
+ property :image_digest, as: 'imageDigest'
296
+ property :name, as: 'name'
297
+ end
298
+ end
299
+
300
+ class GoogleCloudRunOpV2EnvVar
301
+ # @private
302
+ class Representation < Google::Apis::Core::JsonRepresentation
303
+ property :name, as: 'name'
304
+ property :value, as: 'value'
305
+ property :value_source, as: 'valueSource', class: Google::Apis::RunV2::GoogleCloudRunOpV2EnvVarSource, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2EnvVarSource::Representation
306
+
307
+ end
308
+ end
309
+
310
+ class GoogleCloudRunOpV2EnvVarSource
311
+ # @private
312
+ class Representation < Google::Apis::Core::JsonRepresentation
313
+ property :secret_key_ref, as: 'secretKeyRef', class: Google::Apis::RunV2::GoogleCloudRunOpV2SecretKeySelector, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2SecretKeySelector::Representation
314
+
315
+ end
316
+ end
317
+
318
+ class GoogleCloudRunOpV2ListRevisionsResponse
319
+ # @private
320
+ class Representation < Google::Apis::Core::JsonRepresentation
321
+ property :next_page_token, as: 'nextPageToken'
322
+ collection :revisions, as: 'revisions', class: Google::Apis::RunV2::GoogleCloudRunOpV2Revision, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2Revision::Representation
323
+
324
+ end
325
+ end
326
+
327
+ class GoogleCloudRunOpV2ListServicesResponse
328
+ # @private
329
+ class Representation < Google::Apis::Core::JsonRepresentation
330
+ property :next_page_token, as: 'nextPageToken'
331
+ collection :services, as: 'services', class: Google::Apis::RunV2::GoogleCloudRunOpV2Service, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2Service::Representation
332
+
333
+ end
334
+ end
335
+
336
+ class GoogleCloudRunOpV2ResourceRequirements
337
+ # @private
338
+ class Representation < Google::Apis::Core::JsonRepresentation
339
+ property :cpu_idle, as: 'cpuIdle'
340
+ hash :limits, as: 'limits'
341
+ end
342
+ end
343
+
344
+ class GoogleCloudRunOpV2Revision
345
+ # @private
346
+ class Representation < Google::Apis::Core::JsonRepresentation
347
+ hash :annotations, as: 'annotations'
348
+ collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunOpV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2Condition::Representation
349
+
350
+ property :confidential, as: 'confidential'
351
+ property :container_concurrency, as: 'containerConcurrency'
352
+ collection :container_statuses, as: 'containerStatuses', class: Google::Apis::RunV2::GoogleCloudRunOpV2ContainerStatus, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2ContainerStatus::Representation
353
+
354
+ collection :containers, as: 'containers', class: Google::Apis::RunV2::GoogleCloudRunOpV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2Container::Representation
355
+
356
+ property :create_time, as: 'createTime'
357
+ property :delete_time, as: 'deleteTime'
358
+ property :encryption_key, as: 'encryptionKey'
359
+ property :etag, as: 'etag'
360
+ property :execution_environment, as: 'executionEnvironment'
361
+ property :expire_time, as: 'expireTime'
362
+ property :generation, :numeric_string => true, as: 'generation'
363
+ hash :labels, as: 'labels'
364
+ property :launch_stage, as: 'launchStage'
365
+ property :log_uri, as: 'logUri'
366
+ property :name, as: 'name'
367
+ property :observed_generation, :numeric_string => true, as: 'observedGeneration'
368
+ property :reconciling, as: 'reconciling'
369
+ property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunOpV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2RevisionScaling::Representation
370
+
371
+ property :service, as: 'service'
372
+ property :service_account, as: 'serviceAccount'
373
+ property :timeout, as: 'timeout'
374
+ property :uid, as: 'uid'
375
+ property :update_time, as: 'updateTime'
376
+ collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleCloudRunOpV2Volume, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2Volume::Representation
377
+
378
+ property :vpc_access, as: 'vpcAccess', class: Google::Apis::RunV2::GoogleCloudRunOpV2VpcAccess, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2VpcAccess::Representation
379
+
380
+ end
381
+ end
382
+
383
+ class GoogleCloudRunOpV2RevisionScaling
384
+ # @private
385
+ class Representation < Google::Apis::Core::JsonRepresentation
386
+ property :max_instance_count, as: 'maxInstanceCount'
387
+ property :min_instance_count, as: 'minInstanceCount'
388
+ end
389
+ end
390
+
391
+ class GoogleCloudRunOpV2RevisionTemplate
392
+ # @private
393
+ class Representation < Google::Apis::Core::JsonRepresentation
394
+ hash :annotations, as: 'annotations'
395
+ property :confidential, as: 'confidential'
396
+ property :container_concurrency, as: 'containerConcurrency'
397
+ collection :containers, as: 'containers', class: Google::Apis::RunV2::GoogleCloudRunOpV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2Container::Representation
398
+
399
+ property :encryption_key, as: 'encryptionKey'
400
+ property :execution_environment, as: 'executionEnvironment'
401
+ hash :labels, as: 'labels'
402
+ property :revision, as: 'revision'
403
+ property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunOpV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2RevisionScaling::Representation
404
+
405
+ property :service_account, as: 'serviceAccount'
406
+ property :timeout, as: 'timeout'
407
+ collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleCloudRunOpV2Volume, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2Volume::Representation
408
+
409
+ property :vpc_access, as: 'vpcAccess', class: Google::Apis::RunV2::GoogleCloudRunOpV2VpcAccess, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2VpcAccess::Representation
410
+
411
+ end
412
+ end
413
+
414
+ class GoogleCloudRunOpV2SecretKeySelector
415
+ # @private
416
+ class Representation < Google::Apis::Core::JsonRepresentation
417
+ property :secret, as: 'secret'
418
+ property :version, as: 'version'
419
+ end
420
+ end
421
+
422
+ class GoogleCloudRunOpV2SecretVolumeSource
423
+ # @private
424
+ class Representation < Google::Apis::Core::JsonRepresentation
425
+ property :default_mode, as: 'defaultMode'
426
+ collection :items, as: 'items', class: Google::Apis::RunV2::GoogleCloudRunOpV2VersionToPath, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2VersionToPath::Representation
427
+
428
+ property :secret, as: 'secret'
429
+ end
430
+ end
431
+
432
+ class GoogleCloudRunOpV2Service
433
+ # @private
434
+ class Representation < Google::Apis::Core::JsonRepresentation
435
+ hash :annotations, as: 'annotations'
436
+ property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::RunV2::GoogleCloudRunOpV2BinaryAuthorization, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2BinaryAuthorization::Representation
437
+
438
+ property :client, as: 'client'
439
+ property :client_version, as: 'clientVersion'
440
+ collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunOpV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2Condition::Representation
441
+
442
+ property :create_time, as: 'createTime'
443
+ property :creator, as: 'creator'
444
+ property :delete_time, as: 'deleteTime'
445
+ property :description, as: 'description'
446
+ property :etag, as: 'etag'
447
+ property :expire_time, as: 'expireTime'
448
+ property :generation, :numeric_string => true, as: 'generation'
449
+ property :ingress, as: 'ingress'
450
+ hash :labels, as: 'labels'
451
+ property :last_modifier, as: 'lastModifier'
452
+ property :latest_created_revision, as: 'latestCreatedRevision'
453
+ property :latest_ready_revision, as: 'latestReadyRevision'
454
+ property :launch_stage, as: 'launchStage'
455
+ property :name, as: 'name'
456
+ property :observed_generation, :numeric_string => true, as: 'observedGeneration'
457
+ property :reconciling, as: 'reconciling'
458
+ property :template, as: 'template', class: Google::Apis::RunV2::GoogleCloudRunOpV2RevisionTemplate, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2RevisionTemplate::Representation
459
+
460
+ property :terminal_condition, as: 'terminalCondition', class: Google::Apis::RunV2::GoogleCloudRunOpV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2Condition::Representation
461
+
462
+ collection :traffic, as: 'traffic', class: Google::Apis::RunV2::GoogleCloudRunOpV2TrafficTarget, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2TrafficTarget::Representation
463
+
464
+ collection :traffic_statuses, as: 'trafficStatuses', class: Google::Apis::RunV2::GoogleCloudRunOpV2TrafficTargetStatus, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2TrafficTargetStatus::Representation
465
+
466
+ property :uid, as: 'uid'
467
+ property :update_time, as: 'updateTime'
468
+ property :uri, as: 'uri'
469
+ end
470
+ end
471
+
472
+ class GoogleCloudRunOpV2TrafficTarget
473
+ # @private
474
+ class Representation < Google::Apis::Core::JsonRepresentation
475
+ property :percent, as: 'percent'
476
+ property :revision, as: 'revision'
477
+ property :tag, as: 'tag'
478
+ property :type, as: 'type'
479
+ end
480
+ end
481
+
482
+ class GoogleCloudRunOpV2TrafficTargetStatus
483
+ # @private
484
+ class Representation < Google::Apis::Core::JsonRepresentation
485
+ property :percent, as: 'percent'
486
+ property :revision, as: 'revision'
487
+ property :tag, as: 'tag'
488
+ property :type, as: 'type'
489
+ property :uri, as: 'uri'
490
+ end
491
+ end
492
+
493
+ class GoogleCloudRunOpV2VersionToPath
494
+ # @private
495
+ class Representation < Google::Apis::Core::JsonRepresentation
496
+ property :mode, as: 'mode'
497
+ property :path, as: 'path'
498
+ property :version, as: 'version'
499
+ end
500
+ end
501
+
502
+ class GoogleCloudRunOpV2Volume
503
+ # @private
504
+ class Representation < Google::Apis::Core::JsonRepresentation
505
+ property :cloud_sql_instance, as: 'cloudSqlInstance', class: Google::Apis::RunV2::GoogleCloudRunOpV2CloudSqlInstance, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2CloudSqlInstance::Representation
506
+
507
+ property :name, as: 'name'
508
+ property :secret, as: 'secret', class: Google::Apis::RunV2::GoogleCloudRunOpV2SecretVolumeSource, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2SecretVolumeSource::Representation
509
+
510
+ end
511
+ end
512
+
513
+ class GoogleCloudRunOpV2VolumeMount
514
+ # @private
515
+ class Representation < Google::Apis::Core::JsonRepresentation
516
+ property :mount_path, as: 'mountPath'
517
+ property :name, as: 'name'
518
+ end
519
+ end
520
+
521
+ class GoogleCloudRunOpV2VpcAccess
522
+ # @private
523
+ class Representation < Google::Apis::Core::JsonRepresentation
524
+ property :connector, as: 'connector'
525
+ property :egress, as: 'egress'
526
+ end
527
+ end
528
+
529
+ class GoogleIamV1AuditConfig
530
+ # @private
531
+ class Representation < Google::Apis::Core::JsonRepresentation
532
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::RunV2::GoogleIamV1AuditLogConfig, decorator: Google::Apis::RunV2::GoogleIamV1AuditLogConfig::Representation
533
+
534
+ property :service, as: 'service'
535
+ end
536
+ end
537
+
538
+ class GoogleIamV1AuditLogConfig
539
+ # @private
540
+ class Representation < Google::Apis::Core::JsonRepresentation
541
+ collection :exempted_members, as: 'exemptedMembers'
542
+ property :log_type, as: 'logType'
543
+ end
544
+ end
545
+
546
+ class GoogleIamV1Binding
547
+ # @private
548
+ class Representation < Google::Apis::Core::JsonRepresentation
549
+ property :condition, as: 'condition', class: Google::Apis::RunV2::GoogleTypeExpr, decorator: Google::Apis::RunV2::GoogleTypeExpr::Representation
550
+
551
+ collection :members, as: 'members'
552
+ property :role, as: 'role'
553
+ end
554
+ end
555
+
556
+ class GoogleIamV1Policy
557
+ # @private
558
+ class Representation < Google::Apis::Core::JsonRepresentation
559
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::RunV2::GoogleIamV1AuditConfig, decorator: Google::Apis::RunV2::GoogleIamV1AuditConfig::Representation
560
+
561
+ collection :bindings, as: 'bindings', class: Google::Apis::RunV2::GoogleIamV1Binding, decorator: Google::Apis::RunV2::GoogleIamV1Binding::Representation
562
+
563
+ property :etag, :base64 => true, as: 'etag'
564
+ property :version, as: 'version'
565
+ end
566
+ end
567
+
568
+ class GoogleIamV1SetIamPolicyRequest
569
+ # @private
570
+ class Representation < Google::Apis::Core::JsonRepresentation
571
+ property :policy, as: 'policy', class: Google::Apis::RunV2::GoogleIamV1Policy, decorator: Google::Apis::RunV2::GoogleIamV1Policy::Representation
572
+
573
+ property :update_mask, as: 'updateMask'
574
+ end
575
+ end
576
+
577
+ class GoogleIamV1TestIamPermissionsRequest
578
+ # @private
579
+ class Representation < Google::Apis::Core::JsonRepresentation
580
+ collection :permissions, as: 'permissions'
581
+ end
582
+ end
583
+
584
+ class GoogleIamV1TestIamPermissionsResponse
585
+ # @private
586
+ class Representation < Google::Apis::Core::JsonRepresentation
587
+ collection :permissions, as: 'permissions'
588
+ end
589
+ end
590
+
591
+ class GoogleLongrunningListOperationsResponse
592
+ # @private
593
+ class Representation < Google::Apis::Core::JsonRepresentation
594
+ property :next_page_token, as: 'nextPageToken'
595
+ collection :operations, as: 'operations', class: Google::Apis::RunV2::GoogleLongrunningOperation, decorator: Google::Apis::RunV2::GoogleLongrunningOperation::Representation
596
+
597
+ end
598
+ end
599
+
600
+ class GoogleLongrunningOperation
601
+ # @private
602
+ class Representation < Google::Apis::Core::JsonRepresentation
603
+ property :done, as: 'done'
604
+ property :error, as: 'error', class: Google::Apis::RunV2::GoogleRpcStatus, decorator: Google::Apis::RunV2::GoogleRpcStatus::Representation
605
+
606
+ hash :metadata, as: 'metadata'
607
+ property :name, as: 'name'
608
+ hash :response, as: 'response'
609
+ end
610
+ end
611
+
612
+ class GoogleProtobufEmpty
613
+ # @private
614
+ class Representation < Google::Apis::Core::JsonRepresentation
615
+ end
616
+ end
617
+
618
+ class GoogleRpcStatus
619
+ # @private
620
+ class Representation < Google::Apis::Core::JsonRepresentation
621
+ property :code, as: 'code'
622
+ collection :details, as: 'details'
623
+ property :message, as: 'message'
624
+ end
625
+ end
626
+
627
+ class GoogleTypeExpr
628
+ # @private
629
+ class Representation < Google::Apis::Core::JsonRepresentation
630
+ property :description, as: 'description'
631
+ property :expression, as: 'expression'
632
+ property :location, as: 'location'
633
+ property :title, as: 'title'
634
+ end
635
+ end
636
+ end
637
+ end
638
+ end