Skip to content

Commit b9bcf3d

Browse files
feat: Automated regeneration of policysimulator v1 client (#26041)
Auto-created at 2026-03-22 10:48:31 +0000 using the toys pull request generator.
1 parent 8ad9017 commit b9bcf3d

3 files changed

Lines changed: 25 additions & 21 deletions

File tree

generated/google-apis-policysimulator_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-policysimulator_v1
22

3+
### v0.50.0 (2026-03-22)
4+
5+
* Regenerated from discovery document revision 20260312
6+
37
### v0.49.0 (2026-03-15)
48

59
* Regenerated from discovery document revision 20260227

generated/google-apis-policysimulator_v1/lib/google/apis/policysimulator_v1/classes.rb

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class GoogleCloudOrgpolicyV2AlternatePolicySpec
3333
# @return [String]
3434
attr_accessor :launch
3535

36-
# Defines a Google Cloud policy specification which is used to specify
36+
# Defines a Google Cloud policy specification that is used to specify
3737
# constraints for configurations of Google Cloud resources.
3838
# Corresponds to the JSON property `spec`
3939
# @return [Google::Apis::PolicysimulatorV1::GoogleCloudOrgpolicyV2PolicySpec]
@@ -127,7 +127,7 @@ def update!(**args)
127127
end
128128
end
129129

130-
# Defines an organization policy which is used to specify constraints for
130+
# Defines an organization policy that is used to specify constraints for
131131
# configurations of Google Cloud resources.
132132
class GoogleCloudOrgpolicyV2Policy
133133
include Google::Apis::Core::Hashable
@@ -138,22 +138,22 @@ class GoogleCloudOrgpolicyV2Policy
138138
# @return [Google::Apis::PolicysimulatorV1::GoogleCloudOrgpolicyV2AlternatePolicySpec]
139139
attr_accessor :alternate
140140

141-
# Defines a Google Cloud policy specification which is used to specify
141+
# Defines a Google Cloud policy specification that is used to specify
142142
# constraints for configurations of Google Cloud resources.
143143
# Corresponds to the JSON property `dryRunSpec`
144144
# @return [Google::Apis::PolicysimulatorV1::GoogleCloudOrgpolicyV2PolicySpec]
145145
attr_accessor :dry_run_spec
146146

147147
# Optional. An opaque tag indicating the current state of the policy, used for
148-
# concurrency control. This 'etag' is computed by the server based on the value
149-
# of other fields, and may be sent on update and delete requests to ensure the
150-
# client has an up-to-date value before proceeding.
148+
# concurrency control. This entity tag (ETag) is computed by the server based on
149+
# the value of other fields, and may be sent on update and delete requests to
150+
# ensure the client has an up-to-date value before proceeding.
151151
# Corresponds to the JSON property `etag`
152152
# @return [String]
153153
attr_accessor :etag
154154

155155
# Immutable. The resource name of the policy. Must be one of the following forms,
156-
# where `constraint_name` is the name of the constraint which this policy
156+
# where `constraint_name` is the name of the constraint that this policy
157157
# configures: * `projects/`project_number`/policies/`constraint_name`` * `
158158
# folders/`folder_id`/policies/`constraint_name`` * `organizations/`
159159
# organization_id`/policies/`constraint_name`` For example, `projects/123/
@@ -164,7 +164,7 @@ class GoogleCloudOrgpolicyV2Policy
164164
# @return [String]
165165
attr_accessor :name
166166

167-
# Defines a Google Cloud policy specification which is used to specify
167+
# Defines a Google Cloud policy specification that is used to specify
168168
# constraints for configurations of Google Cloud resources.
169169
# Corresponds to the JSON property `spec`
170170
# @return [Google::Apis::PolicysimulatorV1::GoogleCloudOrgpolicyV2PolicySpec]
@@ -184,17 +184,17 @@ def update!(**args)
184184
end
185185
end
186186

187-
# Defines a Google Cloud policy specification which is used to specify
187+
# Defines a Google Cloud policy specification that is used to specify
188188
# constraints for configurations of Google Cloud resources.
189189
class GoogleCloudOrgpolicyV2PolicySpec
190190
include Google::Apis::Core::Hashable
191191

192192
# An opaque tag indicating the current version of the policySpec, used for
193193
# concurrency control. This field is ignored if used in a `CreatePolicy` request.
194194
# When the policy is returned from either a `GetPolicy` or a `ListPolicies`
195-
# request, this `etag` indicates the version of the current policySpec to use
196-
# when executing a read-modify-write loop. When the policy is returned from a `
197-
# GetEffectivePolicy` request, the `etag` will be unset.
195+
# request, this entity tag (ETag) indicates the version of the current
196+
# policySpec to use when executing a read-modify-write loop. When the policy is
197+
# returned from a `GetEffectivePolicy` request, the ETag will be unset.
198198
# Corresponds to the JSON property `etag`
199199
# @return [String]
200200
attr_accessor :etag
@@ -203,7 +203,7 @@ class GoogleCloudOrgpolicyV2PolicySpec
203203
# is true, policy rules set higher up in the hierarchy (up to the closest root)
204204
# are inherited and present in the effective policy. If it is false, then no
205205
# rules are inherited, and this policy becomes the new root for evaluation. This
206-
# field can be set only for policies which configure list constraints.
206+
# field can be set only for policies that configure list constraints.
207207
# Corresponds to the JSON property `inheritFromParent`
208208
# @return [Boolean]
209209
attr_accessor :inherit_from_parent
@@ -219,10 +219,10 @@ class GoogleCloudOrgpolicyV2PolicySpec
219219
alias_method :reset?, :reset
220220

221221
# In policies for boolean constraints, the following requirements apply: - There
222-
# must be one and only one policy rule where condition is unset. - Boolean
223-
# policy rules with conditions must set `enforced` to the opposite of the policy
224-
# rule without a condition. - During policy evaluation, policy rules with
225-
# conditions that are true for a target resource take precedence.
222+
# must be exactly one policy rule where a condition is unset. - Boolean policy
223+
# rules with conditions must set `enforced` to the opposite of the policy rule
224+
# without a condition. - During policy evaluation, policy rules with conditions
225+
# that are true for a target resource take precedence.
226226
# Corresponds to the JSON property `rules`
227227
# @return [Array<Google::Apis::PolicysimulatorV1::GoogleCloudOrgpolicyV2PolicySpecPolicyRule>]
228228
attr_accessor :rules
@@ -828,7 +828,7 @@ def update!(**args)
828828
class GoogleCloudPolicysimulatorV1OrgPolicyOverlayPolicyOverlay
829829
include Google::Apis::Core::Hashable
830830

831-
# Defines an organization policy which is used to specify constraints for
831+
# Defines an organization policy that is used to specify constraints for
832832
# configurations of Google Cloud resources.
833833
# Corresponds to the JSON property `policy`
834834
# @return [Google::Apis::PolicysimulatorV1::GoogleCloudOrgpolicyV2Policy]
@@ -1485,7 +1485,7 @@ def update!(**args)
14851485
class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay
14861486
include Google::Apis::Core::Hashable
14871487

1488-
# Defines an organization policy which is used to specify constraints for
1488+
# Defines an organization policy that is used to specify constraints for
14891489
# configurations of Google Cloud resources.
14901490
# Corresponds to the JSON property `policy`
14911491
# @return [Google::Apis::PolicysimulatorV1::GoogleCloudOrgpolicyV2Policy]

generated/google-apis-policysimulator_v1/lib/google/apis/policysimulator_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module PolicysimulatorV1
1818
# Version of the google-apis-policysimulator_v1 gem
19-
GEM_VERSION = "0.49.0"
19+
GEM_VERSION = "0.50.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260227"
25+
REVISION = "20260312"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)