google-apis-policysimulator_v1 0.45.0 → 0.47.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aa6ff395bfac4b937410f7d49b36415660652a817268e1e4f5d23527de8ee597
4
- data.tar.gz: e172b317442a976a986d1b11420db42d2c7e79072c83ee7606247cc9d110e54e
3
+ metadata.gz: e63d7b832f515f3e6a5df7897d7b9e9d57b4a814dc32e4e96e1c1f3b33207fa7
4
+ data.tar.gz: 12c198c1c1f5b50604a086f189f236ebe05a9b2a707d1a1ccee2b002409345e3
5
5
  SHA512:
6
- metadata.gz: 7af6538902f170603d4b17c3f47eecb23385b73f4f4d336db3be84b8ac43a8e46a93828ff0bbc99da7d6fb2239f3b34d481cc0f6ecf19b86c239112845be8a86
7
- data.tar.gz: ef8f2af10505e9125b7ec3e9c76a0bd8fd7c532ede9e0e10eb703bd392e28ce0a5e8bed2446ee242b5260e347e550da21a6ed5fcde3c977e0b2e86affab637c4
6
+ metadata.gz: 0d47709f22d73b1da3fd11a8af2a8578afe4ed98511c38c012729d13cec96dc60c9c9bf8556c2bfc16aaa9200ae84e083ef8a0c45ec8bf2c4e25d98c1f1d09f8
7
+ data.tar.gz: '08370cbbe74eb64f753e50762c090f47fb798af6a9f6670865411d011f3798aa411fce139780dc149a53d35e5922f4781871d02514ae043577240d74b84a7000'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-policysimulator_v1
2
2
 
3
+ ### v0.47.0 (2025-10-12)
4
+
5
+ * Regenerated from discovery document revision 20251002
6
+
7
+ ### v0.46.0 (2025-08-24)
8
+
9
+ * Regenerated from discovery document revision 20250815
10
+
3
11
  ### v0.45.0 (2025-07-06)
4
12
 
5
13
  * Regenerated from discovery document revision 20250626
@@ -294,8 +294,8 @@ module Google
294
294
 
295
295
  # Optional. Required for managed constraints if parameters are defined. Passes
296
296
  # parameter values when policy enforcement is enabled. Ensure that parameter
297
- # value types match those defined in the constraint definition. For example: ` "
298
- # allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true `
297
+ # value types match those defined in the constraint definition. For example: ```
298
+ # ` "allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true ` ```
299
299
  # Corresponds to the JSON property `parameters`
300
300
  # @return [Hash<String,Object>]
301
301
  attr_accessor :parameters
@@ -1910,6 +1910,13 @@ 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 e.g.
1915
+ # when attempting to list all resources across all supported locations.
1916
+ # Corresponds to the JSON property `unreachable`
1917
+ # @return [Array<String>]
1918
+ attr_accessor :unreachable
1919
+
1913
1920
  def initialize(**args)
1914
1921
  update!(**args)
1915
1922
  end
@@ -1918,6 +1925,7 @@ module Google
1918
1925
  def update!(**args)
1919
1926
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1920
1927
  @operations = args[:operations] if args.key?(:operations)
1928
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1921
1929
  end
1922
1930
  end
1923
1931
 
@@ -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.45.0"
19
+ GEM_VERSION = "0.47.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 = "20250626"
25
+ REVISION = "20251002"
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,13 @@ 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 e.
236
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
237
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
238
+ # explicitly documented otherwise in service or product specific documentation.
232
239
  # @param [String] fields
233
240
  # Selector specifying which fields to include in a partial response.
234
241
  # @param [String] quota_user
@@ -246,7 +253,7 @@ module Google
246
253
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
247
254
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
248
255
  # @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)
256
+ 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
257
  command = make_simple_command(:get, 'v1/{+name}', options)
251
258
  command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse::Representation
252
259
  command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse
@@ -254,6 +261,7 @@ module Google
254
261
  command.query['filter'] = filter unless filter.nil?
255
262
  command.query['pageSize'] = page_size unless page_size.nil?
256
263
  command.query['pageToken'] = page_token unless page_token.nil?
264
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
257
265
  command.query['fields'] = fields unless fields.nil?
258
266
  command.query['quotaUser'] = quota_user unless quota_user.nil?
259
267
  execute_or_queue_command(command, &block)
@@ -343,6 +351,13 @@ module Google
343
351
  # The standard list page size.
344
352
  # @param [String] page_token
345
353
  # The standard list page token.
354
+ # @param [Boolean] return_partial_success
355
+ # When set to `true`, operations that are reachable are returned as normal, and
356
+ # those that are unreachable are returned in the [ListOperationsResponse.
357
+ # unreachable] field. This can only be `true` when reading across collections e.
358
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
359
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
360
+ # explicitly documented otherwise in service or product specific documentation.
346
361
  # @param [String] fields
347
362
  # Selector specifying which fields to include in a partial response.
348
363
  # @param [String] quota_user
@@ -360,7 +375,7 @@ module Google
360
375
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
361
376
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
362
377
  # @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)
378
+ 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
379
  command = make_simple_command(:get, 'v1/{+name}', options)
365
380
  command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse::Representation
366
381
  command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse
@@ -368,6 +383,7 @@ module Google
368
383
  command.query['filter'] = filter unless filter.nil?
369
384
  command.query['pageSize'] = page_size unless page_size.nil?
370
385
  command.query['pageToken'] = page_token unless page_token.nil?
386
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
371
387
  command.query['fields'] = fields unless fields.nil?
372
388
  command.query['quotaUser'] = quota_user unless quota_user.nil?
373
389
  execute_or_queue_command(command, &block)
@@ -703,6 +719,13 @@ module Google
703
719
  # The standard list page size.
704
720
  # @param [String] page_token
705
721
  # The standard list page token.
722
+ # @param [Boolean] return_partial_success
723
+ # When set to `true`, operations that are reachable are returned as normal, and
724
+ # those that are unreachable are returned in the [ListOperationsResponse.
725
+ # unreachable] field. This can only be `true` when reading across collections e.
726
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
727
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
728
+ # explicitly documented otherwise in service or product specific documentation.
706
729
  # @param [String] fields
707
730
  # Selector specifying which fields to include in a partial response.
708
731
  # @param [String] quota_user
@@ -720,7 +743,7 @@ module Google
720
743
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
721
744
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
722
745
  # @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)
746
+ 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
747
  command = make_simple_command(:get, 'v1/{+name}', options)
725
748
  command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse::Representation
726
749
  command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse
@@ -728,6 +751,7 @@ module Google
728
751
  command.query['filter'] = filter unless filter.nil?
729
752
  command.query['pageSize'] = page_size unless page_size.nil?
730
753
  command.query['pageToken'] = page_token unless page_token.nil?
754
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
731
755
  command.query['fields'] = fields unless fields.nil?
732
756
  command.query['quotaUser'] = quota_user unless quota_user.nil?
733
757
  execute_or_queue_command(command, &block)
@@ -948,6 +972,13 @@ module Google
948
972
  # The standard list page size.
949
973
  # @param [String] page_token
950
974
  # The standard list page token.
975
+ # @param [Boolean] return_partial_success
976
+ # When set to `true`, operations that are reachable are returned as normal, and
977
+ # those that are unreachable are returned in the [ListOperationsResponse.
978
+ # unreachable] field. This can only be `true` when reading across collections e.
979
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
980
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
981
+ # explicitly documented otherwise in service or product specific documentation.
951
982
  # @param [String] fields
952
983
  # Selector specifying which fields to include in a partial response.
953
984
  # @param [String] quota_user
@@ -965,7 +996,7 @@ module Google
965
996
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
966
997
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
967
998
  # @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)
999
+ 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
1000
  command = make_simple_command(:get, 'v1/{+name}', options)
970
1001
  command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse::Representation
971
1002
  command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse
@@ -973,6 +1004,7 @@ module Google
973
1004
  command.query['filter'] = filter unless filter.nil?
974
1005
  command.query['pageSize'] = page_size unless page_size.nil?
975
1006
  command.query['pageToken'] = page_token unless page_token.nil?
1007
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
976
1008
  command.query['fields'] = fields unless fields.nil?
977
1009
  command.query['quotaUser'] = quota_user unless quota_user.nil?
978
1010
  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.45.0
4
+ version: 0.47.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.45.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1/v0.47.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: