google-apis-workloadmanager_v1 0.27.0 → 0.28.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: ebfbd61a3d7045b9335429ca3a0a3b73f60331112dddff534cdbc0665d880428
4
+ data.tar.gz: 5294c65f7cc7d57cdb374475e76a5bccb6f73cb61276e7a31414ec949c60d300
5
5
  SHA512:
6
- metadata.gz: 7ef0ce86898bf3d61658aede5c5d1db6035b944fd74209ae6ab14924bc28b295b2a36b7ddcfdb6c4b5075acf10877b311c76ebece0a034cd8978baf5031a0f48
7
- data.tar.gz: d67ec1fb10e442ca46c2df050cffc917b22efb6a316f7651dfc4270512edfc43142cc41c61d26d767de365e62c60cb1c3aae875ff5d082a570edf75c346ca0d3
6
+ metadata.gz: d1d90c1f7938714f3af1484426894002fff289a18ebd36ae728459de1f891a46e5652baa190a511915d0c411b998dbb477ab5ab60e9a4c103e06d19cfc7affb7
7
+ data.tar.gz: dbd751617cdf4f45bd171edca9b4567fb833006ad1918c64ddbe1c9e52917b553015f8716759a6e3464be7304c25985d7bb8fdeacd28794a7f713bb8fe55d1e0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-workloadmanager_v1
2
2
 
3
+ ### v0.28.0 (2024-12-15)
4
+
5
+ * Regenerated from discovery document revision 20241209
6
+
3
7
  ### v0.27.0 (2024-11-03)
4
8
 
5
9
  * 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
 
@@ -1823,6 +1841,84 @@ module Google
1823
1841
  end
1824
1842
  end
1825
1843
 
1844
+ # Message for execution summary
1845
+ class Summary
1846
+ include Google::Apis::Core::Hashable
1847
+
1848
+ # Output only. Number of failures
1849
+ # Corresponds to the JSON property `failures`
1850
+ # @return [Fixnum]
1851
+ attr_accessor :failures
1852
+
1853
+ # Output only. Number of new failures compared to the previous execution
1854
+ # Corresponds to the JSON property `newFailures`
1855
+ # @return [Fixnum]
1856
+ attr_accessor :new_failures
1857
+
1858
+ # Output only. Number of new fixes compared to the previous execution
1859
+ # Corresponds to the JSON property `newFixes`
1860
+ # @return [Fixnum]
1861
+ attr_accessor :new_fixes
1862
+
1863
+ def initialize(**args)
1864
+ update!(**args)
1865
+ end
1866
+
1867
+ # Update properties of this object
1868
+ def update!(**args)
1869
+ @failures = args[:failures] if args.key?(:failures)
1870
+ @new_failures = args[:new_failures] if args.key?(:new_failures)
1871
+ @new_fixes = args[:new_fixes] if args.key?(:new_fixes)
1872
+ end
1873
+ end
1874
+
1875
+ # The schema of torso workload validation data.
1876
+ class TorsoValidation
1877
+ include Google::Apis::Core::Hashable
1878
+
1879
+ # Required. agent_version lists the version of the agent that collected this
1880
+ # data.
1881
+ # Corresponds to the JSON property `agentVersion`
1882
+ # @return [String]
1883
+ attr_accessor :agent_version
1884
+
1885
+ # Required. instance_name lists the human readable name of the instance that the
1886
+ # data comes from.
1887
+ # Corresponds to the JSON property `instanceName`
1888
+ # @return [String]
1889
+ attr_accessor :instance_name
1890
+
1891
+ # Required. project_id lists the human readable cloud project that the data
1892
+ # comes from.
1893
+ # Corresponds to the JSON property `projectId`
1894
+ # @return [String]
1895
+ attr_accessor :project_id
1896
+
1897
+ # Required. validation_details contains the pairs of validation data: field name
1898
+ # & field value.
1899
+ # Corresponds to the JSON property `validationDetails`
1900
+ # @return [Hash<String,String>]
1901
+ attr_accessor :validation_details
1902
+
1903
+ # Required. workload_type specifies the type of torso workload.
1904
+ # Corresponds to the JSON property `workloadType`
1905
+ # @return [String]
1906
+ attr_accessor :workload_type
1907
+
1908
+ def initialize(**args)
1909
+ update!(**args)
1910
+ end
1911
+
1912
+ # Update properties of this object
1913
+ def update!(**args)
1914
+ @agent_version = args[:agent_version] if args.key?(:agent_version)
1915
+ @instance_name = args[:instance_name] if args.key?(:instance_name)
1916
+ @project_id = args[:project_id] if args.key?(:project_id)
1917
+ @validation_details = args[:validation_details] if args.key?(:validation_details)
1918
+ @workload_type = args[:workload_type] if args.key?(:workload_type)
1919
+ end
1920
+ end
1921
+
1826
1922
  # Message describing the violation in an evaluation result.
1827
1923
  class ViolationDetails
1828
1924
  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.28.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241016"
25
+ REVISION = "20241209"
26
26
  end
27
27
  end
28
28
  end
@@ -304,6 +304,18 @@ module Google
304
304
  include Google::Apis::Core::JsonObjectSupport
305
305
  end
306
306
 
307
+ class Summary
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class TorsoValidation
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
307
319
  class ViolationDetails
308
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
321
 
@@ -368,6 +380,7 @@ module Google
368
380
  property :create_time, as: 'createTime'
369
381
  property :custom_rules_bucket, as: 'customRulesBucket'
370
382
  property :description, as: 'description'
383
+ property :evaluation_type, as: 'evaluationType'
371
384
  hash :labels, as: 'labels'
372
385
  property :name, as: 'name'
373
386
  property :resource_filter, as: 'resourceFilter', class: Google::Apis::WorkloadmanagerV1::ResourceFilter, decorator: Google::Apis::WorkloadmanagerV1::ResourceFilter::Representation
@@ -393,6 +406,8 @@ module Google
393
406
  property :name, as: 'name'
394
407
  collection :notices, as: 'notices', class: Google::Apis::WorkloadmanagerV1::Notice, decorator: Google::Apis::WorkloadmanagerV1::Notice::Representation
395
408
 
409
+ property :result_summary, as: 'resultSummary', class: Google::Apis::WorkloadmanagerV1::Summary, decorator: Google::Apis::WorkloadmanagerV1::Summary::Representation
410
+
396
411
  collection :rule_results, as: 'ruleResults', class: Google::Apis::WorkloadmanagerV1::RuleExecutionResult, decorator: Google::Apis::WorkloadmanagerV1::RuleExecutionResult::Representation
397
412
 
398
413
  property :run_type, as: 'runType'
@@ -446,6 +461,8 @@ module Google
446
461
  property :sent_time, as: 'sentTime'
447
462
  property :sqlserver_validation, as: 'sqlserverValidation', class: Google::Apis::WorkloadmanagerV1::SqlserverValidation, decorator: Google::Apis::WorkloadmanagerV1::SqlserverValidation::Representation
448
463
 
464
+ property :torso_validation, as: 'torsoValidation', class: Google::Apis::WorkloadmanagerV1::TorsoValidation, decorator: Google::Apis::WorkloadmanagerV1::TorsoValidation::Representation
465
+
449
466
  end
450
467
  end
451
468
 
@@ -828,6 +845,26 @@ module Google
828
845
  end
829
846
  end
830
847
 
848
+ class Summary
849
+ # @private
850
+ class Representation < Google::Apis::Core::JsonRepresentation
851
+ property :failures, :numeric_string => true, as: 'failures'
852
+ property :new_failures, :numeric_string => true, as: 'newFailures'
853
+ property :new_fixes, :numeric_string => true, as: 'newFixes'
854
+ end
855
+ end
856
+
857
+ class TorsoValidation
858
+ # @private
859
+ class Representation < Google::Apis::Core::JsonRepresentation
860
+ property :agent_version, as: 'agentVersion'
861
+ property :instance_name, as: 'instanceName'
862
+ property :project_id, as: 'projectId'
863
+ hash :validation_details, as: 'validationDetails'
864
+ property :workload_type, as: 'workloadType'
865
+ end
866
+ end
867
+
831
868
  class ViolationDetails
832
869
  # @private
833
870
  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,14 @@
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.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-03 00:00:00.000000000 Z
11
+ date: 2024-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  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
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.28.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workloadmanager_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.21
78
+ rubygems_version: 3.5.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Workload Manager API V1