google-apis-workloadmanager_v1 0.36.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 +4 -0
- data/lib/google/apis/workloadmanager_v1/classes.rb +0 -136
- data/lib/google/apis/workloadmanager_v1/gem_version.rb +2 -2
- data/lib/google/apis/workloadmanager_v1/representations.rb +0 -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: 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
@@ -392,62 +392,6 @@ module Google
|
|
392
392
|
end
|
393
393
|
end
|
394
394
|
|
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
395
|
# Database Properties.
|
452
396
|
class DatabaseProperties
|
453
397
|
include Google::Apis::Core::Hashable
|
@@ -791,49 +735,6 @@ module Google
|
|
791
735
|
end
|
792
736
|
end
|
793
737
|
|
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
738
|
# A presentation of host resource usage where the workload runs.
|
838
739
|
class Insight
|
839
740
|
include Google::Apis::Core::Hashable
|
@@ -2821,43 +2722,6 @@ module Google
|
|
2821
2722
|
end
|
2822
2723
|
end
|
2823
2724
|
|
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
2725
|
# Request for sending the data insights.
|
2862
2726
|
class WriteInsightRequest
|
2863
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
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
|
@@ -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
|
|
@@ -583,22 +565,6 @@ module Google
|
|
583
565
|
end
|
584
566
|
end
|
585
567
|
|
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
568
|
class DatabaseProperties
|
603
569
|
# @private
|
604
570
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -692,18 +658,6 @@ module Google
|
|
692
658
|
end
|
693
659
|
end
|
694
660
|
|
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
661
|
class Insight
|
708
662
|
# @private
|
709
663
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1266,18 +1220,6 @@ module Google
|
|
1266
1220
|
end
|
1267
1221
|
end
|
1268
1222
|
|
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
1223
|
class WriteInsightRequest
|
1282
1224
|
# @private
|
1283
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:
|