google-apis-workloadmanager_v1 0.17.0 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/workloadmanager_v1/classes.rb +36 -683
- data/lib/google/apis/workloadmanager_v1/gem_version.rb +2 -2
- data/lib/google/apis/workloadmanager_v1/representations.rb +6 -334
- data/lib/google/apis/workloadmanager_v1/service.rb +4 -71
- metadata +3 -3
@@ -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.
|
19
|
+
GEM_VERSION = "0.19.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240322"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,24 +22,6 @@ 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
|
-
|
43
25
|
class BigQueryDestination
|
44
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
27
|
|
@@ -52,24 +34,6 @@ module Google
|
|
52
34
|
include Google::Apis::Core::JsonObjectSupport
|
53
35
|
end
|
54
36
|
|
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
|
-
|
73
37
|
class Empty
|
74
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
39
|
|
@@ -94,12 +58,6 @@ module Google
|
|
94
58
|
include Google::Apis::Core::JsonObjectSupport
|
95
59
|
end
|
96
60
|
|
97
|
-
class FrontEndServer
|
98
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
-
|
100
|
-
include Google::Apis::Core::JsonObjectSupport
|
101
|
-
end
|
102
|
-
|
103
61
|
class GceInstanceFilter
|
104
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
63
|
|
@@ -112,18 +70,6 @@ module Google
|
|
112
70
|
include Google::Apis::Core::JsonObjectSupport
|
113
71
|
end
|
114
72
|
|
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
|
-
|
127
73
|
class ListEvaluationsResponse
|
128
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
75
|
|
@@ -166,18 +112,6 @@ module Google
|
|
166
112
|
include Google::Apis::Core::JsonObjectSupport
|
167
113
|
end
|
168
114
|
|
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
|
-
|
181
115
|
class Location
|
182
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
117
|
|
@@ -226,12 +160,6 @@ module Google
|
|
226
160
|
include Google::Apis::Core::JsonObjectSupport
|
227
161
|
end
|
228
162
|
|
229
|
-
class SapComponent
|
230
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
-
|
232
|
-
include Google::Apis::Core::JsonObjectSupport
|
233
|
-
end
|
234
|
-
|
235
163
|
class SapDiscovery
|
236
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
165
|
|
@@ -304,18 +232,6 @@ module Google
|
|
304
232
|
include Google::Apis::Core::JsonObjectSupport
|
305
233
|
end
|
306
234
|
|
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
|
-
|
319
235
|
class ScannedResource
|
320
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
237
|
|
@@ -340,54 +256,18 @@ module Google
|
|
340
256
|
include Google::Apis::Core::JsonObjectSupport
|
341
257
|
end
|
342
258
|
|
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
|
-
|
355
259
|
class Status
|
356
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
261
|
|
358
262
|
include Google::Apis::Core::JsonObjectSupport
|
359
263
|
end
|
360
264
|
|
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
|
-
|
373
265
|
class ViolationDetails
|
374
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
267
|
|
376
268
|
include Google::Apis::Core::JsonObjectSupport
|
377
269
|
end
|
378
270
|
|
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
|
-
|
391
271
|
class WriteInsightRequest
|
392
272
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
273
|
|
@@ -400,38 +280,6 @@ module Google
|
|
400
280
|
include Google::Apis::Core::JsonObjectSupport
|
401
281
|
end
|
402
282
|
|
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
|
-
|
435
283
|
class BigQueryDestination
|
436
284
|
# @private
|
437
285
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -446,32 +294,6 @@ module Google
|
|
446
294
|
end
|
447
295
|
end
|
448
296
|
|
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
|
-
|
475
297
|
class Empty
|
476
298
|
# @private
|
477
299
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -527,16 +349,6 @@ module Google
|
|
527
349
|
end
|
528
350
|
end
|
529
351
|
|
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
|
-
|
540
352
|
class GceInstanceFilter
|
541
353
|
# @private
|
542
354
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -558,26 +370,6 @@ module Google
|
|
558
370
|
end
|
559
371
|
end
|
560
372
|
|
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
|
-
|
581
373
|
class ListEvaluationsResponse
|
582
374
|
# @private
|
583
375
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -643,24 +435,6 @@ module Google
|
|
643
435
|
end
|
644
436
|
end
|
645
437
|
|
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
|
-
|
664
438
|
class Location
|
665
439
|
# @private
|
666
440
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -752,17 +526,6 @@ module Google
|
|
752
526
|
end
|
753
527
|
end
|
754
528
|
|
755
|
-
class SapComponent
|
756
|
-
# @private
|
757
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
758
|
-
collection :ha_hosts, as: 'haHosts'
|
759
|
-
collection :resources, as: 'resources', class: Google::Apis::WorkloadmanagerV1::CloudResource, decorator: Google::Apis::WorkloadmanagerV1::CloudResource::Representation
|
760
|
-
|
761
|
-
property :sid, as: 'sid'
|
762
|
-
property :topology_type, as: 'topologyType'
|
763
|
-
end
|
764
|
-
end
|
765
|
-
|
766
529
|
class SapDiscovery
|
767
530
|
# @private
|
768
531
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -800,7 +563,9 @@ module Google
|
|
800
563
|
# @private
|
801
564
|
class Representation < Google::Apis::Core::JsonRepresentation
|
802
565
|
property :abap, as: 'abap'
|
566
|
+
property :app_instance_number, as: 'appInstanceNumber'
|
803
567
|
property :application_type, as: 'applicationType'
|
568
|
+
property :ascs_instance_number, as: 'ascsInstanceNumber'
|
804
569
|
property :ascs_uri, as: 'ascsUri'
|
805
570
|
property :kernel_version, as: 'kernelVersion'
|
806
571
|
property :nfs_uri, as: 'nfsUri'
|
@@ -810,8 +575,10 @@ module Google
|
|
810
575
|
class SapDiscoveryComponentDatabaseProperties
|
811
576
|
# @private
|
812
577
|
class Representation < Google::Apis::Core::JsonRepresentation
|
578
|
+
property :database_sid, as: 'databaseSid'
|
813
579
|
property :database_type, as: 'databaseType'
|
814
580
|
property :database_version, as: 'databaseVersion'
|
581
|
+
property :instance_number, as: 'instanceNumber'
|
815
582
|
property :primary_instance_uri, as: 'primaryInstanceUri'
|
816
583
|
property :shared_nfs_uri, as: 'sharedNfsUri'
|
817
584
|
end
|
@@ -844,6 +611,7 @@ module Google
|
|
844
611
|
# @private
|
845
612
|
class Representation < Google::Apis::Core::JsonRepresentation
|
846
613
|
collection :cluster_instances, as: 'clusterInstances'
|
614
|
+
property :instance_number, :numeric_string => true, as: 'instanceNumber'
|
847
615
|
property :virtual_hostname, as: 'virtualHostname'
|
848
616
|
end
|
849
617
|
end
|
@@ -895,26 +663,6 @@ module Google
|
|
895
663
|
end
|
896
664
|
end
|
897
665
|
|
898
|
-
class SapWorkload
|
899
|
-
# @private
|
900
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
901
|
-
property :application, as: 'application', class: Google::Apis::WorkloadmanagerV1::SapComponent, decorator: Google::Apis::WorkloadmanagerV1::SapComponent::Representation
|
902
|
-
|
903
|
-
property :database, as: 'database', class: Google::Apis::WorkloadmanagerV1::SapComponent, decorator: Google::Apis::WorkloadmanagerV1::SapComponent::Representation
|
904
|
-
|
905
|
-
hash :metadata, as: 'metadata'
|
906
|
-
end
|
907
|
-
end
|
908
|
-
|
909
|
-
class SapWorkloadOverview
|
910
|
-
# @private
|
911
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
912
|
-
property :app_sid, as: 'appSid'
|
913
|
-
property :db_sid, as: 'dbSid'
|
914
|
-
property :sap_system_id, as: 'sapSystemId'
|
915
|
-
end
|
916
|
-
end
|
917
|
-
|
918
666
|
class ScannedResource
|
919
667
|
# @private
|
920
668
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -950,28 +698,6 @@ module Google
|
|
950
698
|
end
|
951
699
|
end
|
952
700
|
|
953
|
-
class SqlserverWorkload
|
954
|
-
# @private
|
955
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
956
|
-
collection :ags, as: 'ags', class: Google::Apis::WorkloadmanagerV1::AvailabilityGroup, decorator: Google::Apis::WorkloadmanagerV1::AvailabilityGroup::Representation
|
957
|
-
|
958
|
-
property :cluster, as: 'cluster', class: Google::Apis::WorkloadmanagerV1::Cluster, decorator: Google::Apis::WorkloadmanagerV1::Cluster::Representation
|
959
|
-
|
960
|
-
collection :databases, as: 'databases', class: Google::Apis::WorkloadmanagerV1::Database, decorator: Google::Apis::WorkloadmanagerV1::Database::Representation
|
961
|
-
|
962
|
-
property :load_balancer_server, as: 'loadBalancerServer', class: Google::Apis::WorkloadmanagerV1::LoadBalancerServer, decorator: Google::Apis::WorkloadmanagerV1::LoadBalancerServer::Representation
|
963
|
-
|
964
|
-
end
|
965
|
-
end
|
966
|
-
|
967
|
-
class SqlserverWorkloadOverview
|
968
|
-
# @private
|
969
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
970
|
-
collection :availability_group, as: 'availabilityGroup'
|
971
|
-
property :sqlserver_system_id, as: 'sqlserverSystemId'
|
972
|
-
end
|
973
|
-
end
|
974
|
-
|
975
701
|
class Status
|
976
702
|
# @private
|
977
703
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -981,26 +707,6 @@ module Google
|
|
981
707
|
end
|
982
708
|
end
|
983
709
|
|
984
|
-
class ThreeTierWorkload
|
985
|
-
# @private
|
986
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
987
|
-
property :api_layer, as: 'apiLayer', class: Google::Apis::WorkloadmanagerV1::ApiLayerServer, decorator: Google::Apis::WorkloadmanagerV1::ApiLayerServer::Representation
|
988
|
-
|
989
|
-
property :backend, as: 'backend', class: Google::Apis::WorkloadmanagerV1::BackendServer, decorator: Google::Apis::WorkloadmanagerV1::BackendServer::Representation
|
990
|
-
|
991
|
-
property :endpoint, as: 'endpoint'
|
992
|
-
property :frontend, as: 'frontend', class: Google::Apis::WorkloadmanagerV1::FrontEndServer, decorator: Google::Apis::WorkloadmanagerV1::FrontEndServer::Representation
|
993
|
-
|
994
|
-
end
|
995
|
-
end
|
996
|
-
|
997
|
-
class ThreeTierWorkloadOverview
|
998
|
-
# @private
|
999
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1000
|
-
property :three_tier_system_id, as: 'threeTierSystemId'
|
1001
|
-
end
|
1002
|
-
end
|
1003
|
-
|
1004
710
|
class ViolationDetails
|
1005
711
|
# @private
|
1006
712
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1010,44 +716,10 @@ module Google
|
|
1010
716
|
end
|
1011
717
|
end
|
1012
718
|
|
1013
|
-
class WorkloadProfile
|
1014
|
-
# @private
|
1015
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1016
|
-
property :application, as: 'application', class: Google::Apis::WorkloadmanagerV1::Layer, decorator: Google::Apis::WorkloadmanagerV1::Layer::Representation
|
1017
|
-
|
1018
|
-
property :ascs, as: 'ascs', class: Google::Apis::WorkloadmanagerV1::Layer, decorator: Google::Apis::WorkloadmanagerV1::Layer::Representation
|
1019
|
-
|
1020
|
-
property :database, as: 'database', class: Google::Apis::WorkloadmanagerV1::Layer, decorator: Google::Apis::WorkloadmanagerV1::Layer::Representation
|
1021
|
-
|
1022
|
-
hash :labels, as: 'labels'
|
1023
|
-
property :name, as: 'name'
|
1024
|
-
property :refreshed_time, as: 'refreshedTime'
|
1025
|
-
property :sap_workload, as: 'sapWorkload', class: Google::Apis::WorkloadmanagerV1::SapWorkload, decorator: Google::Apis::WorkloadmanagerV1::SapWorkload::Representation
|
1026
|
-
|
1027
|
-
property :sqlserver_workload, as: 'sqlserverWorkload', class: Google::Apis::WorkloadmanagerV1::SqlserverWorkload, decorator: Google::Apis::WorkloadmanagerV1::SqlserverWorkload::Representation
|
1028
|
-
|
1029
|
-
property :state, as: 'state'
|
1030
|
-
property :three_tier_workload, as: 'threeTierWorkload', class: Google::Apis::WorkloadmanagerV1::ThreeTierWorkload, decorator: Google::Apis::WorkloadmanagerV1::ThreeTierWorkload::Representation
|
1031
|
-
|
1032
|
-
property :workload_type, as: 'workloadType'
|
1033
|
-
end
|
1034
|
-
end
|
1035
|
-
|
1036
|
-
class WorkloadProfileOverview
|
1037
|
-
# @private
|
1038
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1039
|
-
property :sap_workload_overview, as: 'sapWorkloadOverview', class: Google::Apis::WorkloadmanagerV1::SapWorkloadOverview, decorator: Google::Apis::WorkloadmanagerV1::SapWorkloadOverview::Representation
|
1040
|
-
|
1041
|
-
property :sqlserver_workload_overview, as: 'sqlserverWorkloadOverview', class: Google::Apis::WorkloadmanagerV1::SqlserverWorkloadOverview, decorator: Google::Apis::WorkloadmanagerV1::SqlserverWorkloadOverview::Representation
|
1042
|
-
|
1043
|
-
property :three_tier_workload_overview, as: 'threeTierWorkloadOverview', class: Google::Apis::WorkloadmanagerV1::ThreeTierWorkloadOverview, decorator: Google::Apis::WorkloadmanagerV1::ThreeTierWorkloadOverview::Representation
|
1044
|
-
|
1045
|
-
end
|
1046
|
-
end
|
1047
|
-
|
1048
719
|
class WriteInsightRequest
|
1049
720
|
# @private
|
1050
721
|
class Representation < Google::Apis::Core::JsonRepresentation
|
722
|
+
property :agent_version, as: 'agentVersion'
|
1051
723
|
property :insight, as: 'insight', class: Google::Apis::WorkloadmanagerV1::Insight, decorator: Google::Apis::WorkloadmanagerV1::Insight::Representation
|
1052
724
|
|
1053
725
|
property :request_id, as: 'requestId'
|
@@ -178,6 +178,8 @@ module Google
|
|
178
178
|
# Deletes a single Evaluation.
|
179
179
|
# @param [String] name
|
180
180
|
# Required. Name of the resource
|
181
|
+
# @param [Boolean] force
|
182
|
+
# Optional. Followed the best practice from https://aip.dev/135#cascading-delete
|
181
183
|
# @param [String] request_id
|
182
184
|
# Optional. An optional request ID to identify requests. Specify a unique
|
183
185
|
# request ID so that if you must retry your request, the server will know to
|
@@ -206,11 +208,12 @@ module Google
|
|
206
208
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
207
209
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
208
210
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
209
|
-
def delete_project_location_evaluation(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
211
|
+
def delete_project_location_evaluation(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
210
212
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
211
213
|
command.response_representation = Google::Apis::WorkloadmanagerV1::Operation::Representation
|
212
214
|
command.response_class = Google::Apis::WorkloadmanagerV1::Operation
|
213
215
|
command.params['name'] = name unless name.nil?
|
216
|
+
command.query['force'] = force unless force.nil?
|
214
217
|
command.query['requestId'] = request_id unless request_id.nil?
|
215
218
|
command.query['fields'] = fields unless fields.nil?
|
216
219
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -749,76 +752,6 @@ module Google
|
|
749
752
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
750
753
|
execute_or_queue_command(command, &block)
|
751
754
|
end
|
752
|
-
|
753
|
-
# Gets details of a single workload.
|
754
|
-
# @param [String] name
|
755
|
-
# Required. Name of the resource
|
756
|
-
# @param [String] fields
|
757
|
-
# Selector specifying which fields to include in a partial response.
|
758
|
-
# @param [String] quota_user
|
759
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
760
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
761
|
-
# @param [Google::Apis::RequestOptions] options
|
762
|
-
# Request-specific options
|
763
|
-
#
|
764
|
-
# @yield [result, err] Result & error if block supplied
|
765
|
-
# @yieldparam result [Google::Apis::WorkloadmanagerV1::WorkloadProfile] parsed result object
|
766
|
-
# @yieldparam err [StandardError] error object if request failed
|
767
|
-
#
|
768
|
-
# @return [Google::Apis::WorkloadmanagerV1::WorkloadProfile]
|
769
|
-
#
|
770
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
771
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
772
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
773
|
-
def get_project_location_workload_profile(name, fields: nil, quota_user: nil, options: nil, &block)
|
774
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
775
|
-
command.response_representation = Google::Apis::WorkloadmanagerV1::WorkloadProfile::Representation
|
776
|
-
command.response_class = Google::Apis::WorkloadmanagerV1::WorkloadProfile
|
777
|
-
command.params['name'] = name unless name.nil?
|
778
|
-
command.query['fields'] = fields unless fields.nil?
|
779
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
780
|
-
execute_or_queue_command(command, &block)
|
781
|
-
end
|
782
|
-
|
783
|
-
# List workloads
|
784
|
-
# @param [String] parent
|
785
|
-
# Required. Parent value for ListWorkloadRequest
|
786
|
-
# @param [String] filter
|
787
|
-
# Optional. Filtering results
|
788
|
-
# @param [Fixnum] page_size
|
789
|
-
# Optional. Requested page size. Server may return fewer items than requested.
|
790
|
-
# If unspecified, server will pick an appropriate default.
|
791
|
-
# @param [String] page_token
|
792
|
-
# Optional. A token identifying a page of results the server should return.
|
793
|
-
# @param [String] fields
|
794
|
-
# Selector specifying which fields to include in a partial response.
|
795
|
-
# @param [String] quota_user
|
796
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
797
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
798
|
-
# @param [Google::Apis::RequestOptions] options
|
799
|
-
# Request-specific options
|
800
|
-
#
|
801
|
-
# @yield [result, err] Result & error if block supplied
|
802
|
-
# @yieldparam result [Google::Apis::WorkloadmanagerV1::ListWorkloadProfilesResponse] parsed result object
|
803
|
-
# @yieldparam err [StandardError] error object if request failed
|
804
|
-
#
|
805
|
-
# @return [Google::Apis::WorkloadmanagerV1::ListWorkloadProfilesResponse]
|
806
|
-
#
|
807
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
808
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
809
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
810
|
-
def list_project_location_workload_profiles(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
811
|
-
command = make_simple_command(:get, 'v1/{+parent}/workloadProfiles', options)
|
812
|
-
command.response_representation = Google::Apis::WorkloadmanagerV1::ListWorkloadProfilesResponse::Representation
|
813
|
-
command.response_class = Google::Apis::WorkloadmanagerV1::ListWorkloadProfilesResponse
|
814
|
-
command.params['parent'] = parent unless parent.nil?
|
815
|
-
command.query['filter'] = filter unless filter.nil?
|
816
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
817
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
818
|
-
command.query['fields'] = fields unless fields.nil?
|
819
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
820
|
-
execute_or_queue_command(command, &block)
|
821
|
-
end
|
822
755
|
|
823
756
|
protected
|
824
757
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-workloadmanager_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workloadmanager_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.19.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workloadmanager_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|