google-apis-apphub_v1alpha 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,709 @@
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 ApphubV1alpha
24
+
25
+ class Application
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Attributes
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AuditConfig
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AuditLogConfig
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class Binding
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class CancelOperationRequest
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class Channel
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class ContactInfo
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class Criticality
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class DetachServiceProjectAttachmentRequest
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class DetachServiceProjectAttachmentResponse
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class DiscoveredService
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class DiscoveredWorkload
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class Empty
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class Environment
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class Expr
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class FindUnregisteredServicesResponse
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class FindUnregisteredWorkloadsResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ListApplicationsResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ListDiscoveredServicesResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ListDiscoveredWorkloadsResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ListLocationsResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ListOperationsResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class ListServiceProjectAttachmentsResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class ListServicesResponse
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class ListWorkloadsResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class Location
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class LookupServiceProjectAttachmentResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class Operation
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class OperationMetadata
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class Policy
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class Scope
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class Service
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class ServiceProjectAttachment
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class ServiceProperties
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class ServiceReference
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class SetIamPolicyRequest
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class Status
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class TestIamPermissionsRequest
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class TestIamPermissionsResponse
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class Workload
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class WorkloadProperties
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class WorkloadReference
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class Application
284
+ # @private
285
+ class Representation < Google::Apis::Core::JsonRepresentation
286
+ property :attributes, as: 'attributes', class: Google::Apis::ApphubV1alpha::Attributes, decorator: Google::Apis::ApphubV1alpha::Attributes::Representation
287
+
288
+ property :create_time, as: 'createTime'
289
+ property :description, as: 'description'
290
+ property :display_name, as: 'displayName'
291
+ property :name, as: 'name'
292
+ property :scope, as: 'scope', class: Google::Apis::ApphubV1alpha::Scope, decorator: Google::Apis::ApphubV1alpha::Scope::Representation
293
+
294
+ property :state, as: 'state'
295
+ property :uid, as: 'uid'
296
+ property :update_time, as: 'updateTime'
297
+ end
298
+ end
299
+
300
+ class Attributes
301
+ # @private
302
+ class Representation < Google::Apis::Core::JsonRepresentation
303
+ collection :business_owners, as: 'businessOwners', class: Google::Apis::ApphubV1alpha::ContactInfo, decorator: Google::Apis::ApphubV1alpha::ContactInfo::Representation
304
+
305
+ property :criticality, as: 'criticality', class: Google::Apis::ApphubV1alpha::Criticality, decorator: Google::Apis::ApphubV1alpha::Criticality::Representation
306
+
307
+ collection :developer_owners, as: 'developerOwners', class: Google::Apis::ApphubV1alpha::ContactInfo, decorator: Google::Apis::ApphubV1alpha::ContactInfo::Representation
308
+
309
+ property :environment, as: 'environment', class: Google::Apis::ApphubV1alpha::Environment, decorator: Google::Apis::ApphubV1alpha::Environment::Representation
310
+
311
+ collection :operator_owners, as: 'operatorOwners', class: Google::Apis::ApphubV1alpha::ContactInfo, decorator: Google::Apis::ApphubV1alpha::ContactInfo::Representation
312
+
313
+ end
314
+ end
315
+
316
+ class AuditConfig
317
+ # @private
318
+ class Representation < Google::Apis::Core::JsonRepresentation
319
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::ApphubV1alpha::AuditLogConfig, decorator: Google::Apis::ApphubV1alpha::AuditLogConfig::Representation
320
+
321
+ property :service, as: 'service'
322
+ end
323
+ end
324
+
325
+ class AuditLogConfig
326
+ # @private
327
+ class Representation < Google::Apis::Core::JsonRepresentation
328
+ collection :exempted_members, as: 'exemptedMembers'
329
+ property :log_type, as: 'logType'
330
+ end
331
+ end
332
+
333
+ class Binding
334
+ # @private
335
+ class Representation < Google::Apis::Core::JsonRepresentation
336
+ property :condition, as: 'condition', class: Google::Apis::ApphubV1alpha::Expr, decorator: Google::Apis::ApphubV1alpha::Expr::Representation
337
+
338
+ collection :members, as: 'members'
339
+ property :role, as: 'role'
340
+ end
341
+ end
342
+
343
+ class CancelOperationRequest
344
+ # @private
345
+ class Representation < Google::Apis::Core::JsonRepresentation
346
+ end
347
+ end
348
+
349
+ class Channel
350
+ # @private
351
+ class Representation < Google::Apis::Core::JsonRepresentation
352
+ property :uri, as: 'uri'
353
+ end
354
+ end
355
+
356
+ class ContactInfo
357
+ # @private
358
+ class Representation < Google::Apis::Core::JsonRepresentation
359
+ property :channel, as: 'channel', class: Google::Apis::ApphubV1alpha::Channel, decorator: Google::Apis::ApphubV1alpha::Channel::Representation
360
+
361
+ property :display_name, as: 'displayName'
362
+ property :email, as: 'email'
363
+ end
364
+ end
365
+
366
+ class Criticality
367
+ # @private
368
+ class Representation < Google::Apis::Core::JsonRepresentation
369
+ property :level, as: 'level'
370
+ property :mission_critical, as: 'missionCritical'
371
+ end
372
+ end
373
+
374
+ class DetachServiceProjectAttachmentRequest
375
+ # @private
376
+ class Representation < Google::Apis::Core::JsonRepresentation
377
+ end
378
+ end
379
+
380
+ class DetachServiceProjectAttachmentResponse
381
+ # @private
382
+ class Representation < Google::Apis::Core::JsonRepresentation
383
+ end
384
+ end
385
+
386
+ class DiscoveredService
387
+ # @private
388
+ class Representation < Google::Apis::Core::JsonRepresentation
389
+ property :name, as: 'name'
390
+ property :service_properties, as: 'serviceProperties', class: Google::Apis::ApphubV1alpha::ServiceProperties, decorator: Google::Apis::ApphubV1alpha::ServiceProperties::Representation
391
+
392
+ property :service_reference, as: 'serviceReference', class: Google::Apis::ApphubV1alpha::ServiceReference, decorator: Google::Apis::ApphubV1alpha::ServiceReference::Representation
393
+
394
+ end
395
+ end
396
+
397
+ class DiscoveredWorkload
398
+ # @private
399
+ class Representation < Google::Apis::Core::JsonRepresentation
400
+ property :name, as: 'name'
401
+ property :workload_properties, as: 'workloadProperties', class: Google::Apis::ApphubV1alpha::WorkloadProperties, decorator: Google::Apis::ApphubV1alpha::WorkloadProperties::Representation
402
+
403
+ property :workload_reference, as: 'workloadReference', class: Google::Apis::ApphubV1alpha::WorkloadReference, decorator: Google::Apis::ApphubV1alpha::WorkloadReference::Representation
404
+
405
+ end
406
+ end
407
+
408
+ class Empty
409
+ # @private
410
+ class Representation < Google::Apis::Core::JsonRepresentation
411
+ end
412
+ end
413
+
414
+ class Environment
415
+ # @private
416
+ class Representation < Google::Apis::Core::JsonRepresentation
417
+ property :environment, as: 'environment'
418
+ end
419
+ end
420
+
421
+ class Expr
422
+ # @private
423
+ class Representation < Google::Apis::Core::JsonRepresentation
424
+ property :description, as: 'description'
425
+ property :expression, as: 'expression'
426
+ property :location, as: 'location'
427
+ property :title, as: 'title'
428
+ end
429
+ end
430
+
431
+ class FindUnregisteredServicesResponse
432
+ # @private
433
+ class Representation < Google::Apis::Core::JsonRepresentation
434
+ collection :discovered_services, as: 'discoveredServices', class: Google::Apis::ApphubV1alpha::DiscoveredService, decorator: Google::Apis::ApphubV1alpha::DiscoveredService::Representation
435
+
436
+ property :next_page_token, as: 'nextPageToken'
437
+ collection :unreachable, as: 'unreachable'
438
+ end
439
+ end
440
+
441
+ class FindUnregisteredWorkloadsResponse
442
+ # @private
443
+ class Representation < Google::Apis::Core::JsonRepresentation
444
+ collection :discovered_workloads, as: 'discoveredWorkloads', class: Google::Apis::ApphubV1alpha::DiscoveredWorkload, decorator: Google::Apis::ApphubV1alpha::DiscoveredWorkload::Representation
445
+
446
+ property :next_page_token, as: 'nextPageToken'
447
+ collection :unreachable, as: 'unreachable'
448
+ end
449
+ end
450
+
451
+ class ListApplicationsResponse
452
+ # @private
453
+ class Representation < Google::Apis::Core::JsonRepresentation
454
+ collection :applications, as: 'applications', class: Google::Apis::ApphubV1alpha::Application, decorator: Google::Apis::ApphubV1alpha::Application::Representation
455
+
456
+ property :next_page_token, as: 'nextPageToken'
457
+ collection :unreachable, as: 'unreachable'
458
+ end
459
+ end
460
+
461
+ class ListDiscoveredServicesResponse
462
+ # @private
463
+ class Representation < Google::Apis::Core::JsonRepresentation
464
+ collection :discovered_services, as: 'discoveredServices', class: Google::Apis::ApphubV1alpha::DiscoveredService, decorator: Google::Apis::ApphubV1alpha::DiscoveredService::Representation
465
+
466
+ property :next_page_token, as: 'nextPageToken'
467
+ collection :unreachable, as: 'unreachable'
468
+ end
469
+ end
470
+
471
+ class ListDiscoveredWorkloadsResponse
472
+ # @private
473
+ class Representation < Google::Apis::Core::JsonRepresentation
474
+ collection :discovered_workloads, as: 'discoveredWorkloads', class: Google::Apis::ApphubV1alpha::DiscoveredWorkload, decorator: Google::Apis::ApphubV1alpha::DiscoveredWorkload::Representation
475
+
476
+ property :next_page_token, as: 'nextPageToken'
477
+ collection :unreachable, as: 'unreachable'
478
+ end
479
+ end
480
+
481
+ class ListLocationsResponse
482
+ # @private
483
+ class Representation < Google::Apis::Core::JsonRepresentation
484
+ collection :locations, as: 'locations', class: Google::Apis::ApphubV1alpha::Location, decorator: Google::Apis::ApphubV1alpha::Location::Representation
485
+
486
+ property :next_page_token, as: 'nextPageToken'
487
+ end
488
+ end
489
+
490
+ class ListOperationsResponse
491
+ # @private
492
+ class Representation < Google::Apis::Core::JsonRepresentation
493
+ property :next_page_token, as: 'nextPageToken'
494
+ collection :operations, as: 'operations', class: Google::Apis::ApphubV1alpha::Operation, decorator: Google::Apis::ApphubV1alpha::Operation::Representation
495
+
496
+ end
497
+ end
498
+
499
+ class ListServiceProjectAttachmentsResponse
500
+ # @private
501
+ class Representation < Google::Apis::Core::JsonRepresentation
502
+ property :next_page_token, as: 'nextPageToken'
503
+ collection :service_project_attachments, as: 'serviceProjectAttachments', class: Google::Apis::ApphubV1alpha::ServiceProjectAttachment, decorator: Google::Apis::ApphubV1alpha::ServiceProjectAttachment::Representation
504
+
505
+ collection :unreachable, as: 'unreachable'
506
+ end
507
+ end
508
+
509
+ class ListServicesResponse
510
+ # @private
511
+ class Representation < Google::Apis::Core::JsonRepresentation
512
+ property :next_page_token, as: 'nextPageToken'
513
+ collection :services, as: 'services', class: Google::Apis::ApphubV1alpha::Service, decorator: Google::Apis::ApphubV1alpha::Service::Representation
514
+
515
+ collection :unreachable, as: 'unreachable'
516
+ end
517
+ end
518
+
519
+ class ListWorkloadsResponse
520
+ # @private
521
+ class Representation < Google::Apis::Core::JsonRepresentation
522
+ property :next_page_token, as: 'nextPageToken'
523
+ collection :unreachable, as: 'unreachable'
524
+ collection :workloads, as: 'workloads', class: Google::Apis::ApphubV1alpha::Workload, decorator: Google::Apis::ApphubV1alpha::Workload::Representation
525
+
526
+ end
527
+ end
528
+
529
+ class Location
530
+ # @private
531
+ class Representation < Google::Apis::Core::JsonRepresentation
532
+ property :display_name, as: 'displayName'
533
+ hash :labels, as: 'labels'
534
+ property :location_id, as: 'locationId'
535
+ hash :metadata, as: 'metadata'
536
+ property :name, as: 'name'
537
+ end
538
+ end
539
+
540
+ class LookupServiceProjectAttachmentResponse
541
+ # @private
542
+ class Representation < Google::Apis::Core::JsonRepresentation
543
+ property :service_project_attachment, as: 'serviceProjectAttachment', class: Google::Apis::ApphubV1alpha::ServiceProjectAttachment, decorator: Google::Apis::ApphubV1alpha::ServiceProjectAttachment::Representation
544
+
545
+ end
546
+ end
547
+
548
+ class Operation
549
+ # @private
550
+ class Representation < Google::Apis::Core::JsonRepresentation
551
+ property :done, as: 'done'
552
+ property :error, as: 'error', class: Google::Apis::ApphubV1alpha::Status, decorator: Google::Apis::ApphubV1alpha::Status::Representation
553
+
554
+ hash :metadata, as: 'metadata'
555
+ property :name, as: 'name'
556
+ hash :response, as: 'response'
557
+ end
558
+ end
559
+
560
+ class OperationMetadata
561
+ # @private
562
+ class Representation < Google::Apis::Core::JsonRepresentation
563
+ property :api_version, as: 'apiVersion'
564
+ property :create_time, as: 'createTime'
565
+ property :end_time, as: 'endTime'
566
+ property :requested_cancellation, as: 'requestedCancellation'
567
+ property :status_message, as: 'statusMessage'
568
+ property :target, as: 'target'
569
+ property :verb, as: 'verb'
570
+ end
571
+ end
572
+
573
+ class Policy
574
+ # @private
575
+ class Representation < Google::Apis::Core::JsonRepresentation
576
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::ApphubV1alpha::AuditConfig, decorator: Google::Apis::ApphubV1alpha::AuditConfig::Representation
577
+
578
+ collection :bindings, as: 'bindings', class: Google::Apis::ApphubV1alpha::Binding, decorator: Google::Apis::ApphubV1alpha::Binding::Representation
579
+
580
+ property :etag, :base64 => true, as: 'etag'
581
+ property :version, as: 'version'
582
+ end
583
+ end
584
+
585
+ class Scope
586
+ # @private
587
+ class Representation < Google::Apis::Core::JsonRepresentation
588
+ property :type, as: 'type'
589
+ end
590
+ end
591
+
592
+ class Service
593
+ # @private
594
+ class Representation < Google::Apis::Core::JsonRepresentation
595
+ property :attributes, as: 'attributes', class: Google::Apis::ApphubV1alpha::Attributes, decorator: Google::Apis::ApphubV1alpha::Attributes::Representation
596
+
597
+ property :create_time, as: 'createTime'
598
+ property :description, as: 'description'
599
+ property :discovered_service, as: 'discoveredService'
600
+ property :display_name, as: 'displayName'
601
+ property :name, as: 'name'
602
+ property :service_properties, as: 'serviceProperties', class: Google::Apis::ApphubV1alpha::ServiceProperties, decorator: Google::Apis::ApphubV1alpha::ServiceProperties::Representation
603
+
604
+ property :service_reference, as: 'serviceReference', class: Google::Apis::ApphubV1alpha::ServiceReference, decorator: Google::Apis::ApphubV1alpha::ServiceReference::Representation
605
+
606
+ property :state, as: 'state'
607
+ property :uid, as: 'uid'
608
+ property :update_time, as: 'updateTime'
609
+ end
610
+ end
611
+
612
+ class ServiceProjectAttachment
613
+ # @private
614
+ class Representation < Google::Apis::Core::JsonRepresentation
615
+ property :create_time, as: 'createTime'
616
+ property :name, as: 'name'
617
+ property :service_project, as: 'serviceProject'
618
+ property :state, as: 'state'
619
+ property :uid, as: 'uid'
620
+ end
621
+ end
622
+
623
+ class ServiceProperties
624
+ # @private
625
+ class Representation < Google::Apis::Core::JsonRepresentation
626
+ property :gcp_project, as: 'gcpProject'
627
+ property :location, as: 'location'
628
+ property :zone, as: 'zone'
629
+ end
630
+ end
631
+
632
+ class ServiceReference
633
+ # @private
634
+ class Representation < Google::Apis::Core::JsonRepresentation
635
+ property :path, as: 'path'
636
+ property :uri, as: 'uri'
637
+ end
638
+ end
639
+
640
+ class SetIamPolicyRequest
641
+ # @private
642
+ class Representation < Google::Apis::Core::JsonRepresentation
643
+ property :policy, as: 'policy', class: Google::Apis::ApphubV1alpha::Policy, decorator: Google::Apis::ApphubV1alpha::Policy::Representation
644
+
645
+ property :update_mask, as: 'updateMask'
646
+ end
647
+ end
648
+
649
+ class Status
650
+ # @private
651
+ class Representation < Google::Apis::Core::JsonRepresentation
652
+ property :code, as: 'code'
653
+ collection :details, as: 'details'
654
+ property :message, as: 'message'
655
+ end
656
+ end
657
+
658
+ class TestIamPermissionsRequest
659
+ # @private
660
+ class Representation < Google::Apis::Core::JsonRepresentation
661
+ collection :permissions, as: 'permissions'
662
+ end
663
+ end
664
+
665
+ class TestIamPermissionsResponse
666
+ # @private
667
+ class Representation < Google::Apis::Core::JsonRepresentation
668
+ collection :permissions, as: 'permissions'
669
+ end
670
+ end
671
+
672
+ class Workload
673
+ # @private
674
+ class Representation < Google::Apis::Core::JsonRepresentation
675
+ property :attributes, as: 'attributes', class: Google::Apis::ApphubV1alpha::Attributes, decorator: Google::Apis::ApphubV1alpha::Attributes::Representation
676
+
677
+ property :create_time, as: 'createTime'
678
+ property :description, as: 'description'
679
+ property :discovered_workload, as: 'discoveredWorkload'
680
+ property :display_name, as: 'displayName'
681
+ property :name, as: 'name'
682
+ property :state, as: 'state'
683
+ property :uid, as: 'uid'
684
+ property :update_time, as: 'updateTime'
685
+ property :workload_properties, as: 'workloadProperties', class: Google::Apis::ApphubV1alpha::WorkloadProperties, decorator: Google::Apis::ApphubV1alpha::WorkloadProperties::Representation
686
+
687
+ property :workload_reference, as: 'workloadReference', class: Google::Apis::ApphubV1alpha::WorkloadReference, decorator: Google::Apis::ApphubV1alpha::WorkloadReference::Representation
688
+
689
+ end
690
+ end
691
+
692
+ class WorkloadProperties
693
+ # @private
694
+ class Representation < Google::Apis::Core::JsonRepresentation
695
+ property :gcp_project, as: 'gcpProject'
696
+ property :location, as: 'location'
697
+ property :zone, as: 'zone'
698
+ end
699
+ end
700
+
701
+ class WorkloadReference
702
+ # @private
703
+ class Representation < Google::Apis::Core::JsonRepresentation
704
+ property :uri, as: 'uri'
705
+ end
706
+ end
707
+ end
708
+ end
709
+ end