google-apis-workloadmanager_v1 0.29.0 → 0.30.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.
@@ -22,6 +22,37 @@ 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
+
25
56
  # * An AgentCommand specifies a one-time executable program for the agent to run.
26
57
  class AgentCommand
27
58
  include Google::Apis::Core::Hashable
@@ -48,6 +79,111 @@ module Google
48
79
  end
49
80
  end
50
81
 
82
+ # The availability groups for sqlserver
83
+ class AvailabilityGroup
84
+ include Google::Apis::Core::Hashable
85
+
86
+ # Output only. The databases
87
+ # Corresponds to the JSON property `databases`
88
+ # @return [Array<String>]
89
+ attr_accessor :databases
90
+
91
+ # Output only. The availability group name
92
+ # Corresponds to the JSON property `name`
93
+ # @return [String]
94
+ attr_accessor :name
95
+
96
+ # Output only. The primary server
97
+ # Corresponds to the JSON property `primaryServer`
98
+ # @return [String]
99
+ attr_accessor :primary_server
100
+
101
+ # Output only. The secondary servers
102
+ # Corresponds to the JSON property `secondaryServers`
103
+ # @return [Array<String>]
104
+ attr_accessor :secondary_servers
105
+
106
+ def initialize(**args)
107
+ update!(**args)
108
+ end
109
+
110
+ # Update properties of this object
111
+ def update!(**args)
112
+ @databases = args[:databases] if args.key?(:databases)
113
+ @name = args[:name] if args.key?(:name)
114
+ @primary_server = args[:primary_server] if args.key?(:primary_server)
115
+ @secondary_servers = args[:secondary_servers] if args.key?(:secondary_servers)
116
+ end
117
+ end
118
+
119
+ # The backend server
120
+ class BackendServer
121
+ include Google::Apis::Core::Hashable
122
+
123
+ # Output only. The backup file
124
+ # Corresponds to the JSON property `backupFile`
125
+ # @return [String]
126
+ attr_accessor :backup_file
127
+
128
+ # Output only. The backup schedule
129
+ # Corresponds to the JSON property `backupSchedule`
130
+ # @return [String]
131
+ attr_accessor :backup_schedule
132
+
133
+ # Output only. The backend name
134
+ # Corresponds to the JSON property `name`
135
+ # @return [String]
136
+ attr_accessor :name
137
+
138
+ # Output only. OS information
139
+ # Corresponds to the JSON property `osVersion`
140
+ # @return [String]
141
+ attr_accessor :os_version
142
+
143
+ # Output only. resources in the component
144
+ # Corresponds to the JSON property `resources`
145
+ # @return [Array<Google::Apis::WorkloadmanagerV1::CloudResource>]
146
+ attr_accessor :resources
147
+
148
+ def initialize(**args)
149
+ update!(**args)
150
+ end
151
+
152
+ # Update properties of this object
153
+ def update!(**args)
154
+ @backup_file = args[:backup_file] if args.key?(:backup_file)
155
+ @backup_schedule = args[:backup_schedule] if args.key?(:backup_schedule)
156
+ @name = args[:name] if args.key?(:name)
157
+ @os_version = args[:os_version] if args.key?(:os_version)
158
+ @resources = args[:resources] if args.key?(:resources)
159
+ end
160
+ end
161
+
162
+ # Backup properties.
163
+ class BackupProperties
164
+ include Google::Apis::Core::Hashable
165
+
166
+ # Output only. The state of the latest backup.
167
+ # Corresponds to the JSON property `latestBackupStatus`
168
+ # @return [String]
169
+ attr_accessor :latest_backup_status
170
+
171
+ # The time when the latest backup was performed.
172
+ # Corresponds to the JSON property `latestBackupTime`
173
+ # @return [String]
174
+ attr_accessor :latest_backup_time
175
+
176
+ def initialize(**args)
177
+ update!(**args)
178
+ end
179
+
180
+ # Update properties of this object
181
+ def update!(**args)
182
+ @latest_backup_status = args[:latest_backup_status] if args.key?(:latest_backup_status)
183
+ @latest_backup_time = args[:latest_backup_time] if args.key?(:latest_backup_time)
184
+ end
185
+ end
186
+
51
187
  # Message describing big query destination
52
188
  class BigQueryDestination
53
189
  include Google::Apis::Core::Hashable
@@ -87,6 +223,62 @@ module Google
87
223
  end
88
224
  end
89
225
 
226
+ # The resource on GCP
227
+ class CloudResource
228
+ include Google::Apis::Core::Hashable
229
+
230
+ # Instance Properties.
231
+ # Corresponds to the JSON property `instanceProperties`
232
+ # @return [Google::Apis::WorkloadmanagerV1::InstanceProperties]
233
+ attr_accessor :instance_properties
234
+
235
+ # Output only. ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc.
236
+ # Corresponds to the JSON property `kind`
237
+ # @return [String]
238
+ attr_accessor :kind
239
+
240
+ # Output only. resource name
241
+ # Corresponds to the JSON property `name`
242
+ # @return [String]
243
+ attr_accessor :name
244
+
245
+ def initialize(**args)
246
+ update!(**args)
247
+ end
248
+
249
+ # Update properties of this object
250
+ def update!(**args)
251
+ @instance_properties = args[:instance_properties] if args.key?(:instance_properties)
252
+ @kind = args[:kind] if args.key?(:kind)
253
+ @name = args[:name] if args.key?(:name)
254
+ end
255
+ end
256
+
257
+ # The cluster for sqlserver
258
+ class Cluster
259
+ include Google::Apis::Core::Hashable
260
+
261
+ # Output only. The nodes
262
+ # Corresponds to the JSON property `nodes`
263
+ # @return [Array<String>]
264
+ attr_accessor :nodes
265
+
266
+ # Output only. The witness server
267
+ # Corresponds to the JSON property `witnessServer`
268
+ # @return [String]
269
+ attr_accessor :witness_server
270
+
271
+ def initialize(**args)
272
+ update!(**args)
273
+ end
274
+
275
+ # Update properties of this object
276
+ def update!(**args)
277
+ @nodes = args[:nodes] if args.key?(:nodes)
278
+ @witness_server = args[:witness_server] if args.key?(:witness_server)
279
+ end
280
+ end
281
+
90
282
  # * Command specifies the type of command to execute.
91
283
  class Command
92
284
  include Google::Apis::Core::Hashable
@@ -112,6 +304,118 @@ module Google
112
304
  end
113
305
  end
114
306
 
307
+ # HealthCondition contains the detailed health check of each component.
308
+ class ComponentHealth
309
+ include Google::Apis::Core::Hashable
310
+
311
+ # The component of a workload.
312
+ # Corresponds to the JSON property `component`
313
+ # @return [String]
314
+ attr_accessor :component
315
+
316
+ # The detailed health checks of the component.
317
+ # Corresponds to the JSON property `componentHealthChecks`
318
+ # @return [Array<Google::Apis::WorkloadmanagerV1::HealthCheck>]
319
+ attr_accessor :component_health_checks
320
+
321
+ # Output only. The type of the component health.
322
+ # Corresponds to the JSON property `componentHealthType`
323
+ # @return [String]
324
+ attr_accessor :component_health_type
325
+
326
+ # Output only. The requirement of the component.
327
+ # Corresponds to the JSON property `isRequired`
328
+ # @return [Boolean]
329
+ attr_accessor :is_required
330
+ alias_method :is_required?, :is_required
331
+
332
+ # Output only. The health state of the component.
333
+ # Corresponds to the JSON property `state`
334
+ # @return [String]
335
+ attr_accessor :state
336
+
337
+ # Sub component health.
338
+ # Corresponds to the JSON property `subComponentHealthes`
339
+ # @return [Array<Google::Apis::WorkloadmanagerV1::ComponentHealth>]
340
+ attr_accessor :sub_component_healthes
341
+
342
+ def initialize(**args)
343
+ update!(**args)
344
+ end
345
+
346
+ # Update properties of this object
347
+ def update!(**args)
348
+ @component = args[:component] if args.key?(:component)
349
+ @component_health_checks = args[:component_health_checks] if args.key?(:component_health_checks)
350
+ @component_health_type = args[:component_health_type] if args.key?(:component_health_type)
351
+ @is_required = args[:is_required] if args.key?(:is_required)
352
+ @state = args[:state] if args.key?(:state)
353
+ @sub_component_healthes = args[:sub_component_healthes] if args.key?(:sub_component_healthes)
354
+ end
355
+ end
356
+
357
+ # The database for sqlserver
358
+ class Database
359
+ include Google::Apis::Core::Hashable
360
+
361
+ # Output only. The backup file
362
+ # Corresponds to the JSON property `backupFile`
363
+ # @return [String]
364
+ attr_accessor :backup_file
365
+
366
+ # Output only. The backup schedule
367
+ # Corresponds to the JSON property `backupSchedule`
368
+ # @return [String]
369
+ attr_accessor :backup_schedule
370
+
371
+ # Output only. The host VM
372
+ # Corresponds to the JSON property `hostVm`
373
+ # @return [String]
374
+ attr_accessor :host_vm
375
+
376
+ # Output only. The database name
377
+ # Corresponds to the JSON property `name`
378
+ # @return [String]
379
+ attr_accessor :name
380
+
381
+ def initialize(**args)
382
+ update!(**args)
383
+ end
384
+
385
+ # Update properties of this object
386
+ def update!(**args)
387
+ @backup_file = args[:backup_file] if args.key?(:backup_file)
388
+ @backup_schedule = args[:backup_schedule] if args.key?(:backup_schedule)
389
+ @host_vm = args[:host_vm] if args.key?(:host_vm)
390
+ @name = args[:name] if args.key?(:name)
391
+ end
392
+ end
393
+
394
+ # Database Properties.
395
+ class DatabaseProperties
396
+ include Google::Apis::Core::Hashable
397
+
398
+ # Backup properties.
399
+ # Corresponds to the JSON property `backupProperties`
400
+ # @return [Google::Apis::WorkloadmanagerV1::BackupProperties]
401
+ attr_accessor :backup_properties
402
+
403
+ # Output only. Type of the database. HANA, DB2, etc.
404
+ # Corresponds to the JSON property `databaseType`
405
+ # @return [String]
406
+ attr_accessor :database_type
407
+
408
+ def initialize(**args)
409
+ update!(**args)
410
+ end
411
+
412
+ # Update properties of this object
413
+ def update!(**args)
414
+ @backup_properties = args[:backup_properties] if args.key?(:backup_properties)
415
+ @database_type = args[:database_type] if args.key?(:database_type)
416
+ end
417
+ end
418
+
115
419
  # A generic empty message that you can re-use to avoid defining duplicated empty
116
420
  # messages in your APIs. A typical example is to use it as the request or the
117
421
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -411,6 +715,37 @@ module Google
411
715
  end
412
716
  end
413
717
 
718
+ # The front end server
719
+ class FrontEndServer
720
+ include Google::Apis::Core::Hashable
721
+
722
+ # Output only. The frontend name
723
+ # Corresponds to the JSON property `name`
724
+ # @return [String]
725
+ attr_accessor :name
726
+
727
+ # Output only. OS information
728
+ # Corresponds to the JSON property `osVersion`
729
+ # @return [String]
730
+ attr_accessor :os_version
731
+
732
+ # Output only. resources in the component
733
+ # Corresponds to the JSON property `resources`
734
+ # @return [Array<Google::Apis::WorkloadmanagerV1::CloudResource>]
735
+ attr_accessor :resources
736
+
737
+ def initialize(**args)
738
+ update!(**args)
739
+ end
740
+
741
+ # Update properties of this object
742
+ def update!(**args)
743
+ @name = args[:name] if args.key?(:name)
744
+ @os_version = args[:os_version] if args.key?(:os_version)
745
+ @resources = args[:resources] if args.key?(:resources)
746
+ end
747
+ end
748
+
414
749
  # Message describing compute engine instance filter
415
750
  class GceInstanceFilter
416
751
  include Google::Apis::Core::Hashable
@@ -430,6 +765,49 @@ module Google
430
765
  end
431
766
  end
432
767
 
768
+ # HealthCheck contains the detailed health check of a component based on asource.
769
+ class HealthCheck
770
+ include Google::Apis::Core::Hashable
771
+
772
+ # Output only. The message of the health check.
773
+ # Corresponds to the JSON property `message`
774
+ # @return [String]
775
+ attr_accessor :message
776
+
777
+ # Output only. The health check source metric name.
778
+ # Corresponds to the JSON property `metric`
779
+ # @return [String]
780
+ attr_accessor :metric
781
+
782
+ # The resource on GCP
783
+ # Corresponds to the JSON property `resource`
784
+ # @return [Google::Apis::WorkloadmanagerV1::CloudResource]
785
+ attr_accessor :resource
786
+
787
+ # Output only. The source of the health check.
788
+ # Corresponds to the JSON property `source`
789
+ # @return [String]
790
+ attr_accessor :source
791
+
792
+ # Output only. The state of the health check.
793
+ # Corresponds to the JSON property `state`
794
+ # @return [String]
795
+ attr_accessor :state
796
+
797
+ def initialize(**args)
798
+ update!(**args)
799
+ end
800
+
801
+ # Update properties of this object
802
+ def update!(**args)
803
+ @message = args[:message] if args.key?(:message)
804
+ @metric = args[:metric] if args.key?(:metric)
805
+ @resource = args[:resource] if args.key?(:resource)
806
+ @source = args[:source] if args.key?(:source)
807
+ @state = args[:state] if args.key?(:state)
808
+ end
809
+ end
810
+
433
811
  # A presentation of host resource usage where the workload runs.
434
812
  class Insight
435
813
  include Google::Apis::Core::Hashable
@@ -472,12 +850,166 @@ module Google
472
850
 
473
851
  # Update properties of this object
474
852
  def update!(**args)
475
- @instance_id = args[:instance_id] if args.key?(:instance_id)
476
- @sap_discovery = args[:sap_discovery] if args.key?(:sap_discovery)
477
- @sap_validation = args[:sap_validation] if args.key?(:sap_validation)
478
- @sent_time = args[:sent_time] if args.key?(:sent_time)
479
- @sqlserver_validation = args[:sqlserver_validation] if args.key?(:sqlserver_validation)
480
- @torso_validation = args[:torso_validation] if args.key?(:torso_validation)
853
+ @instance_id = args[:instance_id] if args.key?(:instance_id)
854
+ @sap_discovery = args[:sap_discovery] if args.key?(:sap_discovery)
855
+ @sap_validation = args[:sap_validation] if args.key?(:sap_validation)
856
+ @sent_time = args[:sent_time] if args.key?(:sent_time)
857
+ @sqlserver_validation = args[:sqlserver_validation] if args.key?(:sqlserver_validation)
858
+ @torso_validation = args[:torso_validation] if args.key?(:torso_validation)
859
+ end
860
+ end
861
+
862
+ # a vm instance
863
+ class Instance
864
+ include Google::Apis::Core::Hashable
865
+
866
+ # Output only. name of the VM
867
+ # Corresponds to the JSON property `name`
868
+ # @return [String]
869
+ attr_accessor :name
870
+
871
+ # Output only. The location of the VM
872
+ # Corresponds to the JSON property `region`
873
+ # @return [String]
874
+ attr_accessor :region
875
+
876
+ # Output only. The state of the VM
877
+ # Corresponds to the JSON property `status`
878
+ # @return [String]
879
+ attr_accessor :status
880
+
881
+ def initialize(**args)
882
+ update!(**args)
883
+ end
884
+
885
+ # Update properties of this object
886
+ def update!(**args)
887
+ @name = args[:name] if args.key?(:name)
888
+ @region = args[:region] if args.key?(:region)
889
+ @status = args[:status] if args.key?(:status)
890
+ end
891
+ end
892
+
893
+ # Instance Properties.
894
+ class InstanceProperties
895
+ include Google::Apis::Core::Hashable
896
+
897
+ # Optional. Instance number.
898
+ # Corresponds to the JSON property `instanceNumber`
899
+ # @return [String]
900
+ attr_accessor :instance_number
901
+
902
+ # Optional. Instance machine type.
903
+ # Corresponds to the JSON property `machineType`
904
+ # @return [String]
905
+ attr_accessor :machine_type
906
+
907
+ # Optional. Instance role.
908
+ # Corresponds to the JSON property `role`
909
+ # @return [String]
910
+ attr_accessor :role
911
+
912
+ # Optional. Instance roles.
913
+ # Corresponds to the JSON property `roles`
914
+ # @return [Array<String>]
915
+ attr_accessor :roles
916
+
917
+ # SAP instance properties.
918
+ # Corresponds to the JSON property `sapInstanceProperties`
919
+ # @return [Google::Apis::WorkloadmanagerV1::SapInstanceProperties]
920
+ attr_accessor :sap_instance_properties
921
+
922
+ # Optional. Instance status.
923
+ # Corresponds to the JSON property `status`
924
+ # @return [String]
925
+ attr_accessor :status
926
+
927
+ # Maintenance Event
928
+ # Corresponds to the JSON property `upcomingMaintenanceEvent`
929
+ # @return [Google::Apis::WorkloadmanagerV1::UpcomingMaintenanceEvent]
930
+ attr_accessor :upcoming_maintenance_event
931
+
932
+ def initialize(**args)
933
+ update!(**args)
934
+ end
935
+
936
+ # Update properties of this object
937
+ def update!(**args)
938
+ @instance_number = args[:instance_number] if args.key?(:instance_number)
939
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
940
+ @role = args[:role] if args.key?(:role)
941
+ @roles = args[:roles] if args.key?(:roles)
942
+ @sap_instance_properties = args[:sap_instance_properties] if args.key?(:sap_instance_properties)
943
+ @status = args[:status] if args.key?(:status)
944
+ @upcoming_maintenance_event = args[:upcoming_maintenance_event] if args.key?(:upcoming_maintenance_event)
945
+ end
946
+ end
947
+
948
+ # The database layer
949
+ class Layer
950
+ include Google::Apis::Core::Hashable
951
+
952
+ # the application layer
953
+ # Corresponds to the JSON property `applicationType`
954
+ # @return [String]
955
+ attr_accessor :application_type
956
+
957
+ # Optional. the database layer
958
+ # Corresponds to the JSON property `databaseType`
959
+ # @return [String]
960
+ attr_accessor :database_type
961
+
962
+ # Optional. instances in a layer
963
+ # Corresponds to the JSON property `instances`
964
+ # @return [Array<Google::Apis::WorkloadmanagerV1::Instance>]
965
+ attr_accessor :instances
966
+
967
+ # Output only. system identification of a layer
968
+ # Corresponds to the JSON property `sid`
969
+ # @return [String]
970
+ attr_accessor :sid
971
+
972
+ def initialize(**args)
973
+ update!(**args)
974
+ end
975
+
976
+ # Update properties of this object
977
+ def update!(**args)
978
+ @application_type = args[:application_type] if args.key?(:application_type)
979
+ @database_type = args[:database_type] if args.key?(:database_type)
980
+ @instances = args[:instances] if args.key?(:instances)
981
+ @sid = args[:sid] if args.key?(:sid)
982
+ end
983
+ end
984
+
985
+ # List discovered profile Response returns discovered profiles from agents
986
+ class ListDiscoveredProfilesResponse
987
+ include Google::Apis::Core::Hashable
988
+
989
+ # Output only. A token identifying a page of results the server should return
990
+ # Corresponds to the JSON property `nextPageToken`
991
+ # @return [String]
992
+ attr_accessor :next_page_token
993
+
994
+ # Locations that could not be reached.
995
+ # Corresponds to the JSON property `unreachable`
996
+ # @return [Array<String>]
997
+ attr_accessor :unreachable
998
+
999
+ # Output only. The list of workload profiles
1000
+ # Corresponds to the JSON property `workloadProfiles`
1001
+ # @return [Array<Google::Apis::WorkloadmanagerV1::WorkloadProfile>]
1002
+ attr_accessor :workload_profiles
1003
+
1004
+ def initialize(**args)
1005
+ update!(**args)
1006
+ end
1007
+
1008
+ # Update properties of this object
1009
+ def update!(**args)
1010
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1011
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1012
+ @workload_profiles = args[:workload_profiles] if args.key?(:workload_profiles)
481
1013
  end
482
1014
  end
483
1015
 
@@ -670,6 +1202,31 @@ module Google
670
1202
  end
671
1203
  end
672
1204
 
1205
+ # The load balancer for sqlserver
1206
+ class LoadBalancerServer
1207
+ include Google::Apis::Core::Hashable
1208
+
1209
+ # Output only. The IP address
1210
+ # Corresponds to the JSON property `ip`
1211
+ # @return [String]
1212
+ attr_accessor :ip
1213
+
1214
+ # Output only. The VM name
1215
+ # Corresponds to the JSON property `vm`
1216
+ # @return [String]
1217
+ attr_accessor :vm
1218
+
1219
+ def initialize(**args)
1220
+ update!(**args)
1221
+ end
1222
+
1223
+ # Update properties of this object
1224
+ def update!(**args)
1225
+ @ip = args[:ip] if args.key?(:ip)
1226
+ @vm = args[:vm] if args.key?(:vm)
1227
+ end
1228
+ end
1229
+
673
1230
  # A resource that represents a Google Cloud location.
674
1231
  class Location
675
1232
  include Google::Apis::Core::Hashable
@@ -857,6 +1414,31 @@ module Google
857
1414
  end
858
1415
  end
859
1416
 
1417
+ # Product contains the details of a product.
1418
+ class Product
1419
+ include Google::Apis::Core::Hashable
1420
+
1421
+ # Optional. Name of the product.
1422
+ # Corresponds to the JSON property `name`
1423
+ # @return [String]
1424
+ attr_accessor :name
1425
+
1426
+ # Optional. Version of the product.
1427
+ # Corresponds to the JSON property `version`
1428
+ # @return [String]
1429
+ attr_accessor :version
1430
+
1431
+ def initialize(**args)
1432
+ update!(**args)
1433
+ end
1434
+
1435
+ # Update properties of this object
1436
+ def update!(**args)
1437
+ @name = args[:name] if args.key?(:name)
1438
+ @version = args[:version] if args.key?(:version)
1439
+ end
1440
+ end
1441
+
860
1442
  # Message represent resource in execution result
861
1443
  class Resource
862
1444
  include Google::Apis::Core::Hashable
@@ -1113,6 +1695,50 @@ module Google
1113
1695
  end
1114
1696
  end
1115
1697
 
1698
+ # The component of sap workload
1699
+ class SapComponent
1700
+ include Google::Apis::Core::Hashable
1701
+
1702
+ # Database Properties.
1703
+ # Corresponds to the JSON property `databaseProperties`
1704
+ # @return [Google::Apis::WorkloadmanagerV1::DatabaseProperties]
1705
+ attr_accessor :database_properties
1706
+
1707
+ # A list of host URIs that are part of the HA configuration if present. An empty
1708
+ # list indicates the component is not configured for HA.
1709
+ # Corresponds to the JSON property `haHosts`
1710
+ # @return [Array<String>]
1711
+ attr_accessor :ha_hosts
1712
+
1713
+ # Output only. resources in the component
1714
+ # Corresponds to the JSON property `resources`
1715
+ # @return [Array<Google::Apis::WorkloadmanagerV1::CloudResource>]
1716
+ attr_accessor :resources
1717
+
1718
+ # Output only. sid is the sap component identificator
1719
+ # Corresponds to the JSON property `sid`
1720
+ # @return [String]
1721
+ attr_accessor :sid
1722
+
1723
+ # The detected topology of the component.
1724
+ # Corresponds to the JSON property `topologyType`
1725
+ # @return [String]
1726
+ attr_accessor :topology_type
1727
+
1728
+ def initialize(**args)
1729
+ update!(**args)
1730
+ end
1731
+
1732
+ # Update properties of this object
1733
+ def update!(**args)
1734
+ @database_properties = args[:database_properties] if args.key?(:database_properties)
1735
+ @ha_hosts = args[:ha_hosts] if args.key?(:ha_hosts)
1736
+ @resources = args[:resources] if args.key?(:resources)
1737
+ @sid = args[:sid] if args.key?(:sid)
1738
+ @topology_type = args[:topology_type] if args.key?(:topology_type)
1739
+ end
1740
+ end
1741
+
1116
1742
  # The schema of SAP system discovery data.
1117
1743
  class SapDiscovery
1118
1744
  include Google::Apis::Core::Hashable
@@ -1148,6 +1774,12 @@ module Google
1148
1774
  # @return [String]
1149
1775
  attr_accessor :update_time
1150
1776
 
1777
+ # Optional. Whether to use DR reconciliation or not.
1778
+ # Corresponds to the JSON property `useDrReconciliation`
1779
+ # @return [Boolean]
1780
+ attr_accessor :use_dr_reconciliation
1781
+ alias_method :use_dr_reconciliation?, :use_dr_reconciliation
1782
+
1151
1783
  # A set of properties describing an SAP workload.
1152
1784
  # Corresponds to the JSON property `workloadProperties`
1153
1785
  # @return [Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadProperties]
@@ -1165,6 +1797,7 @@ module Google
1165
1797
  @project_number = args[:project_number] if args.key?(:project_number)
1166
1798
  @system_id = args[:system_id] if args.key?(:system_id)
1167
1799
  @update_time = args[:update_time] if args.key?(:update_time)
1800
+ @use_dr_reconciliation = args[:use_dr_reconciliation] if args.key?(:use_dr_reconciliation)
1168
1801
  @workload_properties = args[:workload_properties] if args.key?(:workload_properties)
1169
1802
  end
1170
1803
  end
@@ -1327,6 +1960,11 @@ module Google
1327
1960
  # @return [String]
1328
1961
  attr_accessor :instance_number
1329
1962
 
1963
+ # Optional. Landscape ID from the HANA nameserver.
1964
+ # Corresponds to the JSON property `landscapeId`
1965
+ # @return [String]
1966
+ attr_accessor :landscape_id
1967
+
1330
1968
  # Required. URI of the recognized primary instance of the database.
1331
1969
  # Corresponds to the JSON property `primaryInstanceUri`
1332
1970
  # @return [String]
@@ -1348,6 +1986,7 @@ module Google
1348
1986
  @database_type = args[:database_type] if args.key?(:database_type)
1349
1987
  @database_version = args[:database_version] if args.key?(:database_version)
1350
1988
  @instance_number = args[:instance_number] if args.key?(:instance_number)
1989
+ @landscape_id = args[:landscape_id] if args.key?(:landscape_id)
1351
1990
  @primary_instance_uri = args[:primary_instance_uri] if args.key?(:primary_instance_uri)
1352
1991
  @shared_nfs_uri = args[:shared_nfs_uri] if args.key?(:shared_nfs_uri)
1353
1992
  end
@@ -1480,6 +2119,11 @@ module Google
1480
2119
  # @return [Array<String>]
1481
2120
  attr_accessor :cluster_instances
1482
2121
 
2122
+ # Optional. Disk mounts on the instance.
2123
+ # Corresponds to the JSON property `diskMounts`
2124
+ # @return [Array<Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesDiskMount>]
2125
+ attr_accessor :disk_mounts
2126
+
1483
2127
  # Optional. The VM's instance number.
1484
2128
  # Corresponds to the JSON property `instanceNumber`
1485
2129
  # @return [Fixnum]
@@ -1509,6 +2153,7 @@ module Google
1509
2153
  def update!(**args)
1510
2154
  @app_instances = args[:app_instances] if args.key?(:app_instances)
1511
2155
  @cluster_instances = args[:cluster_instances] if args.key?(:cluster_instances)
2156
+ @disk_mounts = args[:disk_mounts] if args.key?(:disk_mounts)
1512
2157
  @instance_number = args[:instance_number] if args.key?(:instance_number)
1513
2158
  @instance_role = args[:instance_role] if args.key?(:instance_role)
1514
2159
  @is_dr_site = args[:is_dr_site] if args.key?(:is_dr_site)
@@ -1541,6 +2186,31 @@ module Google
1541
2186
  end
1542
2187
  end
1543
2188
 
2189
+ # Disk mount on the instance.
2190
+ class SapDiscoveryResourceInstancePropertiesDiskMount
2191
+ include Google::Apis::Core::Hashable
2192
+
2193
+ # Optional. Filesystem mount point.
2194
+ # Corresponds to the JSON property `mountPoint`
2195
+ # @return [String]
2196
+ attr_accessor :mount_point
2197
+
2198
+ # Optional. Name of the disk.
2199
+ # Corresponds to the JSON property `name`
2200
+ # @return [String]
2201
+ attr_accessor :name
2202
+
2203
+ def initialize(**args)
2204
+ update!(**args)
2205
+ end
2206
+
2207
+ # Update properties of this object
2208
+ def update!(**args)
2209
+ @mount_point = args[:mount_point] if args.key?(:mount_point)
2210
+ @name = args[:name] if args.key?(:name)
2211
+ end
2212
+ end
2213
+
1544
2214
  # A set of properties describing an SAP workload.
1545
2215
  class SapDiscoveryWorkloadProperties
1546
2216
  include Google::Apis::Core::Hashable
@@ -1629,6 +2299,25 @@ module Google
1629
2299
  end
1630
2300
  end
1631
2301
 
2302
+ # SAP instance properties.
2303
+ class SapInstanceProperties
2304
+ include Google::Apis::Core::Hashable
2305
+
2306
+ # Optional. SAP Instance numbers. They are from '00' to '99'.
2307
+ # Corresponds to the JSON property `numbers`
2308
+ # @return [Array<String>]
2309
+ attr_accessor :numbers
2310
+
2311
+ def initialize(**args)
2312
+ update!(**args)
2313
+ end
2314
+
2315
+ # Update properties of this object
2316
+ def update!(**args)
2317
+ @numbers = args[:numbers] if args.key?(:numbers)
2318
+ end
2319
+ end
2320
+
1632
2321
  # A presentation of SAP workload insight. The schema of SAP workloads validation
1633
2322
  # related data.
1634
2323
  class SapValidation
@@ -1693,6 +2382,49 @@ module Google
1693
2382
  end
1694
2383
  end
1695
2384
 
2385
+ # The body of sap workload
2386
+ class SapWorkload
2387
+ include Google::Apis::Core::Hashable
2388
+
2389
+ # The component of sap workload
2390
+ # Corresponds to the JSON property `application`
2391
+ # @return [Google::Apis::WorkloadmanagerV1::SapComponent]
2392
+ attr_accessor :application
2393
+
2394
+ # Output only. the architecture
2395
+ # Corresponds to the JSON property `architecture`
2396
+ # @return [String]
2397
+ attr_accessor :architecture
2398
+
2399
+ # The component of sap workload
2400
+ # Corresponds to the JSON property `database`
2401
+ # @return [Google::Apis::WorkloadmanagerV1::SapComponent]
2402
+ attr_accessor :database
2403
+
2404
+ # Output only. The metadata for SAP workload.
2405
+ # Corresponds to the JSON property `metadata`
2406
+ # @return [Hash<String,String>]
2407
+ attr_accessor :metadata
2408
+
2409
+ # Output only. the products on this workload.
2410
+ # Corresponds to the JSON property `products`
2411
+ # @return [Array<Google::Apis::WorkloadmanagerV1::Product>]
2412
+ attr_accessor :products
2413
+
2414
+ def initialize(**args)
2415
+ update!(**args)
2416
+ end
2417
+
2418
+ # Update properties of this object
2419
+ def update!(**args)
2420
+ @application = args[:application] if args.key?(:application)
2421
+ @architecture = args[:architecture] if args.key?(:architecture)
2422
+ @database = args[:database] if args.key?(:database)
2423
+ @metadata = args[:metadata] if args.key?(:metadata)
2424
+ @products = args[:products] if args.key?(:products)
2425
+ end
2426
+ end
2427
+
1696
2428
  # Message of scanned resource
1697
2429
  class ScannedResource
1698
2430
  include Google::Apis::Core::Hashable
@@ -1833,6 +2565,43 @@ module Google
1833
2565
  end
1834
2566
  end
1835
2567
 
2568
+ # The body of sqlserver workload
2569
+ class SqlserverWorkload
2570
+ include Google::Apis::Core::Hashable
2571
+
2572
+ # Output only. The availability groups for sqlserver
2573
+ # Corresponds to the JSON property `ags`
2574
+ # @return [Array<Google::Apis::WorkloadmanagerV1::AvailabilityGroup>]
2575
+ attr_accessor :ags
2576
+
2577
+ # The cluster for sqlserver
2578
+ # Corresponds to the JSON property `cluster`
2579
+ # @return [Google::Apis::WorkloadmanagerV1::Cluster]
2580
+ attr_accessor :cluster
2581
+
2582
+ # Output only. The databases for sqlserver
2583
+ # Corresponds to the JSON property `databases`
2584
+ # @return [Array<Google::Apis::WorkloadmanagerV1::Database>]
2585
+ attr_accessor :databases
2586
+
2587
+ # The load balancer for sqlserver
2588
+ # Corresponds to the JSON property `loadBalancerServer`
2589
+ # @return [Google::Apis::WorkloadmanagerV1::LoadBalancerServer]
2590
+ attr_accessor :load_balancer_server
2591
+
2592
+ def initialize(**args)
2593
+ update!(**args)
2594
+ end
2595
+
2596
+ # Update properties of this object
2597
+ def update!(**args)
2598
+ @ags = args[:ags] if args.key?(:ags)
2599
+ @cluster = args[:cluster] if args.key?(:cluster)
2600
+ @databases = args[:databases] if args.key?(:databases)
2601
+ @load_balancer_server = args[:load_balancer_server] if args.key?(:load_balancer_server)
2602
+ end
2603
+ end
2604
+
1836
2605
  # The `Status` type defines a logical error model that is suitable for different
1837
2606
  # programming environments, including REST APIs and RPC APIs. It is used by [
1838
2607
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -1903,6 +2672,43 @@ module Google
1903
2672
  end
1904
2673
  end
1905
2674
 
2675
+ # The body of three tier workload
2676
+ class ThreeTierWorkload
2677
+ include Google::Apis::Core::Hashable
2678
+
2679
+ # The API layer server
2680
+ # Corresponds to the JSON property `apiLayer`
2681
+ # @return [Google::Apis::WorkloadmanagerV1::ApiLayerServer]
2682
+ attr_accessor :api_layer
2683
+
2684
+ # The backend server
2685
+ # Corresponds to the JSON property `backend`
2686
+ # @return [Google::Apis::WorkloadmanagerV1::BackendServer]
2687
+ attr_accessor :backend
2688
+
2689
+ # Output only. the workload endpoint
2690
+ # Corresponds to the JSON property `endpoint`
2691
+ # @return [String]
2692
+ attr_accessor :endpoint
2693
+
2694
+ # The front end server
2695
+ # Corresponds to the JSON property `frontend`
2696
+ # @return [Google::Apis::WorkloadmanagerV1::FrontEndServer]
2697
+ attr_accessor :frontend
2698
+
2699
+ def initialize(**args)
2700
+ update!(**args)
2701
+ end
2702
+
2703
+ # Update properties of this object
2704
+ def update!(**args)
2705
+ @api_layer = args[:api_layer] if args.key?(:api_layer)
2706
+ @backend = args[:backend] if args.key?(:backend)
2707
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
2708
+ @frontend = args[:frontend] if args.key?(:frontend)
2709
+ end
2710
+ end
2711
+
1906
2712
  # The schema of torso workload validation data.
1907
2713
  class TorsoValidation
1908
2714
  include Google::Apis::Core::Hashable
@@ -1950,6 +2756,43 @@ module Google
1950
2756
  end
1951
2757
  end
1952
2758
 
2759
+ # Maintenance Event
2760
+ class UpcomingMaintenanceEvent
2761
+ include Google::Apis::Core::Hashable
2762
+
2763
+ # Optional. End time
2764
+ # Corresponds to the JSON property `endTime`
2765
+ # @return [String]
2766
+ attr_accessor :end_time
2767
+
2768
+ # Optional. Maintenance status
2769
+ # Corresponds to the JSON property `maintenanceStatus`
2770
+ # @return [String]
2771
+ attr_accessor :maintenance_status
2772
+
2773
+ # Optional. Start time
2774
+ # Corresponds to the JSON property `startTime`
2775
+ # @return [String]
2776
+ attr_accessor :start_time
2777
+
2778
+ # Optional. Type
2779
+ # Corresponds to the JSON property `type`
2780
+ # @return [String]
2781
+ attr_accessor :type
2782
+
2783
+ def initialize(**args)
2784
+ update!(**args)
2785
+ end
2786
+
2787
+ # Update properties of this object
2788
+ def update!(**args)
2789
+ @end_time = args[:end_time] if args.key?(:end_time)
2790
+ @maintenance_status = args[:maintenance_status] if args.key?(:maintenance_status)
2791
+ @start_time = args[:start_time] if args.key?(:start_time)
2792
+ @type = args[:type] if args.key?(:type)
2793
+ end
2794
+ end
2795
+
1953
2796
  # Message describing the violation in an evaluation result.
1954
2797
  class ViolationDetails
1955
2798
  include Google::Apis::Core::Hashable
@@ -1981,6 +2824,118 @@ module Google
1981
2824
  end
1982
2825
  end
1983
2826
 
2827
+ # workload resource
2828
+ class WorkloadProfile
2829
+ include Google::Apis::Core::Hashable
2830
+
2831
+ # The database layer
2832
+ # Corresponds to the JSON property `application`
2833
+ # @return [Google::Apis::WorkloadmanagerV1::Layer]
2834
+ attr_accessor :application
2835
+
2836
+ # The database layer
2837
+ # Corresponds to the JSON property `ascs`
2838
+ # @return [Google::Apis::WorkloadmanagerV1::Layer]
2839
+ attr_accessor :ascs
2840
+
2841
+ # The database layer
2842
+ # Corresponds to the JSON property `database`
2843
+ # @return [Google::Apis::WorkloadmanagerV1::Layer]
2844
+ attr_accessor :database
2845
+
2846
+ # Optional. such as name, description, version. More example can be found in
2847
+ # deployment
2848
+ # Corresponds to the JSON property `labels`
2849
+ # @return [Hash<String,String>]
2850
+ attr_accessor :labels
2851
+
2852
+ # Identifier. name of resource names have the form 'projects/`project_id`/
2853
+ # workloads/`workload_id`'
2854
+ # Corresponds to the JSON property `name`
2855
+ # @return [String]
2856
+ attr_accessor :name
2857
+
2858
+ # Required. time when the workload data was refreshed
2859
+ # Corresponds to the JSON property `refreshedTime`
2860
+ # @return [String]
2861
+ attr_accessor :refreshed_time
2862
+
2863
+ # The body of sap workload
2864
+ # Corresponds to the JSON property `sapWorkload`
2865
+ # @return [Google::Apis::WorkloadmanagerV1::SapWorkload]
2866
+ attr_accessor :sap_workload
2867
+
2868
+ # The body of sqlserver workload
2869
+ # Corresponds to the JSON property `sqlserverWorkload`
2870
+ # @return [Google::Apis::WorkloadmanagerV1::SqlserverWorkload]
2871
+ attr_accessor :sqlserver_workload
2872
+
2873
+ # Output only. [output only] the current state if a a workload
2874
+ # Corresponds to the JSON property `state`
2875
+ # @return [String]
2876
+ attr_accessor :state
2877
+
2878
+ # The body of three tier workload
2879
+ # Corresponds to the JSON property `threeTierWorkload`
2880
+ # @return [Google::Apis::WorkloadmanagerV1::ThreeTierWorkload]
2881
+ attr_accessor :three_tier_workload
2882
+
2883
+ # Required. The type of the workload
2884
+ # Corresponds to the JSON property `workloadType`
2885
+ # @return [String]
2886
+ attr_accessor :workload_type
2887
+
2888
+ def initialize(**args)
2889
+ update!(**args)
2890
+ end
2891
+
2892
+ # Update properties of this object
2893
+ def update!(**args)
2894
+ @application = args[:application] if args.key?(:application)
2895
+ @ascs = args[:ascs] if args.key?(:ascs)
2896
+ @database = args[:database] if args.key?(:database)
2897
+ @labels = args[:labels] if args.key?(:labels)
2898
+ @name = args[:name] if args.key?(:name)
2899
+ @refreshed_time = args[:refreshed_time] if args.key?(:refreshed_time)
2900
+ @sap_workload = args[:sap_workload] if args.key?(:sap_workload)
2901
+ @sqlserver_workload = args[:sqlserver_workload] if args.key?(:sqlserver_workload)
2902
+ @state = args[:state] if args.key?(:state)
2903
+ @three_tier_workload = args[:three_tier_workload] if args.key?(:three_tier_workload)
2904
+ @workload_type = args[:workload_type] if args.key?(:workload_type)
2905
+ end
2906
+ end
2907
+
2908
+ # WorkloadProfileHealth contains the detailed health check of workload.
2909
+ class WorkloadProfileHealth
2910
+ include Google::Apis::Core::Hashable
2911
+
2912
+ # The time when the health check was performed.
2913
+ # Corresponds to the JSON property `checkTime`
2914
+ # @return [String]
2915
+ attr_accessor :check_time
2916
+
2917
+ # The detailed condition reports of each component.
2918
+ # Corresponds to the JSON property `componentHealthes`
2919
+ # @return [Array<Google::Apis::WorkloadmanagerV1::ComponentHealth>]
2920
+ attr_accessor :component_healthes
2921
+
2922
+ # Output only. The health state of the workload.
2923
+ # Corresponds to the JSON property `state`
2924
+ # @return [String]
2925
+ attr_accessor :state
2926
+
2927
+ def initialize(**args)
2928
+ update!(**args)
2929
+ end
2930
+
2931
+ # Update properties of this object
2932
+ def update!(**args)
2933
+ @check_time = args[:check_time] if args.key?(:check_time)
2934
+ @component_healthes = args[:component_healthes] if args.key?(:component_healthes)
2935
+ @state = args[:state] if args.key?(:state)
2936
+ end
2937
+ end
2938
+
1984
2939
  # Request for sending the data insights.
1985
2940
  class WriteInsightRequest
1986
2941
  include Google::Apis::Core::Hashable