google-apis-policysimulator_v1 0.46.0 → 0.48.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_v1/classes.rb +11 -2
- data/lib/google/apis/policysimulator_v1/gem_version.rb +2 -2
- data/lib/google/apis/policysimulator_v1/representations.rb +1 -0
- data/lib/google/apis/policysimulator_v1/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: 6453ff496c70aa7aa4c53e9329c2bf9d442133171b75fa980eb42358f78f51bc
|
|
4
|
+
data.tar.gz: fa3533ab059e0aa7675a45383405fe01e19e7d23eb11aa0b2d82db89423ec0c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e1d9748bdf35e2d7e45908eebbf08fdb0d47dee4c4de05d97ef05341d3ab391b60bd3bee1fc2c35b30de2c269076aad8d109331f14aadc31d032c985e050d93
|
|
7
|
+
data.tar.gz: 7b82ad64f3edd3fc81f5f59b4a8ce2998d8ccbe23127598802a70c6a2d67902e136db4f86277896f0d34d307d0dfb743aa73b7cce559a69733d7f52a29d6e0ad
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-policysimulator_v1
|
|
2
2
|
|
|
3
|
+
### v0.48.0 (2025-12-07)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251127
|
|
6
|
+
|
|
7
|
+
### v0.47.0 (2025-10-12)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20251002
|
|
10
|
+
|
|
3
11
|
### v0.46.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]
|
|
@@ -1910,6 +1910,14 @@ module Google
|
|
|
1910
1910
|
# @return [Array<Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation>]
|
|
1911
1911
|
attr_accessor :operations
|
|
1912
1912
|
|
|
1913
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
1914
|
+
# ListOperationsRequest.return_partial_success` and reads across collections.
|
|
1915
|
+
# For example, when attempting to list all resources across all supported
|
|
1916
|
+
# locations.
|
|
1917
|
+
# Corresponds to the JSON property `unreachable`
|
|
1918
|
+
# @return [Array<String>]
|
|
1919
|
+
attr_accessor :unreachable
|
|
1920
|
+
|
|
1913
1921
|
def initialize(**args)
|
|
1914
1922
|
update!(**args)
|
|
1915
1923
|
end
|
|
@@ -1918,6 +1926,7 @@ module Google
|
|
|
1918
1926
|
def update!(**args)
|
|
1919
1927
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1920
1928
|
@operations = args[:operations] if args.key?(:operations)
|
|
1929
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
1921
1930
|
end
|
|
1922
1931
|
end
|
|
1923
1932
|
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module PolicysimulatorV1
|
|
18
18
|
# Version of the google-apis-policysimulator_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.48.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
|
|
@@ -716,6 +716,7 @@ module Google
|
|
|
716
716
|
property :next_page_token, as: 'nextPageToken'
|
|
717
717
|
collection :operations, as: 'operations', class: Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation, decorator: Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation::Representation
|
|
718
718
|
|
|
719
|
+
collection :unreachable, as: 'unreachable'
|
|
719
720
|
end
|
|
720
721
|
end
|
|
721
722
|
|
|
@@ -229,6 +229,14 @@ module Google
|
|
|
229
229
|
# The standard list page size.
|
|
230
230
|
# @param [String] page_token
|
|
231
231
|
# The standard list page token.
|
|
232
|
+
# @param [Boolean] return_partial_success
|
|
233
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
234
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
235
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
236
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
237
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
238
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
239
|
+
# documentation.
|
|
232
240
|
# @param [String] fields
|
|
233
241
|
# Selector specifying which fields to include in a partial response.
|
|
234
242
|
# @param [String] quota_user
|
|
@@ -246,7 +254,7 @@ module Google
|
|
|
246
254
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
247
255
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
248
256
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
249
|
-
def list_folder_location_replay_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
257
|
+
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)
|
|
250
258
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
251
259
|
command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse::Representation
|
|
252
260
|
command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse
|
|
@@ -254,6 +262,7 @@ module Google
|
|
|
254
262
|
command.query['filter'] = filter unless filter.nil?
|
|
255
263
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
256
264
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
265
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
257
266
|
command.query['fields'] = fields unless fields.nil?
|
|
258
267
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
259
268
|
execute_or_queue_command(command, &block)
|
|
@@ -343,6 +352,14 @@ module Google
|
|
|
343
352
|
# The standard list page size.
|
|
344
353
|
# @param [String] page_token
|
|
345
354
|
# The standard list page token.
|
|
355
|
+
# @param [Boolean] return_partial_success
|
|
356
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
357
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
358
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
359
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
360
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
361
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
362
|
+
# documentation.
|
|
346
363
|
# @param [String] fields
|
|
347
364
|
# Selector specifying which fields to include in a partial response.
|
|
348
365
|
# @param [String] quota_user
|
|
@@ -360,7 +377,7 @@ module Google
|
|
|
360
377
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
361
378
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
362
379
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
363
|
-
def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
380
|
+
def list_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
364
381
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
365
382
|
command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse::Representation
|
|
366
383
|
command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse
|
|
@@ -368,6 +385,7 @@ module Google
|
|
|
368
385
|
command.query['filter'] = filter unless filter.nil?
|
|
369
386
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
370
387
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
388
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
371
389
|
command.query['fields'] = fields unless fields.nil?
|
|
372
390
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
373
391
|
execute_or_queue_command(command, &block)
|
|
@@ -703,6 +721,14 @@ module Google
|
|
|
703
721
|
# The standard list page size.
|
|
704
722
|
# @param [String] page_token
|
|
705
723
|
# The standard list page token.
|
|
724
|
+
# @param [Boolean] return_partial_success
|
|
725
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
726
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
727
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
728
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
729
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
730
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
731
|
+
# documentation.
|
|
706
732
|
# @param [String] fields
|
|
707
733
|
# Selector specifying which fields to include in a partial response.
|
|
708
734
|
# @param [String] quota_user
|
|
@@ -720,7 +746,7 @@ module Google
|
|
|
720
746
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
721
747
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
722
748
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
723
|
-
def list_organization_location_replay_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
749
|
+
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)
|
|
724
750
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
725
751
|
command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse::Representation
|
|
726
752
|
command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse
|
|
@@ -728,6 +754,7 @@ module Google
|
|
|
728
754
|
command.query['filter'] = filter unless filter.nil?
|
|
729
755
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
730
756
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
757
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
731
758
|
command.query['fields'] = fields unless fields.nil?
|
|
732
759
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
733
760
|
execute_or_queue_command(command, &block)
|
|
@@ -948,6 +975,14 @@ module Google
|
|
|
948
975
|
# The standard list page size.
|
|
949
976
|
# @param [String] page_token
|
|
950
977
|
# The standard list page token.
|
|
978
|
+
# @param [Boolean] return_partial_success
|
|
979
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
980
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
981
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
982
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
983
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
984
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
985
|
+
# documentation.
|
|
951
986
|
# @param [String] fields
|
|
952
987
|
# Selector specifying which fields to include in a partial response.
|
|
953
988
|
# @param [String] quota_user
|
|
@@ -965,7 +1000,7 @@ module Google
|
|
|
965
1000
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
966
1001
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
967
1002
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
968
|
-
def list_project_location_replay_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1003
|
+
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)
|
|
969
1004
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
970
1005
|
command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse::Representation
|
|
971
1006
|
command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse
|
|
@@ -973,6 +1008,7 @@ module Google
|
|
|
973
1008
|
command.query['filter'] = filter unless filter.nil?
|
|
974
1009
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
975
1010
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1011
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
976
1012
|
command.query['fields'] = fields unless fields.nil?
|
|
977
1013
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
978
1014
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-policysimulator_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.48.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_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1/v0.48.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policysimulator_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|