google-apis-cloudfunctions_v2alpha 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 CloudfunctionsV2alpha
18
+ # Version of the google-apis-cloudfunctions_v2alpha 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 = "20220203"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,629 @@
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 CloudfunctionsV2alpha
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 ServiceConfig
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class SetIamPolicyRequest
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class Source
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class SourceProvenance
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class Status
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class StorageSource
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class TestIamPermissionsRequest
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class TestIamPermissionsResponse
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class AuditConfig
242
+ # @private
243
+ class Representation < Google::Apis::Core::JsonRepresentation
244
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudfunctionsV2alpha::AuditLogConfig, decorator: Google::Apis::CloudfunctionsV2alpha::AuditLogConfig::Representation
245
+
246
+ property :service, as: 'service'
247
+ end
248
+ end
249
+
250
+ class AuditLogConfig
251
+ # @private
252
+ class Representation < Google::Apis::Core::JsonRepresentation
253
+ collection :exempted_members, as: 'exemptedMembers'
254
+ property :log_type, as: 'logType'
255
+ end
256
+ end
257
+
258
+ class Binding
259
+ # @private
260
+ class Representation < Google::Apis::Core::JsonRepresentation
261
+ property :condition, as: 'condition', class: Google::Apis::CloudfunctionsV2alpha::Expr, decorator: Google::Apis::CloudfunctionsV2alpha::Expr::Representation
262
+
263
+ collection :members, as: 'members'
264
+ property :role, as: 'role'
265
+ end
266
+ end
267
+
268
+ class BuildConfig
269
+ # @private
270
+ class Representation < Google::Apis::Core::JsonRepresentation
271
+ property :build, as: 'build'
272
+ property :docker_repository, as: 'dockerRepository'
273
+ property :entry_point, as: 'entryPoint'
274
+ hash :environment_variables, as: 'environmentVariables'
275
+ property :runtime, as: 'runtime'
276
+ property :source, as: 'source', class: Google::Apis::CloudfunctionsV2alpha::Source, decorator: Google::Apis::CloudfunctionsV2alpha::Source::Representation
277
+
278
+ property :source_provenance, as: 'sourceProvenance', class: Google::Apis::CloudfunctionsV2alpha::SourceProvenance, decorator: Google::Apis::CloudfunctionsV2alpha::SourceProvenance::Representation
279
+
280
+ property :worker_pool, as: 'workerPool'
281
+ end
282
+ end
283
+
284
+ class EventFilter
285
+ # @private
286
+ class Representation < Google::Apis::Core::JsonRepresentation
287
+ property :attribute, as: 'attribute'
288
+ property :value, as: 'value'
289
+ end
290
+ end
291
+
292
+ class EventTrigger
293
+ # @private
294
+ class Representation < Google::Apis::Core::JsonRepresentation
295
+ collection :event_filters, as: 'eventFilters', class: Google::Apis::CloudfunctionsV2alpha::EventFilter, decorator: Google::Apis::CloudfunctionsV2alpha::EventFilter::Representation
296
+
297
+ property :event_type, as: 'eventType'
298
+ property :pubsub_topic, as: 'pubsubTopic'
299
+ property :retry_policy, as: 'retryPolicy'
300
+ property :service_account_email, as: 'serviceAccountEmail'
301
+ property :trigger, as: 'trigger'
302
+ property :trigger_region, as: 'triggerRegion'
303
+ end
304
+ end
305
+
306
+ class Expr
307
+ # @private
308
+ class Representation < Google::Apis::Core::JsonRepresentation
309
+ property :description, as: 'description'
310
+ property :expression, as: 'expression'
311
+ property :location, as: 'location'
312
+ property :title, as: 'title'
313
+ end
314
+ end
315
+
316
+ class Function
317
+ # @private
318
+ class Representation < Google::Apis::Core::JsonRepresentation
319
+ property :build_config, as: 'buildConfig', class: Google::Apis::CloudfunctionsV2alpha::BuildConfig, decorator: Google::Apis::CloudfunctionsV2alpha::BuildConfig::Representation
320
+
321
+ property :description, as: 'description'
322
+ property :environment, as: 'environment'
323
+ property :event_trigger, as: 'eventTrigger', class: Google::Apis::CloudfunctionsV2alpha::EventTrigger, decorator: Google::Apis::CloudfunctionsV2alpha::EventTrigger::Representation
324
+
325
+ hash :labels, as: 'labels'
326
+ property :name, as: 'name'
327
+ property :service_config, as: 'serviceConfig', class: Google::Apis::CloudfunctionsV2alpha::ServiceConfig, decorator: Google::Apis::CloudfunctionsV2alpha::ServiceConfig::Representation
328
+
329
+ property :state, as: 'state'
330
+ collection :state_messages, as: 'stateMessages', class: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2alphaStateMessage, decorator: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2alphaStateMessage::Representation
331
+
332
+ property :update_time, as: 'updateTime'
333
+ end
334
+ end
335
+
336
+ class GenerateDownloadUrlRequest
337
+ # @private
338
+ class Representation < Google::Apis::Core::JsonRepresentation
339
+ end
340
+ end
341
+
342
+ class GenerateDownloadUrlResponse
343
+ # @private
344
+ class Representation < Google::Apis::Core::JsonRepresentation
345
+ property :download_url, as: 'downloadUrl'
346
+ end
347
+ end
348
+
349
+ class GenerateUploadUrlRequest
350
+ # @private
351
+ class Representation < Google::Apis::Core::JsonRepresentation
352
+ end
353
+ end
354
+
355
+ class GenerateUploadUrlResponse
356
+ # @private
357
+ class Representation < Google::Apis::Core::JsonRepresentation
358
+ property :storage_source, as: 'storageSource', class: Google::Apis::CloudfunctionsV2alpha::StorageSource, decorator: Google::Apis::CloudfunctionsV2alpha::StorageSource::Representation
359
+
360
+ property :upload_url, as: 'uploadUrl'
361
+ end
362
+ end
363
+
364
+ class GoogleCloudFunctionsV2alphaOperationMetadata
365
+ # @private
366
+ class Representation < Google::Apis::Core::JsonRepresentation
367
+ property :api_version, as: 'apiVersion'
368
+ property :cancel_requested, as: 'cancelRequested'
369
+ property :create_time, as: 'createTime'
370
+ property :end_time, as: 'endTime'
371
+ hash :request_resource, as: 'requestResource'
372
+ collection :stages, as: 'stages', class: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2alphaStage, decorator: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2alphaStage::Representation
373
+
374
+ property :status_detail, as: 'statusDetail'
375
+ property :target, as: 'target'
376
+ property :verb, as: 'verb'
377
+ end
378
+ end
379
+
380
+ class GoogleCloudFunctionsV2alphaStage
381
+ # @private
382
+ class Representation < Google::Apis::Core::JsonRepresentation
383
+ property :message, as: 'message'
384
+ property :name, as: 'name'
385
+ property :resource, as: 'resource'
386
+ property :resource_uri, as: 'resourceUri'
387
+ property :state, as: 'state'
388
+ collection :state_messages, as: 'stateMessages', class: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2alphaStateMessage, decorator: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2alphaStateMessage::Representation
389
+
390
+ end
391
+ end
392
+
393
+ class GoogleCloudFunctionsV2alphaStateMessage
394
+ # @private
395
+ class Representation < Google::Apis::Core::JsonRepresentation
396
+ property :message, as: 'message'
397
+ property :severity, as: 'severity'
398
+ property :type, as: 'type'
399
+ end
400
+ end
401
+
402
+ class GoogleCloudFunctionsV2betaOperationMetadata
403
+ # @private
404
+ class Representation < Google::Apis::Core::JsonRepresentation
405
+ property :api_version, as: 'apiVersion'
406
+ property :cancel_requested, as: 'cancelRequested'
407
+ property :create_time, as: 'createTime'
408
+ property :end_time, as: 'endTime'
409
+ hash :request_resource, as: 'requestResource'
410
+ collection :stages, as: 'stages', class: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2betaStage, decorator: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2betaStage::Representation
411
+
412
+ property :status_detail, as: 'statusDetail'
413
+ property :target, as: 'target'
414
+ property :verb, as: 'verb'
415
+ end
416
+ end
417
+
418
+ class GoogleCloudFunctionsV2betaStage
419
+ # @private
420
+ class Representation < Google::Apis::Core::JsonRepresentation
421
+ property :message, as: 'message'
422
+ property :name, as: 'name'
423
+ property :resource, as: 'resource'
424
+ property :resource_uri, as: 'resourceUri'
425
+ property :state, as: 'state'
426
+ collection :state_messages, as: 'stateMessages', class: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2betaStateMessage, decorator: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2betaStateMessage::Representation
427
+
428
+ end
429
+ end
430
+
431
+ class GoogleCloudFunctionsV2betaStateMessage
432
+ # @private
433
+ class Representation < Google::Apis::Core::JsonRepresentation
434
+ property :message, as: 'message'
435
+ property :severity, as: 'severity'
436
+ property :type, as: 'type'
437
+ end
438
+ end
439
+
440
+ class ListFunctionsResponse
441
+ # @private
442
+ class Representation < Google::Apis::Core::JsonRepresentation
443
+ collection :functions, as: 'functions', class: Google::Apis::CloudfunctionsV2alpha::Function, decorator: Google::Apis::CloudfunctionsV2alpha::Function::Representation
444
+
445
+ property :next_page_token, as: 'nextPageToken'
446
+ collection :unreachable, as: 'unreachable'
447
+ end
448
+ end
449
+
450
+ class ListLocationsResponse
451
+ # @private
452
+ class Representation < Google::Apis::Core::JsonRepresentation
453
+ collection :locations, as: 'locations', class: Google::Apis::CloudfunctionsV2alpha::Location, decorator: Google::Apis::CloudfunctionsV2alpha::Location::Representation
454
+
455
+ property :next_page_token, as: 'nextPageToken'
456
+ end
457
+ end
458
+
459
+ class ListOperationsResponse
460
+ # @private
461
+ class Representation < Google::Apis::Core::JsonRepresentation
462
+ property :next_page_token, as: 'nextPageToken'
463
+ collection :operations, as: 'operations', class: Google::Apis::CloudfunctionsV2alpha::Operation, decorator: Google::Apis::CloudfunctionsV2alpha::Operation::Representation
464
+
465
+ end
466
+ end
467
+
468
+ class ListRuntimesResponse
469
+ # @private
470
+ class Representation < Google::Apis::Core::JsonRepresentation
471
+ collection :runtimes, as: 'runtimes', class: Google::Apis::CloudfunctionsV2alpha::Runtime, decorator: Google::Apis::CloudfunctionsV2alpha::Runtime::Representation
472
+
473
+ end
474
+ end
475
+
476
+ class Location
477
+ # @private
478
+ class Representation < Google::Apis::Core::JsonRepresentation
479
+ property :display_name, as: 'displayName'
480
+ hash :labels, as: 'labels'
481
+ property :location_id, as: 'locationId'
482
+ hash :metadata, as: 'metadata'
483
+ property :name, as: 'name'
484
+ end
485
+ end
486
+
487
+ class Operation
488
+ # @private
489
+ class Representation < Google::Apis::Core::JsonRepresentation
490
+ property :done, as: 'done'
491
+ property :error, as: 'error', class: Google::Apis::CloudfunctionsV2alpha::Status, decorator: Google::Apis::CloudfunctionsV2alpha::Status::Representation
492
+
493
+ hash :metadata, as: 'metadata'
494
+ property :name, as: 'name'
495
+ hash :response, as: 'response'
496
+ end
497
+ end
498
+
499
+ class OperationMetadataV1
500
+ # @private
501
+ class Representation < Google::Apis::Core::JsonRepresentation
502
+ property :build_id, as: 'buildId'
503
+ property :build_name, as: 'buildName'
504
+ hash :request, as: 'request'
505
+ property :source_token, as: 'sourceToken'
506
+ property :target, as: 'target'
507
+ property :type, as: 'type'
508
+ property :update_time, as: 'updateTime'
509
+ property :version_id, :numeric_string => true, as: 'versionId'
510
+ end
511
+ end
512
+
513
+ class Policy
514
+ # @private
515
+ class Representation < Google::Apis::Core::JsonRepresentation
516
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudfunctionsV2alpha::AuditConfig, decorator: Google::Apis::CloudfunctionsV2alpha::AuditConfig::Representation
517
+
518
+ collection :bindings, as: 'bindings', class: Google::Apis::CloudfunctionsV2alpha::Binding, decorator: Google::Apis::CloudfunctionsV2alpha::Binding::Representation
519
+
520
+ property :etag, :base64 => true, as: 'etag'
521
+ property :version, as: 'version'
522
+ end
523
+ end
524
+
525
+ class RepoSource
526
+ # @private
527
+ class Representation < Google::Apis::Core::JsonRepresentation
528
+ property :branch_name, as: 'branchName'
529
+ property :commit_sha, as: 'commitSha'
530
+ property :dir, as: 'dir'
531
+ property :invert_regex, as: 'invertRegex'
532
+ property :project_id, as: 'projectId'
533
+ property :repo_name, as: 'repoName'
534
+ property :tag_name, as: 'tagName'
535
+ end
536
+ end
537
+
538
+ class Runtime
539
+ # @private
540
+ class Representation < Google::Apis::Core::JsonRepresentation
541
+ property :display_name, as: 'displayName'
542
+ property :environment, as: 'environment'
543
+ property :name, as: 'name'
544
+ property :stage, as: 'stage'
545
+ collection :warnings, as: 'warnings'
546
+ end
547
+ end
548
+
549
+ class ServiceConfig
550
+ # @private
551
+ class Representation < Google::Apis::Core::JsonRepresentation
552
+ property :all_traffic_on_latest_revision, as: 'allTrafficOnLatestRevision'
553
+ property :available_memory, as: 'availableMemory'
554
+ hash :environment_variables, as: 'environmentVariables'
555
+ property :ingress_settings, as: 'ingressSettings'
556
+ property :max_instance_count, as: 'maxInstanceCount'
557
+ property :min_instance_count, as: 'minInstanceCount'
558
+ property :service, as: 'service'
559
+ property :service_account_email, as: 'serviceAccountEmail'
560
+ property :timeout_seconds, as: 'timeoutSeconds'
561
+ property :uri, as: 'uri'
562
+ property :vpc_connector, as: 'vpcConnector'
563
+ property :vpc_connector_egress_settings, as: 'vpcConnectorEgressSettings'
564
+ end
565
+ end
566
+
567
+ class SetIamPolicyRequest
568
+ # @private
569
+ class Representation < Google::Apis::Core::JsonRepresentation
570
+ property :policy, as: 'policy', class: Google::Apis::CloudfunctionsV2alpha::Policy, decorator: Google::Apis::CloudfunctionsV2alpha::Policy::Representation
571
+
572
+ property :update_mask, as: 'updateMask'
573
+ end
574
+ end
575
+
576
+ class Source
577
+ # @private
578
+ class Representation < Google::Apis::Core::JsonRepresentation
579
+ property :repo_source, as: 'repoSource', class: Google::Apis::CloudfunctionsV2alpha::RepoSource, decorator: Google::Apis::CloudfunctionsV2alpha::RepoSource::Representation
580
+
581
+ property :storage_source, as: 'storageSource', class: Google::Apis::CloudfunctionsV2alpha::StorageSource, decorator: Google::Apis::CloudfunctionsV2alpha::StorageSource::Representation
582
+
583
+ end
584
+ end
585
+
586
+ class SourceProvenance
587
+ # @private
588
+ class Representation < Google::Apis::Core::JsonRepresentation
589
+ property :resolved_repo_source, as: 'resolvedRepoSource', class: Google::Apis::CloudfunctionsV2alpha::RepoSource, decorator: Google::Apis::CloudfunctionsV2alpha::RepoSource::Representation
590
+
591
+ property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudfunctionsV2alpha::StorageSource, decorator: Google::Apis::CloudfunctionsV2alpha::StorageSource::Representation
592
+
593
+ end
594
+ end
595
+
596
+ class Status
597
+ # @private
598
+ class Representation < Google::Apis::Core::JsonRepresentation
599
+ property :code, as: 'code'
600
+ collection :details, as: 'details'
601
+ property :message, as: 'message'
602
+ end
603
+ end
604
+
605
+ class StorageSource
606
+ # @private
607
+ class Representation < Google::Apis::Core::JsonRepresentation
608
+ property :bucket, as: 'bucket'
609
+ property :generation, :numeric_string => true, as: 'generation'
610
+ property :object, as: 'object'
611
+ end
612
+ end
613
+
614
+ class TestIamPermissionsRequest
615
+ # @private
616
+ class Representation < Google::Apis::Core::JsonRepresentation
617
+ collection :permissions, as: 'permissions'
618
+ end
619
+ end
620
+
621
+ class TestIamPermissionsResponse
622
+ # @private
623
+ class Representation < Google::Apis::Core::JsonRepresentation
624
+ collection :permissions, as: 'permissions'
625
+ end
626
+ end
627
+ end
628
+ end
629
+ end