google-apis-workloadmanager_v1 0.47.0 → 0.48.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: 0226d79407c1d0799d7ba47e9bf6591a77d5bcc827aa12c083bce06f324a0d89
4
- data.tar.gz: 1e43d3ea2f4a9535b37c1c9bbb570e282d708839d6ee108e717b223631fbe2cc
3
+ metadata.gz: 8f29827c96a5cedc27df23a7000d115de2e84789ac0273205f0323c74282b8b3
4
+ data.tar.gz: 6f10f45861285816ef33bbee66388e5e4a55e4eb0337d1700f1e03b51ed9ef6b
5
5
  SHA512:
6
- metadata.gz: b2c6247fc93801c0bb8636dde2f2e800e97d8257361adcf5cd797d67b3d0880f13c93deb6522146740d79e8dbee2e40fa84b8875d87ce00019147475b7065cba
7
- data.tar.gz: ac096f973b6f8f5373f5362f6e2ece8ed802917a2c0fcaff928d03bb1b3ccbad09ed45d695e4149f0021abdc003c854f58bb7b34106cc9360914511068fc34d9
6
+ metadata.gz: d728483d8b4924302d2500723cd02c141c32210db585ecbe8d62df6a6739abbc49fab8b82dc3737ab05d7d7e700314cf94eeeb860e9afb9baf6f6e0ac3fe105c
7
+ data.tar.gz: dae349de6e7093d904f0daa78eda6e081d07df4a075539ced717201a37073eaf4eca576c81c91e977d4d664fb92a9200726703cbaf1de0dc685b4939625c4a21
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-workloadmanager_v1
2
2
 
3
+ ### v0.48.0 (2026-02-01)
4
+
5
+ * Regenerated from discovery document revision 20260121
6
+
3
7
  ### v0.47.0 (2026-01-25)
4
8
 
5
9
  * Regenerated from discovery document revision 20260107
@@ -450,6 +450,49 @@ module Google
450
450
  end
451
451
  end
452
452
 
453
+ # HealthCondition contains the detailed health check of each component.
454
+ class ComponentHealth
455
+ include Google::Apis::Core::Hashable
456
+
457
+ # The component of a workload.
458
+ # Corresponds to the JSON property `component`
459
+ # @return [String]
460
+ attr_accessor :component
461
+
462
+ # The detailed health checks of the component.
463
+ # Corresponds to the JSON property `componentHealthChecks`
464
+ # @return [Array<Google::Apis::WorkloadmanagerV1::HealthCheck>]
465
+ attr_accessor :component_health_checks
466
+
467
+ # Output only. The type of the component health.
468
+ # Corresponds to the JSON property `componentHealthType`
469
+ # @return [String]
470
+ attr_accessor :component_health_type
471
+
472
+ # Output only. The health state of the component.
473
+ # Corresponds to the JSON property `state`
474
+ # @return [String]
475
+ attr_accessor :state
476
+
477
+ # Sub component health.
478
+ # Corresponds to the JSON property `subComponentsHealth`
479
+ # @return [Array<Google::Apis::WorkloadmanagerV1::ComponentHealth>]
480
+ attr_accessor :sub_components_health
481
+
482
+ def initialize(**args)
483
+ update!(**args)
484
+ end
485
+
486
+ # Update properties of this object
487
+ def update!(**args)
488
+ @component = args[:component] if args.key?(:component)
489
+ @component_health_checks = args[:component_health_checks] if args.key?(:component_health_checks)
490
+ @component_health_type = args[:component_health_type] if args.key?(:component_health_type)
491
+ @state = args[:state] if args.key?(:state)
492
+ @sub_components_health = args[:sub_components_health] if args.key?(:sub_components_health)
493
+ end
494
+ end
495
+
453
496
  # Database Properties.
454
497
  class DatabaseProperties
455
498
  include Google::Apis::Core::Hashable
@@ -459,7 +502,7 @@ module Google
459
502
  # @return [Google::Apis::WorkloadmanagerV1::BackupProperties]
460
503
  attr_accessor :backup_properties
461
504
 
462
- # Output only. Type of the database. HANA, DB2, etc.
505
+ # Output only. Type of the database. `HANA`, `DB2`, etc.
463
506
  # Corresponds to the JSON property `databaseType`
464
507
  # @return [String]
465
508
  attr_accessor :database_type
@@ -807,6 +850,49 @@ module Google
807
850
  end
808
851
  end
809
852
 
853
+ # HealthCheck contains the detailed health check of a component based on asource.
854
+ class HealthCheck
855
+ include Google::Apis::Core::Hashable
856
+
857
+ # Output only. The message of the health check.
858
+ # Corresponds to the JSON property `message`
859
+ # @return [String]
860
+ attr_accessor :message
861
+
862
+ # Output only. The health check source metric name.
863
+ # Corresponds to the JSON property `metric`
864
+ # @return [String]
865
+ attr_accessor :metric
866
+
867
+ # The resource on GCP
868
+ # Corresponds to the JSON property `resource`
869
+ # @return [Google::Apis::WorkloadmanagerV1::CloudResource]
870
+ attr_accessor :resource
871
+
872
+ # Output only. The source of the health check.
873
+ # Corresponds to the JSON property `source`
874
+ # @return [String]
875
+ attr_accessor :source
876
+
877
+ # Output only. The state of the health check.
878
+ # Corresponds to the JSON property `state`
879
+ # @return [String]
880
+ attr_accessor :state
881
+
882
+ def initialize(**args)
883
+ update!(**args)
884
+ end
885
+
886
+ # Update properties of this object
887
+ def update!(**args)
888
+ @message = args[:message] if args.key?(:message)
889
+ @metric = args[:metric] if args.key?(:metric)
890
+ @resource = args[:resource] if args.key?(:resource)
891
+ @source = args[:source] if args.key?(:source)
892
+ @state = args[:state] if args.key?(:state)
893
+ end
894
+ end
895
+
810
896
  # The IAM permission status.
811
897
  class IamPermission
812
898
  include Google::Apis::Core::Hashable
@@ -1444,7 +1530,7 @@ module Google
1444
1530
  end
1445
1531
  end
1446
1532
 
1447
- # Product contains the details of a product.
1533
+ # Contains the details of a product.
1448
1534
  class Product
1449
1535
  include Google::Apis::Core::Hashable
1450
1536
 
@@ -1772,7 +1858,7 @@ module Google
1772
1858
  # @return [Google::Apis::WorkloadmanagerV1::DatabaseProperties]
1773
1859
  attr_accessor :database_properties
1774
1860
 
1775
- # A list of host URIs that are part of the HA configuration if present. An empty
1861
+ # List of host URIs that are part of the HA configuration if present. An empty
1776
1862
  # list indicates the component is not configured for HA.
1777
1863
  # Corresponds to the JSON property `haHosts`
1778
1864
  # @return [Array<String>]
@@ -2552,7 +2638,7 @@ module Google
2552
2638
  # @return [Google::Apis::WorkloadmanagerV1::SapComponent]
2553
2639
  attr_accessor :application
2554
2640
 
2555
- # Output only. the architecture
2641
+ # Output only. The architecture.
2556
2642
  # Corresponds to the JSON property `architecture`
2557
2643
  # @return [String]
2558
2644
  attr_accessor :architecture
@@ -2567,7 +2653,7 @@ module Google
2567
2653
  # @return [Hash<String,String>]
2568
2654
  attr_accessor :metadata
2569
2655
 
2570
- # Output only. the products on this workload.
2656
+ # Output only. The products on this workload.
2571
2657
  # Corresponds to the JSON property `products`
2572
2658
  # @return [Array<Google::Apis::WorkloadmanagerV1::Product>]
2573
2659
  attr_accessor :products
@@ -2882,7 +2968,7 @@ module Google
2882
2968
  # @return [String]
2883
2969
  attr_accessor :maintenance_status
2884
2970
 
2885
- # Optional. Instance maintenance behavior. Could be "MIGRATE" or "TERMINATE".
2971
+ # Optional. Instance maintenance behavior. Could be `MIGRATE` or `TERMINATE`.
2886
2972
  # Corresponds to the JSON property `onHostMaintenance`
2887
2973
  # @return [String]
2888
2974
  attr_accessor :on_host_maintenance
@@ -2948,7 +3034,7 @@ module Google
2948
3034
  end
2949
3035
  end
2950
3036
 
2951
- # workload resource
3037
+ # Workload resource.
2952
3038
  class WorkloadProfile
2953
3039
  include Google::Apis::Core::Hashable
2954
3040
 
@@ -2993,6 +3079,37 @@ module Google
2993
3079
  end
2994
3080
  end
2995
3081
 
3082
+ # WorkloadProfileHealth contains the detailed health check of workload.
3083
+ class WorkloadProfileHealth
3084
+ include Google::Apis::Core::Hashable
3085
+
3086
+ # The time when the health check was performed.
3087
+ # Corresponds to the JSON property `checkTime`
3088
+ # @return [String]
3089
+ attr_accessor :check_time
3090
+
3091
+ # The detailed condition reports of each component.
3092
+ # Corresponds to the JSON property `componentsHealth`
3093
+ # @return [Array<Google::Apis::WorkloadmanagerV1::ComponentHealth>]
3094
+ attr_accessor :components_health
3095
+
3096
+ # Output only. The health state of the workload.
3097
+ # Corresponds to the JSON property `state`
3098
+ # @return [String]
3099
+ attr_accessor :state
3100
+
3101
+ def initialize(**args)
3102
+ update!(**args)
3103
+ end
3104
+
3105
+ # Update properties of this object
3106
+ def update!(**args)
3107
+ @check_time = args[:check_time] if args.key?(:check_time)
3108
+ @components_health = args[:components_health] if args.key?(:components_health)
3109
+ @state = args[:state] if args.key?(:state)
3110
+ end
3111
+ end
3112
+
2996
3113
  # Request for sending the data insights.
2997
3114
  class WriteInsightRequest
2998
3115
  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.47.0"
19
+ GEM_VERSION = "0.48.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 = "20260107"
25
+ REVISION = "20260121"
26
26
  end
27
27
  end
28
28
  end
@@ -94,6 +94,12 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class ComponentHealth
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
97
103
  class DatabaseProperties
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
@@ -136,6 +142,12 @@ module Google
136
142
  include Google::Apis::Core::JsonObjectSupport
137
143
  end
138
144
 
145
+ class HealthCheck
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
139
151
  class IamPermission
140
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
153
 
@@ -484,6 +496,12 @@ module Google
484
496
  include Google::Apis::Core::JsonObjectSupport
485
497
  end
486
498
 
499
+ class WorkloadProfileHealth
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
487
505
  class WriteInsightRequest
488
506
  class Representation < Google::Apis::Core::JsonRepresentation; end
489
507
 
@@ -623,6 +641,19 @@ module Google
623
641
  end
624
642
  end
625
643
 
644
+ class ComponentHealth
645
+ # @private
646
+ class Representation < Google::Apis::Core::JsonRepresentation
647
+ property :component, as: 'component'
648
+ collection :component_health_checks, as: 'componentHealthChecks', class: Google::Apis::WorkloadmanagerV1::HealthCheck, decorator: Google::Apis::WorkloadmanagerV1::HealthCheck::Representation
649
+
650
+ property :component_health_type, as: 'componentHealthType'
651
+ property :state, as: 'state'
652
+ collection :sub_components_health, as: 'subComponentsHealth', class: Google::Apis::WorkloadmanagerV1::ComponentHealth, decorator: Google::Apis::WorkloadmanagerV1::ComponentHealth::Representation
653
+
654
+ end
655
+ end
656
+
626
657
  class DatabaseProperties
627
658
  # @private
628
659
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -718,6 +749,18 @@ module Google
718
749
  end
719
750
  end
720
751
 
752
+ class HealthCheck
753
+ # @private
754
+ class Representation < Google::Apis::Core::JsonRepresentation
755
+ property :message, as: 'message'
756
+ property :metric, as: 'metric'
757
+ property :resource, as: 'resource', class: Google::Apis::WorkloadmanagerV1::CloudResource, decorator: Google::Apis::WorkloadmanagerV1::CloudResource::Representation
758
+
759
+ property :source, as: 'source'
760
+ property :state, as: 'state'
761
+ end
762
+ end
763
+
721
764
  class IamPermission
722
765
  # @private
723
766
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1341,6 +1384,16 @@ module Google
1341
1384
  end
1342
1385
  end
1343
1386
 
1387
+ class WorkloadProfileHealth
1388
+ # @private
1389
+ class Representation < Google::Apis::Core::JsonRepresentation
1390
+ property :check_time, as: 'checkTime'
1391
+ collection :components_health, as: 'componentsHealth', class: Google::Apis::WorkloadmanagerV1::ComponentHealth, decorator: Google::Apis::WorkloadmanagerV1::ComponentHealth::Representation
1392
+
1393
+ property :state, as: 'state'
1394
+ end
1395
+ end
1396
+
1344
1397
  class WriteInsightRequest
1345
1398
  # @private
1346
1399
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -130,6 +130,36 @@ 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
+
133
163
  # List discovered workload profiles
134
164
  # @param [String] parent
135
165
  # Required. Parent value for ListDiscoveredProfilesRequest
@@ -170,6 +200,36 @@ module Google
170
200
  execute_or_queue_command(command, &block)
171
201
  end
172
202
 
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_health(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
+
173
233
  # Creates a new Evaluation in a given project and location.
174
234
  # @param [String] parent
175
235
  # 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.47.0
4
+ version: 0.48.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.47.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.48.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: