google-apis-workloadmanager_v1 0.25.0 → 0.26.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: a908dd1056693897d7d4f1a98cdab7f5059feff1fe0b8d9209cbf2bf692cddec
4
- data.tar.gz: af3afc700f3a0ded3cae24127af8bfde4fcdd3ab3faf21f83b7458444441ea05
3
+ metadata.gz: a9530ab3b2d320396e0f9972fe6c5b461f14dff0edd74ef6e689a0f111dcdce7
4
+ data.tar.gz: 9ee0d9cd50ed5aea8ee996c44f5e0b1e6cbda9eb8476c37cc4aa2ffad445ba1a
5
5
  SHA512:
6
- metadata.gz: 2cb22c475b06b7f88f318c678a667e2f32301164ac1a34341f00b2d57788cbc30398f988c202817ddb199544d0d528b1f2ef35a2520bf9b77e1be5b2ee4acdd7
7
- data.tar.gz: 12b5018ab5bb900898dc9aa53f5b1c4eb1affa05293a6509ddcd3e7ca5a40a6df2aca298912b2809bb14129081956d5bcc94f160dad1f1d0f5a4d0cd680daded
6
+ metadata.gz: fefd76d7f8aa373767abb2c6c872d1008c9247abe45a9ec70adef72199d0b9a43e53a743cccfaf8e609cb6be64c5ba7dcd3f5bd1a2b3963d249750aa8a5c500e
7
+ data.tar.gz: c50e5957bcbb2ebc14394280de1ebd903ce6a9f3f32d39203c3d51f5c249aa30a7040cebf532b3ab33f762a2332bb66e15419c3828ab35f8f6f12691ecd09d10
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-workloadmanager_v1
2
2
 
3
+ ### v0.26.0 (2024-10-20)
4
+
5
+ * Regenerated from discovery document revision 20241009
6
+
3
7
  ### v0.25.0 (2024-10-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20241002
@@ -381,6 +381,11 @@ module Google
381
381
  # @return [String]
382
382
  attr_accessor :name
383
383
 
384
+ # Output only. execution result summary per rule
385
+ # Corresponds to the JSON property `ruleResults`
386
+ # @return [Array<Google::Apis::WorkloadmanagerV1::RuleExecutionResult>]
387
+ attr_accessor :rule_results
388
+
384
389
  # type represent whether the execution executed directly by user or scheduled
385
390
  # according evaluation.schedule field.
386
391
  # Corresponds to the JSON property `runType`
@@ -409,6 +414,7 @@ module Google
409
414
  @inventory_time = args[:inventory_time] if args.key?(:inventory_time)
410
415
  @labels = args[:labels] if args.key?(:labels)
411
416
  @name = args[:name] if args.key?(:name)
417
+ @rule_results = args[:rule_results] if args.key?(:rule_results)
412
418
  @run_type = args[:run_type] if args.key?(:run_type)
413
419
  @start_time = args[:start_time] if args.key?(:start_time)
414
420
  @state = args[:state] if args.key?(:state)
@@ -1343,6 +1349,49 @@ module Google
1343
1349
  end
1344
1350
  end
1345
1351
 
1352
+ # Message for execution result summary per rule
1353
+ class RuleExecutionResult
1354
+ include Google::Apis::Core::Hashable
1355
+
1356
+ # Execution message, if any
1357
+ # Corresponds to the JSON property `message`
1358
+ # @return [String]
1359
+ attr_accessor :message
1360
+
1361
+ # Number of violations
1362
+ # Corresponds to the JSON property `resultCount`
1363
+ # @return [Fixnum]
1364
+ attr_accessor :result_count
1365
+
1366
+ # rule name
1367
+ # Corresponds to the JSON property `rule`
1368
+ # @return [String]
1369
+ attr_accessor :rule
1370
+
1371
+ # Number of total scanned resources
1372
+ # Corresponds to the JSON property `scannedResourceCount`
1373
+ # @return [Fixnum]
1374
+ attr_accessor :scanned_resource_count
1375
+
1376
+ # Output only. The execution status
1377
+ # Corresponds to the JSON property `state`
1378
+ # @return [String]
1379
+ attr_accessor :state
1380
+
1381
+ def initialize(**args)
1382
+ update!(**args)
1383
+ end
1384
+
1385
+ # Update properties of this object
1386
+ def update!(**args)
1387
+ @message = args[:message] if args.key?(:message)
1388
+ @result_count = args[:result_count] if args.key?(:result_count)
1389
+ @rule = args[:rule] if args.key?(:rule)
1390
+ @scanned_resource_count = args[:scanned_resource_count] if args.key?(:scanned_resource_count)
1391
+ @state = args[:state] if args.key?(:state)
1392
+ end
1393
+ end
1394
+
1346
1395
  # Message for creating a Execution
1347
1396
  class RunEvaluationRequest
1348
1397
  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.25.0"
19
+ GEM_VERSION = "0.26.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 = "20241002"
25
+ REVISION = "20241009"
26
26
  end
27
27
  end
28
28
  end
@@ -244,6 +244,12 @@ module Google
244
244
  include Google::Apis::Core::JsonObjectSupport
245
245
  end
246
246
 
247
+ class RuleExecutionResult
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
247
253
  class RunEvaluationRequest
248
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
255
 
@@ -515,6 +521,8 @@ module Google
515
521
  property :inventory_time, as: 'inventoryTime'
516
522
  hash :labels, as: 'labels'
517
523
  property :name, as: 'name'
524
+ collection :rule_results, as: 'ruleResults', class: Google::Apis::WorkloadmanagerV1::RuleExecutionResult, decorator: Google::Apis::WorkloadmanagerV1::RuleExecutionResult::Representation
525
+
518
526
  property :run_type, as: 'runType'
519
527
  property :start_time, as: 'startTime'
520
528
  property :state, as: 'state'
@@ -788,6 +796,17 @@ module Google
788
796
  end
789
797
  end
790
798
 
799
+ class RuleExecutionResult
800
+ # @private
801
+ class Representation < Google::Apis::Core::JsonRepresentation
802
+ property :message, as: 'message'
803
+ property :result_count, :numeric_string => true, as: 'resultCount'
804
+ property :rule, as: 'rule'
805
+ property :scanned_resource_count, :numeric_string => true, as: 'scannedResourceCount'
806
+ property :state, as: 'state'
807
+ end
808
+ end
809
+
791
810
  class RunEvaluationRequest
792
811
  # @private
793
812
  class Representation < Google::Apis::Core::JsonRepresentation
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.25.0
4
+ version: 0.26.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-10-13 00:00:00.000000000 Z
11
+ date: 2024-10-27 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.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.26.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: []