google-apis-cloudfunctions_v2beta 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 CloudfunctionsV2beta
18
+ # Version of the google-apis-cloudfunctions_v2beta gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.4.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20220331"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,649 @@
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 CloudfunctionsV2beta
24
+
25
+ class AuditConfig
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AuditLogConfig
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class Binding
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class BuildConfig
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class EventFilter
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class EventTrigger
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class Expr
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class Function
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GenerateDownloadUrlRequest
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GenerateDownloadUrlResponse
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GenerateUploadUrlRequest
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GenerateUploadUrlResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleCloudFunctionsV2alphaOperationMetadata
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleCloudFunctionsV2alphaStage
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleCloudFunctionsV2alphaStateMessage
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleCloudFunctionsV2betaOperationMetadata
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GoogleCloudFunctionsV2betaStage
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GoogleCloudFunctionsV2betaStateMessage
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ListFunctionsResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ListLocationsResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ListOperationsResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ListRuntimesResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class Location
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class Operation
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class OperationMetadataV1
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class Policy
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class RepoSource
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class Runtime
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class SecretEnvVar
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class ServiceConfig
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class SetIamPolicyRequest
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class Source
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class SourceProvenance
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class Status
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class StorageSource
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class TestIamPermissionsRequest
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class TestIamPermissionsResponse
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class AuditConfig
248
+ # @private
249
+ class Representation < Google::Apis::Core::JsonRepresentation
250
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudfunctionsV2beta::AuditLogConfig, decorator: Google::Apis::CloudfunctionsV2beta::AuditLogConfig::Representation
251
+
252
+ property :service, as: 'service'
253
+ end
254
+ end
255
+
256
+ class AuditLogConfig
257
+ # @private
258
+ class Representation < Google::Apis::Core::JsonRepresentation
259
+ collection :exempted_members, as: 'exemptedMembers'
260
+ property :log_type, as: 'logType'
261
+ end
262
+ end
263
+
264
+ class Binding
265
+ # @private
266
+ class Representation < Google::Apis::Core::JsonRepresentation
267
+ property :condition, as: 'condition', class: Google::Apis::CloudfunctionsV2beta::Expr, decorator: Google::Apis::CloudfunctionsV2beta::Expr::Representation
268
+
269
+ collection :members, as: 'members'
270
+ property :role, as: 'role'
271
+ end
272
+ end
273
+
274
+ class BuildConfig
275
+ # @private
276
+ class Representation < Google::Apis::Core::JsonRepresentation
277
+ property :build, as: 'build'
278
+ property :docker_repository, as: 'dockerRepository'
279
+ property :entry_point, as: 'entryPoint'
280
+ hash :environment_variables, as: 'environmentVariables'
281
+ property :runtime, as: 'runtime'
282
+ property :source, as: 'source', class: Google::Apis::CloudfunctionsV2beta::Source, decorator: Google::Apis::CloudfunctionsV2beta::Source::Representation
283
+
284
+ property :source_provenance, as: 'sourceProvenance', class: Google::Apis::CloudfunctionsV2beta::SourceProvenance, decorator: Google::Apis::CloudfunctionsV2beta::SourceProvenance::Representation
285
+
286
+ property :worker_pool, as: 'workerPool'
287
+ end
288
+ end
289
+
290
+ class EventFilter
291
+ # @private
292
+ class Representation < Google::Apis::Core::JsonRepresentation
293
+ property :attribute, as: 'attribute'
294
+ property :operator, as: 'operator'
295
+ property :value, as: 'value'
296
+ end
297
+ end
298
+
299
+ class EventTrigger
300
+ # @private
301
+ class Representation < Google::Apis::Core::JsonRepresentation
302
+ collection :event_filters, as: 'eventFilters', class: Google::Apis::CloudfunctionsV2beta::EventFilter, decorator: Google::Apis::CloudfunctionsV2beta::EventFilter::Representation
303
+
304
+ property :event_type, as: 'eventType'
305
+ property :pubsub_topic, as: 'pubsubTopic'
306
+ property :retry_policy, as: 'retryPolicy'
307
+ property :service_account_email, as: 'serviceAccountEmail'
308
+ property :trigger, as: 'trigger'
309
+ property :trigger_region, as: 'triggerRegion'
310
+ end
311
+ end
312
+
313
+ class Expr
314
+ # @private
315
+ class Representation < Google::Apis::Core::JsonRepresentation
316
+ property :description, as: 'description'
317
+ property :expression, as: 'expression'
318
+ property :location, as: 'location'
319
+ property :title, as: 'title'
320
+ end
321
+ end
322
+
323
+ class Function
324
+ # @private
325
+ class Representation < Google::Apis::Core::JsonRepresentation
326
+ property :build_config, as: 'buildConfig', class: Google::Apis::CloudfunctionsV2beta::BuildConfig, decorator: Google::Apis::CloudfunctionsV2beta::BuildConfig::Representation
327
+
328
+ property :description, as: 'description'
329
+ property :environment, as: 'environment'
330
+ property :event_trigger, as: 'eventTrigger', class: Google::Apis::CloudfunctionsV2beta::EventTrigger, decorator: Google::Apis::CloudfunctionsV2beta::EventTrigger::Representation
331
+
332
+ hash :labels, as: 'labels'
333
+ property :name, as: 'name'
334
+ property :service_config, as: 'serviceConfig', class: Google::Apis::CloudfunctionsV2beta::ServiceConfig, decorator: Google::Apis::CloudfunctionsV2beta::ServiceConfig::Representation
335
+
336
+ property :state, as: 'state'
337
+ collection :state_messages, as: 'stateMessages', class: Google::Apis::CloudfunctionsV2beta::GoogleCloudFunctionsV2betaStateMessage, decorator: Google::Apis::CloudfunctionsV2beta::GoogleCloudFunctionsV2betaStateMessage::Representation
338
+
339
+ property :update_time, as: 'updateTime'
340
+ end
341
+ end
342
+
343
+ class GenerateDownloadUrlRequest
344
+ # @private
345
+ class Representation < Google::Apis::Core::JsonRepresentation
346
+ end
347
+ end
348
+
349
+ class GenerateDownloadUrlResponse
350
+ # @private
351
+ class Representation < Google::Apis::Core::JsonRepresentation
352
+ property :download_url, as: 'downloadUrl'
353
+ end
354
+ end
355
+
356
+ class GenerateUploadUrlRequest
357
+ # @private
358
+ class Representation < Google::Apis::Core::JsonRepresentation
359
+ end
360
+ end
361
+
362
+ class GenerateUploadUrlResponse
363
+ # @private
364
+ class Representation < Google::Apis::Core::JsonRepresentation
365
+ property :storage_source, as: 'storageSource', class: Google::Apis::CloudfunctionsV2beta::StorageSource, decorator: Google::Apis::CloudfunctionsV2beta::StorageSource::Representation
366
+
367
+ property :upload_url, as: 'uploadUrl'
368
+ end
369
+ end
370
+
371
+ class GoogleCloudFunctionsV2alphaOperationMetadata
372
+ # @private
373
+ class Representation < Google::Apis::Core::JsonRepresentation
374
+ property :api_version, as: 'apiVersion'
375
+ property :cancel_requested, as: 'cancelRequested'
376
+ property :create_time, as: 'createTime'
377
+ property :end_time, as: 'endTime'
378
+ hash :request_resource, as: 'requestResource'
379
+ collection :stages, as: 'stages', class: Google::Apis::CloudfunctionsV2beta::GoogleCloudFunctionsV2alphaStage, decorator: Google::Apis::CloudfunctionsV2beta::GoogleCloudFunctionsV2alphaStage::Representation
380
+
381
+ property :status_detail, as: 'statusDetail'
382
+ property :target, as: 'target'
383
+ property :verb, as: 'verb'
384
+ end
385
+ end
386
+
387
+ class GoogleCloudFunctionsV2alphaStage
388
+ # @private
389
+ class Representation < Google::Apis::Core::JsonRepresentation
390
+ property :message, as: 'message'
391
+ property :name, as: 'name'
392
+ property :resource, as: 'resource'
393
+ property :resource_uri, as: 'resourceUri'
394
+ property :state, as: 'state'
395
+ collection :state_messages, as: 'stateMessages', class: Google::Apis::CloudfunctionsV2beta::GoogleCloudFunctionsV2alphaStateMessage, decorator: Google::Apis::CloudfunctionsV2beta::GoogleCloudFunctionsV2alphaStateMessage::Representation
396
+
397
+ end
398
+ end
399
+
400
+ class GoogleCloudFunctionsV2alphaStateMessage
401
+ # @private
402
+ class Representation < Google::Apis::Core::JsonRepresentation
403
+ property :message, as: 'message'
404
+ property :severity, as: 'severity'
405
+ property :type, as: 'type'
406
+ end
407
+ end
408
+
409
+ class GoogleCloudFunctionsV2betaOperationMetadata
410
+ # @private
411
+ class Representation < Google::Apis::Core::JsonRepresentation
412
+ property :api_version, as: 'apiVersion'
413
+ property :cancel_requested, as: 'cancelRequested'
414
+ property :create_time, as: 'createTime'
415
+ property :end_time, as: 'endTime'
416
+ hash :request_resource, as: 'requestResource'
417
+ collection :stages, as: 'stages', class: Google::Apis::CloudfunctionsV2beta::GoogleCloudFunctionsV2betaStage, decorator: Google::Apis::CloudfunctionsV2beta::GoogleCloudFunctionsV2betaStage::Representation
418
+
419
+ property :status_detail, as: 'statusDetail'
420
+ property :target, as: 'target'
421
+ property :verb, as: 'verb'
422
+ end
423
+ end
424
+
425
+ class GoogleCloudFunctionsV2betaStage
426
+ # @private
427
+ class Representation < Google::Apis::Core::JsonRepresentation
428
+ property :message, as: 'message'
429
+ property :name, as: 'name'
430
+ property :resource, as: 'resource'
431
+ property :resource_uri, as: 'resourceUri'
432
+ property :state, as: 'state'
433
+ collection :state_messages, as: 'stateMessages', class: Google::Apis::CloudfunctionsV2beta::GoogleCloudFunctionsV2betaStateMessage, decorator: Google::Apis::CloudfunctionsV2beta::GoogleCloudFunctionsV2betaStateMessage::Representation
434
+
435
+ end
436
+ end
437
+
438
+ class GoogleCloudFunctionsV2betaStateMessage
439
+ # @private
440
+ class Representation < Google::Apis::Core::JsonRepresentation
441
+ property :message, as: 'message'
442
+ property :severity, as: 'severity'
443
+ property :type, as: 'type'
444
+ end
445
+ end
446
+
447
+ class ListFunctionsResponse
448
+ # @private
449
+ class Representation < Google::Apis::Core::JsonRepresentation
450
+ collection :functions, as: 'functions', class: Google::Apis::CloudfunctionsV2beta::Function, decorator: Google::Apis::CloudfunctionsV2beta::Function::Representation
451
+
452
+ property :next_page_token, as: 'nextPageToken'
453
+ collection :unreachable, as: 'unreachable'
454
+ end
455
+ end
456
+
457
+ class ListLocationsResponse
458
+ # @private
459
+ class Representation < Google::Apis::Core::JsonRepresentation
460
+ collection :locations, as: 'locations', class: Google::Apis::CloudfunctionsV2beta::Location, decorator: Google::Apis::CloudfunctionsV2beta::Location::Representation
461
+
462
+ property :next_page_token, as: 'nextPageToken'
463
+ end
464
+ end
465
+
466
+ class ListOperationsResponse
467
+ # @private
468
+ class Representation < Google::Apis::Core::JsonRepresentation
469
+ property :next_page_token, as: 'nextPageToken'
470
+ collection :operations, as: 'operations', class: Google::Apis::CloudfunctionsV2beta::Operation, decorator: Google::Apis::CloudfunctionsV2beta::Operation::Representation
471
+
472
+ end
473
+ end
474
+
475
+ class ListRuntimesResponse
476
+ # @private
477
+ class Representation < Google::Apis::Core::JsonRepresentation
478
+ collection :runtimes, as: 'runtimes', class: Google::Apis::CloudfunctionsV2beta::Runtime, decorator: Google::Apis::CloudfunctionsV2beta::Runtime::Representation
479
+
480
+ end
481
+ end
482
+
483
+ class Location
484
+ # @private
485
+ class Representation < Google::Apis::Core::JsonRepresentation
486
+ property :display_name, as: 'displayName'
487
+ hash :labels, as: 'labels'
488
+ property :location_id, as: 'locationId'
489
+ hash :metadata, as: 'metadata'
490
+ property :name, as: 'name'
491
+ end
492
+ end
493
+
494
+ class Operation
495
+ # @private
496
+ class Representation < Google::Apis::Core::JsonRepresentation
497
+ property :done, as: 'done'
498
+ property :error, as: 'error', class: Google::Apis::CloudfunctionsV2beta::Status, decorator: Google::Apis::CloudfunctionsV2beta::Status::Representation
499
+
500
+ hash :metadata, as: 'metadata'
501
+ property :name, as: 'name'
502
+ hash :response, as: 'response'
503
+ end
504
+ end
505
+
506
+ class OperationMetadataV1
507
+ # @private
508
+ class Representation < Google::Apis::Core::JsonRepresentation
509
+ property :build_id, as: 'buildId'
510
+ property :build_name, as: 'buildName'
511
+ hash :request, as: 'request'
512
+ property :source_token, as: 'sourceToken'
513
+ property :target, as: 'target'
514
+ property :type, as: 'type'
515
+ property :update_time, as: 'updateTime'
516
+ property :version_id, :numeric_string => true, as: 'versionId'
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::CloudfunctionsV2beta::AuditConfig, decorator: Google::Apis::CloudfunctionsV2beta::AuditConfig::Representation
524
+
525
+ collection :bindings, as: 'bindings', class: Google::Apis::CloudfunctionsV2beta::Binding, decorator: Google::Apis::CloudfunctionsV2beta::Binding::Representation
526
+
527
+ property :etag, :base64 => true, as: 'etag'
528
+ property :version, as: 'version'
529
+ end
530
+ end
531
+
532
+ class RepoSource
533
+ # @private
534
+ class Representation < Google::Apis::Core::JsonRepresentation
535
+ property :branch_name, as: 'branchName'
536
+ property :commit_sha, as: 'commitSha'
537
+ property :dir, as: 'dir'
538
+ property :invert_regex, as: 'invertRegex'
539
+ property :project_id, as: 'projectId'
540
+ property :repo_name, as: 'repoName'
541
+ property :tag_name, as: 'tagName'
542
+ end
543
+ end
544
+
545
+ class Runtime
546
+ # @private
547
+ class Representation < Google::Apis::Core::JsonRepresentation
548
+ property :display_name, as: 'displayName'
549
+ property :environment, as: 'environment'
550
+ property :name, as: 'name'
551
+ property :stage, as: 'stage'
552
+ collection :warnings, as: 'warnings'
553
+ end
554
+ end
555
+
556
+ class SecretEnvVar
557
+ # @private
558
+ class Representation < Google::Apis::Core::JsonRepresentation
559
+ property :key, as: 'key'
560
+ property :project_id, as: 'projectId'
561
+ property :secret, as: 'secret'
562
+ property :version, as: 'version'
563
+ end
564
+ end
565
+
566
+ class ServiceConfig
567
+ # @private
568
+ class Representation < Google::Apis::Core::JsonRepresentation
569
+ property :all_traffic_on_latest_revision, as: 'allTrafficOnLatestRevision'
570
+ property :available_memory, as: 'availableMemory'
571
+ hash :environment_variables, as: 'environmentVariables'
572
+ property :ingress_settings, as: 'ingressSettings'
573
+ property :max_instance_count, as: 'maxInstanceCount'
574
+ property :min_instance_count, as: 'minInstanceCount'
575
+ property :revision, as: 'revision'
576
+ collection :secret_environment_variables, as: 'secretEnvironmentVariables', class: Google::Apis::CloudfunctionsV2beta::SecretEnvVar, decorator: Google::Apis::CloudfunctionsV2beta::SecretEnvVar::Representation
577
+
578
+ property :service, as: 'service'
579
+ property :service_account_email, as: 'serviceAccountEmail'
580
+ property :timeout_seconds, as: 'timeoutSeconds'
581
+ property :uri, as: 'uri'
582
+ property :vpc_connector, as: 'vpcConnector'
583
+ property :vpc_connector_egress_settings, as: 'vpcConnectorEgressSettings'
584
+ end
585
+ end
586
+
587
+ class SetIamPolicyRequest
588
+ # @private
589
+ class Representation < Google::Apis::Core::JsonRepresentation
590
+ property :policy, as: 'policy', class: Google::Apis::CloudfunctionsV2beta::Policy, decorator: Google::Apis::CloudfunctionsV2beta::Policy::Representation
591
+
592
+ property :update_mask, as: 'updateMask'
593
+ end
594
+ end
595
+
596
+ class Source
597
+ # @private
598
+ class Representation < Google::Apis::Core::JsonRepresentation
599
+ property :repo_source, as: 'repoSource', class: Google::Apis::CloudfunctionsV2beta::RepoSource, decorator: Google::Apis::CloudfunctionsV2beta::RepoSource::Representation
600
+
601
+ property :storage_source, as: 'storageSource', class: Google::Apis::CloudfunctionsV2beta::StorageSource, decorator: Google::Apis::CloudfunctionsV2beta::StorageSource::Representation
602
+
603
+ end
604
+ end
605
+
606
+ class SourceProvenance
607
+ # @private
608
+ class Representation < Google::Apis::Core::JsonRepresentation
609
+ property :resolved_repo_source, as: 'resolvedRepoSource', class: Google::Apis::CloudfunctionsV2beta::RepoSource, decorator: Google::Apis::CloudfunctionsV2beta::RepoSource::Representation
610
+
611
+ property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudfunctionsV2beta::StorageSource, decorator: Google::Apis::CloudfunctionsV2beta::StorageSource::Representation
612
+
613
+ end
614
+ end
615
+
616
+ class Status
617
+ # @private
618
+ class Representation < Google::Apis::Core::JsonRepresentation
619
+ property :code, as: 'code'
620
+ collection :details, as: 'details'
621
+ property :message, as: 'message'
622
+ end
623
+ end
624
+
625
+ class StorageSource
626
+ # @private
627
+ class Representation < Google::Apis::Core::JsonRepresentation
628
+ property :bucket, as: 'bucket'
629
+ property :generation, :numeric_string => true, as: 'generation'
630
+ property :object, as: 'object'
631
+ end
632
+ end
633
+
634
+ class TestIamPermissionsRequest
635
+ # @private
636
+ class Representation < Google::Apis::Core::JsonRepresentation
637
+ collection :permissions, as: 'permissions'
638
+ end
639
+ end
640
+
641
+ class TestIamPermissionsResponse
642
+ # @private
643
+ class Representation < Google::Apis::Core::JsonRepresentation
644
+ collection :permissions, as: 'permissions'
645
+ end
646
+ end
647
+ end
648
+ end
649
+ end