google-apis-policysimulator_v1 0.21.0 → 0.23.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: 9f203566f9d61f7c510686ecf5a1975b9bf2e583857e91b36767a744e5ee103a
4
+ data.tar.gz: 838248a9f8b544c6a2fb9be5e41c0b34269b2a3ae1265d808a9104fb9ca7e2af
5
5
  SHA512:
6
- metadata.gz: 03fe6382fc10826c0a35f35469b874bbfeeb7c2c5e8453b1489fd72946a052711dc6c72f23083f8fa361f55159d48daa4d9f9c661f3f08ea5c186b250210080d
7
- data.tar.gz: 03ff2b3dc4772e975e5bbfbba046fa1ca8bd8b61e85ca386f6141a757f1801255858d2257db0b8fef0071406106dcdc7bea09c1912638afd4f9b19c54bd70fe1
6
+ metadata.gz: e80cc298a6350d501d35e7bc0d4bb2c24a676da8366560561c27a84dba7a769edacf83eb59a18173eb9e2d54d5ed436f9189c3351b9c7c051927e1a81e6e37a9
7
+ data.tar.gz: 72818da53de1cf94644b751dcd34b35e63e4ac6fce68536b9b3d00d825dc79e50b362144188fd520d5cedbda5b1e376f4ecf039e60fb673cc5869dc9f2dc1960
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-policysimulator_v1
2
2
 
3
+ ### v0.23.0 (2023-02-26)
4
+
5
+ * Regenerated from discovery document revision 20230219
6
+ * Regenerated using generator version 0.12.0
7
+
8
+ ### v0.22.0 (2022-11-16)
9
+
10
+ * Regenerated from discovery document revision 20221112
11
+
3
12
  ### v0.21.0 (2022-10-28)
4
13
 
5
14
  * Regenerated using generator version 0.11.0
@@ -879,22 +879,22 @@ module Google
879
879
  # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
880
880
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
881
881
  # email address that represents a Google group. For example, `admins@example.com`
882
- # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
883
- # identifier) representing a user that has been recently deleted. For example, `
884
- # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
885
- # value reverts to `user:`emailid`` and the recovered user retains the role in
886
- # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
887
- # address (plus unique identifier) representing a service account that has been
888
- # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
882
+ # . * `domain:`domain``: The G Suite domain (primary) that represents all the
883
+ # users of that domain. For example, `google.com` or `example.com`. * `deleted:
884
+ # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
885
+ # representing a user that has been recently deleted. For example, `alice@
886
+ # example.com?uid=123456789012345678901`. If the user is recovered, this value
887
+ # reverts to `user:`emailid`` and the recovered user retains the role in the
888
+ # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
889
+ # (plus unique identifier) representing a service account that has been recently
890
+ # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
889
891
  # 123456789012345678901`. If the service account is undeleted, this value
890
892
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
891
893
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
892
894
  # An email address (plus unique identifier) representing a Google group that has
893
895
  # been recently deleted. For example, `admins@example.com?uid=
894
896
  # 123456789012345678901`. If the group is recovered, this value reverts to `
895
- # group:`emailid`` and the recovered group retains the role in the binding. * `
896
- # domain:`domain``: The G Suite domain (primary) that represents all the users
897
- # of that domain. For example, `google.com` or `example.com`.
897
+ # group:`emailid`` and the recovered group retains the role in the binding.
898
898
  # Corresponds to the JSON property `members`
899
899
  # @return [Array<String>]
900
900
  attr_accessor :members
@@ -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.23.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220826"
25
+ REVISION = "20230219"
26
26
  end
27
27
  end
28
28
  end
@@ -55,6 +55,37 @@ module Google
55
55
  @batch_path = 'batch'
56
56
  end
57
57
 
58
+ # Gets the latest state of a long-running operation. Clients can use this method
59
+ # to poll the operation result at intervals as recommended by the API service.
60
+ # @param [String] name
61
+ # The name of the operation resource.
62
+ # @param [String] fields
63
+ # Selector specifying which fields to include in a partial response.
64
+ # @param [String] quota_user
65
+ # Available to use for quota purposes for server-side applications. Can be any
66
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
67
+ # @param [Google::Apis::RequestOptions] options
68
+ # Request-specific options
69
+ #
70
+ # @yield [result, err] Result & error if block supplied
71
+ # @yieldparam result [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation] parsed result object
72
+ # @yieldparam err [StandardError] error object if request failed
73
+ #
74
+ # @return [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation]
75
+ #
76
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
77
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
78
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
79
+ def get_folder_location_org_policy_violations_preview_operation(name, fields: nil, quota_user: nil, options: nil, &block)
80
+ command = make_simple_command(:get, 'v1/{+name}', options)
81
+ command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation::Representation
82
+ command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation
83
+ command.params['name'] = name unless name.nil?
84
+ command.query['fields'] = fields unless fields.nil?
85
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
86
+ execute_or_queue_command(command, &block)
87
+ end
88
+
58
89
  # Creates and starts a Replay using the given ReplayConfig.
59
90
  # @param [String] parent
60
91
  # Required. The parent resource where this Replay will be created. This resource
@@ -124,6 +155,83 @@ module Google
124
155
  execute_or_queue_command(command, &block)
125
156
  end
126
157
 
158
+ # Gets the latest state of a long-running operation. Clients can use this method
159
+ # to poll the operation result at intervals as recommended by the API service.
160
+ # @param [String] name
161
+ # The name of the operation resource.
162
+ # @param [String] fields
163
+ # Selector specifying which fields to include in a partial response.
164
+ # @param [String] quota_user
165
+ # Available to use for quota purposes for server-side applications. Can be any
166
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
167
+ # @param [Google::Apis::RequestOptions] options
168
+ # Request-specific options
169
+ #
170
+ # @yield [result, err] Result & error if block supplied
171
+ # @yieldparam result [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation] parsed result object
172
+ # @yieldparam err [StandardError] error object if request failed
173
+ #
174
+ # @return [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation]
175
+ #
176
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
177
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
178
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
179
+ def get_folder_location_replay_operation(name, fields: nil, quota_user: nil, options: nil, &block)
180
+ command = make_simple_command(:get, 'v1/{+name}', options)
181
+ command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation::Representation
182
+ command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation
183
+ command.params['name'] = name unless name.nil?
184
+ command.query['fields'] = fields unless fields.nil?
185
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
186
+ execute_or_queue_command(command, &block)
187
+ end
188
+
189
+ # Lists operations that match the specified filter in the request. If the server
190
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
191
+ # binding allows API services to override the binding to use different resource
192
+ # name schemes, such as `users/*/operations`. To override the binding, API
193
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
194
+ # service configuration. For backwards compatibility, the default name includes
195
+ # the operations collection id, however overriding users must ensure the name
196
+ # binding is the parent resource, without the operations collection id.
197
+ # @param [String] name
198
+ # The name of the operation's parent resource.
199
+ # @param [String] filter
200
+ # The standard list filter.
201
+ # @param [Fixnum] page_size
202
+ # The standard list page size.
203
+ # @param [String] page_token
204
+ # The standard list page token.
205
+ # @param [String] fields
206
+ # Selector specifying which fields to include in a partial response.
207
+ # @param [String] quota_user
208
+ # Available to use for quota purposes for server-side applications. Can be any
209
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
210
+ # @param [Google::Apis::RequestOptions] options
211
+ # Request-specific options
212
+ #
213
+ # @yield [result, err] Result & error if block supplied
214
+ # @yieldparam result [Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse] parsed result object
215
+ # @yieldparam err [StandardError] error object if request failed
216
+ #
217
+ # @return [Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse]
218
+ #
219
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
220
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
221
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
222
+ def list_folder_location_replay_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
223
+ command = make_simple_command(:get, 'v1/{+name}', options)
224
+ command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse::Representation
225
+ command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse
226
+ command.params['name'] = name unless name.nil?
227
+ command.query['filter'] = filter unless filter.nil?
228
+ command.query['pageSize'] = page_size unless page_size.nil?
229
+ command.query['pageToken'] = page_token unless page_token.nil?
230
+ command.query['fields'] = fields unless fields.nil?
231
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
232
+ execute_or_queue_command(command, &block)
233
+ end
234
+
127
235
  # Lists the results of running a Replay.
128
236
  # @param [String] parent
129
237
  # Required. The Replay whose results are listed, in the following format: ``
@@ -206,10 +314,10 @@ module Google
206
314
  # service configuration. For backwards compatibility, the default name includes
207
315
  # the operations collection id, however overriding users must ensure the name
208
316
  # binding is the parent resource, without the operations collection id.
209
- # @param [String] filter
210
- # The standard list filter.
211
317
  # @param [String] name
212
318
  # The name of the operation's parent resource.
319
+ # @param [String] filter
320
+ # The standard list filter.
213
321
  # @param [Fixnum] page_size
214
322
  # The standard list page size.
215
323
  # @param [String] page_token
@@ -231,12 +339,12 @@ module Google
231
339
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
232
340
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
233
341
  # @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)
342
+ def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
343
+ command = make_simple_command(:get, 'v1/{+name}', options)
236
344
  command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse::Representation
237
345
  command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse
346
+ command.params['name'] = name unless name.nil?
238
347
  command.query['filter'] = filter unless filter.nil?
239
- command.query['name'] = name unless name.nil?
240
348
  command.query['pageSize'] = page_size unless page_size.nil?
241
349
  command.query['pageToken'] = page_token unless page_token.nil?
242
350
  command.query['fields'] = fields unless fields.nil?
@@ -244,6 +352,37 @@ module Google
244
352
  execute_or_queue_command(command, &block)
245
353
  end
246
354
 
355
+ # Gets the latest state of a long-running operation. Clients can use this method
356
+ # to poll the operation result at intervals as recommended by the API service.
357
+ # @param [String] name
358
+ # The name of the operation resource.
359
+ # @param [String] fields
360
+ # Selector specifying which fields to include in a partial response.
361
+ # @param [String] quota_user
362
+ # Available to use for quota purposes for server-side applications. Can be any
363
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
364
+ # @param [Google::Apis::RequestOptions] options
365
+ # Request-specific options
366
+ #
367
+ # @yield [result, err] Result & error if block supplied
368
+ # @yieldparam result [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation] parsed result object
369
+ # @yieldparam err [StandardError] error object if request failed
370
+ #
371
+ # @return [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation]
372
+ #
373
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
374
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
375
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
376
+ def get_organization_location_org_policy_violations_preview_operation(name, fields: nil, quota_user: nil, options: nil, &block)
377
+ command = make_simple_command(:get, 'v1/{+name}', options)
378
+ command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation::Representation
379
+ command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation
380
+ command.params['name'] = name unless name.nil?
381
+ command.query['fields'] = fields unless fields.nil?
382
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
383
+ execute_or_queue_command(command, &block)
384
+ end
385
+
247
386
  # Creates and starts a Replay using the given ReplayConfig.
248
387
  # @param [String] parent
249
388
  # Required. The parent resource where this Replay will be created. This resource
@@ -313,6 +452,83 @@ module Google
313
452
  execute_or_queue_command(command, &block)
314
453
  end
315
454
 
455
+ # Gets the latest state of a long-running operation. Clients can use this method
456
+ # to poll the operation result at intervals as recommended by the API service.
457
+ # @param [String] name
458
+ # The name of the operation resource.
459
+ # @param [String] fields
460
+ # Selector specifying which fields to include in a partial response.
461
+ # @param [String] quota_user
462
+ # Available to use for quota purposes for server-side applications. Can be any
463
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
464
+ # @param [Google::Apis::RequestOptions] options
465
+ # Request-specific options
466
+ #
467
+ # @yield [result, err] Result & error if block supplied
468
+ # @yieldparam result [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation] parsed result object
469
+ # @yieldparam err [StandardError] error object if request failed
470
+ #
471
+ # @return [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation]
472
+ #
473
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
474
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
475
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
476
+ def get_organization_location_replay_operation(name, fields: nil, quota_user: nil, options: nil, &block)
477
+ command = make_simple_command(:get, 'v1/{+name}', options)
478
+ command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation::Representation
479
+ command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation
480
+ command.params['name'] = name unless name.nil?
481
+ command.query['fields'] = fields unless fields.nil?
482
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
483
+ execute_or_queue_command(command, &block)
484
+ end
485
+
486
+ # Lists operations that match the specified filter in the request. If the server
487
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
488
+ # binding allows API services to override the binding to use different resource
489
+ # name schemes, such as `users/*/operations`. To override the binding, API
490
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
491
+ # service configuration. For backwards compatibility, the default name includes
492
+ # the operations collection id, however overriding users must ensure the name
493
+ # binding is the parent resource, without the operations collection id.
494
+ # @param [String] name
495
+ # The name of the operation's parent resource.
496
+ # @param [String] filter
497
+ # The standard list filter.
498
+ # @param [Fixnum] page_size
499
+ # The standard list page size.
500
+ # @param [String] page_token
501
+ # The standard list page token.
502
+ # @param [String] fields
503
+ # Selector specifying which fields to include in a partial response.
504
+ # @param [String] quota_user
505
+ # Available to use for quota purposes for server-side applications. Can be any
506
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
507
+ # @param [Google::Apis::RequestOptions] options
508
+ # Request-specific options
509
+ #
510
+ # @yield [result, err] Result & error if block supplied
511
+ # @yieldparam result [Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse] parsed result object
512
+ # @yieldparam err [StandardError] error object if request failed
513
+ #
514
+ # @return [Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse]
515
+ #
516
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
517
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
518
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
519
+ def list_organization_location_replay_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
520
+ command = make_simple_command(:get, 'v1/{+name}', options)
521
+ command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse::Representation
522
+ command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse
523
+ command.params['name'] = name unless name.nil?
524
+ command.query['filter'] = filter unless filter.nil?
525
+ command.query['pageSize'] = page_size unless page_size.nil?
526
+ command.query['pageToken'] = page_token unless page_token.nil?
527
+ command.query['fields'] = fields unless fields.nil?
528
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
529
+ execute_or_queue_command(command, &block)
530
+ end
531
+
316
532
  # Lists the results of running a Replay.
317
533
  # @param [String] parent
318
534
  # Required. The Replay whose results are listed, in the following format: ``
@@ -356,6 +572,37 @@ module Google
356
572
  execute_or_queue_command(command, &block)
357
573
  end
358
574
 
575
+ # Gets the latest state of a long-running operation. Clients can use this method
576
+ # to poll the operation result at intervals as recommended by the API service.
577
+ # @param [String] name
578
+ # The name of the operation resource.
579
+ # @param [String] fields
580
+ # Selector specifying which fields to include in a partial response.
581
+ # @param [String] quota_user
582
+ # Available to use for quota purposes for server-side applications. Can be any
583
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
584
+ # @param [Google::Apis::RequestOptions] options
585
+ # Request-specific options
586
+ #
587
+ # @yield [result, err] Result & error if block supplied
588
+ # @yieldparam result [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation] parsed result object
589
+ # @yieldparam err [StandardError] error object if request failed
590
+ #
591
+ # @return [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation]
592
+ #
593
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
594
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
595
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
596
+ def get_project_location_org_policy_violations_preview_operation(name, fields: nil, quota_user: nil, options: nil, &block)
597
+ command = make_simple_command(:get, 'v1/{+name}', options)
598
+ command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation::Representation
599
+ command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation
600
+ command.params['name'] = name unless name.nil?
601
+ command.query['fields'] = fields unless fields.nil?
602
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
603
+ execute_or_queue_command(command, &block)
604
+ end
605
+
359
606
  # Creates and starts a Replay using the given ReplayConfig.
360
607
  # @param [String] parent
361
608
  # Required. The parent resource where this Replay will be created. This resource
@@ -425,6 +672,83 @@ module Google
425
672
  execute_or_queue_command(command, &block)
426
673
  end
427
674
 
675
+ # Gets the latest state of a long-running operation. Clients can use this method
676
+ # to poll the operation result at intervals as recommended by the API service.
677
+ # @param [String] name
678
+ # The name of the operation resource.
679
+ # @param [String] fields
680
+ # Selector specifying which fields to include in a partial response.
681
+ # @param [String] quota_user
682
+ # Available to use for quota purposes for server-side applications. Can be any
683
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
684
+ # @param [Google::Apis::RequestOptions] options
685
+ # Request-specific options
686
+ #
687
+ # @yield [result, err] Result & error if block supplied
688
+ # @yieldparam result [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation] parsed result object
689
+ # @yieldparam err [StandardError] error object if request failed
690
+ #
691
+ # @return [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation]
692
+ #
693
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
694
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
695
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
696
+ def get_project_location_replay_operation(name, fields: nil, quota_user: nil, options: nil, &block)
697
+ command = make_simple_command(:get, 'v1/{+name}', options)
698
+ command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation::Representation
699
+ command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation
700
+ command.params['name'] = name unless name.nil?
701
+ command.query['fields'] = fields unless fields.nil?
702
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
703
+ execute_or_queue_command(command, &block)
704
+ end
705
+
706
+ # Lists operations that match the specified filter in the request. If the server
707
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
708
+ # binding allows API services to override the binding to use different resource
709
+ # name schemes, such as `users/*/operations`. To override the binding, API
710
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
711
+ # service configuration. For backwards compatibility, the default name includes
712
+ # the operations collection id, however overriding users must ensure the name
713
+ # binding is the parent resource, without the operations collection id.
714
+ # @param [String] name
715
+ # The name of the operation's parent resource.
716
+ # @param [String] filter
717
+ # The standard list filter.
718
+ # @param [Fixnum] page_size
719
+ # The standard list page size.
720
+ # @param [String] page_token
721
+ # The standard list page token.
722
+ # @param [String] fields
723
+ # Selector specifying which fields to include in a partial response.
724
+ # @param [String] quota_user
725
+ # Available to use for quota purposes for server-side applications. Can be any
726
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
727
+ # @param [Google::Apis::RequestOptions] options
728
+ # Request-specific options
729
+ #
730
+ # @yield [result, err] Result & error if block supplied
731
+ # @yieldparam result [Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse] parsed result object
732
+ # @yieldparam err [StandardError] error object if request failed
733
+ #
734
+ # @return [Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse]
735
+ #
736
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
737
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
738
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
739
+ def list_project_location_replay_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
740
+ command = make_simple_command(:get, 'v1/{+name}', options)
741
+ command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse::Representation
742
+ command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningListOperationsResponse
743
+ command.params['name'] = name unless name.nil?
744
+ command.query['filter'] = filter unless filter.nil?
745
+ command.query['pageSize'] = page_size unless page_size.nil?
746
+ command.query['pageToken'] = page_token unless page_token.nil?
747
+ command.query['fields'] = fields unless fields.nil?
748
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
749
+ execute_or_queue_command(command, &block)
750
+ end
751
+
428
752
  # Lists the results of running a Replay.
429
753
  # @param [String] parent
430
754
  # 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.23.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: 2023-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.1
19
+ version: 0.11.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.1
29
+ version: 0.11.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.23.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Policy Simulator API V1