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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/workloadmanager_v1/classes.rb +764 -0
- data/lib/google/apis/workloadmanager_v1/gem_version.rb +3 -3
- data/lib/google/apis/workloadmanager_v1/representations.rb +380 -0
- data/lib/google/apis/workloadmanager_v1/service.rb +154 -0
- metadata +7 -7
@@ -22,6 +22,117 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module WorkloadmanagerV1
|
24
24
|
|
25
|
+
# The API layer server
|
26
|
+
class ApiLayerServer
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Output only. The api layer name
|
30
|
+
# Corresponds to the JSON property `name`
|
31
|
+
# @return [String]
|
32
|
+
attr_accessor :name
|
33
|
+
|
34
|
+
# Output only. OS information
|
35
|
+
# Corresponds to the JSON property `osVersion`
|
36
|
+
# @return [String]
|
37
|
+
attr_accessor :os_version
|
38
|
+
|
39
|
+
# Output only. resources in the component
|
40
|
+
# Corresponds to the JSON property `resources`
|
41
|
+
# @return [Array<Google::Apis::WorkloadmanagerV1::CloudResource>]
|
42
|
+
attr_accessor :resources
|
43
|
+
|
44
|
+
def initialize(**args)
|
45
|
+
update!(**args)
|
46
|
+
end
|
47
|
+
|
48
|
+
# Update properties of this object
|
49
|
+
def update!(**args)
|
50
|
+
@name = args[:name] if args.key?(:name)
|
51
|
+
@os_version = args[:os_version] if args.key?(:os_version)
|
52
|
+
@resources = args[:resources] if args.key?(:resources)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
# The availability groups for sqlserver
|
57
|
+
class AvailabilityGroup
|
58
|
+
include Google::Apis::Core::Hashable
|
59
|
+
|
60
|
+
# Output only. The databases
|
61
|
+
# Corresponds to the JSON property `databases`
|
62
|
+
# @return [Array<String>]
|
63
|
+
attr_accessor :databases
|
64
|
+
|
65
|
+
# Output only. The availability group name
|
66
|
+
# Corresponds to the JSON property `name`
|
67
|
+
# @return [String]
|
68
|
+
attr_accessor :name
|
69
|
+
|
70
|
+
# Output only. The primary server
|
71
|
+
# Corresponds to the JSON property `primaryServer`
|
72
|
+
# @return [String]
|
73
|
+
attr_accessor :primary_server
|
74
|
+
|
75
|
+
# Output only. The secondary servers
|
76
|
+
# Corresponds to the JSON property `secondaryServers`
|
77
|
+
# @return [Array<String>]
|
78
|
+
attr_accessor :secondary_servers
|
79
|
+
|
80
|
+
def initialize(**args)
|
81
|
+
update!(**args)
|
82
|
+
end
|
83
|
+
|
84
|
+
# Update properties of this object
|
85
|
+
def update!(**args)
|
86
|
+
@databases = args[:databases] if args.key?(:databases)
|
87
|
+
@name = args[:name] if args.key?(:name)
|
88
|
+
@primary_server = args[:primary_server] if args.key?(:primary_server)
|
89
|
+
@secondary_servers = args[:secondary_servers] if args.key?(:secondary_servers)
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
# The backend server
|
94
|
+
class BackendServer
|
95
|
+
include Google::Apis::Core::Hashable
|
96
|
+
|
97
|
+
# Output only. The backup file
|
98
|
+
# Corresponds to the JSON property `backupFile`
|
99
|
+
# @return [String]
|
100
|
+
attr_accessor :backup_file
|
101
|
+
|
102
|
+
# Output only. The backup schedule
|
103
|
+
# Corresponds to the JSON property `backupSchedule`
|
104
|
+
# @return [String]
|
105
|
+
attr_accessor :backup_schedule
|
106
|
+
|
107
|
+
# Output only. The backend name
|
108
|
+
# Corresponds to the JSON property `name`
|
109
|
+
# @return [String]
|
110
|
+
attr_accessor :name
|
111
|
+
|
112
|
+
# Output only. OS information
|
113
|
+
# Corresponds to the JSON property `osVersion`
|
114
|
+
# @return [String]
|
115
|
+
attr_accessor :os_version
|
116
|
+
|
117
|
+
# Output only. resources in the component
|
118
|
+
# Corresponds to the JSON property `resources`
|
119
|
+
# @return [Array<Google::Apis::WorkloadmanagerV1::CloudResource>]
|
120
|
+
attr_accessor :resources
|
121
|
+
|
122
|
+
def initialize(**args)
|
123
|
+
update!(**args)
|
124
|
+
end
|
125
|
+
|
126
|
+
# Update properties of this object
|
127
|
+
def update!(**args)
|
128
|
+
@backup_file = args[:backup_file] if args.key?(:backup_file)
|
129
|
+
@backup_schedule = args[:backup_schedule] if args.key?(:backup_schedule)
|
130
|
+
@name = args[:name] if args.key?(:name)
|
131
|
+
@os_version = args[:os_version] if args.key?(:os_version)
|
132
|
+
@resources = args[:resources] if args.key?(:resources)
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
25
136
|
# Message describing big query destination
|
26
137
|
class BigQueryDestination
|
27
138
|
include Google::Apis::Core::Hashable
|
@@ -61,6 +172,93 @@ module Google
|
|
61
172
|
end
|
62
173
|
end
|
63
174
|
|
175
|
+
# The resource on GCP
|
176
|
+
class CloudResource
|
177
|
+
include Google::Apis::Core::Hashable
|
178
|
+
|
179
|
+
# Output only. ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc.
|
180
|
+
# Corresponds to the JSON property `kind`
|
181
|
+
# @return [String]
|
182
|
+
attr_accessor :kind
|
183
|
+
|
184
|
+
# Output only. resource name
|
185
|
+
# Corresponds to the JSON property `name`
|
186
|
+
# @return [String]
|
187
|
+
attr_accessor :name
|
188
|
+
|
189
|
+
def initialize(**args)
|
190
|
+
update!(**args)
|
191
|
+
end
|
192
|
+
|
193
|
+
# Update properties of this object
|
194
|
+
def update!(**args)
|
195
|
+
@kind = args[:kind] if args.key?(:kind)
|
196
|
+
@name = args[:name] if args.key?(:name)
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
# The cluster for sqlserver
|
201
|
+
class Cluster
|
202
|
+
include Google::Apis::Core::Hashable
|
203
|
+
|
204
|
+
# Output only. The nodes
|
205
|
+
# Corresponds to the JSON property `nodes`
|
206
|
+
# @return [Array<String>]
|
207
|
+
attr_accessor :nodes
|
208
|
+
|
209
|
+
# Output only. The witness server
|
210
|
+
# Corresponds to the JSON property `witnessServer`
|
211
|
+
# @return [String]
|
212
|
+
attr_accessor :witness_server
|
213
|
+
|
214
|
+
def initialize(**args)
|
215
|
+
update!(**args)
|
216
|
+
end
|
217
|
+
|
218
|
+
# Update properties of this object
|
219
|
+
def update!(**args)
|
220
|
+
@nodes = args[:nodes] if args.key?(:nodes)
|
221
|
+
@witness_server = args[:witness_server] if args.key?(:witness_server)
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
225
|
+
# The database for sqlserver
|
226
|
+
class Database
|
227
|
+
include Google::Apis::Core::Hashable
|
228
|
+
|
229
|
+
# Output only. The backup file
|
230
|
+
# Corresponds to the JSON property `backupFile`
|
231
|
+
# @return [String]
|
232
|
+
attr_accessor :backup_file
|
233
|
+
|
234
|
+
# Output only. The backup schedule
|
235
|
+
# Corresponds to the JSON property `backupSchedule`
|
236
|
+
# @return [String]
|
237
|
+
attr_accessor :backup_schedule
|
238
|
+
|
239
|
+
# Output only. The host VM
|
240
|
+
# Corresponds to the JSON property `hostVm`
|
241
|
+
# @return [String]
|
242
|
+
attr_accessor :host_vm
|
243
|
+
|
244
|
+
# Output only. The database name
|
245
|
+
# Corresponds to the JSON property `name`
|
246
|
+
# @return [String]
|
247
|
+
attr_accessor :name
|
248
|
+
|
249
|
+
def initialize(**args)
|
250
|
+
update!(**args)
|
251
|
+
end
|
252
|
+
|
253
|
+
# Update properties of this object
|
254
|
+
def update!(**args)
|
255
|
+
@backup_file = args[:backup_file] if args.key?(:backup_file)
|
256
|
+
@backup_schedule = args[:backup_schedule] if args.key?(:backup_schedule)
|
257
|
+
@host_vm = args[:host_vm] if args.key?(:host_vm)
|
258
|
+
@name = args[:name] if args.key?(:name)
|
259
|
+
end
|
260
|
+
end
|
261
|
+
|
64
262
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
65
263
|
# messages in your APIs. A typical example is to use it as the request or the
|
66
264
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -277,6 +475,37 @@ module Google
|
|
277
475
|
end
|
278
476
|
end
|
279
477
|
|
478
|
+
# The front end server
|
479
|
+
class FrontEndServer
|
480
|
+
include Google::Apis::Core::Hashable
|
481
|
+
|
482
|
+
# Output only. The frontend name
|
483
|
+
# Corresponds to the JSON property `name`
|
484
|
+
# @return [String]
|
485
|
+
attr_accessor :name
|
486
|
+
|
487
|
+
# Output only. OS information
|
488
|
+
# Corresponds to the JSON property `osVersion`
|
489
|
+
# @return [String]
|
490
|
+
attr_accessor :os_version
|
491
|
+
|
492
|
+
# Output only. resources in the component
|
493
|
+
# Corresponds to the JSON property `resources`
|
494
|
+
# @return [Array<Google::Apis::WorkloadmanagerV1::CloudResource>]
|
495
|
+
attr_accessor :resources
|
496
|
+
|
497
|
+
def initialize(**args)
|
498
|
+
update!(**args)
|
499
|
+
end
|
500
|
+
|
501
|
+
# Update properties of this object
|
502
|
+
def update!(**args)
|
503
|
+
@name = args[:name] if args.key?(:name)
|
504
|
+
@os_version = args[:os_version] if args.key?(:os_version)
|
505
|
+
@resources = args[:resources] if args.key?(:resources)
|
506
|
+
end
|
507
|
+
end
|
508
|
+
|
280
509
|
# Message describing compute engine instance filter
|
281
510
|
class GceInstanceFilter
|
282
511
|
include Google::Apis::Core::Hashable
|
@@ -341,6 +570,74 @@ module Google
|
|
341
570
|
end
|
342
571
|
end
|
343
572
|
|
573
|
+
# a vm instance
|
574
|
+
class Instance
|
575
|
+
include Google::Apis::Core::Hashable
|
576
|
+
|
577
|
+
# Output only. name of the VM
|
578
|
+
# Corresponds to the JSON property `name`
|
579
|
+
# @return [String]
|
580
|
+
attr_accessor :name
|
581
|
+
|
582
|
+
# Output only. The location of the VM
|
583
|
+
# Corresponds to the JSON property `region`
|
584
|
+
# @return [String]
|
585
|
+
attr_accessor :region
|
586
|
+
|
587
|
+
# Output only. The state of the VM
|
588
|
+
# Corresponds to the JSON property `status`
|
589
|
+
# @return [String]
|
590
|
+
attr_accessor :status
|
591
|
+
|
592
|
+
def initialize(**args)
|
593
|
+
update!(**args)
|
594
|
+
end
|
595
|
+
|
596
|
+
# Update properties of this object
|
597
|
+
def update!(**args)
|
598
|
+
@name = args[:name] if args.key?(:name)
|
599
|
+
@region = args[:region] if args.key?(:region)
|
600
|
+
@status = args[:status] if args.key?(:status)
|
601
|
+
end
|
602
|
+
end
|
603
|
+
|
604
|
+
# The database layer
|
605
|
+
class Layer
|
606
|
+
include Google::Apis::Core::Hashable
|
607
|
+
|
608
|
+
# the application layer
|
609
|
+
# Corresponds to the JSON property `applicationType`
|
610
|
+
# @return [String]
|
611
|
+
attr_accessor :application_type
|
612
|
+
|
613
|
+
# Optional. the database layer
|
614
|
+
# Corresponds to the JSON property `databaseType`
|
615
|
+
# @return [String]
|
616
|
+
attr_accessor :database_type
|
617
|
+
|
618
|
+
# Optional. instances in a layer
|
619
|
+
# Corresponds to the JSON property `instances`
|
620
|
+
# @return [Array<Google::Apis::WorkloadmanagerV1::Instance>]
|
621
|
+
attr_accessor :instances
|
622
|
+
|
623
|
+
# Output only. system identification of a layer
|
624
|
+
# Corresponds to the JSON property `sid`
|
625
|
+
# @return [String]
|
626
|
+
attr_accessor :sid
|
627
|
+
|
628
|
+
def initialize(**args)
|
629
|
+
update!(**args)
|
630
|
+
end
|
631
|
+
|
632
|
+
# Update properties of this object
|
633
|
+
def update!(**args)
|
634
|
+
@application_type = args[:application_type] if args.key?(:application_type)
|
635
|
+
@database_type = args[:database_type] if args.key?(:database_type)
|
636
|
+
@instances = args[:instances] if args.key?(:instances)
|
637
|
+
@sid = args[:sid] if args.key?(:sid)
|
638
|
+
end
|
639
|
+
end
|
640
|
+
|
344
641
|
# Message for response to listing Evaluations
|
345
642
|
class ListEvaluationsResponse
|
346
643
|
include Google::Apis::Core::Hashable
|
@@ -530,6 +827,62 @@ module Google
|
|
530
827
|
end
|
531
828
|
end
|
532
829
|
|
830
|
+
# List workloadResponse returns a response with the list of workload overview
|
831
|
+
class ListWorkloadProfilesResponse
|
832
|
+
include Google::Apis::Core::Hashable
|
833
|
+
|
834
|
+
# Output only. A token identifying a page of results the server should return
|
835
|
+
# Corresponds to the JSON property `nextPageToken`
|
836
|
+
# @return [String]
|
837
|
+
attr_accessor :next_page_token
|
838
|
+
|
839
|
+
# Locations that could not be reached.
|
840
|
+
# Corresponds to the JSON property `unreachable`
|
841
|
+
# @return [Array<String>]
|
842
|
+
attr_accessor :unreachable
|
843
|
+
|
844
|
+
# Output only. The list of Workload Overview
|
845
|
+
# Corresponds to the JSON property `workloadOverviews`
|
846
|
+
# @return [Array<Google::Apis::WorkloadmanagerV1::WorkloadProfileOverview>]
|
847
|
+
attr_accessor :workload_overviews
|
848
|
+
|
849
|
+
def initialize(**args)
|
850
|
+
update!(**args)
|
851
|
+
end
|
852
|
+
|
853
|
+
# Update properties of this object
|
854
|
+
def update!(**args)
|
855
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
856
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
857
|
+
@workload_overviews = args[:workload_overviews] if args.key?(:workload_overviews)
|
858
|
+
end
|
859
|
+
end
|
860
|
+
|
861
|
+
# The load balancer for sqlserver
|
862
|
+
class LoadBalancerServer
|
863
|
+
include Google::Apis::Core::Hashable
|
864
|
+
|
865
|
+
# Output only. The IP address
|
866
|
+
# Corresponds to the JSON property `ip`
|
867
|
+
# @return [String]
|
868
|
+
attr_accessor :ip
|
869
|
+
|
870
|
+
# Output only. The VM name
|
871
|
+
# Corresponds to the JSON property `vm`
|
872
|
+
# @return [String]
|
873
|
+
attr_accessor :vm
|
874
|
+
|
875
|
+
def initialize(**args)
|
876
|
+
update!(**args)
|
877
|
+
end
|
878
|
+
|
879
|
+
# Update properties of this object
|
880
|
+
def update!(**args)
|
881
|
+
@ip = args[:ip] if args.key?(:ip)
|
882
|
+
@vm = args[:vm] if args.key?(:vm)
|
883
|
+
end
|
884
|
+
end
|
885
|
+
|
533
886
|
# A resource that represents a Google Cloud location.
|
534
887
|
class Location
|
535
888
|
include Google::Apis::Core::Hashable
|
@@ -911,6 +1264,31 @@ module Google
|
|
911
1264
|
end
|
912
1265
|
end
|
913
1266
|
|
1267
|
+
# The component of sap workload
|
1268
|
+
class SapComponent
|
1269
|
+
include Google::Apis::Core::Hashable
|
1270
|
+
|
1271
|
+
# Output only. resources in the component
|
1272
|
+
# Corresponds to the JSON property `resources`
|
1273
|
+
# @return [Array<Google::Apis::WorkloadmanagerV1::CloudResource>]
|
1274
|
+
attr_accessor :resources
|
1275
|
+
|
1276
|
+
# Output only. sid is the sap component identificator
|
1277
|
+
# Corresponds to the JSON property `sid`
|
1278
|
+
# @return [String]
|
1279
|
+
attr_accessor :sid
|
1280
|
+
|
1281
|
+
def initialize(**args)
|
1282
|
+
update!(**args)
|
1283
|
+
end
|
1284
|
+
|
1285
|
+
# Update properties of this object
|
1286
|
+
def update!(**args)
|
1287
|
+
@resources = args[:resources] if args.key?(:resources)
|
1288
|
+
@sid = args[:sid] if args.key?(:sid)
|
1289
|
+
end
|
1290
|
+
end
|
1291
|
+
|
914
1292
|
# The schema of SAP system discovery data.
|
915
1293
|
class SapDiscovery
|
916
1294
|
include Google::Apis::Core::Hashable
|
@@ -946,6 +1324,11 @@ module Google
|
|
946
1324
|
# @return [String]
|
947
1325
|
attr_accessor :update_time
|
948
1326
|
|
1327
|
+
# A set of properties describing an SAP workload.
|
1328
|
+
# Corresponds to the JSON property `workloadProperties`
|
1329
|
+
# @return [Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadProperties]
|
1330
|
+
attr_accessor :workload_properties
|
1331
|
+
|
949
1332
|
def initialize(**args)
|
950
1333
|
update!(**args)
|
951
1334
|
end
|
@@ -958,6 +1341,7 @@ module Google
|
|
958
1341
|
@project_number = args[:project_number] if args.key?(:project_number)
|
959
1342
|
@system_id = args[:system_id] if args.key?(:system_id)
|
960
1343
|
@update_time = args[:update_time] if args.key?(:update_time)
|
1344
|
+
@workload_properties = args[:workload_properties] if args.key?(:workload_properties)
|
961
1345
|
end
|
962
1346
|
end
|
963
1347
|
|
@@ -1215,6 +1599,94 @@ module Google
|
|
1215
1599
|
end
|
1216
1600
|
end
|
1217
1601
|
|
1602
|
+
# A set of properties describing an SAP workload.
|
1603
|
+
class SapDiscoveryWorkloadProperties
|
1604
|
+
include Google::Apis::Core::Hashable
|
1605
|
+
|
1606
|
+
# Optional. List of SAP Products and their versions running on the system.
|
1607
|
+
# Corresponds to the JSON property `productVersions`
|
1608
|
+
# @return [Array<Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadPropertiesProductVersion>]
|
1609
|
+
attr_accessor :product_versions
|
1610
|
+
|
1611
|
+
# Optional. A list of SAP software components and their versions running on the
|
1612
|
+
# system.
|
1613
|
+
# Corresponds to the JSON property `softwareComponentVersions`
|
1614
|
+
# @return [Array<Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadPropertiesSoftwareComponentProperties>]
|
1615
|
+
attr_accessor :software_component_versions
|
1616
|
+
|
1617
|
+
def initialize(**args)
|
1618
|
+
update!(**args)
|
1619
|
+
end
|
1620
|
+
|
1621
|
+
# Update properties of this object
|
1622
|
+
def update!(**args)
|
1623
|
+
@product_versions = args[:product_versions] if args.key?(:product_versions)
|
1624
|
+
@software_component_versions = args[:software_component_versions] if args.key?(:software_component_versions)
|
1625
|
+
end
|
1626
|
+
end
|
1627
|
+
|
1628
|
+
# A product name and version.
|
1629
|
+
class SapDiscoveryWorkloadPropertiesProductVersion
|
1630
|
+
include Google::Apis::Core::Hashable
|
1631
|
+
|
1632
|
+
# Optional. Name of the product.
|
1633
|
+
# Corresponds to the JSON property `name`
|
1634
|
+
# @return [String]
|
1635
|
+
attr_accessor :name
|
1636
|
+
|
1637
|
+
# Optional. Version of the product.
|
1638
|
+
# Corresponds to the JSON property `version`
|
1639
|
+
# @return [String]
|
1640
|
+
attr_accessor :version
|
1641
|
+
|
1642
|
+
def initialize(**args)
|
1643
|
+
update!(**args)
|
1644
|
+
end
|
1645
|
+
|
1646
|
+
# Update properties of this object
|
1647
|
+
def update!(**args)
|
1648
|
+
@name = args[:name] if args.key?(:name)
|
1649
|
+
@version = args[:version] if args.key?(:version)
|
1650
|
+
end
|
1651
|
+
end
|
1652
|
+
|
1653
|
+
# A SAP software component name, version, and type.
|
1654
|
+
class SapDiscoveryWorkloadPropertiesSoftwareComponentProperties
|
1655
|
+
include Google::Apis::Core::Hashable
|
1656
|
+
|
1657
|
+
# Optional. The component's minor version.
|
1658
|
+
# Corresponds to the JSON property `extVersion`
|
1659
|
+
# @return [String]
|
1660
|
+
attr_accessor :ext_version
|
1661
|
+
|
1662
|
+
# Optional. Name of the component.
|
1663
|
+
# Corresponds to the JSON property `name`
|
1664
|
+
# @return [String]
|
1665
|
+
attr_accessor :name
|
1666
|
+
|
1667
|
+
# Optional. The component's type.
|
1668
|
+
# Corresponds to the JSON property `type`
|
1669
|
+
# @return [String]
|
1670
|
+
attr_accessor :type
|
1671
|
+
|
1672
|
+
# Optional. The component's major version.
|
1673
|
+
# Corresponds to the JSON property `version`
|
1674
|
+
# @return [String]
|
1675
|
+
attr_accessor :version
|
1676
|
+
|
1677
|
+
def initialize(**args)
|
1678
|
+
update!(**args)
|
1679
|
+
end
|
1680
|
+
|
1681
|
+
# Update properties of this object
|
1682
|
+
def update!(**args)
|
1683
|
+
@ext_version = args[:ext_version] if args.key?(:ext_version)
|
1684
|
+
@name = args[:name] if args.key?(:name)
|
1685
|
+
@type = args[:type] if args.key?(:type)
|
1686
|
+
@version = args[:version] if args.key?(:version)
|
1687
|
+
end
|
1688
|
+
end
|
1689
|
+
|
1218
1690
|
# A presentation of SAP workload insight. The schema of SAP workloads validation
|
1219
1691
|
# related data.
|
1220
1692
|
class SapValidation
|
@@ -1279,6 +1751,68 @@ module Google
|
|
1279
1751
|
end
|
1280
1752
|
end
|
1281
1753
|
|
1754
|
+
# The body of sap workload
|
1755
|
+
class SapWorkload
|
1756
|
+
include Google::Apis::Core::Hashable
|
1757
|
+
|
1758
|
+
# The component of sap workload
|
1759
|
+
# Corresponds to the JSON property `application`
|
1760
|
+
# @return [Google::Apis::WorkloadmanagerV1::SapComponent]
|
1761
|
+
attr_accessor :application
|
1762
|
+
|
1763
|
+
# The component of sap workload
|
1764
|
+
# Corresponds to the JSON property `database`
|
1765
|
+
# @return [Google::Apis::WorkloadmanagerV1::SapComponent]
|
1766
|
+
attr_accessor :database
|
1767
|
+
|
1768
|
+
# Output only. The metadata for SAP workload.
|
1769
|
+
# Corresponds to the JSON property `metadata`
|
1770
|
+
# @return [Hash<String,String>]
|
1771
|
+
attr_accessor :metadata
|
1772
|
+
|
1773
|
+
def initialize(**args)
|
1774
|
+
update!(**args)
|
1775
|
+
end
|
1776
|
+
|
1777
|
+
# Update properties of this object
|
1778
|
+
def update!(**args)
|
1779
|
+
@application = args[:application] if args.key?(:application)
|
1780
|
+
@database = args[:database] if args.key?(:database)
|
1781
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
1782
|
+
end
|
1783
|
+
end
|
1784
|
+
|
1785
|
+
# The overview of sap workload
|
1786
|
+
class SapWorkloadOverview
|
1787
|
+
include Google::Apis::Core::Hashable
|
1788
|
+
|
1789
|
+
# Output only. The application SID
|
1790
|
+
# Corresponds to the JSON property `appSid`
|
1791
|
+
# @return [String]
|
1792
|
+
attr_accessor :app_sid
|
1793
|
+
|
1794
|
+
# Output only. The database SID
|
1795
|
+
# Corresponds to the JSON property `dbSid`
|
1796
|
+
# @return [String]
|
1797
|
+
attr_accessor :db_sid
|
1798
|
+
|
1799
|
+
# Output only. The UUID for a SAP workload
|
1800
|
+
# Corresponds to the JSON property `sapSystemId`
|
1801
|
+
# @return [String]
|
1802
|
+
attr_accessor :sap_system_id
|
1803
|
+
|
1804
|
+
def initialize(**args)
|
1805
|
+
update!(**args)
|
1806
|
+
end
|
1807
|
+
|
1808
|
+
# Update properties of this object
|
1809
|
+
def update!(**args)
|
1810
|
+
@app_sid = args[:app_sid] if args.key?(:app_sid)
|
1811
|
+
@db_sid = args[:db_sid] if args.key?(:db_sid)
|
1812
|
+
@sap_system_id = args[:sap_system_id] if args.key?(:sap_system_id)
|
1813
|
+
end
|
1814
|
+
end
|
1815
|
+
|
1282
1816
|
# Message of scanned resource
|
1283
1817
|
class ScannedResource
|
1284
1818
|
include Google::Apis::Core::Hashable
|
@@ -1388,6 +1922,68 @@ module Google
|
|
1388
1922
|
end
|
1389
1923
|
end
|
1390
1924
|
|
1925
|
+
# The body of sqlserver workload
|
1926
|
+
class SqlserverWorkload
|
1927
|
+
include Google::Apis::Core::Hashable
|
1928
|
+
|
1929
|
+
# Output only. The availability groups for sqlserver
|
1930
|
+
# Corresponds to the JSON property `ags`
|
1931
|
+
# @return [Array<Google::Apis::WorkloadmanagerV1::AvailabilityGroup>]
|
1932
|
+
attr_accessor :ags
|
1933
|
+
|
1934
|
+
# The cluster for sqlserver
|
1935
|
+
# Corresponds to the JSON property `cluster`
|
1936
|
+
# @return [Google::Apis::WorkloadmanagerV1::Cluster]
|
1937
|
+
attr_accessor :cluster
|
1938
|
+
|
1939
|
+
# Output only. The databases for sqlserver
|
1940
|
+
# Corresponds to the JSON property `databases`
|
1941
|
+
# @return [Array<Google::Apis::WorkloadmanagerV1::Database>]
|
1942
|
+
attr_accessor :databases
|
1943
|
+
|
1944
|
+
# The load balancer for sqlserver
|
1945
|
+
# Corresponds to the JSON property `loadBalancerServer`
|
1946
|
+
# @return [Google::Apis::WorkloadmanagerV1::LoadBalancerServer]
|
1947
|
+
attr_accessor :load_balancer_server
|
1948
|
+
|
1949
|
+
def initialize(**args)
|
1950
|
+
update!(**args)
|
1951
|
+
end
|
1952
|
+
|
1953
|
+
# Update properties of this object
|
1954
|
+
def update!(**args)
|
1955
|
+
@ags = args[:ags] if args.key?(:ags)
|
1956
|
+
@cluster = args[:cluster] if args.key?(:cluster)
|
1957
|
+
@databases = args[:databases] if args.key?(:databases)
|
1958
|
+
@load_balancer_server = args[:load_balancer_server] if args.key?(:load_balancer_server)
|
1959
|
+
end
|
1960
|
+
end
|
1961
|
+
|
1962
|
+
# The overview of sqlserver workload
|
1963
|
+
class SqlserverWorkloadOverview
|
1964
|
+
include Google::Apis::Core::Hashable
|
1965
|
+
|
1966
|
+
# Output only. The availability groups
|
1967
|
+
# Corresponds to the JSON property `availabilityGroup`
|
1968
|
+
# @return [Array<String>]
|
1969
|
+
attr_accessor :availability_group
|
1970
|
+
|
1971
|
+
# Output only. The UUID for a Sqlserver workload
|
1972
|
+
# Corresponds to the JSON property `sqlserverSystemId`
|
1973
|
+
# @return [String]
|
1974
|
+
attr_accessor :sqlserver_system_id
|
1975
|
+
|
1976
|
+
def initialize(**args)
|
1977
|
+
update!(**args)
|
1978
|
+
end
|
1979
|
+
|
1980
|
+
# Update properties of this object
|
1981
|
+
def update!(**args)
|
1982
|
+
@availability_group = args[:availability_group] if args.key?(:availability_group)
|
1983
|
+
@sqlserver_system_id = args[:sqlserver_system_id] if args.key?(:sqlserver_system_id)
|
1984
|
+
end
|
1985
|
+
end
|
1986
|
+
|
1391
1987
|
# The `Status` type defines a logical error model that is suitable for different
|
1392
1988
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1393
1989
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -1427,6 +2023,62 @@ module Google
|
|
1427
2023
|
end
|
1428
2024
|
end
|
1429
2025
|
|
2026
|
+
# The body of three tier workload
|
2027
|
+
class ThreeTierWorkload
|
2028
|
+
include Google::Apis::Core::Hashable
|
2029
|
+
|
2030
|
+
# The API layer server
|
2031
|
+
# Corresponds to the JSON property `apiLayer`
|
2032
|
+
# @return [Google::Apis::WorkloadmanagerV1::ApiLayerServer]
|
2033
|
+
attr_accessor :api_layer
|
2034
|
+
|
2035
|
+
# The backend server
|
2036
|
+
# Corresponds to the JSON property `backend`
|
2037
|
+
# @return [Google::Apis::WorkloadmanagerV1::BackendServer]
|
2038
|
+
attr_accessor :backend
|
2039
|
+
|
2040
|
+
# Output only. the workload endpoint
|
2041
|
+
# Corresponds to the JSON property `endpoint`
|
2042
|
+
# @return [String]
|
2043
|
+
attr_accessor :endpoint
|
2044
|
+
|
2045
|
+
# The front end server
|
2046
|
+
# Corresponds to the JSON property `frontend`
|
2047
|
+
# @return [Google::Apis::WorkloadmanagerV1::FrontEndServer]
|
2048
|
+
attr_accessor :frontend
|
2049
|
+
|
2050
|
+
def initialize(**args)
|
2051
|
+
update!(**args)
|
2052
|
+
end
|
2053
|
+
|
2054
|
+
# Update properties of this object
|
2055
|
+
def update!(**args)
|
2056
|
+
@api_layer = args[:api_layer] if args.key?(:api_layer)
|
2057
|
+
@backend = args[:backend] if args.key?(:backend)
|
2058
|
+
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
2059
|
+
@frontend = args[:frontend] if args.key?(:frontend)
|
2060
|
+
end
|
2061
|
+
end
|
2062
|
+
|
2063
|
+
# The overview of three tier workload
|
2064
|
+
class ThreeTierWorkloadOverview
|
2065
|
+
include Google::Apis::Core::Hashable
|
2066
|
+
|
2067
|
+
# Output only. The UUID for a three tier workload
|
2068
|
+
# Corresponds to the JSON property `threeTierSystemId`
|
2069
|
+
# @return [String]
|
2070
|
+
attr_accessor :three_tier_system_id
|
2071
|
+
|
2072
|
+
def initialize(**args)
|
2073
|
+
update!(**args)
|
2074
|
+
end
|
2075
|
+
|
2076
|
+
# Update properties of this object
|
2077
|
+
def update!(**args)
|
2078
|
+
@three_tier_system_id = args[:three_tier_system_id] if args.key?(:three_tier_system_id)
|
2079
|
+
end
|
2080
|
+
end
|
2081
|
+
|
1430
2082
|
# Message describing the violdation in execution result
|
1431
2083
|
class ViolationDetails
|
1432
2084
|
include Google::Apis::Core::Hashable
|
@@ -1458,6 +2110,118 @@ module Google
|
|
1458
2110
|
end
|
1459
2111
|
end
|
1460
2112
|
|
2113
|
+
# workload resource
|
2114
|
+
class WorkloadProfile
|
2115
|
+
include Google::Apis::Core::Hashable
|
2116
|
+
|
2117
|
+
# The database layer
|
2118
|
+
# Corresponds to the JSON property `application`
|
2119
|
+
# @return [Google::Apis::WorkloadmanagerV1::Layer]
|
2120
|
+
attr_accessor :application
|
2121
|
+
|
2122
|
+
# The database layer
|
2123
|
+
# Corresponds to the JSON property `ascs`
|
2124
|
+
# @return [Google::Apis::WorkloadmanagerV1::Layer]
|
2125
|
+
attr_accessor :ascs
|
2126
|
+
|
2127
|
+
# The database layer
|
2128
|
+
# Corresponds to the JSON property `database`
|
2129
|
+
# @return [Google::Apis::WorkloadmanagerV1::Layer]
|
2130
|
+
attr_accessor :database
|
2131
|
+
|
2132
|
+
# Optional. such as name, description, version. More example can be found in
|
2133
|
+
# deployment
|
2134
|
+
# Corresponds to the JSON property `labels`
|
2135
|
+
# @return [Hash<String,String>]
|
2136
|
+
attr_accessor :labels
|
2137
|
+
|
2138
|
+
# Identifier. name of resource names have the form 'projects/`project_id`/
|
2139
|
+
# workloads/`workload_id`'
|
2140
|
+
# Corresponds to the JSON property `name`
|
2141
|
+
# @return [String]
|
2142
|
+
attr_accessor :name
|
2143
|
+
|
2144
|
+
# Required. time when the workload data was refreshed
|
2145
|
+
# Corresponds to the JSON property `refreshedTime`
|
2146
|
+
# @return [String]
|
2147
|
+
attr_accessor :refreshed_time
|
2148
|
+
|
2149
|
+
# The body of sap workload
|
2150
|
+
# Corresponds to the JSON property `sapWorkload`
|
2151
|
+
# @return [Google::Apis::WorkloadmanagerV1::SapWorkload]
|
2152
|
+
attr_accessor :sap_workload
|
2153
|
+
|
2154
|
+
# The body of sqlserver workload
|
2155
|
+
# Corresponds to the JSON property `sqlserverWorkload`
|
2156
|
+
# @return [Google::Apis::WorkloadmanagerV1::SqlserverWorkload]
|
2157
|
+
attr_accessor :sqlserver_workload
|
2158
|
+
|
2159
|
+
# Output only. [output only] the current state if a a workload
|
2160
|
+
# Corresponds to the JSON property `state`
|
2161
|
+
# @return [String]
|
2162
|
+
attr_accessor :state
|
2163
|
+
|
2164
|
+
# The body of three tier workload
|
2165
|
+
# Corresponds to the JSON property `threeTierWorkload`
|
2166
|
+
# @return [Google::Apis::WorkloadmanagerV1::ThreeTierWorkload]
|
2167
|
+
attr_accessor :three_tier_workload
|
2168
|
+
|
2169
|
+
# Required. The type of the workload
|
2170
|
+
# Corresponds to the JSON property `workloadType`
|
2171
|
+
# @return [String]
|
2172
|
+
attr_accessor :workload_type
|
2173
|
+
|
2174
|
+
def initialize(**args)
|
2175
|
+
update!(**args)
|
2176
|
+
end
|
2177
|
+
|
2178
|
+
# Update properties of this object
|
2179
|
+
def update!(**args)
|
2180
|
+
@application = args[:application] if args.key?(:application)
|
2181
|
+
@ascs = args[:ascs] if args.key?(:ascs)
|
2182
|
+
@database = args[:database] if args.key?(:database)
|
2183
|
+
@labels = args[:labels] if args.key?(:labels)
|
2184
|
+
@name = args[:name] if args.key?(:name)
|
2185
|
+
@refreshed_time = args[:refreshed_time] if args.key?(:refreshed_time)
|
2186
|
+
@sap_workload = args[:sap_workload] if args.key?(:sap_workload)
|
2187
|
+
@sqlserver_workload = args[:sqlserver_workload] if args.key?(:sqlserver_workload)
|
2188
|
+
@state = args[:state] if args.key?(:state)
|
2189
|
+
@three_tier_workload = args[:three_tier_workload] if args.key?(:three_tier_workload)
|
2190
|
+
@workload_type = args[:workload_type] if args.key?(:workload_type)
|
2191
|
+
end
|
2192
|
+
end
|
2193
|
+
|
2194
|
+
# a workload profile overview
|
2195
|
+
class WorkloadProfileOverview
|
2196
|
+
include Google::Apis::Core::Hashable
|
2197
|
+
|
2198
|
+
# The overview of sap workload
|
2199
|
+
# Corresponds to the JSON property `sapWorkloadOverview`
|
2200
|
+
# @return [Google::Apis::WorkloadmanagerV1::SapWorkloadOverview]
|
2201
|
+
attr_accessor :sap_workload_overview
|
2202
|
+
|
2203
|
+
# The overview of sqlserver workload
|
2204
|
+
# Corresponds to the JSON property `sqlserverWorkloadOverview`
|
2205
|
+
# @return [Google::Apis::WorkloadmanagerV1::SqlserverWorkloadOverview]
|
2206
|
+
attr_accessor :sqlserver_workload_overview
|
2207
|
+
|
2208
|
+
# The overview of three tier workload
|
2209
|
+
# Corresponds to the JSON property `threeTierWorkloadOverview`
|
2210
|
+
# @return [Google::Apis::WorkloadmanagerV1::ThreeTierWorkloadOverview]
|
2211
|
+
attr_accessor :three_tier_workload_overview
|
2212
|
+
|
2213
|
+
def initialize(**args)
|
2214
|
+
update!(**args)
|
2215
|
+
end
|
2216
|
+
|
2217
|
+
# Update properties of this object
|
2218
|
+
def update!(**args)
|
2219
|
+
@sap_workload_overview = args[:sap_workload_overview] if args.key?(:sap_workload_overview)
|
2220
|
+
@sqlserver_workload_overview = args[:sqlserver_workload_overview] if args.key?(:sqlserver_workload_overview)
|
2221
|
+
@three_tier_workload_overview = args[:three_tier_workload_overview] if args.key?(:three_tier_workload_overview)
|
2222
|
+
end
|
2223
|
+
end
|
2224
|
+
|
1461
2225
|
# Request for sending the data insights.
|
1462
2226
|
class WriteInsightRequest
|
1463
2227
|
include Google::Apis::Core::Hashable
|