google-apis-workloadmanager_v1 0.16.0 → 0.18.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,117 +22,6 @@ 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
-
136
25
  # Message describing big query destination
137
26
  class BigQueryDestination
138
27
  include Google::Apis::Core::Hashable
@@ -172,93 +61,6 @@ module Google
172
61
  end
173
62
  end
174
63
 
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
-
262
64
  # A generic empty message that you can re-use to avoid defining duplicated empty
263
65
  # messages in your APIs. A typical example is to use it as the request or the
264
66
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -475,37 +277,6 @@ module Google
475
277
  end
476
278
  end
477
279
 
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
-
509
280
  # Message describing compute engine instance filter
510
281
  class GceInstanceFilter
511
282
  include Google::Apis::Core::Hashable
@@ -570,74 +341,6 @@ module Google
570
341
  end
571
342
  end
572
343
 
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
-
641
344
  # Message for response to listing Evaluations
642
345
  class ListEvaluationsResponse
643
346
  include Google::Apis::Core::Hashable
@@ -827,62 +530,6 @@ module Google
827
530
  end
828
531
  end
829
532
 
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
-
886
533
  # A resource that represents a Google Cloud location.
887
534
  class Location
888
535
  include Google::Apis::Core::Hashable
@@ -1264,31 +911,6 @@ module Google
1264
911
  end
1265
912
  end
1266
913
 
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
-
1292
914
  # The schema of SAP system discovery data.
1293
915
  class SapDiscovery
1294
916
  include Google::Apis::Core::Hashable
@@ -1423,6 +1045,11 @@ module Google
1423
1045
  # @return [String]
1424
1046
  attr_accessor :ascs_uri
1425
1047
 
1048
+ # Optional. Instance number of the SAP instance.
1049
+ # Corresponds to the JSON property `instanceNumber`
1050
+ # @return [String]
1051
+ attr_accessor :instance_number
1052
+
1426
1053
  # Optional. Kernel version for Netweaver running in the system.
1427
1054
  # Corresponds to the JSON property `kernelVersion`
1428
1055
  # @return [String]
@@ -1443,6 +1070,7 @@ module Google
1443
1070
  @abap = args[:abap] if args.key?(:abap)
1444
1071
  @application_type = args[:application_type] if args.key?(:application_type)
1445
1072
  @ascs_uri = args[:ascs_uri] if args.key?(:ascs_uri)
1073
+ @instance_number = args[:instance_number] if args.key?(:instance_number)
1446
1074
  @kernel_version = args[:kernel_version] if args.key?(:kernel_version)
1447
1075
  @nfs_uri = args[:nfs_uri] if args.key?(:nfs_uri)
1448
1076
  end
@@ -1462,6 +1090,11 @@ module Google
1462
1090
  # @return [String]
1463
1091
  attr_accessor :database_version
1464
1092
 
1093
+ # Optional. Instance number of the SAP instance.
1094
+ # Corresponds to the JSON property `instanceNumber`
1095
+ # @return [String]
1096
+ attr_accessor :instance_number
1097
+
1465
1098
  # Required. URI of the recognized primary instance of the database.
1466
1099
  # Corresponds to the JSON property `primaryInstanceUri`
1467
1100
  # @return [String]
@@ -1481,6 +1114,7 @@ module Google
1481
1114
  def update!(**args)
1482
1115
  @database_type = args[:database_type] if args.key?(:database_type)
1483
1116
  @database_version = args[:database_version] if args.key?(:database_version)
1117
+ @instance_number = args[:instance_number] if args.key?(:instance_number)
1484
1118
  @primary_instance_uri = args[:primary_instance_uri] if args.key?(:primary_instance_uri)
1485
1119
  @shared_nfs_uri = args[:shared_nfs_uri] if args.key?(:shared_nfs_uri)
1486
1120
  end
@@ -1751,68 +1385,6 @@ module Google
1751
1385
  end
1752
1386
  end
1753
1387
 
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
-
1816
1388
  # Message of scanned resource
1817
1389
  class ScannedResource
1818
1390
  include Google::Apis::Core::Hashable
@@ -1922,68 +1494,6 @@ module Google
1922
1494
  end
1923
1495
  end
1924
1496
 
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
-
1987
1497
  # The `Status` type defines a logical error model that is suitable for different
1988
1498
  # programming environments, including REST APIs and RPC APIs. It is used by [
1989
1499
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -2023,62 +1533,6 @@ module Google
2023
1533
  end
2024
1534
  end
2025
1535
 
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
-
2082
1536
  # Message describing the violdation in execution result
2083
1537
  class ViolationDetails
2084
1538
  include Google::Apis::Core::Hashable
@@ -2110,122 +1564,15 @@ module Google
2110
1564
  end
2111
1565
  end
2112
1566
 
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
-
2225
1567
  # Request for sending the data insights.
2226
1568
  class WriteInsightRequest
2227
1569
  include Google::Apis::Core::Hashable
2228
1570
 
1571
+ # Optional. The agent version collected this data point.
1572
+ # Corresponds to the JSON property `agentVersion`
1573
+ # @return [String]
1574
+ attr_accessor :agent_version
1575
+
2229
1576
  # A presentation of host resource usage where the workload runs.
2230
1577
  # Corresponds to the JSON property `insight`
2231
1578
  # @return [Google::Apis::WorkloadmanagerV1::Insight]
@@ -2251,6 +1598,7 @@ module Google
2251
1598
 
2252
1599
  # Update properties of this object
2253
1600
  def update!(**args)
1601
+ @agent_version = args[:agent_version] if args.key?(:agent_version)
2254
1602
  @insight = args[:insight] if args.key?(:insight)
2255
1603
  @request_id = args[:request_id] if args.key?(:request_id)
2256
1604
  end