google-apis-workloadmanager_v1 0.24.0 → 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9530ab3b2d320396e0f9972fe6c5b461f14dff0edd74ef6e689a0f111dcdce7
|
4
|
+
data.tar.gz: 9ee0d9cd50ed5aea8ee996c44f5e0b1e6cbda9eb8476c37cc4aa2ffad445ba1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fefd76d7f8aa373767abb2c6c872d1008c9247abe45a9ec70adef72199d0b9a43e53a743cccfaf8e609cb6be64c5ba7dcd3f5bd1a2b3963d249750aa8a5c500e
|
7
|
+
data.tar.gz: c50e5957bcbb2ebc14394280de1ebd903ce6a9f3f32d39203c3d51f5c249aa30a7040cebf532b3ab33f762a2332bb66e15419c3828ab35f8f6f12691ecd09d10
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
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
|
+
|
7
|
+
### v0.25.0 (2024-10-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20241002
|
10
|
+
|
3
11
|
### v0.24.0 (2024-08-04)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240717
|
@@ -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)
|
@@ -444,6 +450,11 @@ module Google
|
|
444
450
|
# @return [String]
|
445
451
|
attr_accessor :severity
|
446
452
|
|
453
|
+
# Execution result type of the scanned resource
|
454
|
+
# Corresponds to the JSON property `type`
|
455
|
+
# @return [String]
|
456
|
+
attr_accessor :type
|
457
|
+
|
447
458
|
# Message describing the violation in an evaluation result.
|
448
459
|
# Corresponds to the JSON property `violationDetails`
|
449
460
|
# @return [Google::Apis::WorkloadmanagerV1::ViolationDetails]
|
@@ -465,6 +476,7 @@ module Google
|
|
465
476
|
@resource = args[:resource] if args.key?(:resource)
|
466
477
|
@rule = args[:rule] if args.key?(:rule)
|
467
478
|
@severity = args[:severity] if args.key?(:severity)
|
479
|
+
@type = args[:type] if args.key?(:type)
|
468
480
|
@violation_details = args[:violation_details] if args.key?(:violation_details)
|
469
481
|
@violation_message = args[:violation_message] if args.key?(:violation_message)
|
470
482
|
end
|
@@ -1337,6 +1349,49 @@ module Google
|
|
1337
1349
|
end
|
1338
1350
|
end
|
1339
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
|
+
|
1340
1395
|
# Message for creating a Execution
|
1341
1396
|
class RunEvaluationRequest
|
1342
1397
|
include Google::Apis::Core::Hashable
|
@@ -1724,6 +1779,12 @@ module Google
|
|
1724
1779
|
# @return [String]
|
1725
1780
|
attr_accessor :instance_role
|
1726
1781
|
|
1782
|
+
# Optional. Instance is part of a DR site.
|
1783
|
+
# Corresponds to the JSON property `isDrSite`
|
1784
|
+
# @return [Boolean]
|
1785
|
+
attr_accessor :is_dr_site
|
1786
|
+
alias_method :is_dr_site?, :is_dr_site
|
1787
|
+
|
1727
1788
|
# Optional. A virtual hostname of the instance if it has one.
|
1728
1789
|
# Corresponds to the JSON property `virtualHostname`
|
1729
1790
|
# @return [String]
|
@@ -1739,6 +1800,7 @@ module Google
|
|
1739
1800
|
@cluster_instances = args[:cluster_instances] if args.key?(:cluster_instances)
|
1740
1801
|
@instance_number = args[:instance_number] if args.key?(:instance_number)
|
1741
1802
|
@instance_role = args[:instance_role] if args.key?(:instance_role)
|
1803
|
+
@is_dr_site = args[:is_dr_site] if args.key?(:is_dr_site)
|
1742
1804
|
@virtual_hostname = args[:virtual_hostname] if args.key?(:virtual_hostname)
|
1743
1805
|
end
|
1744
1806
|
end
|
@@ -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.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 = "
|
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'
|
@@ -531,6 +539,7 @@ module Google
|
|
531
539
|
|
532
540
|
property :rule, as: 'rule'
|
533
541
|
property :severity, as: 'severity'
|
542
|
+
property :type, as: 'type'
|
534
543
|
property :violation_details, as: 'violationDetails', class: Google::Apis::WorkloadmanagerV1::ViolationDetails, decorator: Google::Apis::WorkloadmanagerV1::ViolationDetails::Representation
|
535
544
|
|
536
545
|
property :violation_message, as: 'violationMessage'
|
@@ -787,6 +796,17 @@ module Google
|
|
787
796
|
end
|
788
797
|
end
|
789
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
|
+
|
790
810
|
class RunEvaluationRequest
|
791
811
|
# @private
|
792
812
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -889,6 +909,7 @@ module Google
|
|
889
909
|
collection :cluster_instances, as: 'clusterInstances'
|
890
910
|
property :instance_number, :numeric_string => true, as: 'instanceNumber'
|
891
911
|
property :instance_role, as: 'instanceRole'
|
912
|
+
property :is_dr_site, as: 'isDrSite'
|
892
913
|
property :virtual_hostname, as: 'virtualHostname'
|
893
914
|
end
|
894
915
|
end
|
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.
|
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-
|
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.
|
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: []
|
@@ -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.
|
78
|
+
rubygems_version: 3.5.21
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Workload Manager API V1
|