google-apis-workloadmanager_v1 0.27.0 → 0.29.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: eac3948a2722181a66e9ede895ae0e693a132fa14398a9071dbebe45316621f9
4
- data.tar.gz: e4ce06c598afdc571a08c809cc62d3dff9cfb228814b8bf09aaa24c3cf9fc0f1
3
+ metadata.gz: c8c7941513564662c10c5f323b442e4c059c12703a65fa8fca648ef2d0d789e4
4
+ data.tar.gz: 73f134c9ce91a53049a2453dd6e2a626dc435dcd5a7b2168916c70cbbb5e757f
5
5
  SHA512:
6
- metadata.gz: 7ef0ce86898bf3d61658aede5c5d1db6035b944fd74209ae6ab14924bc28b295b2a36b7ddcfdb6c4b5075acf10877b311c76ebece0a034cd8978baf5031a0f48
7
- data.tar.gz: d67ec1fb10e442ca46c2df050cffc917b22efb6a316f7651dfc4270512edfc43142cc41c61d26d767de365e62c60cb1c3aae875ff5d082a570edf75c346ca0d3
6
+ metadata.gz: 5fe91228a21f2d073935ae696d8c37d3aa09d782eb3c51fc3202018de99a121460683bad3c6bf91f9048f5ebe8f6b98c6f197158bb349202c36968e2b2bda353
7
+ data.tar.gz: a77d4375b11d6c6c4de5c1efdc153de29cbcc34e3428095bb170b4b8b6e77696d24d24acda3788a977420160e58c0b2c3c36a929a45d4d5dd6d8b5e129990e7c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-workloadmanager_v1
2
2
 
3
+ ### v0.29.0 (2025-01-12)
4
+
5
+ * Regenerated from discovery document revision 20250101
6
+ * Regenerated using generator version 0.16.0
7
+
8
+ ### v0.28.0 (2024-12-15)
9
+
10
+ * Regenerated from discovery document revision 20241209
11
+
3
12
  ### v0.27.0 (2024-11-03)
4
13
 
5
14
  * Regenerated from discovery document revision 20241016
@@ -152,6 +152,11 @@ module Google
152
152
  # @return [String]
153
153
  attr_accessor :description
154
154
 
155
+ # Evaluation type
156
+ # Corresponds to the JSON property `evaluationType`
157
+ # @return [String]
158
+ attr_accessor :evaluation_type
159
+
155
160
  # Labels as key value pairs
156
161
  # Corresponds to the JSON property `labels`
157
162
  # @return [Hash<String,String>]
@@ -205,6 +210,7 @@ module Google
205
210
  @create_time = args[:create_time] if args.key?(:create_time)
206
211
  @custom_rules_bucket = args[:custom_rules_bucket] if args.key?(:custom_rules_bucket)
207
212
  @description = args[:description] if args.key?(:description)
213
+ @evaluation_type = args[:evaluation_type] if args.key?(:evaluation_type)
208
214
  @labels = args[:labels] if args.key?(:labels)
209
215
  @name = args[:name] if args.key?(:name)
210
216
  @resource_filter = args[:resource_filter] if args.key?(:resource_filter)
@@ -256,6 +262,11 @@ module Google
256
262
  # @return [Array<Google::Apis::WorkloadmanagerV1::Notice>]
257
263
  attr_accessor :notices
258
264
 
265
+ # Message for execution summary
266
+ # Corresponds to the JSON property `resultSummary`
267
+ # @return [Google::Apis::WorkloadmanagerV1::Summary]
268
+ attr_accessor :result_summary
269
+
259
270
  # Output only. execution result summary per rule
260
271
  # Corresponds to the JSON property `ruleResults`
261
272
  # @return [Array<Google::Apis::WorkloadmanagerV1::RuleExecutionResult>]
@@ -290,6 +301,7 @@ module Google
290
301
  @labels = args[:labels] if args.key?(:labels)
291
302
  @name = args[:name] if args.key?(:name)
292
303
  @notices = args[:notices] if args.key?(:notices)
304
+ @result_summary = args[:result_summary] if args.key?(:result_summary)
293
305
  @rule_results = args[:rule_results] if args.key?(:rule_results)
294
306
  @run_type = args[:run_type] if args.key?(:run_type)
295
307
  @start_time = args[:start_time] if args.key?(:start_time)
@@ -449,6 +461,11 @@ module Google
449
461
  # @return [Google::Apis::WorkloadmanagerV1::SqlserverValidation]
450
462
  attr_accessor :sqlserver_validation
451
463
 
464
+ # The schema of torso workload validation data.
465
+ # Corresponds to the JSON property `torsoValidation`
466
+ # @return [Google::Apis::WorkloadmanagerV1::TorsoValidation]
467
+ attr_accessor :torso_validation
468
+
452
469
  def initialize(**args)
453
470
  update!(**args)
454
471
  end
@@ -460,6 +477,7 @@ module Google
460
477
  @sap_validation = args[:sap_validation] if args.key?(:sap_validation)
461
478
  @sent_time = args[:sent_time] if args.key?(:sent_time)
462
479
  @sqlserver_validation = args[:sqlserver_validation] if args.key?(:sqlserver_validation)
480
+ @torso_validation = args[:torso_validation] if args.key?(:torso_validation)
463
481
  end
464
482
  end
465
483
 
@@ -1176,10 +1194,15 @@ module Google
1176
1194
  # @return [String]
1177
1195
  attr_accessor :host_project
1178
1196
 
1197
+ # Optional. The region this component's resources are primarily located in.
1198
+ # Corresponds to the JSON property `region`
1199
+ # @return [String]
1200
+ attr_accessor :region
1201
+
1179
1202
  # Optional. A list of replication sites used in Disaster Recovery (DR)
1180
1203
  # configurations.
1181
1204
  # Corresponds to the JSON property `replicationSites`
1182
- # @return [Array<Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent>]
1205
+ # @return [Array<Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentReplicationSite>]
1183
1206
  attr_accessor :replication_sites
1184
1207
 
1185
1208
  # Optional. The resources in a component.
@@ -1208,6 +1231,7 @@ module Google
1208
1231
  @database_properties = args[:database_properties] if args.key?(:database_properties)
1209
1232
  @ha_hosts = args[:ha_hosts] if args.key?(:ha_hosts)
1210
1233
  @host_project = args[:host_project] if args.key?(:host_project)
1234
+ @region = args[:region] if args.key?(:region)
1211
1235
  @replication_sites = args[:replication_sites] if args.key?(:replication_sites)
1212
1236
  @resources = args[:resources] if args.key?(:resources)
1213
1237
  @sid = args[:sid] if args.key?(:sid)
@@ -1329,6 +1353,31 @@ module Google
1329
1353
  end
1330
1354
  end
1331
1355
 
1356
+ # A replication site used in Disaster Recovery (DR) configurations.
1357
+ class SapDiscoveryComponentReplicationSite
1358
+ include Google::Apis::Core::Hashable
1359
+
1360
+ # Message describing the system component.
1361
+ # Corresponds to the JSON property `component`
1362
+ # @return [Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent]
1363
+ attr_accessor :component
1364
+
1365
+ # Optional. The name of the source site from which this one replicates.
1366
+ # Corresponds to the JSON property `sourceSite`
1367
+ # @return [String]
1368
+ attr_accessor :source_site
1369
+
1370
+ def initialize(**args)
1371
+ update!(**args)
1372
+ end
1373
+
1374
+ # Update properties of this object
1375
+ def update!(**args)
1376
+ @component = args[:component] if args.key?(:component)
1377
+ @source_site = args[:source_site] if args.key?(:source_site)
1378
+ end
1379
+ end
1380
+
1332
1381
  # Message describing SAP discovery system metadata
1333
1382
  class SapDiscoveryMetadata
1334
1383
  include Google::Apis::Core::Hashable
@@ -1823,6 +1872,84 @@ module Google
1823
1872
  end
1824
1873
  end
1825
1874
 
1875
+ # Message for execution summary
1876
+ class Summary
1877
+ include Google::Apis::Core::Hashable
1878
+
1879
+ # Output only. Number of failures
1880
+ # Corresponds to the JSON property `failures`
1881
+ # @return [Fixnum]
1882
+ attr_accessor :failures
1883
+
1884
+ # Output only. Number of new failures compared to the previous execution
1885
+ # Corresponds to the JSON property `newFailures`
1886
+ # @return [Fixnum]
1887
+ attr_accessor :new_failures
1888
+
1889
+ # Output only. Number of new fixes compared to the previous execution
1890
+ # Corresponds to the JSON property `newFixes`
1891
+ # @return [Fixnum]
1892
+ attr_accessor :new_fixes
1893
+
1894
+ def initialize(**args)
1895
+ update!(**args)
1896
+ end
1897
+
1898
+ # Update properties of this object
1899
+ def update!(**args)
1900
+ @failures = args[:failures] if args.key?(:failures)
1901
+ @new_failures = args[:new_failures] if args.key?(:new_failures)
1902
+ @new_fixes = args[:new_fixes] if args.key?(:new_fixes)
1903
+ end
1904
+ end
1905
+
1906
+ # The schema of torso workload validation data.
1907
+ class TorsoValidation
1908
+ include Google::Apis::Core::Hashable
1909
+
1910
+ # Required. agent_version lists the version of the agent that collected this
1911
+ # data.
1912
+ # Corresponds to the JSON property `agentVersion`
1913
+ # @return [String]
1914
+ attr_accessor :agent_version
1915
+
1916
+ # Required. instance_name lists the human readable name of the instance that the
1917
+ # data comes from.
1918
+ # Corresponds to the JSON property `instanceName`
1919
+ # @return [String]
1920
+ attr_accessor :instance_name
1921
+
1922
+ # Required. project_id lists the human readable cloud project that the data
1923
+ # comes from.
1924
+ # Corresponds to the JSON property `projectId`
1925
+ # @return [String]
1926
+ attr_accessor :project_id
1927
+
1928
+ # Required. validation_details contains the pairs of validation data: field name
1929
+ # & field value.
1930
+ # Corresponds to the JSON property `validationDetails`
1931
+ # @return [Hash<String,String>]
1932
+ attr_accessor :validation_details
1933
+
1934
+ # Required. workload_type specifies the type of torso workload.
1935
+ # Corresponds to the JSON property `workloadType`
1936
+ # @return [String]
1937
+ attr_accessor :workload_type
1938
+
1939
+ def initialize(**args)
1940
+ update!(**args)
1941
+ end
1942
+
1943
+ # Update properties of this object
1944
+ def update!(**args)
1945
+ @agent_version = args[:agent_version] if args.key?(:agent_version)
1946
+ @instance_name = args[:instance_name] if args.key?(:instance_name)
1947
+ @project_id = args[:project_id] if args.key?(:project_id)
1948
+ @validation_details = args[:validation_details] if args.key?(:validation_details)
1949
+ @workload_type = args[:workload_type] if args.key?(:workload_type)
1950
+ end
1951
+ end
1952
+
1826
1953
  # Message describing the violation in an evaluation result.
1827
1954
  class ViolationDetails
1828
1955
  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.27.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241016"
25
+ REVISION = "20250101"
26
26
  end
27
27
  end
28
28
  end
@@ -214,6 +214,12 @@ module Google
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
+ class SapDiscoveryComponentReplicationSite
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
217
223
  class SapDiscoveryMetadata
218
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
225
 
@@ -304,6 +310,18 @@ module Google
304
310
  include Google::Apis::Core::JsonObjectSupport
305
311
  end
306
312
 
313
+ class Summary
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class TorsoValidation
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
307
325
  class ViolationDetails
308
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
327
 
@@ -368,6 +386,7 @@ module Google
368
386
  property :create_time, as: 'createTime'
369
387
  property :custom_rules_bucket, as: 'customRulesBucket'
370
388
  property :description, as: 'description'
389
+ property :evaluation_type, as: 'evaluationType'
371
390
  hash :labels, as: 'labels'
372
391
  property :name, as: 'name'
373
392
  property :resource_filter, as: 'resourceFilter', class: Google::Apis::WorkloadmanagerV1::ResourceFilter, decorator: Google::Apis::WorkloadmanagerV1::ResourceFilter::Representation
@@ -393,6 +412,8 @@ module Google
393
412
  property :name, as: 'name'
394
413
  collection :notices, as: 'notices', class: Google::Apis::WorkloadmanagerV1::Notice, decorator: Google::Apis::WorkloadmanagerV1::Notice::Representation
395
414
 
415
+ property :result_summary, as: 'resultSummary', class: Google::Apis::WorkloadmanagerV1::Summary, decorator: Google::Apis::WorkloadmanagerV1::Summary::Representation
416
+
396
417
  collection :rule_results, as: 'ruleResults', class: Google::Apis::WorkloadmanagerV1::RuleExecutionResult, decorator: Google::Apis::WorkloadmanagerV1::RuleExecutionResult::Representation
397
418
 
398
419
  property :run_type, as: 'runType'
@@ -446,6 +467,8 @@ module Google
446
467
  property :sent_time, as: 'sentTime'
447
468
  property :sqlserver_validation, as: 'sqlserverValidation', class: Google::Apis::WorkloadmanagerV1::SqlserverValidation, decorator: Google::Apis::WorkloadmanagerV1::SqlserverValidation::Representation
448
469
 
470
+ property :torso_validation, as: 'torsoValidation', class: Google::Apis::WorkloadmanagerV1::TorsoValidation, decorator: Google::Apis::WorkloadmanagerV1::TorsoValidation::Representation
471
+
449
472
  end
450
473
  end
451
474
 
@@ -649,7 +672,8 @@ module Google
649
672
 
650
673
  collection :ha_hosts, as: 'haHosts'
651
674
  property :host_project, as: 'hostProject'
652
- collection :replication_sites, as: 'replicationSites', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent::Representation
675
+ property :region, as: 'region'
676
+ collection :replication_sites, as: 'replicationSites', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentReplicationSite, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentReplicationSite::Representation
653
677
 
654
678
  collection :resources, as: 'resources', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResource, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryResource::Representation
655
679
 
@@ -684,6 +708,15 @@ module Google
684
708
  end
685
709
  end
686
710
 
711
+ class SapDiscoveryComponentReplicationSite
712
+ # @private
713
+ class Representation < Google::Apis::Core::JsonRepresentation
714
+ property :component, as: 'component', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent::Representation
715
+
716
+ property :source_site, as: 'sourceSite'
717
+ end
718
+ end
719
+
687
720
  class SapDiscoveryMetadata
688
721
  # @private
689
722
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -828,6 +861,26 @@ module Google
828
861
  end
829
862
  end
830
863
 
864
+ class Summary
865
+ # @private
866
+ class Representation < Google::Apis::Core::JsonRepresentation
867
+ property :failures, :numeric_string => true, as: 'failures'
868
+ property :new_failures, :numeric_string => true, as: 'newFailures'
869
+ property :new_fixes, :numeric_string => true, as: 'newFixes'
870
+ end
871
+ end
872
+
873
+ class TorsoValidation
874
+ # @private
875
+ class Representation < Google::Apis::Core::JsonRepresentation
876
+ property :agent_version, as: 'agentVersion'
877
+ property :instance_name, as: 'instanceName'
878
+ property :project_id, as: 'projectId'
879
+ hash :validation_details, as: 'validationDetails'
880
+ property :workload_type, as: 'workloadType'
881
+ end
882
+ end
883
+
831
884
  class ViolationDetails
832
885
  # @private
833
886
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -570,8 +570,8 @@ module Google
570
570
  # Clients can use Operations.GetOperation or other methods to check whether the
571
571
  # cancellation succeeded or whether the operation completed despite cancellation.
572
572
  # On successful cancellation, the operation is not deleted; instead, it becomes
573
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
574
- # corresponding to `Code.CANCELLED`.
573
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
574
+ # , corresponding to `Code.CANCELLED`.
575
575
  # @param [String] name
576
576
  # The name of the operation resource to be cancelled.
577
577
  # @param [Google::Apis::WorkloadmanagerV1::CancelOperationRequest] cancel_operation_request_object
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-workloadmanager_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-11-03 00:00:00.000000000 Z
10
+ date: 2025-01-12 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workloadmanager_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.27.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.29.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workloadmanager_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.21
79
- signing_key:
76
+ rubygems_version: 3.6.2
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Workload Manager API V1
82
79
  test_files: []