Skip to content

Commit 8cdc13f

Browse files
feat: Automated regeneration of policysimulator v1alpha client (googleapis#26628)
Auto-created at 2026-06-10 22:14:57 +0000 using the toys pull request generator.
1 parent 06e1f9e commit 8cdc13f

5 files changed

Lines changed: 35 additions & 30 deletions

File tree

generated/google-apis-policysimulator_v1alpha/CHANGELOG.md

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

3+
### v0.30.0 (2026-06-10)
4+
5+
* Regenerated from discovery document revision 20260423
6+
* Regenerated using generator version 0.19.0
7+
38
### v0.29.0 (2026-03-08)
49

510
* Regenerated from discovery document revision 20260227

generated/google-apis-policysimulator_v1alpha/OVERVIEW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/iam/docs/simulating-access)
8383

8484
## Supported Ruby versions
8585

86-
This library is supported on Ruby 3.1+.
86+
This library is supported on Ruby 3.2+.
8787

8888
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
8989

generated/google-apis-policysimulator_v1alpha/google-apis-policysimulator_v1alpha.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ Gem::Specification.new do |gem|
2828
gem.files = Dir.glob("lib/**/*.rb") + Dir.glob("*.md") + [".yardopts"]
2929
gem.require_paths = ["lib"]
3030

31-
gem.required_ruby_version = '>= 3.1'
31+
gem.required_ruby_version = '>= 3.2'
3232
gem.add_runtime_dependency "google-apis-core", ">= 0.15.0", "< 2.a"
3333
end

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

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ class GoogleCloudOrgpolicyV2AlternatePolicySpec
2828
include Google::Apis::Core::Hashable
2929

3030
# Reference to the launch that will be used while audit logging and to control
31-
# the launch. Should be set only in the alternate policy.
31+
# the launch. Set only in the alternate policy.
3232
# Corresponds to the JSON property `launch`
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::PolicysimulatorV1alpha::GoogleCloudOrgpolicyV2PolicySpec]
@@ -87,12 +87,12 @@ class GoogleCloudOrgpolicyV2CustomConstraint
8787
# @return [Array<String>]
8888
attr_accessor :method_types
8989

90-
# Immutable. Name of the constraint. This is unique within the organization.
91-
# Format of the name should be * `organizations/`organization_id`/
92-
# customConstraints/`custom_constraint_id`` Example: `organizations/123/
93-
# customConstraints/custom.createOnlyE2TypeVms` The max length is 71 characters
94-
# and the minimum length is 1. Note that the prefix `organizations/`
95-
# organization_id`/customConstraints/custom.` is not counted.
90+
# Immutable. Name of the constraint. This is unique within the organization. The
91+
# name must be of the form: * `organizations/`organization_id`/customConstraints/
92+
# `custom_constraint_id`` Example: `organizations/123/customConstraints/custom.
93+
# createOnlyE2TypeVms` The max length is 71 characters and the minimum length is
94+
# 1. Note that the prefix `organizations/`organization_id`/customConstraints/
95+
# custom.` is not counted.
9696
# Corresponds to the JSON property `name`
9797
# @return [String]
9898
attr_accessor :name
@@ -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::PolicysimulatorV1alpha::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::PolicysimulatorV1alpha::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::PolicysimulatorV1alpha::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::PolicysimulatorV1alpha::GoogleCloudOrgpolicyV2PolicySpecPolicyRule>]
228228
attr_accessor :rules
@@ -696,7 +696,7 @@ def update!(**args)
696696
class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay
697697
include Google::Apis::Core::Hashable
698698

699-
# Defines an organization policy which is used to specify constraints for
699+
# Defines an organization policy that is used to specify constraints for
700700
# configurations of Google Cloud resources.
701701
# Corresponds to the JSON property `policy`
702702
# @return [Google::Apis::PolicysimulatorV1alpha::GoogleCloudOrgpolicyV2Policy]

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module PolicysimulatorV1alpha
1818
# Version of the google-apis-policysimulator_v1alpha gem
19-
GEM_VERSION = "0.29.0"
19+
GEM_VERSION = "0.30.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.18.0"
22+
GENERATOR_VERSION = "0.19.0"
2323

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

0 commit comments

Comments
 (0)