google-apis-workloadmanager_v1 0.14.0 → 0.16.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 WorkloadmanagerV1
18
18
  # Version of the google-apis-workloadmanager_v1 gem
19
- GEM_VERSION = "0.14.0"
19
+ GEM_VERSION = "0.16.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 = "20240117"
25
+ REVISION = "20240208"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,24 @@ module Google
22
22
  module Apis
23
23
  module WorkloadmanagerV1
24
24
 
25
+ class ApiLayerServer
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AvailabilityGroup
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class BackendServer
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
25
43
  class BigQueryDestination
26
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
45
 
@@ -34,6 +52,24 @@ module Google
34
52
  include Google::Apis::Core::JsonObjectSupport
35
53
  end
36
54
 
55
+ class CloudResource
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class Cluster
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class Database
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
37
73
  class Empty
38
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
75
 
@@ -58,6 +94,12 @@ module Google
58
94
  include Google::Apis::Core::JsonObjectSupport
59
95
  end
60
96
 
97
+ class FrontEndServer
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
61
103
  class GceInstanceFilter
62
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
105
 
@@ -70,6 +112,18 @@ module Google
70
112
  include Google::Apis::Core::JsonObjectSupport
71
113
  end
72
114
 
115
+ class Instance
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class Layer
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
73
127
  class ListEvaluationsResponse
74
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
129
 
@@ -112,6 +166,18 @@ module Google
112
166
  include Google::Apis::Core::JsonObjectSupport
113
167
  end
114
168
 
169
+ class ListWorkloadProfilesResponse
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class LoadBalancerServer
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
115
181
  class Location
116
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
183
 
@@ -160,6 +226,12 @@ module Google
160
226
  include Google::Apis::Core::JsonObjectSupport
161
227
  end
162
228
 
229
+ class SapComponent
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
163
235
  class SapDiscovery
164
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
237
 
@@ -202,6 +274,24 @@ module Google
202
274
  include Google::Apis::Core::JsonObjectSupport
203
275
  end
204
276
 
277
+ class SapDiscoveryWorkloadProperties
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class SapDiscoveryWorkloadPropertiesProductVersion
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class SapDiscoveryWorkloadPropertiesSoftwareComponentProperties
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
205
295
  class SapValidation
206
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
297
 
@@ -214,6 +304,18 @@ module Google
214
304
  include Google::Apis::Core::JsonObjectSupport
215
305
  end
216
306
 
307
+ class SapWorkload
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class SapWorkloadOverview
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
217
319
  class ScannedResource
218
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
321
 
@@ -238,18 +340,54 @@ module Google
238
340
  include Google::Apis::Core::JsonObjectSupport
239
341
  end
240
342
 
343
+ class SqlserverWorkload
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class SqlserverWorkloadOverview
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
241
355
  class Status
242
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
357
 
244
358
  include Google::Apis::Core::JsonObjectSupport
245
359
  end
246
360
 
361
+ class ThreeTierWorkload
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class ThreeTierWorkloadOverview
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
247
373
  class ViolationDetails
248
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
375
 
250
376
  include Google::Apis::Core::JsonObjectSupport
251
377
  end
252
378
 
379
+ class WorkloadProfile
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class WorkloadProfileOverview
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
253
391
  class WriteInsightRequest
254
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
393
 
@@ -262,6 +400,38 @@ module Google
262
400
  include Google::Apis::Core::JsonObjectSupport
263
401
  end
264
402
 
403
+ class ApiLayerServer
404
+ # @private
405
+ class Representation < Google::Apis::Core::JsonRepresentation
406
+ property :name, as: 'name'
407
+ property :os_version, as: 'osVersion'
408
+ collection :resources, as: 'resources', class: Google::Apis::WorkloadmanagerV1::CloudResource, decorator: Google::Apis::WorkloadmanagerV1::CloudResource::Representation
409
+
410
+ end
411
+ end
412
+
413
+ class AvailabilityGroup
414
+ # @private
415
+ class Representation < Google::Apis::Core::JsonRepresentation
416
+ collection :databases, as: 'databases'
417
+ property :name, as: 'name'
418
+ property :primary_server, as: 'primaryServer'
419
+ collection :secondary_servers, as: 'secondaryServers'
420
+ end
421
+ end
422
+
423
+ class BackendServer
424
+ # @private
425
+ class Representation < Google::Apis::Core::JsonRepresentation
426
+ property :backup_file, as: 'backupFile'
427
+ property :backup_schedule, as: 'backupSchedule'
428
+ property :name, as: 'name'
429
+ property :os_version, as: 'osVersion'
430
+ collection :resources, as: 'resources', class: Google::Apis::WorkloadmanagerV1::CloudResource, decorator: Google::Apis::WorkloadmanagerV1::CloudResource::Representation
431
+
432
+ end
433
+ end
434
+
265
435
  class BigQueryDestination
266
436
  # @private
267
437
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -276,6 +446,32 @@ module Google
276
446
  end
277
447
  end
278
448
 
449
+ class CloudResource
450
+ # @private
451
+ class Representation < Google::Apis::Core::JsonRepresentation
452
+ property :kind, as: 'kind'
453
+ property :name, as: 'name'
454
+ end
455
+ end
456
+
457
+ class Cluster
458
+ # @private
459
+ class Representation < Google::Apis::Core::JsonRepresentation
460
+ collection :nodes, as: 'nodes'
461
+ property :witness_server, as: 'witnessServer'
462
+ end
463
+ end
464
+
465
+ class Database
466
+ # @private
467
+ class Representation < Google::Apis::Core::JsonRepresentation
468
+ property :backup_file, as: 'backupFile'
469
+ property :backup_schedule, as: 'backupSchedule'
470
+ property :host_vm, as: 'hostVm'
471
+ property :name, as: 'name'
472
+ end
473
+ end
474
+
279
475
  class Empty
280
476
  # @private
281
477
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -331,6 +527,16 @@ module Google
331
527
  end
332
528
  end
333
529
 
530
+ class FrontEndServer
531
+ # @private
532
+ class Representation < Google::Apis::Core::JsonRepresentation
533
+ property :name, as: 'name'
534
+ property :os_version, as: 'osVersion'
535
+ collection :resources, as: 'resources', class: Google::Apis::WorkloadmanagerV1::CloudResource, decorator: Google::Apis::WorkloadmanagerV1::CloudResource::Representation
536
+
537
+ end
538
+ end
539
+
334
540
  class GceInstanceFilter
335
541
  # @private
336
542
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -352,6 +558,26 @@ module Google
352
558
  end
353
559
  end
354
560
 
561
+ class Instance
562
+ # @private
563
+ class Representation < Google::Apis::Core::JsonRepresentation
564
+ property :name, as: 'name'
565
+ property :region, as: 'region'
566
+ property :status, as: 'status'
567
+ end
568
+ end
569
+
570
+ class Layer
571
+ # @private
572
+ class Representation < Google::Apis::Core::JsonRepresentation
573
+ property :application_type, as: 'applicationType'
574
+ property :database_type, as: 'databaseType'
575
+ collection :instances, as: 'instances', class: Google::Apis::WorkloadmanagerV1::Instance, decorator: Google::Apis::WorkloadmanagerV1::Instance::Representation
576
+
577
+ property :sid, as: 'sid'
578
+ end
579
+ end
580
+
355
581
  class ListEvaluationsResponse
356
582
  # @private
357
583
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -417,6 +643,24 @@ module Google
417
643
  end
418
644
  end
419
645
 
646
+ class ListWorkloadProfilesResponse
647
+ # @private
648
+ class Representation < Google::Apis::Core::JsonRepresentation
649
+ property :next_page_token, as: 'nextPageToken'
650
+ collection :unreachable, as: 'unreachable'
651
+ collection :workload_overviews, as: 'workloadOverviews', class: Google::Apis::WorkloadmanagerV1::WorkloadProfileOverview, decorator: Google::Apis::WorkloadmanagerV1::WorkloadProfileOverview::Representation
652
+
653
+ end
654
+ end
655
+
656
+ class LoadBalancerServer
657
+ # @private
658
+ class Representation < Google::Apis::Core::JsonRepresentation
659
+ property :ip, as: 'ip'
660
+ property :vm, as: 'vm'
661
+ end
662
+ end
663
+
420
664
  class Location
421
665
  # @private
422
666
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -508,6 +752,15 @@ module Google
508
752
  end
509
753
  end
510
754
 
755
+ class SapComponent
756
+ # @private
757
+ class Representation < Google::Apis::Core::JsonRepresentation
758
+ collection :resources, as: 'resources', class: Google::Apis::WorkloadmanagerV1::CloudResource, decorator: Google::Apis::WorkloadmanagerV1::CloudResource::Representation
759
+
760
+ property :sid, as: 'sid'
761
+ end
762
+ end
763
+
511
764
  class SapDiscovery
512
765
  # @private
513
766
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -520,6 +773,8 @@ module Google
520
773
  property :project_number, as: 'projectNumber'
521
774
  property :system_id, as: 'systemId'
522
775
  property :update_time, as: 'updateTime'
776
+ property :workload_properties, as: 'workloadProperties', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadProperties, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadProperties::Representation
777
+
523
778
  end
524
779
  end
525
780
 
@@ -591,6 +846,34 @@ module Google
591
846
  end
592
847
  end
593
848
 
849
+ class SapDiscoveryWorkloadProperties
850
+ # @private
851
+ class Representation < Google::Apis::Core::JsonRepresentation
852
+ collection :product_versions, as: 'productVersions', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadPropertiesProductVersion, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadPropertiesProductVersion::Representation
853
+
854
+ collection :software_component_versions, as: 'softwareComponentVersions', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadPropertiesSoftwareComponentProperties, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadPropertiesSoftwareComponentProperties::Representation
855
+
856
+ end
857
+ end
858
+
859
+ class SapDiscoveryWorkloadPropertiesProductVersion
860
+ # @private
861
+ class Representation < Google::Apis::Core::JsonRepresentation
862
+ property :name, as: 'name'
863
+ property :version, as: 'version'
864
+ end
865
+ end
866
+
867
+ class SapDiscoveryWorkloadPropertiesSoftwareComponentProperties
868
+ # @private
869
+ class Representation < Google::Apis::Core::JsonRepresentation
870
+ property :ext_version, as: 'extVersion'
871
+ property :name, as: 'name'
872
+ property :type, as: 'type'
873
+ property :version, as: 'version'
874
+ end
875
+ end
876
+
594
877
  class SapValidation
595
878
  # @private
596
879
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -610,6 +893,26 @@ module Google
610
893
  end
611
894
  end
612
895
 
896
+ class SapWorkload
897
+ # @private
898
+ class Representation < Google::Apis::Core::JsonRepresentation
899
+ property :application, as: 'application', class: Google::Apis::WorkloadmanagerV1::SapComponent, decorator: Google::Apis::WorkloadmanagerV1::SapComponent::Representation
900
+
901
+ property :database, as: 'database', class: Google::Apis::WorkloadmanagerV1::SapComponent, decorator: Google::Apis::WorkloadmanagerV1::SapComponent::Representation
902
+
903
+ hash :metadata, as: 'metadata'
904
+ end
905
+ end
906
+
907
+ class SapWorkloadOverview
908
+ # @private
909
+ class Representation < Google::Apis::Core::JsonRepresentation
910
+ property :app_sid, as: 'appSid'
911
+ property :db_sid, as: 'dbSid'
912
+ property :sap_system_id, as: 'sapSystemId'
913
+ end
914
+ end
915
+
613
916
  class ScannedResource
614
917
  # @private
615
918
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -645,6 +948,28 @@ module Google
645
948
  end
646
949
  end
647
950
 
951
+ class SqlserverWorkload
952
+ # @private
953
+ class Representation < Google::Apis::Core::JsonRepresentation
954
+ collection :ags, as: 'ags', class: Google::Apis::WorkloadmanagerV1::AvailabilityGroup, decorator: Google::Apis::WorkloadmanagerV1::AvailabilityGroup::Representation
955
+
956
+ property :cluster, as: 'cluster', class: Google::Apis::WorkloadmanagerV1::Cluster, decorator: Google::Apis::WorkloadmanagerV1::Cluster::Representation
957
+
958
+ collection :databases, as: 'databases', class: Google::Apis::WorkloadmanagerV1::Database, decorator: Google::Apis::WorkloadmanagerV1::Database::Representation
959
+
960
+ property :load_balancer_server, as: 'loadBalancerServer', class: Google::Apis::WorkloadmanagerV1::LoadBalancerServer, decorator: Google::Apis::WorkloadmanagerV1::LoadBalancerServer::Representation
961
+
962
+ end
963
+ end
964
+
965
+ class SqlserverWorkloadOverview
966
+ # @private
967
+ class Representation < Google::Apis::Core::JsonRepresentation
968
+ collection :availability_group, as: 'availabilityGroup'
969
+ property :sqlserver_system_id, as: 'sqlserverSystemId'
970
+ end
971
+ end
972
+
648
973
  class Status
649
974
  # @private
650
975
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -654,6 +979,26 @@ module Google
654
979
  end
655
980
  end
656
981
 
982
+ class ThreeTierWorkload
983
+ # @private
984
+ class Representation < Google::Apis::Core::JsonRepresentation
985
+ property :api_layer, as: 'apiLayer', class: Google::Apis::WorkloadmanagerV1::ApiLayerServer, decorator: Google::Apis::WorkloadmanagerV1::ApiLayerServer::Representation
986
+
987
+ property :backend, as: 'backend', class: Google::Apis::WorkloadmanagerV1::BackendServer, decorator: Google::Apis::WorkloadmanagerV1::BackendServer::Representation
988
+
989
+ property :endpoint, as: 'endpoint'
990
+ property :frontend, as: 'frontend', class: Google::Apis::WorkloadmanagerV1::FrontEndServer, decorator: Google::Apis::WorkloadmanagerV1::FrontEndServer::Representation
991
+
992
+ end
993
+ end
994
+
995
+ class ThreeTierWorkloadOverview
996
+ # @private
997
+ class Representation < Google::Apis::Core::JsonRepresentation
998
+ property :three_tier_system_id, as: 'threeTierSystemId'
999
+ end
1000
+ end
1001
+
657
1002
  class ViolationDetails
658
1003
  # @private
659
1004
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -663,6 +1008,41 @@ module Google
663
1008
  end
664
1009
  end
665
1010
 
1011
+ class WorkloadProfile
1012
+ # @private
1013
+ class Representation < Google::Apis::Core::JsonRepresentation
1014
+ property :application, as: 'application', class: Google::Apis::WorkloadmanagerV1::Layer, decorator: Google::Apis::WorkloadmanagerV1::Layer::Representation
1015
+
1016
+ property :ascs, as: 'ascs', class: Google::Apis::WorkloadmanagerV1::Layer, decorator: Google::Apis::WorkloadmanagerV1::Layer::Representation
1017
+
1018
+ property :database, as: 'database', class: Google::Apis::WorkloadmanagerV1::Layer, decorator: Google::Apis::WorkloadmanagerV1::Layer::Representation
1019
+
1020
+ hash :labels, as: 'labels'
1021
+ property :name, as: 'name'
1022
+ property :refreshed_time, as: 'refreshedTime'
1023
+ property :sap_workload, as: 'sapWorkload', class: Google::Apis::WorkloadmanagerV1::SapWorkload, decorator: Google::Apis::WorkloadmanagerV1::SapWorkload::Representation
1024
+
1025
+ property :sqlserver_workload, as: 'sqlserverWorkload', class: Google::Apis::WorkloadmanagerV1::SqlserverWorkload, decorator: Google::Apis::WorkloadmanagerV1::SqlserverWorkload::Representation
1026
+
1027
+ property :state, as: 'state'
1028
+ property :three_tier_workload, as: 'threeTierWorkload', class: Google::Apis::WorkloadmanagerV1::ThreeTierWorkload, decorator: Google::Apis::WorkloadmanagerV1::ThreeTierWorkload::Representation
1029
+
1030
+ property :workload_type, as: 'workloadType'
1031
+ end
1032
+ end
1033
+
1034
+ class WorkloadProfileOverview
1035
+ # @private
1036
+ class Representation < Google::Apis::Core::JsonRepresentation
1037
+ property :sap_workload_overview, as: 'sapWorkloadOverview', class: Google::Apis::WorkloadmanagerV1::SapWorkloadOverview, decorator: Google::Apis::WorkloadmanagerV1::SapWorkloadOverview::Representation
1038
+
1039
+ property :sqlserver_workload_overview, as: 'sqlserverWorkloadOverview', class: Google::Apis::WorkloadmanagerV1::SqlserverWorkloadOverview, decorator: Google::Apis::WorkloadmanagerV1::SqlserverWorkloadOverview::Representation
1040
+
1041
+ property :three_tier_workload_overview, as: 'threeTierWorkloadOverview', class: Google::Apis::WorkloadmanagerV1::ThreeTierWorkloadOverview, decorator: Google::Apis::WorkloadmanagerV1::ThreeTierWorkloadOverview::Representation
1042
+
1043
+ end
1044
+ end
1045
+
666
1046
  class WriteInsightRequest
667
1047
  # @private
668
1048
  class Representation < Google::Apis::Core::JsonRepresentation