google-apis-apphub_v1 0.3.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ApphubV1
18
18
  # Version of the google-apis-apphub_v1 gem
19
- GEM_VERSION = "0.3.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.1"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240122"
25
+ REVISION = "20240307"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,18 @@ module Google
22
22
  module Apis
23
23
  module ApphubV1
24
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
+
25
37
  class AuditConfig
26
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
39
 
@@ -46,18 +58,78 @@ module Google
46
58
  include Google::Apis::Core::JsonObjectSupport
47
59
  end
48
60
 
61
+ class ContactInfo
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class Criticality
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class DetachServiceProjectAttachmentRequest
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class DetachServiceProjectAttachmentResponse
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class DiscoveredService
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class DiscoveredWorkload
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
49
97
  class Empty
50
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
99
 
52
100
  include Google::Apis::Core::JsonObjectSupport
53
101
  end
54
102
 
103
+ class Environment
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
55
109
  class Expr
56
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
111
 
58
112
  include Google::Apis::Core::JsonObjectSupport
59
113
  end
60
114
 
115
+ class ListApplicationsResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class ListDiscoveredServicesResponse
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ListDiscoveredWorkloadsResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
61
133
  class ListLocationsResponse
62
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
135
 
@@ -70,18 +142,60 @@ module Google
70
142
  include Google::Apis::Core::JsonObjectSupport
71
143
  end
72
144
 
145
+ class ListServiceProjectAttachmentsResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ListServicesResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ListWorkloadsResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
73
163
  class Location
74
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
165
 
76
166
  include Google::Apis::Core::JsonObjectSupport
77
167
  end
78
168
 
169
+ class LookupDiscoveredServiceResponse
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class LookupDiscoveredWorkloadResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class LookupServiceProjectAttachmentResponse
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
79
187
  class Operation
80
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
189
 
82
190
  include Google::Apis::Core::JsonObjectSupport
83
191
  end
84
192
 
193
+ class OperationMetadata
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
85
199
  class Policy
86
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
201
 
@@ -94,6 +208,36 @@ module Google
94
208
  include Google::Apis::Core::JsonObjectSupport
95
209
  end
96
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
+
97
241
  class SetIamPolicyRequest
98
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
243
 
@@ -118,6 +262,57 @@ module Google
118
262
  include Google::Apis::Core::JsonObjectSupport
119
263
  end
120
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::ApphubV1::Attributes, decorator: Google::Apis::ApphubV1::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::ApphubV1::Scope, decorator: Google::Apis::ApphubV1::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::ApphubV1::ContactInfo, decorator: Google::Apis::ApphubV1::ContactInfo::Representation
304
+
305
+ property :criticality, as: 'criticality', class: Google::Apis::ApphubV1::Criticality, decorator: Google::Apis::ApphubV1::Criticality::Representation
306
+
307
+ collection :developer_owners, as: 'developerOwners', class: Google::Apis::ApphubV1::ContactInfo, decorator: Google::Apis::ApphubV1::ContactInfo::Representation
308
+
309
+ property :environment, as: 'environment', class: Google::Apis::ApphubV1::Environment, decorator: Google::Apis::ApphubV1::Environment::Representation
310
+
311
+ collection :operator_owners, as: 'operatorOwners', class: Google::Apis::ApphubV1::ContactInfo, decorator: Google::Apis::ApphubV1::ContactInfo::Representation
312
+
313
+ end
314
+ end
315
+
121
316
  class AuditConfig
122
317
  # @private
123
318
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -151,12 +346,68 @@ module Google
151
346
  end
152
347
  end
153
348
 
349
+ class ContactInfo
350
+ # @private
351
+ class Representation < Google::Apis::Core::JsonRepresentation
352
+ property :display_name, as: 'displayName'
353
+ property :email, as: 'email'
354
+ end
355
+ end
356
+
357
+ class Criticality
358
+ # @private
359
+ class Representation < Google::Apis::Core::JsonRepresentation
360
+ property :type, as: 'type'
361
+ end
362
+ end
363
+
364
+ class DetachServiceProjectAttachmentRequest
365
+ # @private
366
+ class Representation < Google::Apis::Core::JsonRepresentation
367
+ end
368
+ end
369
+
370
+ class DetachServiceProjectAttachmentResponse
371
+ # @private
372
+ class Representation < Google::Apis::Core::JsonRepresentation
373
+ end
374
+ end
375
+
376
+ class DiscoveredService
377
+ # @private
378
+ class Representation < Google::Apis::Core::JsonRepresentation
379
+ property :name, as: 'name'
380
+ property :service_properties, as: 'serviceProperties', class: Google::Apis::ApphubV1::ServiceProperties, decorator: Google::Apis::ApphubV1::ServiceProperties::Representation
381
+
382
+ property :service_reference, as: 'serviceReference', class: Google::Apis::ApphubV1::ServiceReference, decorator: Google::Apis::ApphubV1::ServiceReference::Representation
383
+
384
+ end
385
+ end
386
+
387
+ class DiscoveredWorkload
388
+ # @private
389
+ class Representation < Google::Apis::Core::JsonRepresentation
390
+ property :name, as: 'name'
391
+ property :workload_properties, as: 'workloadProperties', class: Google::Apis::ApphubV1::WorkloadProperties, decorator: Google::Apis::ApphubV1::WorkloadProperties::Representation
392
+
393
+ property :workload_reference, as: 'workloadReference', class: Google::Apis::ApphubV1::WorkloadReference, decorator: Google::Apis::ApphubV1::WorkloadReference::Representation
394
+
395
+ end
396
+ end
397
+
154
398
  class Empty
155
399
  # @private
156
400
  class Representation < Google::Apis::Core::JsonRepresentation
157
401
  end
158
402
  end
159
403
 
404
+ class Environment
405
+ # @private
406
+ class Representation < Google::Apis::Core::JsonRepresentation
407
+ property :type, as: 'type'
408
+ end
409
+ end
410
+
160
411
  class Expr
161
412
  # @private
162
413
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -167,6 +418,36 @@ module Google
167
418
  end
168
419
  end
169
420
 
421
+ class ListApplicationsResponse
422
+ # @private
423
+ class Representation < Google::Apis::Core::JsonRepresentation
424
+ collection :applications, as: 'applications', class: Google::Apis::ApphubV1::Application, decorator: Google::Apis::ApphubV1::Application::Representation
425
+
426
+ property :next_page_token, as: 'nextPageToken'
427
+ collection :unreachable, as: 'unreachable'
428
+ end
429
+ end
430
+
431
+ class ListDiscoveredServicesResponse
432
+ # @private
433
+ class Representation < Google::Apis::Core::JsonRepresentation
434
+ collection :discovered_services, as: 'discoveredServices', class: Google::Apis::ApphubV1::DiscoveredService, decorator: Google::Apis::ApphubV1::DiscoveredService::Representation
435
+
436
+ property :next_page_token, as: 'nextPageToken'
437
+ collection :unreachable, as: 'unreachable'
438
+ end
439
+ end
440
+
441
+ class ListDiscoveredWorkloadsResponse
442
+ # @private
443
+ class Representation < Google::Apis::Core::JsonRepresentation
444
+ collection :discovered_workloads, as: 'discoveredWorkloads', class: Google::Apis::ApphubV1::DiscoveredWorkload, decorator: Google::Apis::ApphubV1::DiscoveredWorkload::Representation
445
+
446
+ property :next_page_token, as: 'nextPageToken'
447
+ collection :unreachable, as: 'unreachable'
448
+ end
449
+ end
450
+
170
451
  class ListLocationsResponse
171
452
  # @private
172
453
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -185,6 +466,36 @@ module Google
185
466
  end
186
467
  end
187
468
 
469
+ class ListServiceProjectAttachmentsResponse
470
+ # @private
471
+ class Representation < Google::Apis::Core::JsonRepresentation
472
+ property :next_page_token, as: 'nextPageToken'
473
+ collection :service_project_attachments, as: 'serviceProjectAttachments', class: Google::Apis::ApphubV1::ServiceProjectAttachment, decorator: Google::Apis::ApphubV1::ServiceProjectAttachment::Representation
474
+
475
+ collection :unreachable, as: 'unreachable'
476
+ end
477
+ end
478
+
479
+ class ListServicesResponse
480
+ # @private
481
+ class Representation < Google::Apis::Core::JsonRepresentation
482
+ property :next_page_token, as: 'nextPageToken'
483
+ collection :services, as: 'services', class: Google::Apis::ApphubV1::Service, decorator: Google::Apis::ApphubV1::Service::Representation
484
+
485
+ collection :unreachable, as: 'unreachable'
486
+ end
487
+ end
488
+
489
+ class ListWorkloadsResponse
490
+ # @private
491
+ class Representation < Google::Apis::Core::JsonRepresentation
492
+ property :next_page_token, as: 'nextPageToken'
493
+ collection :unreachable, as: 'unreachable'
494
+ collection :workloads, as: 'workloads', class: Google::Apis::ApphubV1::Workload, decorator: Google::Apis::ApphubV1::Workload::Representation
495
+
496
+ end
497
+ end
498
+
188
499
  class Location
189
500
  # @private
190
501
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -196,6 +507,30 @@ module Google
196
507
  end
197
508
  end
198
509
 
510
+ class LookupDiscoveredServiceResponse
511
+ # @private
512
+ class Representation < Google::Apis::Core::JsonRepresentation
513
+ property :discovered_service, as: 'discoveredService', class: Google::Apis::ApphubV1::DiscoveredService, decorator: Google::Apis::ApphubV1::DiscoveredService::Representation
514
+
515
+ end
516
+ end
517
+
518
+ class LookupDiscoveredWorkloadResponse
519
+ # @private
520
+ class Representation < Google::Apis::Core::JsonRepresentation
521
+ property :discovered_workload, as: 'discoveredWorkload', class: Google::Apis::ApphubV1::DiscoveredWorkload, decorator: Google::Apis::ApphubV1::DiscoveredWorkload::Representation
522
+
523
+ end
524
+ end
525
+
526
+ class LookupServiceProjectAttachmentResponse
527
+ # @private
528
+ class Representation < Google::Apis::Core::JsonRepresentation
529
+ property :service_project_attachment, as: 'serviceProjectAttachment', class: Google::Apis::ApphubV1::ServiceProjectAttachment, decorator: Google::Apis::ApphubV1::ServiceProjectAttachment::Representation
530
+
531
+ end
532
+ end
533
+
199
534
  class Operation
200
535
  # @private
201
536
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -208,6 +543,19 @@ module Google
208
543
  end
209
544
  end
210
545
 
546
+ class OperationMetadata
547
+ # @private
548
+ class Representation < Google::Apis::Core::JsonRepresentation
549
+ property :api_version, as: 'apiVersion'
550
+ property :create_time, as: 'createTime'
551
+ property :end_time, as: 'endTime'
552
+ property :requested_cancellation, as: 'requestedCancellation'
553
+ property :status_message, as: 'statusMessage'
554
+ property :target, as: 'target'
555
+ property :verb, as: 'verb'
556
+ end
557
+ end
558
+
211
559
  class Policy
212
560
  # @private
213
561
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -228,6 +576,60 @@ module Google
228
576
  end
229
577
  end
230
578
 
579
+ class Scope
580
+ # @private
581
+ class Representation < Google::Apis::Core::JsonRepresentation
582
+ property :type, as: 'type'
583
+ end
584
+ end
585
+
586
+ class Service
587
+ # @private
588
+ class Representation < Google::Apis::Core::JsonRepresentation
589
+ property :attributes, as: 'attributes', class: Google::Apis::ApphubV1::Attributes, decorator: Google::Apis::ApphubV1::Attributes::Representation
590
+
591
+ property :create_time, as: 'createTime'
592
+ property :description, as: 'description'
593
+ property :discovered_service, as: 'discoveredService'
594
+ property :display_name, as: 'displayName'
595
+ property :name, as: 'name'
596
+ property :service_properties, as: 'serviceProperties', class: Google::Apis::ApphubV1::ServiceProperties, decorator: Google::Apis::ApphubV1::ServiceProperties::Representation
597
+
598
+ property :service_reference, as: 'serviceReference', class: Google::Apis::ApphubV1::ServiceReference, decorator: Google::Apis::ApphubV1::ServiceReference::Representation
599
+
600
+ property :state, as: 'state'
601
+ property :uid, as: 'uid'
602
+ property :update_time, as: 'updateTime'
603
+ end
604
+ end
605
+
606
+ class ServiceProjectAttachment
607
+ # @private
608
+ class Representation < Google::Apis::Core::JsonRepresentation
609
+ property :create_time, as: 'createTime'
610
+ property :name, as: 'name'
611
+ property :service_project, as: 'serviceProject'
612
+ property :state, as: 'state'
613
+ property :uid, as: 'uid'
614
+ end
615
+ end
616
+
617
+ class ServiceProperties
618
+ # @private
619
+ class Representation < Google::Apis::Core::JsonRepresentation
620
+ property :gcp_project, as: 'gcpProject'
621
+ property :location, as: 'location'
622
+ property :zone, as: 'zone'
623
+ end
624
+ end
625
+
626
+ class ServiceReference
627
+ # @private
628
+ class Representation < Google::Apis::Core::JsonRepresentation
629
+ property :uri, as: 'uri'
630
+ end
631
+ end
632
+
231
633
  class SetIamPolicyRequest
232
634
  # @private
233
635
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -259,6 +661,42 @@ module Google
259
661
  collection :permissions, as: 'permissions'
260
662
  end
261
663
  end
664
+
665
+ class Workload
666
+ # @private
667
+ class Representation < Google::Apis::Core::JsonRepresentation
668
+ property :attributes, as: 'attributes', class: Google::Apis::ApphubV1::Attributes, decorator: Google::Apis::ApphubV1::Attributes::Representation
669
+
670
+ property :create_time, as: 'createTime'
671
+ property :description, as: 'description'
672
+ property :discovered_workload, as: 'discoveredWorkload'
673
+ property :display_name, as: 'displayName'
674
+ property :name, as: 'name'
675
+ property :state, as: 'state'
676
+ property :uid, as: 'uid'
677
+ property :update_time, as: 'updateTime'
678
+ property :workload_properties, as: 'workloadProperties', class: Google::Apis::ApphubV1::WorkloadProperties, decorator: Google::Apis::ApphubV1::WorkloadProperties::Representation
679
+
680
+ property :workload_reference, as: 'workloadReference', class: Google::Apis::ApphubV1::WorkloadReference, decorator: Google::Apis::ApphubV1::WorkloadReference::Representation
681
+
682
+ end
683
+ end
684
+
685
+ class WorkloadProperties
686
+ # @private
687
+ class Representation < Google::Apis::Core::JsonRepresentation
688
+ property :gcp_project, as: 'gcpProject'
689
+ property :location, as: 'location'
690
+ property :zone, as: 'zone'
691
+ end
692
+ end
693
+
694
+ class WorkloadReference
695
+ # @private
696
+ class Representation < Google::Apis::Core::JsonRepresentation
697
+ property :uri, as: 'uri'
698
+ end
699
+ end
262
700
  end
263
701
  end
264
702
  end