google-apis-workloadmanager_v1 0.34.0 → 0.36.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 +10 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/workloadmanager_v1/classes.rb +285 -369
- data/lib/google/apis/workloadmanager_v1/gem_version.rb +3 -3
- data/lib/google/apis/workloadmanager_v1/representations.rb +99 -158
- metadata +5 -5
@@ -22,24 +22,95 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module WorkloadmanagerV1
|
24
24
|
|
25
|
-
#
|
26
|
-
class
|
25
|
+
# * An AgentCommand specifies a one-time executable program for the agent to run.
|
26
|
+
class AgentCommand
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
#
|
30
|
-
# Corresponds to the JSON property `
|
29
|
+
# command is the name of the agent one-time executable that will be invoked.
|
30
|
+
# Corresponds to the JSON property `command`
|
31
31
|
# @return [String]
|
32
|
-
attr_accessor :
|
32
|
+
attr_accessor :command
|
33
|
+
|
34
|
+
# parameters is a map of key/value pairs that can be used to specify additional
|
35
|
+
# one-time executable settings.
|
36
|
+
# Corresponds to the JSON property `parameters`
|
37
|
+
# @return [Hash<String,String>]
|
38
|
+
attr_accessor :parameters
|
39
|
+
|
40
|
+
def initialize(**args)
|
41
|
+
update!(**args)
|
42
|
+
end
|
43
|
+
|
44
|
+
# Update properties of this object
|
45
|
+
def update!(**args)
|
46
|
+
@command = args[:command] if args.key?(:command)
|
47
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
48
|
+
end
|
49
|
+
end
|
33
50
|
|
34
|
-
|
35
|
-
|
51
|
+
# The schema of agent status data.
|
52
|
+
class AgentStatus
|
53
|
+
include Google::Apis::Core::Hashable
|
54
|
+
|
55
|
+
# Output only. The name of the agent.
|
56
|
+
# Corresponds to the JSON property `agentName`
|
36
57
|
# @return [String]
|
37
|
-
attr_accessor :
|
58
|
+
attr_accessor :agent_name
|
38
59
|
|
39
|
-
# Output only.
|
40
|
-
# Corresponds to the JSON property `
|
41
|
-
# @return [
|
42
|
-
attr_accessor :
|
60
|
+
# Output only. The available version of the agent in artifact registry.
|
61
|
+
# Corresponds to the JSON property `availableVersion`
|
62
|
+
# @return [String]
|
63
|
+
attr_accessor :available_version
|
64
|
+
|
65
|
+
# Output only. Whether the agent has full access to Cloud APIs.
|
66
|
+
# Corresponds to the JSON property `cloudApiAccessFullScopesGranted`
|
67
|
+
# @return [String]
|
68
|
+
attr_accessor :cloud_api_access_full_scopes_granted
|
69
|
+
|
70
|
+
# Output only. The error message for the agent configuration if invalid.
|
71
|
+
# Corresponds to the JSON property `configurationErrorMessage`
|
72
|
+
# @return [String]
|
73
|
+
attr_accessor :configuration_error_message
|
74
|
+
|
75
|
+
# Output only. The path to the agent configuration file.
|
76
|
+
# Corresponds to the JSON property `configurationFilePath`
|
77
|
+
# @return [String]
|
78
|
+
attr_accessor :configuration_file_path
|
79
|
+
|
80
|
+
# Output only. Whether the agent configuration is valid.
|
81
|
+
# Corresponds to the JSON property `configurationValid`
|
82
|
+
# @return [String]
|
83
|
+
attr_accessor :configuration_valid
|
84
|
+
|
85
|
+
# Output only. The installed version of the agent on the host.
|
86
|
+
# Corresponds to the JSON property `installedVersion`
|
87
|
+
# @return [String]
|
88
|
+
attr_accessor :installed_version
|
89
|
+
|
90
|
+
# KernelVersion encapsulates the kernel version data for the system.
|
91
|
+
# Corresponds to the JSON property `kernelVersion`
|
92
|
+
# @return [Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersion]
|
93
|
+
attr_accessor :kernel_version
|
94
|
+
|
95
|
+
# Output only. Optional references to public documentation.
|
96
|
+
# Corresponds to the JSON property `references`
|
97
|
+
# @return [Array<Google::Apis::WorkloadmanagerV1::AgentStatusReference>]
|
98
|
+
attr_accessor :references
|
99
|
+
|
100
|
+
# Output only. The services (process metrics, host metrics, etc.).
|
101
|
+
# Corresponds to the JSON property `services`
|
102
|
+
# @return [Array<Google::Apis::WorkloadmanagerV1::AgentStatusServiceStatus>]
|
103
|
+
attr_accessor :services
|
104
|
+
|
105
|
+
# Output only. Whether the agent service is enabled in systemd.
|
106
|
+
# Corresponds to the JSON property `systemdServiceEnabled`
|
107
|
+
# @return [String]
|
108
|
+
attr_accessor :systemd_service_enabled
|
109
|
+
|
110
|
+
# Output only. Whether the agent service is running in systemd.
|
111
|
+
# Corresponds to the JSON property `systemdServiceRunning`
|
112
|
+
# @return [String]
|
113
|
+
attr_accessor :systemd_service_running
|
43
114
|
|
44
115
|
def initialize(**args)
|
45
116
|
update!(**args)
|
@@ -47,26 +118,41 @@ module Google
|
|
47
118
|
|
48
119
|
# Update properties of this object
|
49
120
|
def update!(**args)
|
50
|
-
@
|
51
|
-
@
|
52
|
-
@
|
121
|
+
@agent_name = args[:agent_name] if args.key?(:agent_name)
|
122
|
+
@available_version = args[:available_version] if args.key?(:available_version)
|
123
|
+
@cloud_api_access_full_scopes_granted = args[:cloud_api_access_full_scopes_granted] if args.key?(:cloud_api_access_full_scopes_granted)
|
124
|
+
@configuration_error_message = args[:configuration_error_message] if args.key?(:configuration_error_message)
|
125
|
+
@configuration_file_path = args[:configuration_file_path] if args.key?(:configuration_file_path)
|
126
|
+
@configuration_valid = args[:configuration_valid] if args.key?(:configuration_valid)
|
127
|
+
@installed_version = args[:installed_version] if args.key?(:installed_version)
|
128
|
+
@kernel_version = args[:kernel_version] if args.key?(:kernel_version)
|
129
|
+
@references = args[:references] if args.key?(:references)
|
130
|
+
@services = args[:services] if args.key?(:services)
|
131
|
+
@systemd_service_enabled = args[:systemd_service_enabled] if args.key?(:systemd_service_enabled)
|
132
|
+
@systemd_service_running = args[:systemd_service_running] if args.key?(:systemd_service_running)
|
53
133
|
end
|
54
134
|
end
|
55
135
|
|
56
|
-
#
|
57
|
-
class
|
136
|
+
# The configuration value.
|
137
|
+
class AgentStatusConfigValue
|
58
138
|
include Google::Apis::Core::Hashable
|
59
139
|
|
60
|
-
#
|
61
|
-
#
|
140
|
+
# Output only. Whether the configuration value is the default value or
|
141
|
+
# overridden.
|
142
|
+
# Corresponds to the JSON property `isDefault`
|
143
|
+
# @return [Boolean]
|
144
|
+
attr_accessor :is_default
|
145
|
+
alias_method :is_default?, :is_default
|
146
|
+
|
147
|
+
# Output only. The name of the configuration value.
|
148
|
+
# Corresponds to the JSON property `name`
|
62
149
|
# @return [String]
|
63
|
-
attr_accessor :
|
150
|
+
attr_accessor :name
|
64
151
|
|
65
|
-
#
|
66
|
-
#
|
67
|
-
#
|
68
|
-
|
69
|
-
attr_accessor :parameters
|
152
|
+
# Output only. The value of the configuration value.
|
153
|
+
# Corresponds to the JSON property `value`
|
154
|
+
# @return [String]
|
155
|
+
attr_accessor :value
|
70
156
|
|
71
157
|
def initialize(**args)
|
72
158
|
update!(**args)
|
@@ -74,34 +160,50 @@ module Google
|
|
74
160
|
|
75
161
|
# Update properties of this object
|
76
162
|
def update!(**args)
|
77
|
-
@
|
78
|
-
@
|
163
|
+
@is_default = args[:is_default] if args.key?(:is_default)
|
164
|
+
@name = args[:name] if args.key?(:name)
|
165
|
+
@value = args[:value] if args.key?(:value)
|
79
166
|
end
|
80
167
|
end
|
81
168
|
|
82
|
-
# The
|
83
|
-
class
|
169
|
+
# The IAM permission status.
|
170
|
+
class AgentStatusIamPermission
|
84
171
|
include Google::Apis::Core::Hashable
|
85
172
|
|
86
|
-
# Output only.
|
87
|
-
# Corresponds to the JSON property `
|
88
|
-
# @return [
|
89
|
-
attr_accessor :
|
173
|
+
# Output only. Whether the permission is granted.
|
174
|
+
# Corresponds to the JSON property `granted`
|
175
|
+
# @return [String]
|
176
|
+
attr_accessor :granted
|
90
177
|
|
91
|
-
# Output only. The
|
178
|
+
# Output only. The name of the permission.
|
92
179
|
# Corresponds to the JSON property `name`
|
93
180
|
# @return [String]
|
94
181
|
attr_accessor :name
|
95
182
|
|
96
|
-
|
97
|
-
|
183
|
+
def initialize(**args)
|
184
|
+
update!(**args)
|
185
|
+
end
|
186
|
+
|
187
|
+
# Update properties of this object
|
188
|
+
def update!(**args)
|
189
|
+
@granted = args[:granted] if args.key?(:granted)
|
190
|
+
@name = args[:name] if args.key?(:name)
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
194
|
+
# The reference to public documentation.
|
195
|
+
class AgentStatusReference
|
196
|
+
include Google::Apis::Core::Hashable
|
197
|
+
|
198
|
+
# Output only. The name of the reference.
|
199
|
+
# Corresponds to the JSON property `name`
|
98
200
|
# @return [String]
|
99
|
-
attr_accessor :
|
201
|
+
attr_accessor :name
|
100
202
|
|
101
|
-
# Output only. The
|
102
|
-
# Corresponds to the JSON property `
|
103
|
-
# @return [
|
104
|
-
attr_accessor :
|
203
|
+
# Output only. The URL of the reference.
|
204
|
+
# Corresponds to the JSON property `url`
|
205
|
+
# @return [String]
|
206
|
+
attr_accessor :url
|
105
207
|
|
106
208
|
def initialize(**args)
|
107
209
|
update!(**args)
|
@@ -109,41 +211,50 @@ module Google
|
|
109
211
|
|
110
212
|
# Update properties of this object
|
111
213
|
def update!(**args)
|
112
|
-
@databases = args[:databases] if args.key?(:databases)
|
113
214
|
@name = args[:name] if args.key?(:name)
|
114
|
-
@
|
115
|
-
@secondary_servers = args[:secondary_servers] if args.key?(:secondary_servers)
|
215
|
+
@url = args[:url] if args.key?(:url)
|
116
216
|
end
|
117
217
|
end
|
118
218
|
|
119
|
-
# The
|
120
|
-
class
|
219
|
+
# The status of a service (process metrics, host metrics, etc.).
|
220
|
+
class AgentStatusServiceStatus
|
121
221
|
include Google::Apis::Core::Hashable
|
122
222
|
|
123
|
-
# Output only. The
|
124
|
-
# Corresponds to the JSON property `
|
223
|
+
# Output only. The configuration values for the service.
|
224
|
+
# Corresponds to the JSON property `configValues`
|
225
|
+
# @return [Array<Google::Apis::WorkloadmanagerV1::AgentStatusConfigValue>]
|
226
|
+
attr_accessor :config_values
|
227
|
+
|
228
|
+
# Output only. The error message for the service if it is not fully functional.
|
229
|
+
# Corresponds to the JSON property `errorMessage`
|
125
230
|
# @return [String]
|
126
|
-
attr_accessor :
|
231
|
+
attr_accessor :error_message
|
127
232
|
|
128
|
-
# Output only.
|
129
|
-
# Corresponds to the JSON property `
|
233
|
+
# Output only. Whether the service is fully functional (all checks passed).
|
234
|
+
# Corresponds to the JSON property `fullyFunctional`
|
130
235
|
# @return [String]
|
131
|
-
attr_accessor :
|
236
|
+
attr_accessor :fully_functional
|
132
237
|
|
133
|
-
# Output only. The
|
238
|
+
# Output only. The permissions required for the service.
|
239
|
+
# Corresponds to the JSON property `iamPermissions`
|
240
|
+
# @return [Array<Google::Apis::WorkloadmanagerV1::AgentStatusIamPermission>]
|
241
|
+
attr_accessor :iam_permissions
|
242
|
+
|
243
|
+
# Output only. The name of the service.
|
134
244
|
# Corresponds to the JSON property `name`
|
135
245
|
# @return [String]
|
136
246
|
attr_accessor :name
|
137
247
|
|
138
|
-
# Output only.
|
139
|
-
#
|
248
|
+
# Output only. The state of the service (enabled or disabled in the
|
249
|
+
# configuration).
|
250
|
+
# Corresponds to the JSON property `state`
|
140
251
|
# @return [String]
|
141
|
-
attr_accessor :
|
252
|
+
attr_accessor :state
|
142
253
|
|
143
|
-
# Output only.
|
144
|
-
# Corresponds to the JSON property `
|
145
|
-
# @return [
|
146
|
-
attr_accessor :
|
254
|
+
# Output only. The message to display when the service state is unspecified.
|
255
|
+
# Corresponds to the JSON property `unspecifiedStateMessage`
|
256
|
+
# @return [String]
|
257
|
+
attr_accessor :unspecified_state_message
|
147
258
|
|
148
259
|
def initialize(**args)
|
149
260
|
update!(**args)
|
@@ -151,11 +262,13 @@ module Google
|
|
151
262
|
|
152
263
|
# Update properties of this object
|
153
264
|
def update!(**args)
|
154
|
-
@
|
155
|
-
@
|
265
|
+
@config_values = args[:config_values] if args.key?(:config_values)
|
266
|
+
@error_message = args[:error_message] if args.key?(:error_message)
|
267
|
+
@fully_functional = args[:fully_functional] if args.key?(:fully_functional)
|
268
|
+
@iam_permissions = args[:iam_permissions] if args.key?(:iam_permissions)
|
156
269
|
@name = args[:name] if args.key?(:name)
|
157
|
-
@
|
158
|
-
@
|
270
|
+
@state = args[:state] if args.key?(:state)
|
271
|
+
@unspecified_state_message = args[:unspecified_state_message] if args.key?(:unspecified_state_message)
|
159
272
|
end
|
160
273
|
end
|
161
274
|
|
@@ -254,31 +367,6 @@ module Google
|
|
254
367
|
end
|
255
368
|
end
|
256
369
|
|
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
|
-
|
282
370
|
# * Command specifies the type of command to execute.
|
283
371
|
class Command
|
284
372
|
include Google::Apis::Core::Hashable
|
@@ -334,11 +422,16 @@ module Google
|
|
334
422
|
# @return [String]
|
335
423
|
attr_accessor :state
|
336
424
|
|
337
|
-
#
|
425
|
+
#
|
338
426
|
# Corresponds to the JSON property `subComponentHealthes`
|
339
427
|
# @return [Array<Google::Apis::WorkloadmanagerV1::ComponentHealth>]
|
340
428
|
attr_accessor :sub_component_healthes
|
341
429
|
|
430
|
+
# Sub component health.
|
431
|
+
# Corresponds to the JSON property `subComponentsHealth`
|
432
|
+
# @return [Array<Google::Apis::WorkloadmanagerV1::ComponentHealth>]
|
433
|
+
attr_accessor :sub_components_health
|
434
|
+
|
342
435
|
def initialize(**args)
|
343
436
|
update!(**args)
|
344
437
|
end
|
@@ -351,43 +444,7 @@ module Google
|
|
351
444
|
@is_required = args[:is_required] if args.key?(:is_required)
|
352
445
|
@state = args[:state] if args.key?(:state)
|
353
446
|
@sub_component_healthes = args[:sub_component_healthes] if args.key?(:sub_component_healthes)
|
354
|
-
|
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)
|
447
|
+
@sub_components_health = args[:sub_components_health] if args.key?(:sub_components_health)
|
391
448
|
end
|
392
449
|
end
|
393
450
|
|
@@ -715,37 +772,6 @@ module Google
|
|
715
772
|
end
|
716
773
|
end
|
717
774
|
|
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
|
-
|
749
775
|
# Message describing compute engine instance filter
|
750
776
|
class GceInstanceFilter
|
751
777
|
include Google::Apis::Core::Hashable
|
@@ -812,6 +838,11 @@ module Google
|
|
812
838
|
class Insight
|
813
839
|
include Google::Apis::Core::Hashable
|
814
840
|
|
841
|
+
# The schema of agent status data.
|
842
|
+
# Corresponds to the JSON property `agentStatus`
|
843
|
+
# @return [Google::Apis::WorkloadmanagerV1::AgentStatus]
|
844
|
+
attr_accessor :agent_status
|
845
|
+
|
815
846
|
# Required. The instance id where the insight is generated from
|
816
847
|
# Corresponds to the JSON property `instanceId`
|
817
848
|
# @return [String]
|
@@ -850,6 +881,7 @@ module Google
|
|
850
881
|
|
851
882
|
# Update properties of this object
|
852
883
|
def update!(**args)
|
884
|
+
@agent_status = args[:agent_status] if args.key?(:agent_status)
|
853
885
|
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
854
886
|
@sap_discovery = args[:sap_discovery] if args.key?(:sap_discovery)
|
855
887
|
@sap_validation = args[:sap_validation] if args.key?(:sap_validation)
|
@@ -859,37 +891,6 @@ module Google
|
|
859
891
|
end
|
860
892
|
end
|
861
893
|
|
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
894
|
# Instance Properties.
|
894
895
|
class InstanceProperties
|
895
896
|
include Google::Apis::Core::Hashable
|
@@ -904,11 +905,6 @@ module Google
|
|
904
905
|
# @return [String]
|
905
906
|
attr_accessor :machine_type
|
906
907
|
|
907
|
-
# Optional. Instance role.
|
908
|
-
# Corresponds to the JSON property `role`
|
909
|
-
# @return [String]
|
910
|
-
attr_accessor :role
|
911
|
-
|
912
908
|
# Optional. Instance roles.
|
913
909
|
# Corresponds to the JSON property `roles`
|
914
910
|
# @return [Array<String>]
|
@@ -937,7 +933,6 @@ module Google
|
|
937
933
|
def update!(**args)
|
938
934
|
@instance_number = args[:instance_number] if args.key?(:instance_number)
|
939
935
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
940
|
-
@role = args[:role] if args.key?(:role)
|
941
936
|
@roles = args[:roles] if args.key?(:roles)
|
942
937
|
@sap_instance_properties = args[:sap_instance_properties] if args.key?(:sap_instance_properties)
|
943
938
|
@status = args[:status] if args.key?(:status)
|
@@ -945,43 +940,6 @@ module Google
|
|
945
940
|
end
|
946
941
|
end
|
947
942
|
|
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
943
|
# List discovered profile Response returns discovered profiles from agents
|
986
944
|
class ListDiscoveredProfilesResponse
|
987
945
|
include Google::Apis::Core::Hashable
|
@@ -1202,31 +1160,6 @@ module Google
|
|
1202
1160
|
end
|
1203
1161
|
end
|
1204
1162
|
|
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
|
-
|
1230
1163
|
# A resource that represents a Google Cloud location.
|
1231
1164
|
class Location
|
1232
1165
|
include Google::Apis::Core::Hashable
|
@@ -2140,6 +2073,11 @@ module Google
|
|
2140
2073
|
attr_accessor :is_dr_site
|
2141
2074
|
alias_method :is_dr_site?, :is_dr_site
|
2142
2075
|
|
2076
|
+
# KernelVersion encapsulates the kernel version data for the system.
|
2077
|
+
# Corresponds to the JSON property `osKernelVersion`
|
2078
|
+
# @return [Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersion]
|
2079
|
+
attr_accessor :os_kernel_version
|
2080
|
+
|
2143
2081
|
# Optional. A virtual hostname of the instance if it has one.
|
2144
2082
|
# Corresponds to the JSON property `virtualHostname`
|
2145
2083
|
# @return [String]
|
@@ -2157,6 +2095,7 @@ module Google
|
|
2157
2095
|
@instance_number = args[:instance_number] if args.key?(:instance_number)
|
2158
2096
|
@instance_role = args[:instance_role] if args.key?(:instance_role)
|
2159
2097
|
@is_dr_site = args[:is_dr_site] if args.key?(:is_dr_site)
|
2098
|
+
@os_kernel_version = args[:os_kernel_version] if args.key?(:os_kernel_version)
|
2160
2099
|
@virtual_hostname = args[:virtual_hostname] if args.key?(:virtual_hostname)
|
2161
2100
|
end
|
2162
2101
|
end
|
@@ -2217,6 +2156,81 @@ module Google
|
|
2217
2156
|
end
|
2218
2157
|
end
|
2219
2158
|
|
2159
|
+
# KernelVersion encapsulates the kernel version data for the system.
|
2160
|
+
class SapDiscoveryResourceInstancePropertiesKernelVersion
|
2161
|
+
include Google::Apis::Core::Hashable
|
2162
|
+
|
2163
|
+
# Version is reported as Major.Minor.Build.Patch.
|
2164
|
+
# Corresponds to the JSON property `distroKernel`
|
2165
|
+
# @return [Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersionVersion]
|
2166
|
+
attr_accessor :distro_kernel
|
2167
|
+
|
2168
|
+
# Version is reported as Major.Minor.Build.Patch.
|
2169
|
+
# Corresponds to the JSON property `osKernel`
|
2170
|
+
# @return [Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersionVersion]
|
2171
|
+
attr_accessor :os_kernel
|
2172
|
+
|
2173
|
+
# Optional. Raw string of the kernel version.
|
2174
|
+
# Corresponds to the JSON property `rawString`
|
2175
|
+
# @return [String]
|
2176
|
+
attr_accessor :raw_string
|
2177
|
+
|
2178
|
+
def initialize(**args)
|
2179
|
+
update!(**args)
|
2180
|
+
end
|
2181
|
+
|
2182
|
+
# Update properties of this object
|
2183
|
+
def update!(**args)
|
2184
|
+
@distro_kernel = args[:distro_kernel] if args.key?(:distro_kernel)
|
2185
|
+
@os_kernel = args[:os_kernel] if args.key?(:os_kernel)
|
2186
|
+
@raw_string = args[:raw_string] if args.key?(:raw_string)
|
2187
|
+
end
|
2188
|
+
end
|
2189
|
+
|
2190
|
+
# Version is reported as Major.Minor.Build.Patch.
|
2191
|
+
class SapDiscoveryResourceInstancePropertiesKernelVersionVersion
|
2192
|
+
include Google::Apis::Core::Hashable
|
2193
|
+
|
2194
|
+
# Optional. The build version number.
|
2195
|
+
# Corresponds to the JSON property `build`
|
2196
|
+
# @return [Fixnum]
|
2197
|
+
attr_accessor :build
|
2198
|
+
|
2199
|
+
# Optional. The major version number.
|
2200
|
+
# Corresponds to the JSON property `major`
|
2201
|
+
# @return [Fixnum]
|
2202
|
+
attr_accessor :major
|
2203
|
+
|
2204
|
+
# Optional. The minor version number.
|
2205
|
+
# Corresponds to the JSON property `minor`
|
2206
|
+
# @return [Fixnum]
|
2207
|
+
attr_accessor :minor
|
2208
|
+
|
2209
|
+
# Optional. The patch version number.
|
2210
|
+
# Corresponds to the JSON property `patch`
|
2211
|
+
# @return [Fixnum]
|
2212
|
+
attr_accessor :patch
|
2213
|
+
|
2214
|
+
# Optional. A catch-all for any unparsed version components. This is in case the
|
2215
|
+
# number of points in the version string exceeds the expected count of 4.
|
2216
|
+
# Corresponds to the JSON property `remainder`
|
2217
|
+
# @return [String]
|
2218
|
+
attr_accessor :remainder
|
2219
|
+
|
2220
|
+
def initialize(**args)
|
2221
|
+
update!(**args)
|
2222
|
+
end
|
2223
|
+
|
2224
|
+
# Update properties of this object
|
2225
|
+
def update!(**args)
|
2226
|
+
@build = args[:build] if args.key?(:build)
|
2227
|
+
@major = args[:major] if args.key?(:major)
|
2228
|
+
@minor = args[:minor] if args.key?(:minor)
|
2229
|
+
@patch = args[:patch] if args.key?(:patch)
|
2230
|
+
@remainder = args[:remainder] if args.key?(:remainder)
|
2231
|
+
end
|
2232
|
+
end
|
2233
|
+
|
2220
2234
|
# A set of properties describing an SAP workload.
|
2221
2235
|
class SapDiscoveryWorkloadProperties
|
2222
2236
|
include Google::Apis::Core::Hashable
|
@@ -2571,43 +2585,6 @@ module Google
|
|
2571
2585
|
end
|
2572
2586
|
end
|
2573
2587
|
|
2574
|
-
# The body of sqlserver workload
|
2575
|
-
class SqlserverWorkload
|
2576
|
-
include Google::Apis::Core::Hashable
|
2577
|
-
|
2578
|
-
# Output only. The availability groups for sqlserver
|
2579
|
-
# Corresponds to the JSON property `ags`
|
2580
|
-
# @return [Array<Google::Apis::WorkloadmanagerV1::AvailabilityGroup>]
|
2581
|
-
attr_accessor :ags
|
2582
|
-
|
2583
|
-
# The cluster for sqlserver
|
2584
|
-
# Corresponds to the JSON property `cluster`
|
2585
|
-
# @return [Google::Apis::WorkloadmanagerV1::Cluster]
|
2586
|
-
attr_accessor :cluster
|
2587
|
-
|
2588
|
-
# Output only. The databases for sqlserver
|
2589
|
-
# Corresponds to the JSON property `databases`
|
2590
|
-
# @return [Array<Google::Apis::WorkloadmanagerV1::Database>]
|
2591
|
-
attr_accessor :databases
|
2592
|
-
|
2593
|
-
# The load balancer for sqlserver
|
2594
|
-
# Corresponds to the JSON property `loadBalancerServer`
|
2595
|
-
# @return [Google::Apis::WorkloadmanagerV1::LoadBalancerServer]
|
2596
|
-
attr_accessor :load_balancer_server
|
2597
|
-
|
2598
|
-
def initialize(**args)
|
2599
|
-
update!(**args)
|
2600
|
-
end
|
2601
|
-
|
2602
|
-
# Update properties of this object
|
2603
|
-
def update!(**args)
|
2604
|
-
@ags = args[:ags] if args.key?(:ags)
|
2605
|
-
@cluster = args[:cluster] if args.key?(:cluster)
|
2606
|
-
@databases = args[:databases] if args.key?(:databases)
|
2607
|
-
@load_balancer_server = args[:load_balancer_server] if args.key?(:load_balancer_server)
|
2608
|
-
end
|
2609
|
-
end
|
2610
|
-
|
2611
2588
|
# The `Status` type defines a logical error model that is suitable for different
|
2612
2589
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
2613
2590
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -2678,43 +2655,6 @@ module Google
|
|
2678
2655
|
end
|
2679
2656
|
end
|
2680
2657
|
|
2681
|
-
# The body of three tier workload
|
2682
|
-
class ThreeTierWorkload
|
2683
|
-
include Google::Apis::Core::Hashable
|
2684
|
-
|
2685
|
-
# The API layer server
|
2686
|
-
# Corresponds to the JSON property `apiLayer`
|
2687
|
-
# @return [Google::Apis::WorkloadmanagerV1::ApiLayerServer]
|
2688
|
-
attr_accessor :api_layer
|
2689
|
-
|
2690
|
-
# The backend server
|
2691
|
-
# Corresponds to the JSON property `backend`
|
2692
|
-
# @return [Google::Apis::WorkloadmanagerV1::BackendServer]
|
2693
|
-
attr_accessor :backend
|
2694
|
-
|
2695
|
-
# Output only. the workload endpoint
|
2696
|
-
# Corresponds to the JSON property `endpoint`
|
2697
|
-
# @return [String]
|
2698
|
-
attr_accessor :endpoint
|
2699
|
-
|
2700
|
-
# The front end server
|
2701
|
-
# Corresponds to the JSON property `frontend`
|
2702
|
-
# @return [Google::Apis::WorkloadmanagerV1::FrontEndServer]
|
2703
|
-
attr_accessor :frontend
|
2704
|
-
|
2705
|
-
def initialize(**args)
|
2706
|
-
update!(**args)
|
2707
|
-
end
|
2708
|
-
|
2709
|
-
# Update properties of this object
|
2710
|
-
def update!(**args)
|
2711
|
-
@api_layer = args[:api_layer] if args.key?(:api_layer)
|
2712
|
-
@backend = args[:backend] if args.key?(:backend)
|
2713
|
-
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
2714
|
-
@frontend = args[:frontend] if args.key?(:frontend)
|
2715
|
-
end
|
2716
|
-
end
|
2717
|
-
|
2718
2658
|
# The schema of torso workload validation data.
|
2719
2659
|
class TorsoValidation
|
2720
2660
|
include Google::Apis::Core::Hashable
|
@@ -2776,6 +2716,11 @@ module Google
|
|
2776
2716
|
# @return [String]
|
2777
2717
|
attr_accessor :maintenance_status
|
2778
2718
|
|
2719
|
+
# Optional. Instance maintenance behavior. Could be "MIGRATE" or "TERMINATE".
|
2720
|
+
# Corresponds to the JSON property `onHostMaintenance`
|
2721
|
+
# @return [String]
|
2722
|
+
attr_accessor :on_host_maintenance
|
2723
|
+
|
2779
2724
|
# Optional. Start time
|
2780
2725
|
# Corresponds to the JSON property `startTime`
|
2781
2726
|
# @return [String]
|
@@ -2794,6 +2739,7 @@ module Google
|
|
2794
2739
|
def update!(**args)
|
2795
2740
|
@end_time = args[:end_time] if args.key?(:end_time)
|
2796
2741
|
@maintenance_status = args[:maintenance_status] if args.key?(:maintenance_status)
|
2742
|
+
@on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance)
|
2797
2743
|
@start_time = args[:start_time] if args.key?(:start_time)
|
2798
2744
|
@type = args[:type] if args.key?(:type)
|
2799
2745
|
end
|
@@ -2834,21 +2780,6 @@ module Google
|
|
2834
2780
|
class WorkloadProfile
|
2835
2781
|
include Google::Apis::Core::Hashable
|
2836
2782
|
|
2837
|
-
# The database layer
|
2838
|
-
# Corresponds to the JSON property `application`
|
2839
|
-
# @return [Google::Apis::WorkloadmanagerV1::Layer]
|
2840
|
-
attr_accessor :application
|
2841
|
-
|
2842
|
-
# The database layer
|
2843
|
-
# Corresponds to the JSON property `ascs`
|
2844
|
-
# @return [Google::Apis::WorkloadmanagerV1::Layer]
|
2845
|
-
attr_accessor :ascs
|
2846
|
-
|
2847
|
-
# The database layer
|
2848
|
-
# Corresponds to the JSON property `database`
|
2849
|
-
# @return [Google::Apis::WorkloadmanagerV1::Layer]
|
2850
|
-
attr_accessor :database
|
2851
|
-
|
2852
2783
|
# Optional. such as name, description, version. More example can be found in
|
2853
2784
|
# deployment
|
2854
2785
|
# Corresponds to the JSON property `labels`
|
@@ -2856,7 +2787,7 @@ module Google
|
|
2856
2787
|
attr_accessor :labels
|
2857
2788
|
|
2858
2789
|
# Identifier. name of resource names have the form 'projects/`project_id`/
|
2859
|
-
#
|
2790
|
+
# locations/`location`/workloadProfiles/`workload_id`'
|
2860
2791
|
# Corresponds to the JSON property `name`
|
2861
2792
|
# @return [String]
|
2862
2793
|
attr_accessor :name
|
@@ -2871,21 +2802,6 @@ module Google
|
|
2871
2802
|
# @return [Google::Apis::WorkloadmanagerV1::SapWorkload]
|
2872
2803
|
attr_accessor :sap_workload
|
2873
2804
|
|
2874
|
-
# The body of sqlserver workload
|
2875
|
-
# Corresponds to the JSON property `sqlserverWorkload`
|
2876
|
-
# @return [Google::Apis::WorkloadmanagerV1::SqlserverWorkload]
|
2877
|
-
attr_accessor :sqlserver_workload
|
2878
|
-
|
2879
|
-
# Output only. [output only] the current state if a a workload
|
2880
|
-
# Corresponds to the JSON property `state`
|
2881
|
-
# @return [String]
|
2882
|
-
attr_accessor :state
|
2883
|
-
|
2884
|
-
# The body of three tier workload
|
2885
|
-
# Corresponds to the JSON property `threeTierWorkload`
|
2886
|
-
# @return [Google::Apis::WorkloadmanagerV1::ThreeTierWorkload]
|
2887
|
-
attr_accessor :three_tier_workload
|
2888
|
-
|
2889
2805
|
# Required. The type of the workload
|
2890
2806
|
# Corresponds to the JSON property `workloadType`
|
2891
2807
|
# @return [String]
|
@@ -2897,16 +2813,10 @@ module Google
|
|
2897
2813
|
|
2898
2814
|
# Update properties of this object
|
2899
2815
|
def update!(**args)
|
2900
|
-
@application = args[:application] if args.key?(:application)
|
2901
|
-
@ascs = args[:ascs] if args.key?(:ascs)
|
2902
|
-
@database = args[:database] if args.key?(:database)
|
2903
2816
|
@labels = args[:labels] if args.key?(:labels)
|
2904
2817
|
@name = args[:name] if args.key?(:name)
|
2905
2818
|
@refreshed_time = args[:refreshed_time] if args.key?(:refreshed_time)
|
2906
2819
|
@sap_workload = args[:sap_workload] if args.key?(:sap_workload)
|
2907
|
-
@sqlserver_workload = args[:sqlserver_workload] if args.key?(:sqlserver_workload)
|
2908
|
-
@state = args[:state] if args.key?(:state)
|
2909
|
-
@three_tier_workload = args[:three_tier_workload] if args.key?(:three_tier_workload)
|
2910
2820
|
@workload_type = args[:workload_type] if args.key?(:workload_type)
|
2911
2821
|
end
|
2912
2822
|
end
|
@@ -2920,11 +2830,16 @@ module Google
|
|
2920
2830
|
# @return [String]
|
2921
2831
|
attr_accessor :check_time
|
2922
2832
|
|
2923
|
-
#
|
2833
|
+
#
|
2924
2834
|
# Corresponds to the JSON property `componentHealthes`
|
2925
2835
|
# @return [Array<Google::Apis::WorkloadmanagerV1::ComponentHealth>]
|
2926
2836
|
attr_accessor :component_healthes
|
2927
2837
|
|
2838
|
+
# The detailed condition reports of each component.
|
2839
|
+
# Corresponds to the JSON property `componentsHealth`
|
2840
|
+
# @return [Array<Google::Apis::WorkloadmanagerV1::ComponentHealth>]
|
2841
|
+
attr_accessor :components_health
|
2842
|
+
|
2928
2843
|
# Output only. The health state of the workload.
|
2929
2844
|
# Corresponds to the JSON property `state`
|
2930
2845
|
# @return [String]
|
@@ -2938,6 +2853,7 @@ module Google
|
|
2938
2853
|
def update!(**args)
|
2939
2854
|
@check_time = args[:check_time] if args.key?(:check_time)
|
2940
2855
|
@component_healthes = args[:component_healthes] if args.key?(:component_healthes)
|
2856
|
+
@components_health = args[:components_health] if args.key?(:components_health)
|
2941
2857
|
@state = args[:state] if args.key?(:state)
|
2942
2858
|
end
|
2943
2859
|
end
|