google-apis-workloadmanager_v1 0.17.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/workloadmanager_v1/classes.rb +36 -683
- data/lib/google/apis/workloadmanager_v1/gem_version.rb +2 -2
- data/lib/google/apis/workloadmanager_v1/representations.rb +6 -334
- data/lib/google/apis/workloadmanager_v1/service.rb +4 -71
- metadata +3 -3
|
@@ -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,44 +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
|
-
# A list of host URIs that are part of the HA configuration if present. An empty
|
|
1272
|
-
# list indicates the component is not configured for HA.
|
|
1273
|
-
# Corresponds to the JSON property `haHosts`
|
|
1274
|
-
# @return [Array<String>]
|
|
1275
|
-
attr_accessor :ha_hosts
|
|
1276
|
-
|
|
1277
|
-
# Output only. resources in the component
|
|
1278
|
-
# Corresponds to the JSON property `resources`
|
|
1279
|
-
# @return [Array<Google::Apis::WorkloadmanagerV1::CloudResource>]
|
|
1280
|
-
attr_accessor :resources
|
|
1281
|
-
|
|
1282
|
-
# Output only. sid is the sap component identificator
|
|
1283
|
-
# Corresponds to the JSON property `sid`
|
|
1284
|
-
# @return [String]
|
|
1285
|
-
attr_accessor :sid
|
|
1286
|
-
|
|
1287
|
-
# The detected topology of the component.
|
|
1288
|
-
# Corresponds to the JSON property `topologyType`
|
|
1289
|
-
# @return [String]
|
|
1290
|
-
attr_accessor :topology_type
|
|
1291
|
-
|
|
1292
|
-
def initialize(**args)
|
|
1293
|
-
update!(**args)
|
|
1294
|
-
end
|
|
1295
|
-
|
|
1296
|
-
# Update properties of this object
|
|
1297
|
-
def update!(**args)
|
|
1298
|
-
@ha_hosts = args[:ha_hosts] if args.key?(:ha_hosts)
|
|
1299
|
-
@resources = args[:resources] if args.key?(:resources)
|
|
1300
|
-
@sid = args[:sid] if args.key?(:sid)
|
|
1301
|
-
@topology_type = args[:topology_type] if args.key?(:topology_type)
|
|
1302
|
-
end
|
|
1303
|
-
end
|
|
1304
|
-
|
|
1305
914
|
# The schema of SAP system discovery data.
|
|
1306
915
|
class SapDiscovery
|
|
1307
916
|
include Google::Apis::Core::Hashable
|
|
@@ -1426,11 +1035,21 @@ module Google
|
|
|
1426
1035
|
attr_accessor :abap
|
|
1427
1036
|
alias_method :abap?, :abap
|
|
1428
1037
|
|
|
1038
|
+
# Optional. Instance number of the SAP application instance.
|
|
1039
|
+
# Corresponds to the JSON property `appInstanceNumber`
|
|
1040
|
+
# @return [String]
|
|
1041
|
+
attr_accessor :app_instance_number
|
|
1042
|
+
|
|
1429
1043
|
# Required. Type of the application. Netweaver, etc.
|
|
1430
1044
|
# Corresponds to the JSON property `applicationType`
|
|
1431
1045
|
# @return [String]
|
|
1432
1046
|
attr_accessor :application_type
|
|
1433
1047
|
|
|
1048
|
+
# Optional. Instance number of the ASCS instance.
|
|
1049
|
+
# Corresponds to the JSON property `ascsInstanceNumber`
|
|
1050
|
+
# @return [String]
|
|
1051
|
+
attr_accessor :ascs_instance_number
|
|
1052
|
+
|
|
1434
1053
|
# Optional. Resource URI of the recognized ASCS host of the application.
|
|
1435
1054
|
# Corresponds to the JSON property `ascsUri`
|
|
1436
1055
|
# @return [String]
|
|
@@ -1454,7 +1073,9 @@ module Google
|
|
|
1454
1073
|
# Update properties of this object
|
|
1455
1074
|
def update!(**args)
|
|
1456
1075
|
@abap = args[:abap] if args.key?(:abap)
|
|
1076
|
+
@app_instance_number = args[:app_instance_number] if args.key?(:app_instance_number)
|
|
1457
1077
|
@application_type = args[:application_type] if args.key?(:application_type)
|
|
1078
|
+
@ascs_instance_number = args[:ascs_instance_number] if args.key?(:ascs_instance_number)
|
|
1458
1079
|
@ascs_uri = args[:ascs_uri] if args.key?(:ascs_uri)
|
|
1459
1080
|
@kernel_version = args[:kernel_version] if args.key?(:kernel_version)
|
|
1460
1081
|
@nfs_uri = args[:nfs_uri] if args.key?(:nfs_uri)
|
|
@@ -1465,6 +1086,11 @@ module Google
|
|
|
1465
1086
|
class SapDiscoveryComponentDatabaseProperties
|
|
1466
1087
|
include Google::Apis::Core::Hashable
|
|
1467
1088
|
|
|
1089
|
+
# Optional. SID of the system database.
|
|
1090
|
+
# Corresponds to the JSON property `databaseSid`
|
|
1091
|
+
# @return [String]
|
|
1092
|
+
attr_accessor :database_sid
|
|
1093
|
+
|
|
1468
1094
|
# Required. Type of the database. HANA, DB2, etc.
|
|
1469
1095
|
# Corresponds to the JSON property `databaseType`
|
|
1470
1096
|
# @return [String]
|
|
@@ -1475,6 +1101,11 @@ module Google
|
|
|
1475
1101
|
# @return [String]
|
|
1476
1102
|
attr_accessor :database_version
|
|
1477
1103
|
|
|
1104
|
+
# Optional. Instance number of the SAP instance.
|
|
1105
|
+
# Corresponds to the JSON property `instanceNumber`
|
|
1106
|
+
# @return [String]
|
|
1107
|
+
attr_accessor :instance_number
|
|
1108
|
+
|
|
1478
1109
|
# Required. URI of the recognized primary instance of the database.
|
|
1479
1110
|
# Corresponds to the JSON property `primaryInstanceUri`
|
|
1480
1111
|
# @return [String]
|
|
@@ -1492,8 +1123,10 @@ module Google
|
|
|
1492
1123
|
|
|
1493
1124
|
# Update properties of this object
|
|
1494
1125
|
def update!(**args)
|
|
1126
|
+
@database_sid = args[:database_sid] if args.key?(:database_sid)
|
|
1495
1127
|
@database_type = args[:database_type] if args.key?(:database_type)
|
|
1496
1128
|
@database_version = args[:database_version] if args.key?(:database_version)
|
|
1129
|
+
@instance_number = args[:instance_number] if args.key?(:instance_number)
|
|
1497
1130
|
@primary_instance_uri = args[:primary_instance_uri] if args.key?(:primary_instance_uri)
|
|
1498
1131
|
@shared_nfs_uri = args[:shared_nfs_uri] if args.key?(:shared_nfs_uri)
|
|
1499
1132
|
end
|
|
@@ -1596,6 +1229,11 @@ module Google
|
|
|
1596
1229
|
# @return [Array<String>]
|
|
1597
1230
|
attr_accessor :cluster_instances
|
|
1598
1231
|
|
|
1232
|
+
# Optional. The VM's instance number.
|
|
1233
|
+
# Corresponds to the JSON property `instanceNumber`
|
|
1234
|
+
# @return [Fixnum]
|
|
1235
|
+
attr_accessor :instance_number
|
|
1236
|
+
|
|
1599
1237
|
# Optional. A virtual hostname of the instance if it has one.
|
|
1600
1238
|
# Corresponds to the JSON property `virtualHostname`
|
|
1601
1239
|
# @return [String]
|
|
@@ -1608,6 +1246,7 @@ module Google
|
|
|
1608
1246
|
# Update properties of this object
|
|
1609
1247
|
def update!(**args)
|
|
1610
1248
|
@cluster_instances = args[:cluster_instances] if args.key?(:cluster_instances)
|
|
1249
|
+
@instance_number = args[:instance_number] if args.key?(:instance_number)
|
|
1611
1250
|
@virtual_hostname = args[:virtual_hostname] if args.key?(:virtual_hostname)
|
|
1612
1251
|
end
|
|
1613
1252
|
end
|
|
@@ -1764,68 +1403,6 @@ module Google
|
|
|
1764
1403
|
end
|
|
1765
1404
|
end
|
|
1766
1405
|
|
|
1767
|
-
# The body of sap workload
|
|
1768
|
-
class SapWorkload
|
|
1769
|
-
include Google::Apis::Core::Hashable
|
|
1770
|
-
|
|
1771
|
-
# The component of sap workload
|
|
1772
|
-
# Corresponds to the JSON property `application`
|
|
1773
|
-
# @return [Google::Apis::WorkloadmanagerV1::SapComponent]
|
|
1774
|
-
attr_accessor :application
|
|
1775
|
-
|
|
1776
|
-
# The component of sap workload
|
|
1777
|
-
# Corresponds to the JSON property `database`
|
|
1778
|
-
# @return [Google::Apis::WorkloadmanagerV1::SapComponent]
|
|
1779
|
-
attr_accessor :database
|
|
1780
|
-
|
|
1781
|
-
# Output only. The metadata for SAP workload.
|
|
1782
|
-
# Corresponds to the JSON property `metadata`
|
|
1783
|
-
# @return [Hash<String,String>]
|
|
1784
|
-
attr_accessor :metadata
|
|
1785
|
-
|
|
1786
|
-
def initialize(**args)
|
|
1787
|
-
update!(**args)
|
|
1788
|
-
end
|
|
1789
|
-
|
|
1790
|
-
# Update properties of this object
|
|
1791
|
-
def update!(**args)
|
|
1792
|
-
@application = args[:application] if args.key?(:application)
|
|
1793
|
-
@database = args[:database] if args.key?(:database)
|
|
1794
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1795
|
-
end
|
|
1796
|
-
end
|
|
1797
|
-
|
|
1798
|
-
# The overview of sap workload
|
|
1799
|
-
class SapWorkloadOverview
|
|
1800
|
-
include Google::Apis::Core::Hashable
|
|
1801
|
-
|
|
1802
|
-
# Output only. The application SID
|
|
1803
|
-
# Corresponds to the JSON property `appSid`
|
|
1804
|
-
# @return [String]
|
|
1805
|
-
attr_accessor :app_sid
|
|
1806
|
-
|
|
1807
|
-
# Output only. The database SID
|
|
1808
|
-
# Corresponds to the JSON property `dbSid`
|
|
1809
|
-
# @return [String]
|
|
1810
|
-
attr_accessor :db_sid
|
|
1811
|
-
|
|
1812
|
-
# Output only. The UUID for a SAP workload
|
|
1813
|
-
# Corresponds to the JSON property `sapSystemId`
|
|
1814
|
-
# @return [String]
|
|
1815
|
-
attr_accessor :sap_system_id
|
|
1816
|
-
|
|
1817
|
-
def initialize(**args)
|
|
1818
|
-
update!(**args)
|
|
1819
|
-
end
|
|
1820
|
-
|
|
1821
|
-
# Update properties of this object
|
|
1822
|
-
def update!(**args)
|
|
1823
|
-
@app_sid = args[:app_sid] if args.key?(:app_sid)
|
|
1824
|
-
@db_sid = args[:db_sid] if args.key?(:db_sid)
|
|
1825
|
-
@sap_system_id = args[:sap_system_id] if args.key?(:sap_system_id)
|
|
1826
|
-
end
|
|
1827
|
-
end
|
|
1828
|
-
|
|
1829
1406
|
# Message of scanned resource
|
|
1830
1407
|
class ScannedResource
|
|
1831
1408
|
include Google::Apis::Core::Hashable
|
|
@@ -1935,68 +1512,6 @@ module Google
|
|
|
1935
1512
|
end
|
|
1936
1513
|
end
|
|
1937
1514
|
|
|
1938
|
-
# The body of sqlserver workload
|
|
1939
|
-
class SqlserverWorkload
|
|
1940
|
-
include Google::Apis::Core::Hashable
|
|
1941
|
-
|
|
1942
|
-
# Output only. The availability groups for sqlserver
|
|
1943
|
-
# Corresponds to the JSON property `ags`
|
|
1944
|
-
# @return [Array<Google::Apis::WorkloadmanagerV1::AvailabilityGroup>]
|
|
1945
|
-
attr_accessor :ags
|
|
1946
|
-
|
|
1947
|
-
# The cluster for sqlserver
|
|
1948
|
-
# Corresponds to the JSON property `cluster`
|
|
1949
|
-
# @return [Google::Apis::WorkloadmanagerV1::Cluster]
|
|
1950
|
-
attr_accessor :cluster
|
|
1951
|
-
|
|
1952
|
-
# Output only. The databases for sqlserver
|
|
1953
|
-
# Corresponds to the JSON property `databases`
|
|
1954
|
-
# @return [Array<Google::Apis::WorkloadmanagerV1::Database>]
|
|
1955
|
-
attr_accessor :databases
|
|
1956
|
-
|
|
1957
|
-
# The load balancer for sqlserver
|
|
1958
|
-
# Corresponds to the JSON property `loadBalancerServer`
|
|
1959
|
-
# @return [Google::Apis::WorkloadmanagerV1::LoadBalancerServer]
|
|
1960
|
-
attr_accessor :load_balancer_server
|
|
1961
|
-
|
|
1962
|
-
def initialize(**args)
|
|
1963
|
-
update!(**args)
|
|
1964
|
-
end
|
|
1965
|
-
|
|
1966
|
-
# Update properties of this object
|
|
1967
|
-
def update!(**args)
|
|
1968
|
-
@ags = args[:ags] if args.key?(:ags)
|
|
1969
|
-
@cluster = args[:cluster] if args.key?(:cluster)
|
|
1970
|
-
@databases = args[:databases] if args.key?(:databases)
|
|
1971
|
-
@load_balancer_server = args[:load_balancer_server] if args.key?(:load_balancer_server)
|
|
1972
|
-
end
|
|
1973
|
-
end
|
|
1974
|
-
|
|
1975
|
-
# The overview of sqlserver workload
|
|
1976
|
-
class SqlserverWorkloadOverview
|
|
1977
|
-
include Google::Apis::Core::Hashable
|
|
1978
|
-
|
|
1979
|
-
# Output only. The availability groups
|
|
1980
|
-
# Corresponds to the JSON property `availabilityGroup`
|
|
1981
|
-
# @return [Array<String>]
|
|
1982
|
-
attr_accessor :availability_group
|
|
1983
|
-
|
|
1984
|
-
# Output only. The UUID for a Sqlserver workload
|
|
1985
|
-
# Corresponds to the JSON property `sqlserverSystemId`
|
|
1986
|
-
# @return [String]
|
|
1987
|
-
attr_accessor :sqlserver_system_id
|
|
1988
|
-
|
|
1989
|
-
def initialize(**args)
|
|
1990
|
-
update!(**args)
|
|
1991
|
-
end
|
|
1992
|
-
|
|
1993
|
-
# Update properties of this object
|
|
1994
|
-
def update!(**args)
|
|
1995
|
-
@availability_group = args[:availability_group] if args.key?(:availability_group)
|
|
1996
|
-
@sqlserver_system_id = args[:sqlserver_system_id] if args.key?(:sqlserver_system_id)
|
|
1997
|
-
end
|
|
1998
|
-
end
|
|
1999
|
-
|
|
2000
1515
|
# The `Status` type defines a logical error model that is suitable for different
|
|
2001
1516
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
2002
1517
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
@@ -2036,62 +1551,6 @@ module Google
|
|
|
2036
1551
|
end
|
|
2037
1552
|
end
|
|
2038
1553
|
|
|
2039
|
-
# The body of three tier workload
|
|
2040
|
-
class ThreeTierWorkload
|
|
2041
|
-
include Google::Apis::Core::Hashable
|
|
2042
|
-
|
|
2043
|
-
# The API layer server
|
|
2044
|
-
# Corresponds to the JSON property `apiLayer`
|
|
2045
|
-
# @return [Google::Apis::WorkloadmanagerV1::ApiLayerServer]
|
|
2046
|
-
attr_accessor :api_layer
|
|
2047
|
-
|
|
2048
|
-
# The backend server
|
|
2049
|
-
# Corresponds to the JSON property `backend`
|
|
2050
|
-
# @return [Google::Apis::WorkloadmanagerV1::BackendServer]
|
|
2051
|
-
attr_accessor :backend
|
|
2052
|
-
|
|
2053
|
-
# Output only. the workload endpoint
|
|
2054
|
-
# Corresponds to the JSON property `endpoint`
|
|
2055
|
-
# @return [String]
|
|
2056
|
-
attr_accessor :endpoint
|
|
2057
|
-
|
|
2058
|
-
# The front end server
|
|
2059
|
-
# Corresponds to the JSON property `frontend`
|
|
2060
|
-
# @return [Google::Apis::WorkloadmanagerV1::FrontEndServer]
|
|
2061
|
-
attr_accessor :frontend
|
|
2062
|
-
|
|
2063
|
-
def initialize(**args)
|
|
2064
|
-
update!(**args)
|
|
2065
|
-
end
|
|
2066
|
-
|
|
2067
|
-
# Update properties of this object
|
|
2068
|
-
def update!(**args)
|
|
2069
|
-
@api_layer = args[:api_layer] if args.key?(:api_layer)
|
|
2070
|
-
@backend = args[:backend] if args.key?(:backend)
|
|
2071
|
-
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
|
2072
|
-
@frontend = args[:frontend] if args.key?(:frontend)
|
|
2073
|
-
end
|
|
2074
|
-
end
|
|
2075
|
-
|
|
2076
|
-
# The overview of three tier workload
|
|
2077
|
-
class ThreeTierWorkloadOverview
|
|
2078
|
-
include Google::Apis::Core::Hashable
|
|
2079
|
-
|
|
2080
|
-
# Output only. The UUID for a three tier workload
|
|
2081
|
-
# Corresponds to the JSON property `threeTierSystemId`
|
|
2082
|
-
# @return [String]
|
|
2083
|
-
attr_accessor :three_tier_system_id
|
|
2084
|
-
|
|
2085
|
-
def initialize(**args)
|
|
2086
|
-
update!(**args)
|
|
2087
|
-
end
|
|
2088
|
-
|
|
2089
|
-
# Update properties of this object
|
|
2090
|
-
def update!(**args)
|
|
2091
|
-
@three_tier_system_id = args[:three_tier_system_id] if args.key?(:three_tier_system_id)
|
|
2092
|
-
end
|
|
2093
|
-
end
|
|
2094
|
-
|
|
2095
1554
|
# Message describing the violdation in execution result
|
|
2096
1555
|
class ViolationDetails
|
|
2097
1556
|
include Google::Apis::Core::Hashable
|
|
@@ -2123,122 +1582,15 @@ module Google
|
|
|
2123
1582
|
end
|
|
2124
1583
|
end
|
|
2125
1584
|
|
|
2126
|
-
# workload resource
|
|
2127
|
-
class WorkloadProfile
|
|
2128
|
-
include Google::Apis::Core::Hashable
|
|
2129
|
-
|
|
2130
|
-
# The database layer
|
|
2131
|
-
# Corresponds to the JSON property `application`
|
|
2132
|
-
# @return [Google::Apis::WorkloadmanagerV1::Layer]
|
|
2133
|
-
attr_accessor :application
|
|
2134
|
-
|
|
2135
|
-
# The database layer
|
|
2136
|
-
# Corresponds to the JSON property `ascs`
|
|
2137
|
-
# @return [Google::Apis::WorkloadmanagerV1::Layer]
|
|
2138
|
-
attr_accessor :ascs
|
|
2139
|
-
|
|
2140
|
-
# The database layer
|
|
2141
|
-
# Corresponds to the JSON property `database`
|
|
2142
|
-
# @return [Google::Apis::WorkloadmanagerV1::Layer]
|
|
2143
|
-
attr_accessor :database
|
|
2144
|
-
|
|
2145
|
-
# Optional. such as name, description, version. More example can be found in
|
|
2146
|
-
# deployment
|
|
2147
|
-
# Corresponds to the JSON property `labels`
|
|
2148
|
-
# @return [Hash<String,String>]
|
|
2149
|
-
attr_accessor :labels
|
|
2150
|
-
|
|
2151
|
-
# Identifier. name of resource names have the form 'projects/`project_id`/
|
|
2152
|
-
# workloads/`workload_id`'
|
|
2153
|
-
# Corresponds to the JSON property `name`
|
|
2154
|
-
# @return [String]
|
|
2155
|
-
attr_accessor :name
|
|
2156
|
-
|
|
2157
|
-
# Required. time when the workload data was refreshed
|
|
2158
|
-
# Corresponds to the JSON property `refreshedTime`
|
|
2159
|
-
# @return [String]
|
|
2160
|
-
attr_accessor :refreshed_time
|
|
2161
|
-
|
|
2162
|
-
# The body of sap workload
|
|
2163
|
-
# Corresponds to the JSON property `sapWorkload`
|
|
2164
|
-
# @return [Google::Apis::WorkloadmanagerV1::SapWorkload]
|
|
2165
|
-
attr_accessor :sap_workload
|
|
2166
|
-
|
|
2167
|
-
# The body of sqlserver workload
|
|
2168
|
-
# Corresponds to the JSON property `sqlserverWorkload`
|
|
2169
|
-
# @return [Google::Apis::WorkloadmanagerV1::SqlserverWorkload]
|
|
2170
|
-
attr_accessor :sqlserver_workload
|
|
2171
|
-
|
|
2172
|
-
# Output only. [output only] the current state if a a workload
|
|
2173
|
-
# Corresponds to the JSON property `state`
|
|
2174
|
-
# @return [String]
|
|
2175
|
-
attr_accessor :state
|
|
2176
|
-
|
|
2177
|
-
# The body of three tier workload
|
|
2178
|
-
# Corresponds to the JSON property `threeTierWorkload`
|
|
2179
|
-
# @return [Google::Apis::WorkloadmanagerV1::ThreeTierWorkload]
|
|
2180
|
-
attr_accessor :three_tier_workload
|
|
2181
|
-
|
|
2182
|
-
# Required. The type of the workload
|
|
2183
|
-
# Corresponds to the JSON property `workloadType`
|
|
2184
|
-
# @return [String]
|
|
2185
|
-
attr_accessor :workload_type
|
|
2186
|
-
|
|
2187
|
-
def initialize(**args)
|
|
2188
|
-
update!(**args)
|
|
2189
|
-
end
|
|
2190
|
-
|
|
2191
|
-
# Update properties of this object
|
|
2192
|
-
def update!(**args)
|
|
2193
|
-
@application = args[:application] if args.key?(:application)
|
|
2194
|
-
@ascs = args[:ascs] if args.key?(:ascs)
|
|
2195
|
-
@database = args[:database] if args.key?(:database)
|
|
2196
|
-
@labels = args[:labels] if args.key?(:labels)
|
|
2197
|
-
@name = args[:name] if args.key?(:name)
|
|
2198
|
-
@refreshed_time = args[:refreshed_time] if args.key?(:refreshed_time)
|
|
2199
|
-
@sap_workload = args[:sap_workload] if args.key?(:sap_workload)
|
|
2200
|
-
@sqlserver_workload = args[:sqlserver_workload] if args.key?(:sqlserver_workload)
|
|
2201
|
-
@state = args[:state] if args.key?(:state)
|
|
2202
|
-
@three_tier_workload = args[:three_tier_workload] if args.key?(:three_tier_workload)
|
|
2203
|
-
@workload_type = args[:workload_type] if args.key?(:workload_type)
|
|
2204
|
-
end
|
|
2205
|
-
end
|
|
2206
|
-
|
|
2207
|
-
# a workload profile overview
|
|
2208
|
-
class WorkloadProfileOverview
|
|
2209
|
-
include Google::Apis::Core::Hashable
|
|
2210
|
-
|
|
2211
|
-
# The overview of sap workload
|
|
2212
|
-
# Corresponds to the JSON property `sapWorkloadOverview`
|
|
2213
|
-
# @return [Google::Apis::WorkloadmanagerV1::SapWorkloadOverview]
|
|
2214
|
-
attr_accessor :sap_workload_overview
|
|
2215
|
-
|
|
2216
|
-
# The overview of sqlserver workload
|
|
2217
|
-
# Corresponds to the JSON property `sqlserverWorkloadOverview`
|
|
2218
|
-
# @return [Google::Apis::WorkloadmanagerV1::SqlserverWorkloadOverview]
|
|
2219
|
-
attr_accessor :sqlserver_workload_overview
|
|
2220
|
-
|
|
2221
|
-
# The overview of three tier workload
|
|
2222
|
-
# Corresponds to the JSON property `threeTierWorkloadOverview`
|
|
2223
|
-
# @return [Google::Apis::WorkloadmanagerV1::ThreeTierWorkloadOverview]
|
|
2224
|
-
attr_accessor :three_tier_workload_overview
|
|
2225
|
-
|
|
2226
|
-
def initialize(**args)
|
|
2227
|
-
update!(**args)
|
|
2228
|
-
end
|
|
2229
|
-
|
|
2230
|
-
# Update properties of this object
|
|
2231
|
-
def update!(**args)
|
|
2232
|
-
@sap_workload_overview = args[:sap_workload_overview] if args.key?(:sap_workload_overview)
|
|
2233
|
-
@sqlserver_workload_overview = args[:sqlserver_workload_overview] if args.key?(:sqlserver_workload_overview)
|
|
2234
|
-
@three_tier_workload_overview = args[:three_tier_workload_overview] if args.key?(:three_tier_workload_overview)
|
|
2235
|
-
end
|
|
2236
|
-
end
|
|
2237
|
-
|
|
2238
1585
|
# Request for sending the data insights.
|
|
2239
1586
|
class WriteInsightRequest
|
|
2240
1587
|
include Google::Apis::Core::Hashable
|
|
2241
1588
|
|
|
1589
|
+
# Optional. The agent version collected this data point.
|
|
1590
|
+
# Corresponds to the JSON property `agentVersion`
|
|
1591
|
+
# @return [String]
|
|
1592
|
+
attr_accessor :agent_version
|
|
1593
|
+
|
|
2242
1594
|
# A presentation of host resource usage where the workload runs.
|
|
2243
1595
|
# Corresponds to the JSON property `insight`
|
|
2244
1596
|
# @return [Google::Apis::WorkloadmanagerV1::Insight]
|
|
@@ -2264,6 +1616,7 @@ module Google
|
|
|
2264
1616
|
|
|
2265
1617
|
# Update properties of this object
|
|
2266
1618
|
def update!(**args)
|
|
1619
|
+
@agent_version = args[:agent_version] if args.key?(:agent_version)
|
|
2267
1620
|
@insight = args[:insight] if args.key?(:insight)
|
|
2268
1621
|
@request_id = args[:request_id] if args.key?(:request_id)
|
|
2269
1622
|
end
|