google-apis-workloadmanager_v1 0.35.0 → 0.37.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 +9 -0
- data/lib/google/apis/workloadmanager_v1/classes.rb +312 -223
- data/lib/google/apis/workloadmanager_v1/gem_version.rb +3 -3
- data/lib/google/apis/workloadmanager_v1/representations.rb +123 -88
- data/lib/google/apis/workloadmanager_v1/service.rb +0 -60
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49f0a1e19331dd174412e34d16cc23484606dc47fa0622a1c1d4b8e9efd4af73
|
4
|
+
data.tar.gz: 2a9de71bab586835797862b2dc21a0548e1ae282ae8dc1b0fc1e0216a0477936
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 843165c8508a3e0742a241932a642969a2e9b910b781b29cb5dc68b3078a6db5d78fe7e9524edd1ffbdd9aab3da0e70d8717a626e8a95158c49617d900e9c83f
|
7
|
+
data.tar.gz: 7c2bddf3bd7974bb0f1114a039cabbb5f840e1f0310438d344668324521b254fb8de510a57686f5caaca76c19eb8ee4be95364cb9f8cb81886bfab856ffb30fe
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-workloadmanager_v1
|
2
2
|
|
3
|
+
### v0.37.0 (2025-07-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250630
|
6
|
+
|
7
|
+
### v0.36.0 (2025-06-08)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250528
|
10
|
+
* Regenerated using generator version 0.18.0
|
11
|
+
|
3
12
|
### v0.35.0 (2025-05-04)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20250416
|
@@ -48,6 +48,230 @@ module Google
|
|
48
48
|
end
|
49
49
|
end
|
50
50
|
|
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`
|
57
|
+
# @return [String]
|
58
|
+
attr_accessor :agent_name
|
59
|
+
|
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
|
114
|
+
|
115
|
+
def initialize(**args)
|
116
|
+
update!(**args)
|
117
|
+
end
|
118
|
+
|
119
|
+
# Update properties of this object
|
120
|
+
def update!(**args)
|
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)
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
# The configuration value.
|
137
|
+
class AgentStatusConfigValue
|
138
|
+
include Google::Apis::Core::Hashable
|
139
|
+
|
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`
|
149
|
+
# @return [String]
|
150
|
+
attr_accessor :name
|
151
|
+
|
152
|
+
# Output only. The value of the configuration value.
|
153
|
+
# Corresponds to the JSON property `value`
|
154
|
+
# @return [String]
|
155
|
+
attr_accessor :value
|
156
|
+
|
157
|
+
def initialize(**args)
|
158
|
+
update!(**args)
|
159
|
+
end
|
160
|
+
|
161
|
+
# Update properties of this object
|
162
|
+
def update!(**args)
|
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)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
# The IAM permission status.
|
170
|
+
class AgentStatusIamPermission
|
171
|
+
include Google::Apis::Core::Hashable
|
172
|
+
|
173
|
+
# Output only. Whether the permission is granted.
|
174
|
+
# Corresponds to the JSON property `granted`
|
175
|
+
# @return [String]
|
176
|
+
attr_accessor :granted
|
177
|
+
|
178
|
+
# Output only. The name of the permission.
|
179
|
+
# Corresponds to the JSON property `name`
|
180
|
+
# @return [String]
|
181
|
+
attr_accessor :name
|
182
|
+
|
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`
|
200
|
+
# @return [String]
|
201
|
+
attr_accessor :name
|
202
|
+
|
203
|
+
# Output only. The URL of the reference.
|
204
|
+
# Corresponds to the JSON property `url`
|
205
|
+
# @return [String]
|
206
|
+
attr_accessor :url
|
207
|
+
|
208
|
+
def initialize(**args)
|
209
|
+
update!(**args)
|
210
|
+
end
|
211
|
+
|
212
|
+
# Update properties of this object
|
213
|
+
def update!(**args)
|
214
|
+
@name = args[:name] if args.key?(:name)
|
215
|
+
@url = args[:url] if args.key?(:url)
|
216
|
+
end
|
217
|
+
end
|
218
|
+
|
219
|
+
# The status of a service (process metrics, host metrics, etc.).
|
220
|
+
class AgentStatusServiceStatus
|
221
|
+
include Google::Apis::Core::Hashable
|
222
|
+
|
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`
|
230
|
+
# @return [String]
|
231
|
+
attr_accessor :error_message
|
232
|
+
|
233
|
+
# Output only. Whether the service is fully functional (all checks passed).
|
234
|
+
# Corresponds to the JSON property `fullyFunctional`
|
235
|
+
# @return [String]
|
236
|
+
attr_accessor :fully_functional
|
237
|
+
|
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.
|
244
|
+
# Corresponds to the JSON property `name`
|
245
|
+
# @return [String]
|
246
|
+
attr_accessor :name
|
247
|
+
|
248
|
+
# Output only. The state of the service (enabled or disabled in the
|
249
|
+
# configuration).
|
250
|
+
# Corresponds to the JSON property `state`
|
251
|
+
# @return [String]
|
252
|
+
attr_accessor :state
|
253
|
+
|
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
|
258
|
+
|
259
|
+
def initialize(**args)
|
260
|
+
update!(**args)
|
261
|
+
end
|
262
|
+
|
263
|
+
# Update properties of this object
|
264
|
+
def update!(**args)
|
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)
|
269
|
+
@name = args[:name] if args.key?(:name)
|
270
|
+
@state = args[:state] if args.key?(:state)
|
271
|
+
@unspecified_state_message = args[:unspecified_state_message] if args.key?(:unspecified_state_message)
|
272
|
+
end
|
273
|
+
end
|
274
|
+
|
51
275
|
# Backup properties.
|
52
276
|
class BackupProperties
|
53
277
|
include Google::Apis::Core::Hashable
|
@@ -168,56 +392,6 @@ module Google
|
|
168
392
|
end
|
169
393
|
end
|
170
394
|
|
171
|
-
# HealthCondition contains the detailed health check of each component.
|
172
|
-
class ComponentHealth
|
173
|
-
include Google::Apis::Core::Hashable
|
174
|
-
|
175
|
-
# The component of a workload.
|
176
|
-
# Corresponds to the JSON property `component`
|
177
|
-
# @return [String]
|
178
|
-
attr_accessor :component
|
179
|
-
|
180
|
-
# The detailed health checks of the component.
|
181
|
-
# Corresponds to the JSON property `componentHealthChecks`
|
182
|
-
# @return [Array<Google::Apis::WorkloadmanagerV1::HealthCheck>]
|
183
|
-
attr_accessor :component_health_checks
|
184
|
-
|
185
|
-
# Output only. The type of the component health.
|
186
|
-
# Corresponds to the JSON property `componentHealthType`
|
187
|
-
# @return [String]
|
188
|
-
attr_accessor :component_health_type
|
189
|
-
|
190
|
-
# Output only. The requirement of the component.
|
191
|
-
# Corresponds to the JSON property `isRequired`
|
192
|
-
# @return [Boolean]
|
193
|
-
attr_accessor :is_required
|
194
|
-
alias_method :is_required?, :is_required
|
195
|
-
|
196
|
-
# Output only. The health state of the component.
|
197
|
-
# Corresponds to the JSON property `state`
|
198
|
-
# @return [String]
|
199
|
-
attr_accessor :state
|
200
|
-
|
201
|
-
# Sub component health.
|
202
|
-
# Corresponds to the JSON property `subComponentHealthes`
|
203
|
-
# @return [Array<Google::Apis::WorkloadmanagerV1::ComponentHealth>]
|
204
|
-
attr_accessor :sub_component_healthes
|
205
|
-
|
206
|
-
def initialize(**args)
|
207
|
-
update!(**args)
|
208
|
-
end
|
209
|
-
|
210
|
-
# Update properties of this object
|
211
|
-
def update!(**args)
|
212
|
-
@component = args[:component] if args.key?(:component)
|
213
|
-
@component_health_checks = args[:component_health_checks] if args.key?(:component_health_checks)
|
214
|
-
@component_health_type = args[:component_health_type] if args.key?(:component_health_type)
|
215
|
-
@is_required = args[:is_required] if args.key?(:is_required)
|
216
|
-
@state = args[:state] if args.key?(:state)
|
217
|
-
@sub_component_healthes = args[:sub_component_healthes] if args.key?(:sub_component_healthes)
|
218
|
-
end
|
219
|
-
end
|
220
|
-
|
221
395
|
# Database Properties.
|
222
396
|
class DatabaseProperties
|
223
397
|
include Google::Apis::Core::Hashable
|
@@ -561,53 +735,15 @@ module Google
|
|
561
735
|
end
|
562
736
|
end
|
563
737
|
|
564
|
-
# HealthCheck contains the detailed health check of a component based on asource.
|
565
|
-
class HealthCheck
|
566
|
-
include Google::Apis::Core::Hashable
|
567
|
-
|
568
|
-
# Output only. The message of the health check.
|
569
|
-
# Corresponds to the JSON property `message`
|
570
|
-
# @return [String]
|
571
|
-
attr_accessor :message
|
572
|
-
|
573
|
-
# Output only. The health check source metric name.
|
574
|
-
# Corresponds to the JSON property `metric`
|
575
|
-
# @return [String]
|
576
|
-
attr_accessor :metric
|
577
|
-
|
578
|
-
# The resource on GCP
|
579
|
-
# Corresponds to the JSON property `resource`
|
580
|
-
# @return [Google::Apis::WorkloadmanagerV1::CloudResource]
|
581
|
-
attr_accessor :resource
|
582
|
-
|
583
|
-
# Output only. The source of the health check.
|
584
|
-
# Corresponds to the JSON property `source`
|
585
|
-
# @return [String]
|
586
|
-
attr_accessor :source
|
587
|
-
|
588
|
-
# Output only. The state of the health check.
|
589
|
-
# Corresponds to the JSON property `state`
|
590
|
-
# @return [String]
|
591
|
-
attr_accessor :state
|
592
|
-
|
593
|
-
def initialize(**args)
|
594
|
-
update!(**args)
|
595
|
-
end
|
596
|
-
|
597
|
-
# Update properties of this object
|
598
|
-
def update!(**args)
|
599
|
-
@message = args[:message] if args.key?(:message)
|
600
|
-
@metric = args[:metric] if args.key?(:metric)
|
601
|
-
@resource = args[:resource] if args.key?(:resource)
|
602
|
-
@source = args[:source] if args.key?(:source)
|
603
|
-
@state = args[:state] if args.key?(:state)
|
604
|
-
end
|
605
|
-
end
|
606
|
-
|
607
738
|
# A presentation of host resource usage where the workload runs.
|
608
739
|
class Insight
|
609
740
|
include Google::Apis::Core::Hashable
|
610
741
|
|
742
|
+
# The schema of agent status data.
|
743
|
+
# Corresponds to the JSON property `agentStatus`
|
744
|
+
# @return [Google::Apis::WorkloadmanagerV1::AgentStatus]
|
745
|
+
attr_accessor :agent_status
|
746
|
+
|
611
747
|
# Required. The instance id where the insight is generated from
|
612
748
|
# Corresponds to the JSON property `instanceId`
|
613
749
|
# @return [String]
|
@@ -646,6 +782,7 @@ module Google
|
|
646
782
|
|
647
783
|
# Update properties of this object
|
648
784
|
def update!(**args)
|
785
|
+
@agent_status = args[:agent_status] if args.key?(:agent_status)
|
649
786
|
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
650
787
|
@sap_discovery = args[:sap_discovery] if args.key?(:sap_discovery)
|
651
788
|
@sap_validation = args[:sap_validation] if args.key?(:sap_validation)
|
@@ -655,37 +792,6 @@ module Google
|
|
655
792
|
end
|
656
793
|
end
|
657
794
|
|
658
|
-
# a vm instance
|
659
|
-
class Instance
|
660
|
-
include Google::Apis::Core::Hashable
|
661
|
-
|
662
|
-
# Output only. name of the VM
|
663
|
-
# Corresponds to the JSON property `name`
|
664
|
-
# @return [String]
|
665
|
-
attr_accessor :name
|
666
|
-
|
667
|
-
# Output only. The location of the VM
|
668
|
-
# Corresponds to the JSON property `region`
|
669
|
-
# @return [String]
|
670
|
-
attr_accessor :region
|
671
|
-
|
672
|
-
# Output only. The state of the VM
|
673
|
-
# Corresponds to the JSON property `status`
|
674
|
-
# @return [String]
|
675
|
-
attr_accessor :status
|
676
|
-
|
677
|
-
def initialize(**args)
|
678
|
-
update!(**args)
|
679
|
-
end
|
680
|
-
|
681
|
-
# Update properties of this object
|
682
|
-
def update!(**args)
|
683
|
-
@name = args[:name] if args.key?(:name)
|
684
|
-
@region = args[:region] if args.key?(:region)
|
685
|
-
@status = args[:status] if args.key?(:status)
|
686
|
-
end
|
687
|
-
end
|
688
|
-
|
689
795
|
# Instance Properties.
|
690
796
|
class InstanceProperties
|
691
797
|
include Google::Apis::Core::Hashable
|
@@ -700,11 +806,6 @@ module Google
|
|
700
806
|
# @return [String]
|
701
807
|
attr_accessor :machine_type
|
702
808
|
|
703
|
-
# Optional. Instance role.
|
704
|
-
# Corresponds to the JSON property `role`
|
705
|
-
# @return [String]
|
706
|
-
attr_accessor :role
|
707
|
-
|
708
809
|
# Optional. Instance roles.
|
709
810
|
# Corresponds to the JSON property `roles`
|
710
811
|
# @return [Array<String>]
|
@@ -733,7 +834,6 @@ module Google
|
|
733
834
|
def update!(**args)
|
734
835
|
@instance_number = args[:instance_number] if args.key?(:instance_number)
|
735
836
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
736
|
-
@role = args[:role] if args.key?(:role)
|
737
837
|
@roles = args[:roles] if args.key?(:roles)
|
738
838
|
@sap_instance_properties = args[:sap_instance_properties] if args.key?(:sap_instance_properties)
|
739
839
|
@status = args[:status] if args.key?(:status)
|
@@ -741,43 +841,6 @@ module Google
|
|
741
841
|
end
|
742
842
|
end
|
743
843
|
|
744
|
-
# The database layer
|
745
|
-
class Layer
|
746
|
-
include Google::Apis::Core::Hashable
|
747
|
-
|
748
|
-
# the application layer
|
749
|
-
# Corresponds to the JSON property `applicationType`
|
750
|
-
# @return [String]
|
751
|
-
attr_accessor :application_type
|
752
|
-
|
753
|
-
# Optional. the database layer
|
754
|
-
# Corresponds to the JSON property `databaseType`
|
755
|
-
# @return [String]
|
756
|
-
attr_accessor :database_type
|
757
|
-
|
758
|
-
# Optional. instances in a layer
|
759
|
-
# Corresponds to the JSON property `instances`
|
760
|
-
# @return [Array<Google::Apis::WorkloadmanagerV1::Instance>]
|
761
|
-
attr_accessor :instances
|
762
|
-
|
763
|
-
# Output only. system identification of a layer
|
764
|
-
# Corresponds to the JSON property `sid`
|
765
|
-
# @return [String]
|
766
|
-
attr_accessor :sid
|
767
|
-
|
768
|
-
def initialize(**args)
|
769
|
-
update!(**args)
|
770
|
-
end
|
771
|
-
|
772
|
-
# Update properties of this object
|
773
|
-
def update!(**args)
|
774
|
-
@application_type = args[:application_type] if args.key?(:application_type)
|
775
|
-
@database_type = args[:database_type] if args.key?(:database_type)
|
776
|
-
@instances = args[:instances] if args.key?(:instances)
|
777
|
-
@sid = args[:sid] if args.key?(:sid)
|
778
|
-
end
|
779
|
-
end
|
780
|
-
|
781
844
|
# List discovered profile Response returns discovered profiles from agents
|
782
845
|
class ListDiscoveredProfilesResponse
|
783
846
|
include Google::Apis::Core::Hashable
|
@@ -1911,6 +1974,11 @@ module Google
|
|
1911
1974
|
attr_accessor :is_dr_site
|
1912
1975
|
alias_method :is_dr_site?, :is_dr_site
|
1913
1976
|
|
1977
|
+
# KernelVersion encapsulates the kernel version data for the system.
|
1978
|
+
# Corresponds to the JSON property `osKernelVersion`
|
1979
|
+
# @return [Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersion]
|
1980
|
+
attr_accessor :os_kernel_version
|
1981
|
+
|
1914
1982
|
# Optional. A virtual hostname of the instance if it has one.
|
1915
1983
|
# Corresponds to the JSON property `virtualHostname`
|
1916
1984
|
# @return [String]
|
@@ -1928,6 +1996,7 @@ module Google
|
|
1928
1996
|
@instance_number = args[:instance_number] if args.key?(:instance_number)
|
1929
1997
|
@instance_role = args[:instance_role] if args.key?(:instance_role)
|
1930
1998
|
@is_dr_site = args[:is_dr_site] if args.key?(:is_dr_site)
|
1999
|
+
@os_kernel_version = args[:os_kernel_version] if args.key?(:os_kernel_version)
|
1931
2000
|
@virtual_hostname = args[:virtual_hostname] if args.key?(:virtual_hostname)
|
1932
2001
|
end
|
1933
2002
|
end
|
@@ -1988,6 +2057,81 @@ module Google
|
|
1988
2057
|
end
|
1989
2058
|
end
|
1990
2059
|
|
2060
|
+
# KernelVersion encapsulates the kernel version data for the system.
|
2061
|
+
class SapDiscoveryResourceInstancePropertiesKernelVersion
|
2062
|
+
include Google::Apis::Core::Hashable
|
2063
|
+
|
2064
|
+
# Version is reported as Major.Minor.Build.Patch.
|
2065
|
+
# Corresponds to the JSON property `distroKernel`
|
2066
|
+
# @return [Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersionVersion]
|
2067
|
+
attr_accessor :distro_kernel
|
2068
|
+
|
2069
|
+
# Version is reported as Major.Minor.Build.Patch.
|
2070
|
+
# Corresponds to the JSON property `osKernel`
|
2071
|
+
# @return [Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersionVersion]
|
2072
|
+
attr_accessor :os_kernel
|
2073
|
+
|
2074
|
+
# Optional. Raw string of the kernel version.
|
2075
|
+
# Corresponds to the JSON property `rawString`
|
2076
|
+
# @return [String]
|
2077
|
+
attr_accessor :raw_string
|
2078
|
+
|
2079
|
+
def initialize(**args)
|
2080
|
+
update!(**args)
|
2081
|
+
end
|
2082
|
+
|
2083
|
+
# Update properties of this object
|
2084
|
+
def update!(**args)
|
2085
|
+
@distro_kernel = args[:distro_kernel] if args.key?(:distro_kernel)
|
2086
|
+
@os_kernel = args[:os_kernel] if args.key?(:os_kernel)
|
2087
|
+
@raw_string = args[:raw_string] if args.key?(:raw_string)
|
2088
|
+
end
|
2089
|
+
end
|
2090
|
+
|
2091
|
+
# Version is reported as Major.Minor.Build.Patch.
|
2092
|
+
class SapDiscoveryResourceInstancePropertiesKernelVersionVersion
|
2093
|
+
include Google::Apis::Core::Hashable
|
2094
|
+
|
2095
|
+
# Optional. The build version number.
|
2096
|
+
# Corresponds to the JSON property `build`
|
2097
|
+
# @return [Fixnum]
|
2098
|
+
attr_accessor :build
|
2099
|
+
|
2100
|
+
# Optional. The major version number.
|
2101
|
+
# Corresponds to the JSON property `major`
|
2102
|
+
# @return [Fixnum]
|
2103
|
+
attr_accessor :major
|
2104
|
+
|
2105
|
+
# Optional. The minor version number.
|
2106
|
+
# Corresponds to the JSON property `minor`
|
2107
|
+
# @return [Fixnum]
|
2108
|
+
attr_accessor :minor
|
2109
|
+
|
2110
|
+
# Optional. The patch version number.
|
2111
|
+
# Corresponds to the JSON property `patch`
|
2112
|
+
# @return [Fixnum]
|
2113
|
+
attr_accessor :patch
|
2114
|
+
|
2115
|
+
# Optional. A catch-all for any unparsed version components. This is in case the
|
2116
|
+
# number of points in the version string exceeds the expected count of 4.
|
2117
|
+
# Corresponds to the JSON property `remainder`
|
2118
|
+
# @return [String]
|
2119
|
+
attr_accessor :remainder
|
2120
|
+
|
2121
|
+
def initialize(**args)
|
2122
|
+
update!(**args)
|
2123
|
+
end
|
2124
|
+
|
2125
|
+
# Update properties of this object
|
2126
|
+
def update!(**args)
|
2127
|
+
@build = args[:build] if args.key?(:build)
|
2128
|
+
@major = args[:major] if args.key?(:major)
|
2129
|
+
@minor = args[:minor] if args.key?(:minor)
|
2130
|
+
@patch = args[:patch] if args.key?(:patch)
|
2131
|
+
@remainder = args[:remainder] if args.key?(:remainder)
|
2132
|
+
end
|
2133
|
+
end
|
2134
|
+
|
1991
2135
|
# A set of properties describing an SAP workload.
|
1992
2136
|
class SapDiscoveryWorkloadProperties
|
1993
2137
|
include Google::Apis::Core::Hashable
|
@@ -2537,21 +2681,6 @@ module Google
|
|
2537
2681
|
class WorkloadProfile
|
2538
2682
|
include Google::Apis::Core::Hashable
|
2539
2683
|
|
2540
|
-
# The database layer
|
2541
|
-
# Corresponds to the JSON property `application`
|
2542
|
-
# @return [Google::Apis::WorkloadmanagerV1::Layer]
|
2543
|
-
attr_accessor :application
|
2544
|
-
|
2545
|
-
# The database layer
|
2546
|
-
# Corresponds to the JSON property `ascs`
|
2547
|
-
# @return [Google::Apis::WorkloadmanagerV1::Layer]
|
2548
|
-
attr_accessor :ascs
|
2549
|
-
|
2550
|
-
# The database layer
|
2551
|
-
# Corresponds to the JSON property `database`
|
2552
|
-
# @return [Google::Apis::WorkloadmanagerV1::Layer]
|
2553
|
-
attr_accessor :database
|
2554
|
-
|
2555
2684
|
# Optional. such as name, description, version. More example can be found in
|
2556
2685
|
# deployment
|
2557
2686
|
# Corresponds to the JSON property `labels`
|
@@ -2559,7 +2688,7 @@ module Google
|
|
2559
2688
|
attr_accessor :labels
|
2560
2689
|
|
2561
2690
|
# Identifier. name of resource names have the form 'projects/`project_id`/
|
2562
|
-
#
|
2691
|
+
# locations/`location`/workloadProfiles/`workload_id`'
|
2563
2692
|
# Corresponds to the JSON property `name`
|
2564
2693
|
# @return [String]
|
2565
2694
|
attr_accessor :name
|
@@ -2574,11 +2703,6 @@ module Google
|
|
2574
2703
|
# @return [Google::Apis::WorkloadmanagerV1::SapWorkload]
|
2575
2704
|
attr_accessor :sap_workload
|
2576
2705
|
|
2577
|
-
# Output only. [output only] the current state if a a workload
|
2578
|
-
# Corresponds to the JSON property `state`
|
2579
|
-
# @return [String]
|
2580
|
-
attr_accessor :state
|
2581
|
-
|
2582
2706
|
# Required. The type of the workload
|
2583
2707
|
# Corresponds to the JSON property `workloadType`
|
2584
2708
|
# @return [String]
|
@@ -2590,49 +2714,14 @@ module Google
|
|
2590
2714
|
|
2591
2715
|
# Update properties of this object
|
2592
2716
|
def update!(**args)
|
2593
|
-
@application = args[:application] if args.key?(:application)
|
2594
|
-
@ascs = args[:ascs] if args.key?(:ascs)
|
2595
|
-
@database = args[:database] if args.key?(:database)
|
2596
2717
|
@labels = args[:labels] if args.key?(:labels)
|
2597
2718
|
@name = args[:name] if args.key?(:name)
|
2598
2719
|
@refreshed_time = args[:refreshed_time] if args.key?(:refreshed_time)
|
2599
2720
|
@sap_workload = args[:sap_workload] if args.key?(:sap_workload)
|
2600
|
-
@state = args[:state] if args.key?(:state)
|
2601
2721
|
@workload_type = args[:workload_type] if args.key?(:workload_type)
|
2602
2722
|
end
|
2603
2723
|
end
|
2604
2724
|
|
2605
|
-
# WorkloadProfileHealth contains the detailed health check of workload.
|
2606
|
-
class WorkloadProfileHealth
|
2607
|
-
include Google::Apis::Core::Hashable
|
2608
|
-
|
2609
|
-
# The time when the health check was performed.
|
2610
|
-
# Corresponds to the JSON property `checkTime`
|
2611
|
-
# @return [String]
|
2612
|
-
attr_accessor :check_time
|
2613
|
-
|
2614
|
-
# The detailed condition reports of each component.
|
2615
|
-
# Corresponds to the JSON property `componentHealthes`
|
2616
|
-
# @return [Array<Google::Apis::WorkloadmanagerV1::ComponentHealth>]
|
2617
|
-
attr_accessor :component_healthes
|
2618
|
-
|
2619
|
-
# Output only. The health state of the workload.
|
2620
|
-
# Corresponds to the JSON property `state`
|
2621
|
-
# @return [String]
|
2622
|
-
attr_accessor :state
|
2623
|
-
|
2624
|
-
def initialize(**args)
|
2625
|
-
update!(**args)
|
2626
|
-
end
|
2627
|
-
|
2628
|
-
# Update properties of this object
|
2629
|
-
def update!(**args)
|
2630
|
-
@check_time = args[:check_time] if args.key?(:check_time)
|
2631
|
-
@component_healthes = args[:component_healthes] if args.key?(:component_healthes)
|
2632
|
-
@state = args[:state] if args.key?(:state)
|
2633
|
-
end
|
2634
|
-
end
|
2635
|
-
|
2636
2725
|
# Request for sending the data insights.
|
2637
2726
|
class WriteInsightRequest
|
2638
2727
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module WorkloadmanagerV1
|
18
18
|
# Version of the google-apis-workloadmanager_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.37.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250630"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,109 +28,115 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
-
class
|
31
|
+
class AgentStatus
|
32
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
33
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
-
class
|
37
|
+
class AgentStatusConfigValue
|
38
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
39
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
-
class
|
43
|
+
class AgentStatusIamPermission
|
44
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
45
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
-
class
|
49
|
+
class AgentStatusReference
|
50
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
51
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
-
class
|
55
|
+
class AgentStatusServiceStatus
|
56
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
57
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
-
class
|
61
|
+
class BackupProperties
|
62
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
63
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
-
class
|
67
|
+
class BigQueryDestination
|
68
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
69
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
-
class
|
73
|
+
class CancelOperationRequest
|
74
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
75
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
-
class
|
79
|
+
class CloudResource
|
80
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
81
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
-
class
|
85
|
+
class Command
|
86
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
87
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
-
class
|
91
|
+
class DatabaseProperties
|
92
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
93
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
-
class
|
97
|
+
class Empty
|
98
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
99
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
-
class
|
103
|
+
class Evaluation
|
104
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
105
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
-
class
|
109
|
+
class Execution
|
110
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
111
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
113
113
|
end
|
114
114
|
|
115
|
-
class
|
115
|
+
class ExecutionResult
|
116
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
117
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
-
class
|
121
|
+
class ExternalDataSources
|
122
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
123
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
-
class
|
127
|
+
class GceInstanceFilter
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class Insight
|
128
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
135
|
|
130
136
|
include Google::Apis::Core::JsonObjectSupport
|
131
137
|
end
|
132
138
|
|
133
|
-
class
|
139
|
+
class InstanceProperties
|
134
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
141
|
|
136
142
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -316,6 +322,18 @@ module Google
|
|
316
322
|
include Google::Apis::Core::JsonObjectSupport
|
317
323
|
end
|
318
324
|
|
325
|
+
class SapDiscoveryResourceInstancePropertiesKernelVersion
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
331
|
+
class SapDiscoveryResourceInstancePropertiesKernelVersionVersion
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
319
337
|
class SapDiscoveryWorkloadProperties
|
320
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
339
|
|
@@ -424,12 +442,6 @@ module Google
|
|
424
442
|
include Google::Apis::Core::JsonObjectSupport
|
425
443
|
end
|
426
444
|
|
427
|
-
class WorkloadProfileHealth
|
428
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
|
-
|
430
|
-
include Google::Apis::Core::JsonObjectSupport
|
431
|
-
end
|
432
|
-
|
433
445
|
class WriteInsightRequest
|
434
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
447
|
|
@@ -450,6 +462,67 @@ module Google
|
|
450
462
|
end
|
451
463
|
end
|
452
464
|
|
465
|
+
class AgentStatus
|
466
|
+
# @private
|
467
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
468
|
+
property :agent_name, as: 'agentName'
|
469
|
+
property :available_version, as: 'availableVersion'
|
470
|
+
property :cloud_api_access_full_scopes_granted, as: 'cloudApiAccessFullScopesGranted'
|
471
|
+
property :configuration_error_message, as: 'configurationErrorMessage'
|
472
|
+
property :configuration_file_path, as: 'configurationFilePath'
|
473
|
+
property :configuration_valid, as: 'configurationValid'
|
474
|
+
property :installed_version, as: 'installedVersion'
|
475
|
+
property :kernel_version, as: 'kernelVersion', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersion, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersion::Representation
|
476
|
+
|
477
|
+
collection :references, as: 'references', class: Google::Apis::WorkloadmanagerV1::AgentStatusReference, decorator: Google::Apis::WorkloadmanagerV1::AgentStatusReference::Representation
|
478
|
+
|
479
|
+
collection :services, as: 'services', class: Google::Apis::WorkloadmanagerV1::AgentStatusServiceStatus, decorator: Google::Apis::WorkloadmanagerV1::AgentStatusServiceStatus::Representation
|
480
|
+
|
481
|
+
property :systemd_service_enabled, as: 'systemdServiceEnabled'
|
482
|
+
property :systemd_service_running, as: 'systemdServiceRunning'
|
483
|
+
end
|
484
|
+
end
|
485
|
+
|
486
|
+
class AgentStatusConfigValue
|
487
|
+
# @private
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
489
|
+
property :is_default, as: 'isDefault'
|
490
|
+
property :name, as: 'name'
|
491
|
+
property :value, as: 'value'
|
492
|
+
end
|
493
|
+
end
|
494
|
+
|
495
|
+
class AgentStatusIamPermission
|
496
|
+
# @private
|
497
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
498
|
+
property :granted, as: 'granted'
|
499
|
+
property :name, as: 'name'
|
500
|
+
end
|
501
|
+
end
|
502
|
+
|
503
|
+
class AgentStatusReference
|
504
|
+
# @private
|
505
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
506
|
+
property :name, as: 'name'
|
507
|
+
property :url, as: 'url'
|
508
|
+
end
|
509
|
+
end
|
510
|
+
|
511
|
+
class AgentStatusServiceStatus
|
512
|
+
# @private
|
513
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
514
|
+
collection :config_values, as: 'configValues', class: Google::Apis::WorkloadmanagerV1::AgentStatusConfigValue, decorator: Google::Apis::WorkloadmanagerV1::AgentStatusConfigValue::Representation
|
515
|
+
|
516
|
+
property :error_message, as: 'errorMessage'
|
517
|
+
property :fully_functional, as: 'fullyFunctional'
|
518
|
+
collection :iam_permissions, as: 'iamPermissions', class: Google::Apis::WorkloadmanagerV1::AgentStatusIamPermission, decorator: Google::Apis::WorkloadmanagerV1::AgentStatusIamPermission::Representation
|
519
|
+
|
520
|
+
property :name, as: 'name'
|
521
|
+
property :state, as: 'state'
|
522
|
+
property :unspecified_state_message, as: 'unspecifiedStateMessage'
|
523
|
+
end
|
524
|
+
end
|
525
|
+
|
453
526
|
class BackupProperties
|
454
527
|
# @private
|
455
528
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -492,20 +565,6 @@ module Google
|
|
492
565
|
end
|
493
566
|
end
|
494
567
|
|
495
|
-
class ComponentHealth
|
496
|
-
# @private
|
497
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
498
|
-
property :component, as: 'component'
|
499
|
-
collection :component_health_checks, as: 'componentHealthChecks', class: Google::Apis::WorkloadmanagerV1::HealthCheck, decorator: Google::Apis::WorkloadmanagerV1::HealthCheck::Representation
|
500
|
-
|
501
|
-
property :component_health_type, as: 'componentHealthType'
|
502
|
-
property :is_required, as: 'isRequired'
|
503
|
-
property :state, as: 'state'
|
504
|
-
collection :sub_component_healthes, as: 'subComponentHealthes', class: Google::Apis::WorkloadmanagerV1::ComponentHealth, decorator: Google::Apis::WorkloadmanagerV1::ComponentHealth::Representation
|
505
|
-
|
506
|
-
end
|
507
|
-
end
|
508
|
-
|
509
568
|
class DatabaseProperties
|
510
569
|
# @private
|
511
570
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -599,21 +658,11 @@ module Google
|
|
599
658
|
end
|
600
659
|
end
|
601
660
|
|
602
|
-
class HealthCheck
|
603
|
-
# @private
|
604
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
605
|
-
property :message, as: 'message'
|
606
|
-
property :metric, as: 'metric'
|
607
|
-
property :resource, as: 'resource', class: Google::Apis::WorkloadmanagerV1::CloudResource, decorator: Google::Apis::WorkloadmanagerV1::CloudResource::Representation
|
608
|
-
|
609
|
-
property :source, as: 'source'
|
610
|
-
property :state, as: 'state'
|
611
|
-
end
|
612
|
-
end
|
613
|
-
|
614
661
|
class Insight
|
615
662
|
# @private
|
616
663
|
class Representation < Google::Apis::Core::JsonRepresentation
|
664
|
+
property :agent_status, as: 'agentStatus', class: Google::Apis::WorkloadmanagerV1::AgentStatus, decorator: Google::Apis::WorkloadmanagerV1::AgentStatus::Representation
|
665
|
+
|
617
666
|
property :instance_id, as: 'instanceId'
|
618
667
|
property :sap_discovery, as: 'sapDiscovery', class: Google::Apis::WorkloadmanagerV1::SapDiscovery, decorator: Google::Apis::WorkloadmanagerV1::SapDiscovery::Representation
|
619
668
|
|
@@ -627,21 +676,11 @@ module Google
|
|
627
676
|
end
|
628
677
|
end
|
629
678
|
|
630
|
-
class Instance
|
631
|
-
# @private
|
632
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
633
|
-
property :name, as: 'name'
|
634
|
-
property :region, as: 'region'
|
635
|
-
property :status, as: 'status'
|
636
|
-
end
|
637
|
-
end
|
638
|
-
|
639
679
|
class InstanceProperties
|
640
680
|
# @private
|
641
681
|
class Representation < Google::Apis::Core::JsonRepresentation
|
642
682
|
property :instance_number, as: 'instanceNumber'
|
643
683
|
property :machine_type, as: 'machineType'
|
644
|
-
property :role, as: 'role'
|
645
684
|
collection :roles, as: 'roles'
|
646
685
|
property :sap_instance_properties, as: 'sapInstanceProperties', class: Google::Apis::WorkloadmanagerV1::SapInstanceProperties, decorator: Google::Apis::WorkloadmanagerV1::SapInstanceProperties::Representation
|
647
686
|
|
@@ -651,17 +690,6 @@ module Google
|
|
651
690
|
end
|
652
691
|
end
|
653
692
|
|
654
|
-
class Layer
|
655
|
-
# @private
|
656
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
657
|
-
property :application_type, as: 'applicationType'
|
658
|
-
property :database_type, as: 'databaseType'
|
659
|
-
collection :instances, as: 'instances', class: Google::Apis::WorkloadmanagerV1::Instance, decorator: Google::Apis::WorkloadmanagerV1::Instance::Representation
|
660
|
-
|
661
|
-
property :sid, as: 'sid'
|
662
|
-
end
|
663
|
-
end
|
664
|
-
|
665
693
|
class ListDiscoveredProfilesResponse
|
666
694
|
# @private
|
667
695
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -974,6 +1002,8 @@ module Google
|
|
974
1002
|
property :instance_number, :numeric_string => true, as: 'instanceNumber'
|
975
1003
|
property :instance_role, as: 'instanceRole'
|
976
1004
|
property :is_dr_site, as: 'isDrSite'
|
1005
|
+
property :os_kernel_version, as: 'osKernelVersion', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersion, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersion::Representation
|
1006
|
+
|
977
1007
|
property :virtual_hostname, as: 'virtualHostname'
|
978
1008
|
end
|
979
1009
|
end
|
@@ -995,6 +1025,28 @@ module Google
|
|
995
1025
|
end
|
996
1026
|
end
|
997
1027
|
|
1028
|
+
class SapDiscoveryResourceInstancePropertiesKernelVersion
|
1029
|
+
# @private
|
1030
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1031
|
+
property :distro_kernel, as: 'distroKernel', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersionVersion, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersionVersion::Representation
|
1032
|
+
|
1033
|
+
property :os_kernel, as: 'osKernel', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersionVersion, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersionVersion::Representation
|
1034
|
+
|
1035
|
+
property :raw_string, as: 'rawString'
|
1036
|
+
end
|
1037
|
+
end
|
1038
|
+
|
1039
|
+
class SapDiscoveryResourceInstancePropertiesKernelVersionVersion
|
1040
|
+
# @private
|
1041
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1042
|
+
property :build, as: 'build'
|
1043
|
+
property :major, as: 'major'
|
1044
|
+
property :minor, as: 'minor'
|
1045
|
+
property :patch, as: 'patch'
|
1046
|
+
property :remainder, as: 'remainder'
|
1047
|
+
end
|
1048
|
+
end
|
1049
|
+
|
998
1050
|
class SapDiscoveryWorkloadProperties
|
999
1051
|
# @private
|
1000
1052
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1159,32 +1211,15 @@ module Google
|
|
1159
1211
|
class WorkloadProfile
|
1160
1212
|
# @private
|
1161
1213
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1162
|
-
property :application, as: 'application', class: Google::Apis::WorkloadmanagerV1::Layer, decorator: Google::Apis::WorkloadmanagerV1::Layer::Representation
|
1163
|
-
|
1164
|
-
property :ascs, as: 'ascs', class: Google::Apis::WorkloadmanagerV1::Layer, decorator: Google::Apis::WorkloadmanagerV1::Layer::Representation
|
1165
|
-
|
1166
|
-
property :database, as: 'database', class: Google::Apis::WorkloadmanagerV1::Layer, decorator: Google::Apis::WorkloadmanagerV1::Layer::Representation
|
1167
|
-
|
1168
1214
|
hash :labels, as: 'labels'
|
1169
1215
|
property :name, as: 'name'
|
1170
1216
|
property :refreshed_time, as: 'refreshedTime'
|
1171
1217
|
property :sap_workload, as: 'sapWorkload', class: Google::Apis::WorkloadmanagerV1::SapWorkload, decorator: Google::Apis::WorkloadmanagerV1::SapWorkload::Representation
|
1172
1218
|
|
1173
|
-
property :state, as: 'state'
|
1174
1219
|
property :workload_type, as: 'workloadType'
|
1175
1220
|
end
|
1176
1221
|
end
|
1177
1222
|
|
1178
|
-
class WorkloadProfileHealth
|
1179
|
-
# @private
|
1180
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1181
|
-
property :check_time, as: 'checkTime'
|
1182
|
-
collection :component_healthes, as: 'componentHealthes', class: Google::Apis::WorkloadmanagerV1::ComponentHealth, decorator: Google::Apis::WorkloadmanagerV1::ComponentHealth::Representation
|
1183
|
-
|
1184
|
-
property :state, as: 'state'
|
1185
|
-
end
|
1186
|
-
end
|
1187
|
-
|
1188
1223
|
class WriteInsightRequest
|
1189
1224
|
# @private
|
1190
1225
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -130,36 +130,6 @@ module Google
|
|
130
130
|
execute_or_queue_command(command, &block)
|
131
131
|
end
|
132
132
|
|
133
|
-
# Gets details of a discovered workload profile.
|
134
|
-
# @param [String] name
|
135
|
-
# Required. Name of the resource
|
136
|
-
# @param [String] fields
|
137
|
-
# Selector specifying which fields to include in a partial response.
|
138
|
-
# @param [String] quota_user
|
139
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
140
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
141
|
-
# @param [Google::Apis::RequestOptions] options
|
142
|
-
# Request-specific options
|
143
|
-
#
|
144
|
-
# @yield [result, err] Result & error if block supplied
|
145
|
-
# @yieldparam result [Google::Apis::WorkloadmanagerV1::WorkloadProfile] parsed result object
|
146
|
-
# @yieldparam err [StandardError] error object if request failed
|
147
|
-
#
|
148
|
-
# @return [Google::Apis::WorkloadmanagerV1::WorkloadProfile]
|
149
|
-
#
|
150
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
151
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
152
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
153
|
-
def get_project_location_discoveredprofile(name, fields: nil, quota_user: nil, options: nil, &block)
|
154
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
155
|
-
command.response_representation = Google::Apis::WorkloadmanagerV1::WorkloadProfile::Representation
|
156
|
-
command.response_class = Google::Apis::WorkloadmanagerV1::WorkloadProfile
|
157
|
-
command.params['name'] = name unless name.nil?
|
158
|
-
command.query['fields'] = fields unless fields.nil?
|
159
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
160
|
-
execute_or_queue_command(command, &block)
|
161
|
-
end
|
162
|
-
|
163
133
|
# List discovered workload profiles
|
164
134
|
# @param [String] parent
|
165
135
|
# Required. Parent value for ListDiscoveredProfilesRequest
|
@@ -200,36 +170,6 @@ module Google
|
|
200
170
|
execute_or_queue_command(command, &block)
|
201
171
|
end
|
202
172
|
|
203
|
-
# Get the health of a discovered workload profile.
|
204
|
-
# @param [String] name
|
205
|
-
# Required. The resource name
|
206
|
-
# @param [String] fields
|
207
|
-
# Selector specifying which fields to include in a partial response.
|
208
|
-
# @param [String] quota_user
|
209
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
210
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
211
|
-
# @param [Google::Apis::RequestOptions] options
|
212
|
-
# Request-specific options
|
213
|
-
#
|
214
|
-
# @yield [result, err] Result & error if block supplied
|
215
|
-
# @yieldparam result [Google::Apis::WorkloadmanagerV1::WorkloadProfileHealth] parsed result object
|
216
|
-
# @yieldparam err [StandardError] error object if request failed
|
217
|
-
#
|
218
|
-
# @return [Google::Apis::WorkloadmanagerV1::WorkloadProfileHealth]
|
219
|
-
#
|
220
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
221
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
222
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
223
|
-
def get_project_location_discoveredprofile_healthe(name, fields: nil, quota_user: nil, options: nil, &block)
|
224
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
225
|
-
command.response_representation = Google::Apis::WorkloadmanagerV1::WorkloadProfileHealth::Representation
|
226
|
-
command.response_class = Google::Apis::WorkloadmanagerV1::WorkloadProfileHealth
|
227
|
-
command.params['name'] = name unless name.nil?
|
228
|
-
command.query['fields'] = fields unless fields.nil?
|
229
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
230
|
-
execute_or_queue_command(command, &block)
|
231
|
-
end
|
232
|
-
|
233
173
|
# Creates a new Evaluation in a given project and location.
|
234
174
|
# @param [String] parent
|
235
175
|
# Required. The resource prefix of the evaluation location using the form: `
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-workloadmanager_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.37.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workloadmanager_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.37.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workloadmanager_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.9
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Workload Manager API V1
|
79
79
|
test_files: []
|