google-apis-workloadmanager_v1 0.23.0 → 0.25.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: 76393bd000a95acf03373413040dad25a0323f07db68ef28c3dd16bb928cadb1
4
- data.tar.gz: 5d7a76ce22df5ce4040691d6dfb4d64a12ece72dfdcadfa27ba69dcfe8ad41da
3
+ metadata.gz: a908dd1056693897d7d4f1a98cdab7f5059feff1fe0b8d9209cbf2bf692cddec
4
+ data.tar.gz: af3afc700f3a0ded3cae24127af8bfde4fcdd3ab3faf21f83b7458444441ea05
5
5
  SHA512:
6
- metadata.gz: cd2e0a6034c7b7a2e58a0cc1eff84f306a2ff8a00000b98cbfd39f7cbb35ff1bb34739d29531c3fa485924cda1823c1994acd3062c28f0c1bceb59d17c906d85
7
- data.tar.gz: fc23d8169d0c076f6a9a8b3abcc455671fb9dfc56a8dda5b4d23c9ba4b78eae491a68c23262c8b1ba6aee356710d26f8fa8e8a26fad7a355663e564d1b926ceb
6
+ metadata.gz: 2cb22c475b06b7f88f318c678a667e2f32301164ac1a34341f00b2d57788cbc30398f988c202817ddb199544d0d528b1f2ef35a2520bf9b77e1be5b2ee4acdd7
7
+ data.tar.gz: 12b5018ab5bb900898dc9aa53f5b1c4eb1affa05293a6509ddcd3e7ca5a40a6df2aca298912b2809bb14129081956d5bcc94f160dad1f1d0f5a4d0cd680daded
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-workloadmanager_v1
2
2
 
3
+ ### v0.25.0 (2024-10-13)
4
+
5
+ * Regenerated from discovery document revision 20241002
6
+
7
+ ### v0.24.0 (2024-08-04)
8
+
9
+ * Regenerated from discovery document revision 20240717
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.23.0 (2024-07-25)
4
13
 
5
14
  * Regenerated from discovery document revision 20240701
@@ -444,6 +444,11 @@ module Google
444
444
  # @return [String]
445
445
  attr_accessor :severity
446
446
 
447
+ # Execution result type of the scanned resource
448
+ # Corresponds to the JSON property `type`
449
+ # @return [String]
450
+ attr_accessor :type
451
+
447
452
  # Message describing the violation in an evaluation result.
448
453
  # Corresponds to the JSON property `violationDetails`
449
454
  # @return [Google::Apis::WorkloadmanagerV1::ViolationDetails]
@@ -465,6 +470,7 @@ module Google
465
470
  @resource = args[:resource] if args.key?(:resource)
466
471
  @rule = args[:rule] if args.key?(:rule)
467
472
  @severity = args[:severity] if args.key?(:severity)
473
+ @type = args[:type] if args.key?(:type)
468
474
  @violation_details = args[:violation_details] if args.key?(:violation_details)
469
475
  @violation_message = args[:violation_message] if args.key?(:violation_message)
470
476
  end
@@ -474,8 +480,9 @@ module Google
474
480
  class ExternalDataSources
475
481
  include Google::Apis::Core::Hashable
476
482
 
477
- # Required. The asset type of the external data source must be one of go/cai-
478
- # asset-types
483
+ # Required. The asset type of the external data source this can be one of go/cai-
484
+ # asset-types to override the default asset type or it can be a custom type
485
+ # defined by the user custom type must match the asset type in the rule
479
486
  # Corresponds to the JSON property `assetType`
480
487
  # @return [String]
481
488
  attr_accessor :asset_type
@@ -598,6 +605,12 @@ module Google
598
605
  class IsolationExpectations
599
606
  include Google::Apis::Core::Hashable
600
607
 
608
+ # Explicit overrides for ZI and ZS requirements to be used for resources that
609
+ # should be excluded from ZI/ZS verification logic.
610
+ # Corresponds to the JSON property `requirementOverride`
611
+ # @return [Google::Apis::WorkloadmanagerV1::RequirementOverride]
612
+ attr_accessor :requirement_override
613
+
601
614
  #
602
615
  # Corresponds to the JSON property `ziOrgPolicy`
603
616
  # @return [String]
@@ -641,6 +654,7 @@ module Google
641
654
 
642
655
  # Update properties of this object
643
656
  def update!(**args)
657
+ @requirement_override = args[:requirement_override] if args.key?(:requirement_override)
644
658
  @zi_org_policy = args[:zi_org_policy] if args.key?(:zi_org_policy)
645
659
  @zi_region_policy = args[:zi_region_policy] if args.key?(:zi_region_policy)
646
660
  @zi_region_state = args[:zi_region_state] if args.key?(:zi_region_state)
@@ -1132,6 +1146,31 @@ module Google
1132
1146
  end
1133
1147
  end
1134
1148
 
1149
+ #
1150
+ class RequirementOverride
1151
+ include Google::Apis::Core::Hashable
1152
+
1153
+ #
1154
+ # Corresponds to the JSON property `ziOverride`
1155
+ # @return [String]
1156
+ attr_accessor :zi_override
1157
+
1158
+ #
1159
+ # Corresponds to the JSON property `zsOverride`
1160
+ # @return [String]
1161
+ attr_accessor :zs_override
1162
+
1163
+ def initialize(**args)
1164
+ update!(**args)
1165
+ end
1166
+
1167
+ # Update properties of this object
1168
+ def update!(**args)
1169
+ @zi_override = args[:zi_override] if args.key?(:zi_override)
1170
+ @zs_override = args[:zs_override] if args.key?(:zs_override)
1171
+ end
1172
+ end
1173
+
1135
1174
  # Message represent resource in execution result
1136
1175
  class Resource
1137
1176
  include Google::Apis::Core::Hashable
@@ -1691,6 +1730,12 @@ module Google
1691
1730
  # @return [String]
1692
1731
  attr_accessor :instance_role
1693
1732
 
1733
+ # Optional. Instance is part of a DR site.
1734
+ # Corresponds to the JSON property `isDrSite`
1735
+ # @return [Boolean]
1736
+ attr_accessor :is_dr_site
1737
+ alias_method :is_dr_site?, :is_dr_site
1738
+
1694
1739
  # Optional. A virtual hostname of the instance if it has one.
1695
1740
  # Corresponds to the JSON property `virtualHostname`
1696
1741
  # @return [String]
@@ -1706,6 +1751,7 @@ module Google
1706
1751
  @cluster_instances = args[:cluster_instances] if args.key?(:cluster_instances)
1707
1752
  @instance_number = args[:instance_number] if args.key?(:instance_number)
1708
1753
  @instance_role = args[:instance_role] if args.key?(:instance_role)
1754
+ @is_dr_site = args[:is_dr_site] if args.key?(:is_dr_site)
1709
1755
  @virtual_hostname = args[:virtual_hostname] if args.key?(:virtual_hostname)
1710
1756
  end
1711
1757
  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.23.0"
19
+ GEM_VERSION = "0.25.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240701"
25
+ REVISION = "20241002"
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 RequirementOverride
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
217
223
  class Resource
218
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
225
 
@@ -525,6 +531,7 @@ module Google
525
531
 
526
532
  property :rule, as: 'rule'
527
533
  property :severity, as: 'severity'
534
+ property :type, as: 'type'
528
535
  property :violation_details, as: 'violationDetails', class: Google::Apis::WorkloadmanagerV1::ViolationDetails, decorator: Google::Apis::WorkloadmanagerV1::ViolationDetails::Representation
529
536
 
530
537
  property :violation_message, as: 'violationMessage'
@@ -573,6 +580,8 @@ module Google
573
580
  class IsolationExpectations
574
581
  # @private
575
582
  class Representation < Google::Apis::Core::JsonRepresentation
583
+ property :requirement_override, as: 'requirementOverride', class: Google::Apis::WorkloadmanagerV1::RequirementOverride, decorator: Google::Apis::WorkloadmanagerV1::RequirementOverride::Representation
584
+
576
585
  property :zi_org_policy, as: 'ziOrgPolicy'
577
586
  property :zi_region_policy, as: 'ziRegionPolicy'
578
587
  property :zi_region_state, as: 'ziRegionState'
@@ -726,6 +735,14 @@ module Google
726
735
  end
727
736
  end
728
737
 
738
+ class RequirementOverride
739
+ # @private
740
+ class Representation < Google::Apis::Core::JsonRepresentation
741
+ property :zi_override, as: 'ziOverride'
742
+ property :zs_override, as: 'zsOverride'
743
+ end
744
+ end
745
+
729
746
  class Resource
730
747
  # @private
731
748
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -873,6 +890,7 @@ module Google
873
890
  collection :cluster_instances, as: 'clusterInstances'
874
891
  property :instance_number, :numeric_string => true, as: 'instanceNumber'
875
892
  property :instance_role, as: 'instanceRole'
893
+ property :is_dr_site, as: 'isDrSite'
876
894
  property :virtual_hostname, as: 'virtualHostname'
877
895
  end
878
896
  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.23.0
4
+ version: 0.25.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-07-25 00:00:00.000000000 Z
11
+ date: 2024-10-13 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.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.25.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.6
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