google-apis-policysimulator_v1 0.21.0 → 0.22.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: 158208a13aa6de145632c831d00ae760df0f440ab76ad83e40d023bc654ec795
4
- data.tar.gz: f0383bf86f8cac3d89b6dfe13f4947998f71c97f7478d12dacb9bd839628a4d6
3
+ metadata.gz: 83723cf05577cb88bab32c5982d09204fecc5c3d33f0c0cc21288d501e0fd88e
4
+ data.tar.gz: 909157b638a2e75042ea1de4b6138f3a47581e9d2e4d94de67e4ccd96342056e
5
5
  SHA512:
6
- metadata.gz: 03fe6382fc10826c0a35f35469b874bbfeeb7c2c5e8453b1489fd72946a052711dc6c72f23083f8fa361f55159d48daa4d9f9c661f3f08ea5c186b250210080d
7
- data.tar.gz: 03ff2b3dc4772e975e5bbfbba046fa1ca8bd8b61e85ca386f6141a757f1801255858d2257db0b8fef0071406106dcdc7bea09c1912638afd4f9b19c54bd70fe1
6
+ metadata.gz: a7fc200f85b1e3e92debd768bba1d5534f969965b6f50be9f442666fd68623dfbb632e9a410430608a567031df8739cea70ff3843e8033d7b2af48cabc88954f
7
+ data.tar.gz: b74d117f51ecf598a6e6720eef152fa446eefebb4db07d169ae19ca9ea72ee372c6b09172b7b9a898bca09d9a770f0676b4c8b817cab545dbd94ee8bedcd2433
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-policysimulator_v1
2
2
 
3
+ ### v0.22.0 (2022-11-16)
4
+
5
+ * Regenerated from discovery document revision 20221112
6
+
3
7
  ### v0.21.0 (2022-10-28)
4
8
 
5
9
  * Regenerated using generator version 0.11.0
@@ -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.21.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220826"
25
+ REVISION = "20221112"
26
26
  end
27
27
  end
28
28
  end
@@ -124,6 +124,83 @@ module Google
124
124
  execute_or_queue_command(command, &block)
125
125
  end
126
126
 
127
+ # Gets the latest state of a long-running operation. Clients can use this method
128
+ # to poll the operation result at intervals as recommended by the API service.
129
+ # @param [String] name
130
+ # The name of the operation resource.
131
+ # @param [String] fields
132
+ # Selector specifying which fields to include in a partial response.
133
+ # @param [String] quota_user
134
+ # Available to use for quota purposes for server-side applications. Can be any
135
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
136
+ # @param [Google::Apis::RequestOptions] options
137
+ # Request-specific options
138
+ #
139
+ # @yield [result, err] Result & error if block supplied
140
+ # @yieldparam result [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation] parsed result object
141
+ # @yieldparam err [StandardError] error object if request failed
142
+ #
143
+ # @return [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation]
144
+ #
145
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
146
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
147
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
148
+ def get_folder_location_replay_operation(name, fields: nil, quota_user: nil, options: nil, &block)
149
+ command = make_simple_command(:get, 'v1/{+name}', options)
150
+ command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation::Representation
151
+ command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation
152
+ command.params['name'] = name unless name.nil?
153
+ command.query['fields'] = fields unless fields.nil?
154
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
155
+ execute_or_queue_command(command, &block)
156
+ end
157
+
158
+ # Lists operations that match the specified filter in the request. If the server
159
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
160
+ # binding allows API services to override the binding to use different resource
161
+ # name schemes, such as `users/*/operations`. To override the binding, API
162
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
163
+ # service configuration. For backwards compatibility, the default name includes
164
+ # the operations collection id, however overriding users must ensure the name
165
+ # binding is the parent resource, without the operations collection id.
166
+ # @param [String] name
167
+ # The name of the operation's parent resource.
168
+ # @param [String] filter
169
+ # The standard list filter.
170
+ # @param [Fixnum] page_size
171
+ # The standard list page size.
172
+ # @param [String] page_token
173
+ # The standard list page token.
174
+ # @param [String] fields
175
+ # Selector specifying which fields to include in a partial response.
176
+ # @param [String] quota_user
177
+ # Available to use for quota purposes for server-side applications. Can be any
178
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
179
+ # @param [Google::Apis::RequestOptions] options
180
+ # Request-specific options
181
+ #
182
+ # @yield [result, err] Result & error if block supplied
183
+ # @yieldparam result [Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse] parsed result object
184
+ # @yieldparam err [StandardError] error object if request failed
185
+ #
186
+ # @return [Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse]
187
+ #
188
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
189
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
190
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
191
+ def list_folder_location_replay_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
192
+ command = make_simple_command(:get, 'v1/{+name}', options)
193
+ command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse::Representation
194
+ command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse
195
+ command.params['name'] = name unless name.nil?
196
+ command.query['filter'] = filter unless filter.nil?
197
+ command.query['pageSize'] = page_size unless page_size.nil?
198
+ command.query['pageToken'] = page_token unless page_token.nil?
199
+ command.query['fields'] = fields unless fields.nil?
200
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
201
+ execute_or_queue_command(command, &block)
202
+ end
203
+
127
204
  # Lists the results of running a Replay.
128
205
  # @param [String] parent
129
206
  # Required. The Replay whose results are listed, in the following format: ``
@@ -206,10 +283,10 @@ module Google
206
283
  # service configuration. For backwards compatibility, the default name includes
207
284
  # the operations collection id, however overriding users must ensure the name
208
285
  # binding is the parent resource, without the operations collection id.
209
- # @param [String] filter
210
- # The standard list filter.
211
286
  # @param [String] name
212
287
  # The name of the operation's parent resource.
288
+ # @param [String] filter
289
+ # The standard list filter.
213
290
  # @param [Fixnum] page_size
214
291
  # The standard list page size.
215
292
  # @param [String] page_token
@@ -231,12 +308,12 @@ module Google
231
308
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
232
309
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
233
310
  # @raise [Google::Apis::AuthorizationError] Authorization is required
234
- def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
235
- command = make_simple_command(:get, 'v1/operations', options)
311
+ def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
312
+ command = make_simple_command(:get, 'v1/{+name}', options)
236
313
  command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse::Representation
237
314
  command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse
315
+ command.params['name'] = name unless name.nil?
238
316
  command.query['filter'] = filter unless filter.nil?
239
- command.query['name'] = name unless name.nil?
240
317
  command.query['pageSize'] = page_size unless page_size.nil?
241
318
  command.query['pageToken'] = page_token unless page_token.nil?
242
319
  command.query['fields'] = fields unless fields.nil?
@@ -313,6 +390,83 @@ module Google
313
390
  execute_or_queue_command(command, &block)
314
391
  end
315
392
 
393
+ # Gets the latest state of a long-running operation. Clients can use this method
394
+ # to poll the operation result at intervals as recommended by the API service.
395
+ # @param [String] name
396
+ # The name of the operation resource.
397
+ # @param [String] fields
398
+ # Selector specifying which fields to include in a partial response.
399
+ # @param [String] quota_user
400
+ # Available to use for quota purposes for server-side applications. Can be any
401
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
402
+ # @param [Google::Apis::RequestOptions] options
403
+ # Request-specific options
404
+ #
405
+ # @yield [result, err] Result & error if block supplied
406
+ # @yieldparam result [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation] parsed result object
407
+ # @yieldparam err [StandardError] error object if request failed
408
+ #
409
+ # @return [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation]
410
+ #
411
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
412
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
413
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
414
+ def get_organization_location_replay_operation(name, fields: nil, quota_user: nil, options: nil, &block)
415
+ command = make_simple_command(:get, 'v1/{+name}', options)
416
+ command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation::Representation
417
+ command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation
418
+ command.params['name'] = name unless name.nil?
419
+ command.query['fields'] = fields unless fields.nil?
420
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
421
+ execute_or_queue_command(command, &block)
422
+ end
423
+
424
+ # Lists operations that match the specified filter in the request. If the server
425
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
426
+ # binding allows API services to override the binding to use different resource
427
+ # name schemes, such as `users/*/operations`. To override the binding, API
428
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
429
+ # service configuration. For backwards compatibility, the default name includes
430
+ # the operations collection id, however overriding users must ensure the name
431
+ # binding is the parent resource, without the operations collection id.
432
+ # @param [String] name
433
+ # The name of the operation's parent resource.
434
+ # @param [String] filter
435
+ # The standard list filter.
436
+ # @param [Fixnum] page_size
437
+ # The standard list page size.
438
+ # @param [String] page_token
439
+ # The standard list page token.
440
+ # @param [String] fields
441
+ # Selector specifying which fields to include in a partial response.
442
+ # @param [String] quota_user
443
+ # Available to use for quota purposes for server-side applications. Can be any
444
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
445
+ # @param [Google::Apis::RequestOptions] options
446
+ # Request-specific options
447
+ #
448
+ # @yield [result, err] Result & error if block supplied
449
+ # @yieldparam result [Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse] parsed result object
450
+ # @yieldparam err [StandardError] error object if request failed
451
+ #
452
+ # @return [Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse]
453
+ #
454
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
455
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
456
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
457
+ def list_organization_location_replay_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
458
+ command = make_simple_command(:get, 'v1/{+name}', options)
459
+ command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse::Representation
460
+ command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse
461
+ command.params['name'] = name unless name.nil?
462
+ command.query['filter'] = filter unless filter.nil?
463
+ command.query['pageSize'] = page_size unless page_size.nil?
464
+ command.query['pageToken'] = page_token unless page_token.nil?
465
+ command.query['fields'] = fields unless fields.nil?
466
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
467
+ execute_or_queue_command(command, &block)
468
+ end
469
+
316
470
  # Lists the results of running a Replay.
317
471
  # @param [String] parent
318
472
  # Required. The Replay whose results are listed, in the following format: ``
@@ -425,6 +579,83 @@ module Google
425
579
  execute_or_queue_command(command, &block)
426
580
  end
427
581
 
582
+ # Gets the latest state of a long-running operation. Clients can use this method
583
+ # to poll the operation result at intervals as recommended by the API service.
584
+ # @param [String] name
585
+ # The name of the operation resource.
586
+ # @param [String] fields
587
+ # Selector specifying which fields to include in a partial response.
588
+ # @param [String] quota_user
589
+ # Available to use for quota purposes for server-side applications. Can be any
590
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
591
+ # @param [Google::Apis::RequestOptions] options
592
+ # Request-specific options
593
+ #
594
+ # @yield [result, err] Result & error if block supplied
595
+ # @yieldparam result [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation] parsed result object
596
+ # @yieldparam err [StandardError] error object if request failed
597
+ #
598
+ # @return [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation]
599
+ #
600
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
601
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
602
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
603
+ def get_project_location_replay_operation(name, fields: nil, quota_user: nil, options: nil, &block)
604
+ command = make_simple_command(:get, 'v1/{+name}', options)
605
+ command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation::Representation
606
+ command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation
607
+ command.params['name'] = name unless name.nil?
608
+ command.query['fields'] = fields unless fields.nil?
609
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
610
+ execute_or_queue_command(command, &block)
611
+ end
612
+
613
+ # Lists operations that match the specified filter in the request. If the server
614
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
615
+ # binding allows API services to override the binding to use different resource
616
+ # name schemes, such as `users/*/operations`. To override the binding, API
617
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
618
+ # service configuration. For backwards compatibility, the default name includes
619
+ # the operations collection id, however overriding users must ensure the name
620
+ # binding is the parent resource, without the operations collection id.
621
+ # @param [String] name
622
+ # The name of the operation's parent resource.
623
+ # @param [String] filter
624
+ # The standard list filter.
625
+ # @param [Fixnum] page_size
626
+ # The standard list page size.
627
+ # @param [String] page_token
628
+ # The standard list page token.
629
+ # @param [String] fields
630
+ # Selector specifying which fields to include in a partial response.
631
+ # @param [String] quota_user
632
+ # Available to use for quota purposes for server-side applications. Can be any
633
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
634
+ # @param [Google::Apis::RequestOptions] options
635
+ # Request-specific options
636
+ #
637
+ # @yield [result, err] Result & error if block supplied
638
+ # @yieldparam result [Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse] parsed result object
639
+ # @yieldparam err [StandardError] error object if request failed
640
+ #
641
+ # @return [Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse]
642
+ #
643
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
644
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
645
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
646
+ def list_project_location_replay_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
647
+ command = make_simple_command(:get, 'v1/{+name}', options)
648
+ command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse::Representation
649
+ command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse
650
+ command.params['name'] = name unless name.nil?
651
+ command.query['filter'] = filter unless filter.nil?
652
+ command.query['pageSize'] = page_size unless page_size.nil?
653
+ command.query['pageToken'] = page_token unless page_token.nil?
654
+ command.query['fields'] = fields unless fields.nil?
655
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
656
+ execute_or_queue_command(command, &block)
657
+ end
658
+
428
659
  # Lists the results of running a Replay.
429
660
  # @param [String] parent
430
661
  # Required. The Replay whose results are listed, in the following format: ``
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-policysimulator_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-31 00:00:00.000000000 Z
11
+ date: 2022-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policysimulator_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1/v0.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1/v0.22.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policysimulator_v1
63
63
  post_install_message:
64
64
  rdoc_options: []