google-apis-apphub_v1 0.3.0 → 0.4.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.
@@ -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.4.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 = "20240217"
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,48 @@ 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 LookupServiceProjectAttachmentResponse
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
79
175
  class Operation
80
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
177
 
82
178
  include Google::Apis::Core::JsonObjectSupport
83
179
  end
84
180
 
181
+ class OperationMetadata
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
85
187
  class Policy
86
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
189
 
@@ -94,6 +196,36 @@ module Google
94
196
  include Google::Apis::Core::JsonObjectSupport
95
197
  end
96
198
 
199
+ class Scope
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class Service
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class ServiceProjectAttachment
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class ServiceProperties
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class ServiceReference
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
97
229
  class SetIamPolicyRequest
98
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
231
 
@@ -118,6 +250,57 @@ module Google
118
250
  include Google::Apis::Core::JsonObjectSupport
119
251
  end
120
252
 
253
+ class Workload
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class WorkloadProperties
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class WorkloadReference
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class Application
272
+ # @private
273
+ class Representation < Google::Apis::Core::JsonRepresentation
274
+ property :attributes, as: 'attributes', class: Google::Apis::ApphubV1::Attributes, decorator: Google::Apis::ApphubV1::Attributes::Representation
275
+
276
+ property :create_time, as: 'createTime'
277
+ property :description, as: 'description'
278
+ property :display_name, as: 'displayName'
279
+ property :name, as: 'name'
280
+ property :scope, as: 'scope', class: Google::Apis::ApphubV1::Scope, decorator: Google::Apis::ApphubV1::Scope::Representation
281
+
282
+ property :state, as: 'state'
283
+ property :uid, as: 'uid'
284
+ property :update_time, as: 'updateTime'
285
+ end
286
+ end
287
+
288
+ class Attributes
289
+ # @private
290
+ class Representation < Google::Apis::Core::JsonRepresentation
291
+ collection :business_owners, as: 'businessOwners', class: Google::Apis::ApphubV1::ContactInfo, decorator: Google::Apis::ApphubV1::ContactInfo::Representation
292
+
293
+ property :criticality, as: 'criticality', class: Google::Apis::ApphubV1::Criticality, decorator: Google::Apis::ApphubV1::Criticality::Representation
294
+
295
+ collection :developer_owners, as: 'developerOwners', class: Google::Apis::ApphubV1::ContactInfo, decorator: Google::Apis::ApphubV1::ContactInfo::Representation
296
+
297
+ property :environment, as: 'environment', class: Google::Apis::ApphubV1::Environment, decorator: Google::Apis::ApphubV1::Environment::Representation
298
+
299
+ collection :operator_owners, as: 'operatorOwners', class: Google::Apis::ApphubV1::ContactInfo, decorator: Google::Apis::ApphubV1::ContactInfo::Representation
300
+
301
+ end
302
+ end
303
+
121
304
  class AuditConfig
122
305
  # @private
123
306
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -151,12 +334,68 @@ module Google
151
334
  end
152
335
  end
153
336
 
337
+ class ContactInfo
338
+ # @private
339
+ class Representation < Google::Apis::Core::JsonRepresentation
340
+ property :display_name, as: 'displayName'
341
+ property :email, as: 'email'
342
+ end
343
+ end
344
+
345
+ class Criticality
346
+ # @private
347
+ class Representation < Google::Apis::Core::JsonRepresentation
348
+ property :type, as: 'type'
349
+ end
350
+ end
351
+
352
+ class DetachServiceProjectAttachmentRequest
353
+ # @private
354
+ class Representation < Google::Apis::Core::JsonRepresentation
355
+ end
356
+ end
357
+
358
+ class DetachServiceProjectAttachmentResponse
359
+ # @private
360
+ class Representation < Google::Apis::Core::JsonRepresentation
361
+ end
362
+ end
363
+
364
+ class DiscoveredService
365
+ # @private
366
+ class Representation < Google::Apis::Core::JsonRepresentation
367
+ property :name, as: 'name'
368
+ property :service_properties, as: 'serviceProperties', class: Google::Apis::ApphubV1::ServiceProperties, decorator: Google::Apis::ApphubV1::ServiceProperties::Representation
369
+
370
+ property :service_reference, as: 'serviceReference', class: Google::Apis::ApphubV1::ServiceReference, decorator: Google::Apis::ApphubV1::ServiceReference::Representation
371
+
372
+ end
373
+ end
374
+
375
+ class DiscoveredWorkload
376
+ # @private
377
+ class Representation < Google::Apis::Core::JsonRepresentation
378
+ property :name, as: 'name'
379
+ property :workload_properties, as: 'workloadProperties', class: Google::Apis::ApphubV1::WorkloadProperties, decorator: Google::Apis::ApphubV1::WorkloadProperties::Representation
380
+
381
+ property :workload_reference, as: 'workloadReference', class: Google::Apis::ApphubV1::WorkloadReference, decorator: Google::Apis::ApphubV1::WorkloadReference::Representation
382
+
383
+ end
384
+ end
385
+
154
386
  class Empty
155
387
  # @private
156
388
  class Representation < Google::Apis::Core::JsonRepresentation
157
389
  end
158
390
  end
159
391
 
392
+ class Environment
393
+ # @private
394
+ class Representation < Google::Apis::Core::JsonRepresentation
395
+ property :type, as: 'type'
396
+ end
397
+ end
398
+
160
399
  class Expr
161
400
  # @private
162
401
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -167,6 +406,36 @@ module Google
167
406
  end
168
407
  end
169
408
 
409
+ class ListApplicationsResponse
410
+ # @private
411
+ class Representation < Google::Apis::Core::JsonRepresentation
412
+ collection :applications, as: 'applications', class: Google::Apis::ApphubV1::Application, decorator: Google::Apis::ApphubV1::Application::Representation
413
+
414
+ property :next_page_token, as: 'nextPageToken'
415
+ collection :unreachable, as: 'unreachable'
416
+ end
417
+ end
418
+
419
+ class ListDiscoveredServicesResponse
420
+ # @private
421
+ class Representation < Google::Apis::Core::JsonRepresentation
422
+ collection :discovered_services, as: 'discoveredServices', class: Google::Apis::ApphubV1::DiscoveredService, decorator: Google::Apis::ApphubV1::DiscoveredService::Representation
423
+
424
+ property :next_page_token, as: 'nextPageToken'
425
+ collection :unreachable, as: 'unreachable'
426
+ end
427
+ end
428
+
429
+ class ListDiscoveredWorkloadsResponse
430
+ # @private
431
+ class Representation < Google::Apis::Core::JsonRepresentation
432
+ collection :discovered_workloads, as: 'discoveredWorkloads', class: Google::Apis::ApphubV1::DiscoveredWorkload, decorator: Google::Apis::ApphubV1::DiscoveredWorkload::Representation
433
+
434
+ property :next_page_token, as: 'nextPageToken'
435
+ collection :unreachable, as: 'unreachable'
436
+ end
437
+ end
438
+
170
439
  class ListLocationsResponse
171
440
  # @private
172
441
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -185,6 +454,36 @@ module Google
185
454
  end
186
455
  end
187
456
 
457
+ class ListServiceProjectAttachmentsResponse
458
+ # @private
459
+ class Representation < Google::Apis::Core::JsonRepresentation
460
+ property :next_page_token, as: 'nextPageToken'
461
+ collection :service_project_attachments, as: 'serviceProjectAttachments', class: Google::Apis::ApphubV1::ServiceProjectAttachment, decorator: Google::Apis::ApphubV1::ServiceProjectAttachment::Representation
462
+
463
+ collection :unreachable, as: 'unreachable'
464
+ end
465
+ end
466
+
467
+ class ListServicesResponse
468
+ # @private
469
+ class Representation < Google::Apis::Core::JsonRepresentation
470
+ property :next_page_token, as: 'nextPageToken'
471
+ collection :services, as: 'services', class: Google::Apis::ApphubV1::Service, decorator: Google::Apis::ApphubV1::Service::Representation
472
+
473
+ collection :unreachable, as: 'unreachable'
474
+ end
475
+ end
476
+
477
+ class ListWorkloadsResponse
478
+ # @private
479
+ class Representation < Google::Apis::Core::JsonRepresentation
480
+ property :next_page_token, as: 'nextPageToken'
481
+ collection :unreachable, as: 'unreachable'
482
+ collection :workloads, as: 'workloads', class: Google::Apis::ApphubV1::Workload, decorator: Google::Apis::ApphubV1::Workload::Representation
483
+
484
+ end
485
+ end
486
+
188
487
  class Location
189
488
  # @private
190
489
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -196,6 +495,14 @@ module Google
196
495
  end
197
496
  end
198
497
 
498
+ class LookupServiceProjectAttachmentResponse
499
+ # @private
500
+ class Representation < Google::Apis::Core::JsonRepresentation
501
+ property :service_project_attachment, as: 'serviceProjectAttachment', class: Google::Apis::ApphubV1::ServiceProjectAttachment, decorator: Google::Apis::ApphubV1::ServiceProjectAttachment::Representation
502
+
503
+ end
504
+ end
505
+
199
506
  class Operation
200
507
  # @private
201
508
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -208,6 +515,19 @@ module Google
208
515
  end
209
516
  end
210
517
 
518
+ class OperationMetadata
519
+ # @private
520
+ class Representation < Google::Apis::Core::JsonRepresentation
521
+ property :api_version, as: 'apiVersion'
522
+ property :create_time, as: 'createTime'
523
+ property :end_time, as: 'endTime'
524
+ property :requested_cancellation, as: 'requestedCancellation'
525
+ property :status_message, as: 'statusMessage'
526
+ property :target, as: 'target'
527
+ property :verb, as: 'verb'
528
+ end
529
+ end
530
+
211
531
  class Policy
212
532
  # @private
213
533
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -228,6 +548,60 @@ module Google
228
548
  end
229
549
  end
230
550
 
551
+ class Scope
552
+ # @private
553
+ class Representation < Google::Apis::Core::JsonRepresentation
554
+ property :type, as: 'type'
555
+ end
556
+ end
557
+
558
+ class Service
559
+ # @private
560
+ class Representation < Google::Apis::Core::JsonRepresentation
561
+ property :attributes, as: 'attributes', class: Google::Apis::ApphubV1::Attributes, decorator: Google::Apis::ApphubV1::Attributes::Representation
562
+
563
+ property :create_time, as: 'createTime'
564
+ property :description, as: 'description'
565
+ property :discovered_service, as: 'discoveredService'
566
+ property :display_name, as: 'displayName'
567
+ property :name, as: 'name'
568
+ property :service_properties, as: 'serviceProperties', class: Google::Apis::ApphubV1::ServiceProperties, decorator: Google::Apis::ApphubV1::ServiceProperties::Representation
569
+
570
+ property :service_reference, as: 'serviceReference', class: Google::Apis::ApphubV1::ServiceReference, decorator: Google::Apis::ApphubV1::ServiceReference::Representation
571
+
572
+ property :state, as: 'state'
573
+ property :uid, as: 'uid'
574
+ property :update_time, as: 'updateTime'
575
+ end
576
+ end
577
+
578
+ class ServiceProjectAttachment
579
+ # @private
580
+ class Representation < Google::Apis::Core::JsonRepresentation
581
+ property :create_time, as: 'createTime'
582
+ property :name, as: 'name'
583
+ property :service_project, as: 'serviceProject'
584
+ property :state, as: 'state'
585
+ property :uid, as: 'uid'
586
+ end
587
+ end
588
+
589
+ class ServiceProperties
590
+ # @private
591
+ class Representation < Google::Apis::Core::JsonRepresentation
592
+ property :gcp_project, as: 'gcpProject'
593
+ property :location, as: 'location'
594
+ property :zone, as: 'zone'
595
+ end
596
+ end
597
+
598
+ class ServiceReference
599
+ # @private
600
+ class Representation < Google::Apis::Core::JsonRepresentation
601
+ property :uri, as: 'uri'
602
+ end
603
+ end
604
+
231
605
  class SetIamPolicyRequest
232
606
  # @private
233
607
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -259,6 +633,42 @@ module Google
259
633
  collection :permissions, as: 'permissions'
260
634
  end
261
635
  end
636
+
637
+ class Workload
638
+ # @private
639
+ class Representation < Google::Apis::Core::JsonRepresentation
640
+ property :attributes, as: 'attributes', class: Google::Apis::ApphubV1::Attributes, decorator: Google::Apis::ApphubV1::Attributes::Representation
641
+
642
+ property :create_time, as: 'createTime'
643
+ property :description, as: 'description'
644
+ property :discovered_workload, as: 'discoveredWorkload'
645
+ property :display_name, as: 'displayName'
646
+ property :name, as: 'name'
647
+ property :state, as: 'state'
648
+ property :uid, as: 'uid'
649
+ property :update_time, as: 'updateTime'
650
+ property :workload_properties, as: 'workloadProperties', class: Google::Apis::ApphubV1::WorkloadProperties, decorator: Google::Apis::ApphubV1::WorkloadProperties::Representation
651
+
652
+ property :workload_reference, as: 'workloadReference', class: Google::Apis::ApphubV1::WorkloadReference, decorator: Google::Apis::ApphubV1::WorkloadReference::Representation
653
+
654
+ end
655
+ end
656
+
657
+ class WorkloadProperties
658
+ # @private
659
+ class Representation < Google::Apis::Core::JsonRepresentation
660
+ property :gcp_project, as: 'gcpProject'
661
+ property :location, as: 'location'
662
+ property :zone, as: 'zone'
663
+ end
664
+ end
665
+
666
+ class WorkloadReference
667
+ # @private
668
+ class Representation < Google::Apis::Core::JsonRepresentation
669
+ property :uri, as: 'uri'
670
+ end
671
+ end
262
672
  end
263
673
  end
264
674
  end