google-apis-policysimulator_v1alpha 0.26.0 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/policysimulator_v1alpha/classes.rb +11 -2
- data/lib/google/apis/policysimulator_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/policysimulator_v1alpha/representations.rb +1 -0
- data/lib/google/apis/policysimulator_v1alpha/service.rb +40 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a59f4a362e92971c61f44b583ba00e79e8de3e3ac006af371c95d93165fc9983
|
|
4
|
+
data.tar.gz: f4e8d819b32c7a5946a79ab298fbe2199f859d5c017a84870ef4d3ce42377f03
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2ad119f1a879a71e850e959d4657d3eefa9f2a5e08f58a9782e8bab98f510bc5c7546173bd8dc95412de15032f1211b2f0bcc5ec9384d46a836c54222ff64938
|
|
7
|
+
data.tar.gz: 2822d360aa3f77a4bbdcc6f5db713462a9e2a957889cbe228338ccea9148328411bcd24c28e86840ca56ab7552ff1a2a4126c2b88a9b4a343974caca3d96db08
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-policysimulator_v1alpha
|
|
2
2
|
|
|
3
|
+
### v0.28.0 (2025-12-07)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251127
|
|
6
|
+
|
|
7
|
+
### v0.27.0 (2025-10-12)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20251002
|
|
10
|
+
|
|
3
11
|
### v0.26.0 (2025-08-24)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250815
|
|
@@ -63,8 +63,8 @@ module Google
|
|
|
63
63
|
attr_accessor :action_type
|
|
64
64
|
|
|
65
65
|
# A Common Expression Language (CEL) condition which is used in the evaluation
|
|
66
|
-
# of the constraint. For example: `resource.instanceName.matches("
|
|
67
|
-
# test
|
|
66
|
+
# of the constraint. For example: `resource.instanceName.matches("(production|
|
|
67
|
+
# test)_(.+_)?[\d]+")` or, `resource.management.auto_upgrade == true` The max
|
|
68
68
|
# length of the condition is 1000 characters.
|
|
69
69
|
# Corresponds to the JSON property `condition`
|
|
70
70
|
# @return [String]
|
|
@@ -1121,6 +1121,14 @@ module Google
|
|
|
1121
1121
|
# @return [Array<Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation>]
|
|
1122
1122
|
attr_accessor :operations
|
|
1123
1123
|
|
|
1124
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
1125
|
+
# ListOperationsRequest.return_partial_success` and reads across collections.
|
|
1126
|
+
# For example, when attempting to list all resources across all supported
|
|
1127
|
+
# locations.
|
|
1128
|
+
# Corresponds to the JSON property `unreachable`
|
|
1129
|
+
# @return [Array<String>]
|
|
1130
|
+
attr_accessor :unreachable
|
|
1131
|
+
|
|
1124
1132
|
def initialize(**args)
|
|
1125
1133
|
update!(**args)
|
|
1126
1134
|
end
|
|
@@ -1129,6 +1137,7 @@ module Google
|
|
|
1129
1137
|
def update!(**args)
|
|
1130
1138
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1131
1139
|
@operations = args[:operations] if args.key?(:operations)
|
|
1140
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
1132
1141
|
end
|
|
1133
1142
|
end
|
|
1134
1143
|
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module PolicysimulatorV1alpha
|
|
18
18
|
# Version of the google-apis-policysimulator_v1alpha gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.28.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251127"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -414,6 +414,7 @@ module Google
|
|
|
414
414
|
property :next_page_token, as: 'nextPageToken'
|
|
415
415
|
collection :operations, as: 'operations', class: Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation, decorator: Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation::Representation
|
|
416
416
|
|
|
417
|
+
collection :unreachable, as: 'unreachable'
|
|
417
418
|
end
|
|
418
419
|
end
|
|
419
420
|
|
|
@@ -160,6 +160,14 @@ module Google
|
|
|
160
160
|
# The standard list page size.
|
|
161
161
|
# @param [String] page_token
|
|
162
162
|
# The standard list page token.
|
|
163
|
+
# @param [Boolean] return_partial_success
|
|
164
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
165
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
166
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
167
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
168
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
169
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
170
|
+
# documentation.
|
|
163
171
|
# @param [String] fields
|
|
164
172
|
# Selector specifying which fields to include in a partial response.
|
|
165
173
|
# @param [String] quota_user
|
|
@@ -177,7 +185,7 @@ module Google
|
|
|
177
185
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
178
186
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
179
187
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
180
|
-
def list_folder_location_replay_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
188
|
+
def list_folder_location_replay_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
181
189
|
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
|
182
190
|
command.response_representation = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse::Representation
|
|
183
191
|
command.response_class = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse
|
|
@@ -185,6 +193,7 @@ module Google
|
|
|
185
193
|
command.query['filter'] = filter unless filter.nil?
|
|
186
194
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
187
195
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
196
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
188
197
|
command.query['fields'] = fields unless fields.nil?
|
|
189
198
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
190
199
|
execute_or_queue_command(command, &block)
|
|
@@ -231,6 +240,14 @@ module Google
|
|
|
231
240
|
# The standard list page size.
|
|
232
241
|
# @param [String] page_token
|
|
233
242
|
# The standard list page token.
|
|
243
|
+
# @param [Boolean] return_partial_success
|
|
244
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
245
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
246
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
247
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
248
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
249
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
250
|
+
# documentation.
|
|
234
251
|
# @param [String] fields
|
|
235
252
|
# Selector specifying which fields to include in a partial response.
|
|
236
253
|
# @param [String] quota_user
|
|
@@ -248,7 +265,7 @@ module Google
|
|
|
248
265
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
249
266
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
250
267
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
251
|
-
def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
268
|
+
def list_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
252
269
|
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
|
253
270
|
command.response_representation = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse::Representation
|
|
254
271
|
command.response_class = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse
|
|
@@ -256,6 +273,7 @@ module Google
|
|
|
256
273
|
command.query['filter'] = filter unless filter.nil?
|
|
257
274
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
258
275
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
276
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
259
277
|
command.query['fields'] = fields unless fields.nil?
|
|
260
278
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
261
279
|
execute_or_queue_command(command, &block)
|
|
@@ -364,6 +382,14 @@ module Google
|
|
|
364
382
|
# The standard list page size.
|
|
365
383
|
# @param [String] page_token
|
|
366
384
|
# The standard list page token.
|
|
385
|
+
# @param [Boolean] return_partial_success
|
|
386
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
387
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
388
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
389
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
390
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
391
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
392
|
+
# documentation.
|
|
367
393
|
# @param [String] fields
|
|
368
394
|
# Selector specifying which fields to include in a partial response.
|
|
369
395
|
# @param [String] quota_user
|
|
@@ -381,7 +407,7 @@ module Google
|
|
|
381
407
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
382
408
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
383
409
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
384
|
-
def list_organization_location_replay_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
410
|
+
def list_organization_location_replay_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
385
411
|
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
|
386
412
|
command.response_representation = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse::Representation
|
|
387
413
|
command.response_class = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse
|
|
@@ -389,6 +415,7 @@ module Google
|
|
|
389
415
|
command.query['filter'] = filter unless filter.nil?
|
|
390
416
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
391
417
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
418
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
392
419
|
command.query['fields'] = fields unless fields.nil?
|
|
393
420
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
394
421
|
execute_or_queue_command(command, &block)
|
|
@@ -497,6 +524,14 @@ module Google
|
|
|
497
524
|
# The standard list page size.
|
|
498
525
|
# @param [String] page_token
|
|
499
526
|
# The standard list page token.
|
|
527
|
+
# @param [Boolean] return_partial_success
|
|
528
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
529
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
530
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
531
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
532
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
533
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
534
|
+
# documentation.
|
|
500
535
|
# @param [String] fields
|
|
501
536
|
# Selector specifying which fields to include in a partial response.
|
|
502
537
|
# @param [String] quota_user
|
|
@@ -514,7 +549,7 @@ module Google
|
|
|
514
549
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
515
550
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
516
551
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
517
|
-
def list_project_location_replay_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
552
|
+
def list_project_location_replay_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
518
553
|
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
|
519
554
|
command.response_representation = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse::Representation
|
|
520
555
|
command.response_class = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse
|
|
@@ -522,6 +557,7 @@ module Google
|
|
|
522
557
|
command.query['filter'] = filter unless filter.nil?
|
|
523
558
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
524
559
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
560
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
525
561
|
command.query['fields'] = fields unless fields.nil?
|
|
526
562
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
527
563
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-policysimulator_v1alpha
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.28.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policysimulator_v1alpha/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1alpha/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1alpha/v0.28.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policysimulator_v1alpha
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|