google-apis-orgpolicy_v2 0.36.0 → 0.37.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: fa053dea3206c0a71cd1d3cba1b43519b957a85ca8d5f3f1d7246800aed7c568
4
- data.tar.gz: 6a6dc6fa9a793c6e177e3128d232fd5a7ba5b0d9c904939c198fa5b40001b1f6
3
+ metadata.gz: b8f0ec4f109224e89e8bd99194f91fe384137e1d4af8f96e5af1d4631488e976
4
+ data.tar.gz: 542532f6a560d1a30f927ed9325c40e86b3c84aa548110cef17278b65ad685a9
5
5
  SHA512:
6
- metadata.gz: f03c2562e2c83eaffee4547ab78c5bfaaa1b1c9d4b256c0f604d1ff56f84b5f5373559e48ff21a74397bc8584075e89962a69071adc4a4e639ac85ca620e6faf
7
- data.tar.gz: 78ccb0791b1d686be3c55874647c2857aa87388f1409dd3488a363f91fc0476dd98672a762e1c7cb76453ea009ef0b639842ec65a9b81932bb71fab460974531
6
+ metadata.gz: 74f868c493b7e8f68a51185662c066b7984e334ed7fc7f7a05c7267952039ad33054149a5fb25ce5a05b61f49dc26637d22eb3207259aa5653ddca2c8489a6e2
7
+ data.tar.gz: 86385b586a2a4b3fd3cbf41c7e528295f3c57e382896be8d94f1cfb66851a6f6b51c8cf61579dea91b6a704105b9d9573d3d90661e0e4f9c6fe92a25020a4107
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-orgpolicy_v2
2
2
 
3
+ ### v0.37.0 (2024-12-08)
4
+
5
+ * Regenerated from discovery document revision 20241129
6
+
3
7
  ### v0.36.0 (2024-10-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20241021
@@ -109,6 +109,12 @@ module Google
109
109
  attr_accessor :supports_dry_run
110
110
  alias_method :supports_dry_run?, :supports_dry_run
111
111
 
112
+ # Shows if simulation is supported for this constraint or not.
113
+ # Corresponds to the JSON property `supportsSimulation`
114
+ # @return [Boolean]
115
+ attr_accessor :supports_simulation
116
+ alias_method :supports_simulation?, :supports_simulation
117
+
112
118
  def initialize(**args)
113
119
  update!(**args)
114
120
  end
@@ -122,6 +128,7 @@ module Google
122
128
  @list_constraint = args[:list_constraint] if args.key?(:list_constraint)
123
129
  @name = args[:name] if args.key?(:name)
124
130
  @supports_dry_run = args[:supports_dry_run] if args.key?(:supports_dry_run)
131
+ @supports_simulation = args[:supports_simulation] if args.key?(:supports_simulation)
125
132
  end
126
133
  end
127
134
 
@@ -613,6 +620,14 @@ module Google
613
620
  attr_accessor :enforce
614
621
  alias_method :enforce?, :enforce
615
622
 
623
+ # Optional. Required for GMCs if parameters defined in constraints. Pass
624
+ # parameter values when policy enforcement is enabled. Ensure that parameter
625
+ # value types match those defined in the constraint definition. For example: ` "
626
+ # allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true `
627
+ # Corresponds to the JSON property `parameters`
628
+ # @return [Hash<String,Object>]
629
+ attr_accessor :parameters
630
+
616
631
  # A message that holds specific allowed and denied values. This message can
617
632
  # define specific values and subtrees of the Resource Manager resource hierarchy
618
633
  # (`Organizations`, `Folders`, `Projects`) that are allowed or denied. This is
@@ -639,6 +654,7 @@ module Google
639
654
  @condition = args[:condition] if args.key?(:condition)
640
655
  @deny_all = args[:deny_all] if args.key?(:deny_all)
641
656
  @enforce = args[:enforce] if args.key?(:enforce)
657
+ @parameters = args[:parameters] if args.key?(:parameters)
642
658
  @values = args[:values] if args.key?(:values)
643
659
  end
644
660
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OrgpolicyV2
18
18
  # Version of the google-apis-orgpolicy_v2 gem
19
- GEM_VERSION = "0.36.0"
19
+ GEM_VERSION = "0.37.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 = "20241021"
25
+ REVISION = "20241129"
26
26
  end
27
27
  end
28
28
  end
@@ -145,6 +145,7 @@ module Google
145
145
 
146
146
  property :name, as: 'name'
147
147
  property :supports_dry_run, as: 'supportsDryRun'
148
+ property :supports_simulation, as: 'supportsSimulation'
148
149
  end
149
150
  end
150
151
 
@@ -270,6 +271,7 @@ module Google
270
271
 
271
272
  property :deny_all, as: 'denyAll'
272
273
  property :enforce, as: 'enforce'
274
+ hash :parameters, as: 'parameters'
273
275
  property :values, as: 'values', class: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues, decorator: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues::Representation
274
276
 
275
277
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-orgpolicy_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.37.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-27 00:00:00.000000000 Z
11
+ date: 2024-12-08 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-orgpolicy_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-orgpolicy_v2/v0.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-orgpolicy_v2/v0.37.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-orgpolicy_v2
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 Organization Policy API V2