google-apis-workloadmanager_v1 0.36.0 → 0.38.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 +6 -136
- data/lib/google/apis/workloadmanager_v1/gem_version.rb +2 -2
- data/lib/google/apis/workloadmanager_v1/representations.rb +1 -58
- data/lib/google/apis/workloadmanager_v1/service.rb +0 -60
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c09038ca7938d2ef6ea1f99600f48340c54ada4220293a6d8026731e96b47c34
|
4
|
+
data.tar.gz: e1dd218195e73674329a52cc2c5a43de602349acd6e2c490bbe1034b7383b349
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c81151474e949aa58510ed36c2b11550398d822e56fc270a012f760c14e99e519f8c64883475e4237224c303c029c3b6c7b50c46c73aecde30807fb6b5a1bbfb
|
7
|
+
data.tar.gz: cef3d1603a65fd2ba0faec74f35a5955bf4f3c442ff1219c1ba39f539d7a4375b272a5427cf4fa0a0be6696ede34cc79d4c4b4183ee2ac350474263c8a15b450
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-workloadmanager_v1
|
2
2
|
|
3
|
+
### v0.38.0 (2025-07-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250714
|
6
|
+
|
7
|
+
### v0.37.0 (2025-07-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250630
|
10
|
+
|
3
11
|
### v0.36.0 (2025-06-08)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250528
|
@@ -87,6 +87,11 @@ module Google
|
|
87
87
|
# @return [String]
|
88
88
|
attr_accessor :installed_version
|
89
89
|
|
90
|
+
# Output only. The URI of the instance. Format: projects//zones//instances/
|
91
|
+
# Corresponds to the JSON property `instanceUri`
|
92
|
+
# @return [String]
|
93
|
+
attr_accessor :instance_uri
|
94
|
+
|
90
95
|
# KernelVersion encapsulates the kernel version data for the system.
|
91
96
|
# Corresponds to the JSON property `kernelVersion`
|
92
97
|
# @return [Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersion]
|
@@ -125,6 +130,7 @@ module Google
|
|
125
130
|
@configuration_file_path = args[:configuration_file_path] if args.key?(:configuration_file_path)
|
126
131
|
@configuration_valid = args[:configuration_valid] if args.key?(:configuration_valid)
|
127
132
|
@installed_version = args[:installed_version] if args.key?(:installed_version)
|
133
|
+
@instance_uri = args[:instance_uri] if args.key?(:instance_uri)
|
128
134
|
@kernel_version = args[:kernel_version] if args.key?(:kernel_version)
|
129
135
|
@references = args[:references] if args.key?(:references)
|
130
136
|
@services = args[:services] if args.key?(:services)
|
@@ -392,62 +398,6 @@ module Google
|
|
392
398
|
end
|
393
399
|
end
|
394
400
|
|
395
|
-
# HealthCondition contains the detailed health check of each component.
|
396
|
-
class ComponentHealth
|
397
|
-
include Google::Apis::Core::Hashable
|
398
|
-
|
399
|
-
# The component of a workload.
|
400
|
-
# Corresponds to the JSON property `component`
|
401
|
-
# @return [String]
|
402
|
-
attr_accessor :component
|
403
|
-
|
404
|
-
# The detailed health checks of the component.
|
405
|
-
# Corresponds to the JSON property `componentHealthChecks`
|
406
|
-
# @return [Array<Google::Apis::WorkloadmanagerV1::HealthCheck>]
|
407
|
-
attr_accessor :component_health_checks
|
408
|
-
|
409
|
-
# Output only. The type of the component health.
|
410
|
-
# Corresponds to the JSON property `componentHealthType`
|
411
|
-
# @return [String]
|
412
|
-
attr_accessor :component_health_type
|
413
|
-
|
414
|
-
# Output only. The requirement of the component.
|
415
|
-
# Corresponds to the JSON property `isRequired`
|
416
|
-
# @return [Boolean]
|
417
|
-
attr_accessor :is_required
|
418
|
-
alias_method :is_required?, :is_required
|
419
|
-
|
420
|
-
# Output only. The health state of the component.
|
421
|
-
# Corresponds to the JSON property `state`
|
422
|
-
# @return [String]
|
423
|
-
attr_accessor :state
|
424
|
-
|
425
|
-
#
|
426
|
-
# Corresponds to the JSON property `subComponentHealthes`
|
427
|
-
# @return [Array<Google::Apis::WorkloadmanagerV1::ComponentHealth>]
|
428
|
-
attr_accessor :sub_component_healthes
|
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
|
-
|
435
|
-
def initialize(**args)
|
436
|
-
update!(**args)
|
437
|
-
end
|
438
|
-
|
439
|
-
# Update properties of this object
|
440
|
-
def update!(**args)
|
441
|
-
@component = args[:component] if args.key?(:component)
|
442
|
-
@component_health_checks = args[:component_health_checks] if args.key?(:component_health_checks)
|
443
|
-
@component_health_type = args[:component_health_type] if args.key?(:component_health_type)
|
444
|
-
@is_required = args[:is_required] if args.key?(:is_required)
|
445
|
-
@state = args[:state] if args.key?(:state)
|
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)
|
448
|
-
end
|
449
|
-
end
|
450
|
-
|
451
401
|
# Database Properties.
|
452
402
|
class DatabaseProperties
|
453
403
|
include Google::Apis::Core::Hashable
|
@@ -791,49 +741,6 @@ module Google
|
|
791
741
|
end
|
792
742
|
end
|
793
743
|
|
794
|
-
# HealthCheck contains the detailed health check of a component based on asource.
|
795
|
-
class HealthCheck
|
796
|
-
include Google::Apis::Core::Hashable
|
797
|
-
|
798
|
-
# Output only. The message of the health check.
|
799
|
-
# Corresponds to the JSON property `message`
|
800
|
-
# @return [String]
|
801
|
-
attr_accessor :message
|
802
|
-
|
803
|
-
# Output only. The health check source metric name.
|
804
|
-
# Corresponds to the JSON property `metric`
|
805
|
-
# @return [String]
|
806
|
-
attr_accessor :metric
|
807
|
-
|
808
|
-
# The resource on GCP
|
809
|
-
# Corresponds to the JSON property `resource`
|
810
|
-
# @return [Google::Apis::WorkloadmanagerV1::CloudResource]
|
811
|
-
attr_accessor :resource
|
812
|
-
|
813
|
-
# Output only. The source of the health check.
|
814
|
-
# Corresponds to the JSON property `source`
|
815
|
-
# @return [String]
|
816
|
-
attr_accessor :source
|
817
|
-
|
818
|
-
# Output only. The state of the health check.
|
819
|
-
# Corresponds to the JSON property `state`
|
820
|
-
# @return [String]
|
821
|
-
attr_accessor :state
|
822
|
-
|
823
|
-
def initialize(**args)
|
824
|
-
update!(**args)
|
825
|
-
end
|
826
|
-
|
827
|
-
# Update properties of this object
|
828
|
-
def update!(**args)
|
829
|
-
@message = args[:message] if args.key?(:message)
|
830
|
-
@metric = args[:metric] if args.key?(:metric)
|
831
|
-
@resource = args[:resource] if args.key?(:resource)
|
832
|
-
@source = args[:source] if args.key?(:source)
|
833
|
-
@state = args[:state] if args.key?(:state)
|
834
|
-
end
|
835
|
-
end
|
836
|
-
|
837
744
|
# A presentation of host resource usage where the workload runs.
|
838
745
|
class Insight
|
839
746
|
include Google::Apis::Core::Hashable
|
@@ -2821,43 +2728,6 @@ module Google
|
|
2821
2728
|
end
|
2822
2729
|
end
|
2823
2730
|
|
2824
|
-
# WorkloadProfileHealth contains the detailed health check of workload.
|
2825
|
-
class WorkloadProfileHealth
|
2826
|
-
include Google::Apis::Core::Hashable
|
2827
|
-
|
2828
|
-
# The time when the health check was performed.
|
2829
|
-
# Corresponds to the JSON property `checkTime`
|
2830
|
-
# @return [String]
|
2831
|
-
attr_accessor :check_time
|
2832
|
-
|
2833
|
-
#
|
2834
|
-
# Corresponds to the JSON property `componentHealthes`
|
2835
|
-
# @return [Array<Google::Apis::WorkloadmanagerV1::ComponentHealth>]
|
2836
|
-
attr_accessor :component_healthes
|
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
|
-
|
2843
|
-
# Output only. The health state of the workload.
|
2844
|
-
# Corresponds to the JSON property `state`
|
2845
|
-
# @return [String]
|
2846
|
-
attr_accessor :state
|
2847
|
-
|
2848
|
-
def initialize(**args)
|
2849
|
-
update!(**args)
|
2850
|
-
end
|
2851
|
-
|
2852
|
-
# Update properties of this object
|
2853
|
-
def update!(**args)
|
2854
|
-
@check_time = args[:check_time] if args.key?(:check_time)
|
2855
|
-
@component_healthes = args[:component_healthes] if args.key?(:component_healthes)
|
2856
|
-
@components_health = args[:components_health] if args.key?(:components_health)
|
2857
|
-
@state = args[:state] if args.key?(:state)
|
2858
|
-
end
|
2859
|
-
end
|
2860
|
-
|
2861
2731
|
# Request for sending the data insights.
|
2862
2732
|
class WriteInsightRequest
|
2863
2733
|
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.38.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250714"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -88,12 +88,6 @@ module Google
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
-
class ComponentHealth
|
92
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
-
|
94
|
-
include Google::Apis::Core::JsonObjectSupport
|
95
|
-
end
|
96
|
-
|
97
91
|
class DatabaseProperties
|
98
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
93
|
|
@@ -136,12 +130,6 @@ module Google
|
|
136
130
|
include Google::Apis::Core::JsonObjectSupport
|
137
131
|
end
|
138
132
|
|
139
|
-
class HealthCheck
|
140
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
-
|
142
|
-
include Google::Apis::Core::JsonObjectSupport
|
143
|
-
end
|
144
|
-
|
145
133
|
class Insight
|
146
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
135
|
|
@@ -454,12 +442,6 @@ module Google
|
|
454
442
|
include Google::Apis::Core::JsonObjectSupport
|
455
443
|
end
|
456
444
|
|
457
|
-
class WorkloadProfileHealth
|
458
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
-
|
460
|
-
include Google::Apis::Core::JsonObjectSupport
|
461
|
-
end
|
462
|
-
|
463
445
|
class WriteInsightRequest
|
464
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
447
|
|
@@ -490,6 +472,7 @@ module Google
|
|
490
472
|
property :configuration_file_path, as: 'configurationFilePath'
|
491
473
|
property :configuration_valid, as: 'configurationValid'
|
492
474
|
property :installed_version, as: 'installedVersion'
|
475
|
+
property :instance_uri, as: 'instanceUri'
|
493
476
|
property :kernel_version, as: 'kernelVersion', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersion, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersion::Representation
|
494
477
|
|
495
478
|
collection :references, as: 'references', class: Google::Apis::WorkloadmanagerV1::AgentStatusReference, decorator: Google::Apis::WorkloadmanagerV1::AgentStatusReference::Representation
|
@@ -583,22 +566,6 @@ module Google
|
|
583
566
|
end
|
584
567
|
end
|
585
568
|
|
586
|
-
class ComponentHealth
|
587
|
-
# @private
|
588
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
589
|
-
property :component, as: 'component'
|
590
|
-
collection :component_health_checks, as: 'componentHealthChecks', class: Google::Apis::WorkloadmanagerV1::HealthCheck, decorator: Google::Apis::WorkloadmanagerV1::HealthCheck::Representation
|
591
|
-
|
592
|
-
property :component_health_type, as: 'componentHealthType'
|
593
|
-
property :is_required, as: 'isRequired'
|
594
|
-
property :state, as: 'state'
|
595
|
-
collection :sub_component_healthes, as: 'subComponentHealthes', class: Google::Apis::WorkloadmanagerV1::ComponentHealth, decorator: Google::Apis::WorkloadmanagerV1::ComponentHealth::Representation
|
596
|
-
|
597
|
-
collection :sub_components_health, as: 'subComponentsHealth', class: Google::Apis::WorkloadmanagerV1::ComponentHealth, decorator: Google::Apis::WorkloadmanagerV1::ComponentHealth::Representation
|
598
|
-
|
599
|
-
end
|
600
|
-
end
|
601
|
-
|
602
569
|
class DatabaseProperties
|
603
570
|
# @private
|
604
571
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -692,18 +659,6 @@ module Google
|
|
692
659
|
end
|
693
660
|
end
|
694
661
|
|
695
|
-
class HealthCheck
|
696
|
-
# @private
|
697
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
698
|
-
property :message, as: 'message'
|
699
|
-
property :metric, as: 'metric'
|
700
|
-
property :resource, as: 'resource', class: Google::Apis::WorkloadmanagerV1::CloudResource, decorator: Google::Apis::WorkloadmanagerV1::CloudResource::Representation
|
701
|
-
|
702
|
-
property :source, as: 'source'
|
703
|
-
property :state, as: 'state'
|
704
|
-
end
|
705
|
-
end
|
706
|
-
|
707
662
|
class Insight
|
708
663
|
# @private
|
709
664
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1266,18 +1221,6 @@ module Google
|
|
1266
1221
|
end
|
1267
1222
|
end
|
1268
1223
|
|
1269
|
-
class WorkloadProfileHealth
|
1270
|
-
# @private
|
1271
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1272
|
-
property :check_time, as: 'checkTime'
|
1273
|
-
collection :component_healthes, as: 'componentHealthes', class: Google::Apis::WorkloadmanagerV1::ComponentHealth, decorator: Google::Apis::WorkloadmanagerV1::ComponentHealth::Representation
|
1274
|
-
|
1275
|
-
collection :components_health, as: 'componentsHealth', class: Google::Apis::WorkloadmanagerV1::ComponentHealth, decorator: Google::Apis::WorkloadmanagerV1::ComponentHealth::Representation
|
1276
|
-
|
1277
|
-
property :state, as: 'state'
|
1278
|
-
end
|
1279
|
-
end
|
1280
|
-
|
1281
1224
|
class WriteInsightRequest
|
1282
1225
|
# @private
|
1283
1226
|
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.38.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.38.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:
|