google-apis-workloadmanager_v1 0.35.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 586d9d229298f7da6b8e9e8474f520006d8defeeb77f16ccbe882a1334978bc8
4
- data.tar.gz: b2f135de935786b5f043615458ca7b2696fc9b0e9e010cb101078fbb0a9054f7
3
+ metadata.gz: 1fedfcefdf51a72f7247cbbb3adb3e6c624eea610b14b05d61dd064aae26d10d
4
+ data.tar.gz: 6eb62a60c44c72400babe2181a1470e11db079eb37238a99619480b485df73d5
5
5
  SHA512:
6
- metadata.gz: 572e392c231557c2633586f6d14fd79e45bea94e69519c062da1bd96a83fd9b36e7b4f2d72c3d52545480ed585dad6ea5ac2851aa1c2026e12ee8f5384c9fad2
7
- data.tar.gz: c1d6e9ee46277436f9c98b3cdcdbd63a8a7a911dab3597229ff86abd6dd93b566499087840218a7b831c962cb4aba34f4f1b52cdfcca6c07929d8c594c115ccf
6
+ metadata.gz: bbe35ab6b830f1fa23c0e06a13c4b50f64914fc73353a8460e18b00fc0446fc5ea3ea6a08c981bdf88ae249ef976732c9f7e0809f5592f9ac80b799383923984
7
+ data.tar.gz: 778b5293a5d7e495d9b404ad78c7ba1779f06e8e593d350e1cd9fa65c330231924f4b673f28fc1970828498d317caeca754586dc5043d88de2d496c1bd4be0d1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-workloadmanager_v1
2
2
 
3
+ ### v0.36.0 (2025-06-08)
4
+
5
+ * Regenerated from discovery document revision 20250528
6
+ * Regenerated using generator version 0.18.0
7
+
3
8
  ### v0.35.0 (2025-05-04)
4
9
 
5
10
  * 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
@@ -198,11 +422,16 @@ module Google
198
422
  # @return [String]
199
423
  attr_accessor :state
200
424
 
201
- # Sub component health.
425
+ #
202
426
  # Corresponds to the JSON property `subComponentHealthes`
203
427
  # @return [Array<Google::Apis::WorkloadmanagerV1::ComponentHealth>]
204
428
  attr_accessor :sub_component_healthes
205
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
+
206
435
  def initialize(**args)
207
436
  update!(**args)
208
437
  end
@@ -215,6 +444,7 @@ module Google
215
444
  @is_required = args[:is_required] if args.key?(:is_required)
216
445
  @state = args[:state] if args.key?(:state)
217
446
  @sub_component_healthes = args[:sub_component_healthes] if args.key?(:sub_component_healthes)
447
+ @sub_components_health = args[:sub_components_health] if args.key?(:sub_components_health)
218
448
  end
219
449
  end
220
450
 
@@ -608,6 +838,11 @@ module Google
608
838
  class Insight
609
839
  include Google::Apis::Core::Hashable
610
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
+
611
846
  # Required. The instance id where the insight is generated from
612
847
  # Corresponds to the JSON property `instanceId`
613
848
  # @return [String]
@@ -646,6 +881,7 @@ module Google
646
881
 
647
882
  # Update properties of this object
648
883
  def update!(**args)
884
+ @agent_status = args[:agent_status] if args.key?(:agent_status)
649
885
  @instance_id = args[:instance_id] if args.key?(:instance_id)
650
886
  @sap_discovery = args[:sap_discovery] if args.key?(:sap_discovery)
651
887
  @sap_validation = args[:sap_validation] if args.key?(:sap_validation)
@@ -655,37 +891,6 @@ module Google
655
891
  end
656
892
  end
657
893
 
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
894
  # Instance Properties.
690
895
  class InstanceProperties
691
896
  include Google::Apis::Core::Hashable
@@ -700,11 +905,6 @@ module Google
700
905
  # @return [String]
701
906
  attr_accessor :machine_type
702
907
 
703
- # Optional. Instance role.
704
- # Corresponds to the JSON property `role`
705
- # @return [String]
706
- attr_accessor :role
707
-
708
908
  # Optional. Instance roles.
709
909
  # Corresponds to the JSON property `roles`
710
910
  # @return [Array<String>]
@@ -733,7 +933,6 @@ module Google
733
933
  def update!(**args)
734
934
  @instance_number = args[:instance_number] if args.key?(:instance_number)
735
935
  @machine_type = args[:machine_type] if args.key?(:machine_type)
736
- @role = args[:role] if args.key?(:role)
737
936
  @roles = args[:roles] if args.key?(:roles)
738
937
  @sap_instance_properties = args[:sap_instance_properties] if args.key?(:sap_instance_properties)
739
938
  @status = args[:status] if args.key?(:status)
@@ -741,43 +940,6 @@ module Google
741
940
  end
742
941
  end
743
942
 
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
943
  # List discovered profile Response returns discovered profiles from agents
782
944
  class ListDiscoveredProfilesResponse
783
945
  include Google::Apis::Core::Hashable
@@ -1911,6 +2073,11 @@ module Google
1911
2073
  attr_accessor :is_dr_site
1912
2074
  alias_method :is_dr_site?, :is_dr_site
1913
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
+
1914
2081
  # Optional. A virtual hostname of the instance if it has one.
1915
2082
  # Corresponds to the JSON property `virtualHostname`
1916
2083
  # @return [String]
@@ -1928,6 +2095,7 @@ module Google
1928
2095
  @instance_number = args[:instance_number] if args.key?(:instance_number)
1929
2096
  @instance_role = args[:instance_role] if args.key?(:instance_role)
1930
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)
1931
2099
  @virtual_hostname = args[:virtual_hostname] if args.key?(:virtual_hostname)
1932
2100
  end
1933
2101
  end
@@ -1988,6 +2156,81 @@ module Google
1988
2156
  end
1989
2157
  end
1990
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
+
1991
2234
  # A set of properties describing an SAP workload.
1992
2235
  class SapDiscoveryWorkloadProperties
1993
2236
  include Google::Apis::Core::Hashable
@@ -2537,21 +2780,6 @@ module Google
2537
2780
  class WorkloadProfile
2538
2781
  include Google::Apis::Core::Hashable
2539
2782
 
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
2783
  # Optional. such as name, description, version. More example can be found in
2556
2784
  # deployment
2557
2785
  # Corresponds to the JSON property `labels`
@@ -2559,7 +2787,7 @@ module Google
2559
2787
  attr_accessor :labels
2560
2788
 
2561
2789
  # Identifier. name of resource names have the form 'projects/`project_id`/
2562
- # workloads/`workload_id`'
2790
+ # locations/`location`/workloadProfiles/`workload_id`'
2563
2791
  # Corresponds to the JSON property `name`
2564
2792
  # @return [String]
2565
2793
  attr_accessor :name
@@ -2574,11 +2802,6 @@ module Google
2574
2802
  # @return [Google::Apis::WorkloadmanagerV1::SapWorkload]
2575
2803
  attr_accessor :sap_workload
2576
2804
 
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
2805
  # Required. The type of the workload
2583
2806
  # Corresponds to the JSON property `workloadType`
2584
2807
  # @return [String]
@@ -2590,14 +2813,10 @@ module Google
2590
2813
 
2591
2814
  # Update properties of this object
2592
2815
  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
2816
  @labels = args[:labels] if args.key?(:labels)
2597
2817
  @name = args[:name] if args.key?(:name)
2598
2818
  @refreshed_time = args[:refreshed_time] if args.key?(:refreshed_time)
2599
2819
  @sap_workload = args[:sap_workload] if args.key?(:sap_workload)
2600
- @state = args[:state] if args.key?(:state)
2601
2820
  @workload_type = args[:workload_type] if args.key?(:workload_type)
2602
2821
  end
2603
2822
  end
@@ -2611,11 +2830,16 @@ module Google
2611
2830
  # @return [String]
2612
2831
  attr_accessor :check_time
2613
2832
 
2614
- # The detailed condition reports of each component.
2833
+ #
2615
2834
  # Corresponds to the JSON property `componentHealthes`
2616
2835
  # @return [Array<Google::Apis::WorkloadmanagerV1::ComponentHealth>]
2617
2836
  attr_accessor :component_healthes
2618
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
+
2619
2843
  # Output only. The health state of the workload.
2620
2844
  # Corresponds to the JSON property `state`
2621
2845
  # @return [String]
@@ -2629,6 +2853,7 @@ module Google
2629
2853
  def update!(**args)
2630
2854
  @check_time = args[:check_time] if args.key?(:check_time)
2631
2855
  @component_healthes = args[:component_healthes] if args.key?(:component_healthes)
2856
+ @components_health = args[:components_health] if args.key?(:components_health)
2632
2857
  @state = args[:state] if args.key?(:state)
2633
2858
  end
2634
2859
  end
@@ -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.35.0"
19
+ GEM_VERSION = "0.36.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250416"
25
+ REVISION = "20250528"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,36 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AgentStatus
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AgentStatusConfigValue
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AgentStatusIamPermission
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class AgentStatusReference
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class AgentStatusServiceStatus
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
31
61
  class BackupProperties
32
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
63
 
@@ -118,24 +148,12 @@ module Google
118
148
  include Google::Apis::Core::JsonObjectSupport
119
149
  end
120
150
 
121
- class Instance
122
- class Representation < Google::Apis::Core::JsonRepresentation; end
123
-
124
- include Google::Apis::Core::JsonObjectSupport
125
- end
126
-
127
151
  class InstanceProperties
128
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
153
 
130
154
  include Google::Apis::Core::JsonObjectSupport
131
155
  end
132
156
 
133
- class Layer
134
- class Representation < Google::Apis::Core::JsonRepresentation; end
135
-
136
- include Google::Apis::Core::JsonObjectSupport
137
- end
138
-
139
157
  class ListDiscoveredProfilesResponse
140
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
159
 
@@ -316,6 +334,18 @@ module Google
316
334
  include Google::Apis::Core::JsonObjectSupport
317
335
  end
318
336
 
337
+ class SapDiscoveryResourceInstancePropertiesKernelVersion
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class SapDiscoveryResourceInstancePropertiesKernelVersionVersion
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
319
349
  class SapDiscoveryWorkloadProperties
320
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
351
 
@@ -450,6 +480,67 @@ module Google
450
480
  end
451
481
  end
452
482
 
483
+ class AgentStatus
484
+ # @private
485
+ class Representation < Google::Apis::Core::JsonRepresentation
486
+ property :agent_name, as: 'agentName'
487
+ property :available_version, as: 'availableVersion'
488
+ property :cloud_api_access_full_scopes_granted, as: 'cloudApiAccessFullScopesGranted'
489
+ property :configuration_error_message, as: 'configurationErrorMessage'
490
+ property :configuration_file_path, as: 'configurationFilePath'
491
+ property :configuration_valid, as: 'configurationValid'
492
+ property :installed_version, as: 'installedVersion'
493
+ property :kernel_version, as: 'kernelVersion', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersion, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersion::Representation
494
+
495
+ collection :references, as: 'references', class: Google::Apis::WorkloadmanagerV1::AgentStatusReference, decorator: Google::Apis::WorkloadmanagerV1::AgentStatusReference::Representation
496
+
497
+ collection :services, as: 'services', class: Google::Apis::WorkloadmanagerV1::AgentStatusServiceStatus, decorator: Google::Apis::WorkloadmanagerV1::AgentStatusServiceStatus::Representation
498
+
499
+ property :systemd_service_enabled, as: 'systemdServiceEnabled'
500
+ property :systemd_service_running, as: 'systemdServiceRunning'
501
+ end
502
+ end
503
+
504
+ class AgentStatusConfigValue
505
+ # @private
506
+ class Representation < Google::Apis::Core::JsonRepresentation
507
+ property :is_default, as: 'isDefault'
508
+ property :name, as: 'name'
509
+ property :value, as: 'value'
510
+ end
511
+ end
512
+
513
+ class AgentStatusIamPermission
514
+ # @private
515
+ class Representation < Google::Apis::Core::JsonRepresentation
516
+ property :granted, as: 'granted'
517
+ property :name, as: 'name'
518
+ end
519
+ end
520
+
521
+ class AgentStatusReference
522
+ # @private
523
+ class Representation < Google::Apis::Core::JsonRepresentation
524
+ property :name, as: 'name'
525
+ property :url, as: 'url'
526
+ end
527
+ end
528
+
529
+ class AgentStatusServiceStatus
530
+ # @private
531
+ class Representation < Google::Apis::Core::JsonRepresentation
532
+ collection :config_values, as: 'configValues', class: Google::Apis::WorkloadmanagerV1::AgentStatusConfigValue, decorator: Google::Apis::WorkloadmanagerV1::AgentStatusConfigValue::Representation
533
+
534
+ property :error_message, as: 'errorMessage'
535
+ property :fully_functional, as: 'fullyFunctional'
536
+ collection :iam_permissions, as: 'iamPermissions', class: Google::Apis::WorkloadmanagerV1::AgentStatusIamPermission, decorator: Google::Apis::WorkloadmanagerV1::AgentStatusIamPermission::Representation
537
+
538
+ property :name, as: 'name'
539
+ property :state, as: 'state'
540
+ property :unspecified_state_message, as: 'unspecifiedStateMessage'
541
+ end
542
+ end
543
+
453
544
  class BackupProperties
454
545
  # @private
455
546
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -503,6 +594,8 @@ module Google
503
594
  property :state, as: 'state'
504
595
  collection :sub_component_healthes, as: 'subComponentHealthes', class: Google::Apis::WorkloadmanagerV1::ComponentHealth, decorator: Google::Apis::WorkloadmanagerV1::ComponentHealth::Representation
505
596
 
597
+ collection :sub_components_health, as: 'subComponentsHealth', class: Google::Apis::WorkloadmanagerV1::ComponentHealth, decorator: Google::Apis::WorkloadmanagerV1::ComponentHealth::Representation
598
+
506
599
  end
507
600
  end
508
601
 
@@ -614,6 +707,8 @@ module Google
614
707
  class Insight
615
708
  # @private
616
709
  class Representation < Google::Apis::Core::JsonRepresentation
710
+ property :agent_status, as: 'agentStatus', class: Google::Apis::WorkloadmanagerV1::AgentStatus, decorator: Google::Apis::WorkloadmanagerV1::AgentStatus::Representation
711
+
617
712
  property :instance_id, as: 'instanceId'
618
713
  property :sap_discovery, as: 'sapDiscovery', class: Google::Apis::WorkloadmanagerV1::SapDiscovery, decorator: Google::Apis::WorkloadmanagerV1::SapDiscovery::Representation
619
714
 
@@ -627,21 +722,11 @@ module Google
627
722
  end
628
723
  end
629
724
 
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
725
  class InstanceProperties
640
726
  # @private
641
727
  class Representation < Google::Apis::Core::JsonRepresentation
642
728
  property :instance_number, as: 'instanceNumber'
643
729
  property :machine_type, as: 'machineType'
644
- property :role, as: 'role'
645
730
  collection :roles, as: 'roles'
646
731
  property :sap_instance_properties, as: 'sapInstanceProperties', class: Google::Apis::WorkloadmanagerV1::SapInstanceProperties, decorator: Google::Apis::WorkloadmanagerV1::SapInstanceProperties::Representation
647
732
 
@@ -651,17 +736,6 @@ module Google
651
736
  end
652
737
  end
653
738
 
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
739
  class ListDiscoveredProfilesResponse
666
740
  # @private
667
741
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -974,6 +1048,8 @@ module Google
974
1048
  property :instance_number, :numeric_string => true, as: 'instanceNumber'
975
1049
  property :instance_role, as: 'instanceRole'
976
1050
  property :is_dr_site, as: 'isDrSite'
1051
+ property :os_kernel_version, as: 'osKernelVersion', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersion, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersion::Representation
1052
+
977
1053
  property :virtual_hostname, as: 'virtualHostname'
978
1054
  end
979
1055
  end
@@ -995,6 +1071,28 @@ module Google
995
1071
  end
996
1072
  end
997
1073
 
1074
+ class SapDiscoveryResourceInstancePropertiesKernelVersion
1075
+ # @private
1076
+ class Representation < Google::Apis::Core::JsonRepresentation
1077
+ property :distro_kernel, as: 'distroKernel', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersionVersion, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersionVersion::Representation
1078
+
1079
+ property :os_kernel, as: 'osKernel', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersionVersion, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersionVersion::Representation
1080
+
1081
+ property :raw_string, as: 'rawString'
1082
+ end
1083
+ end
1084
+
1085
+ class SapDiscoveryResourceInstancePropertiesKernelVersionVersion
1086
+ # @private
1087
+ class Representation < Google::Apis::Core::JsonRepresentation
1088
+ property :build, as: 'build'
1089
+ property :major, as: 'major'
1090
+ property :minor, as: 'minor'
1091
+ property :patch, as: 'patch'
1092
+ property :remainder, as: 'remainder'
1093
+ end
1094
+ end
1095
+
998
1096
  class SapDiscoveryWorkloadProperties
999
1097
  # @private
1000
1098
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1159,18 +1257,11 @@ module Google
1159
1257
  class WorkloadProfile
1160
1258
  # @private
1161
1259
  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
1260
  hash :labels, as: 'labels'
1169
1261
  property :name, as: 'name'
1170
1262
  property :refreshed_time, as: 'refreshedTime'
1171
1263
  property :sap_workload, as: 'sapWorkload', class: Google::Apis::WorkloadmanagerV1::SapWorkload, decorator: Google::Apis::WorkloadmanagerV1::SapWorkload::Representation
1172
1264
 
1173
- property :state, as: 'state'
1174
1265
  property :workload_type, as: 'workloadType'
1175
1266
  end
1176
1267
  end
@@ -1181,6 +1272,8 @@ module Google
1181
1272
  property :check_time, as: 'checkTime'
1182
1273
  collection :component_healthes, as: 'componentHealthes', class: Google::Apis::WorkloadmanagerV1::ComponentHealth, decorator: Google::Apis::WorkloadmanagerV1::ComponentHealth::Representation
1183
1274
 
1275
+ collection :components_health, as: 'componentsHealth', class: Google::Apis::WorkloadmanagerV1::ComponentHealth, decorator: Google::Apis::WorkloadmanagerV1::ComponentHealth::Representation
1276
+
1184
1277
  property :state, as: 'state'
1185
1278
  end
1186
1279
  end
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.35.0
4
+ version: 0.36.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.35.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.36.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.8
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: []