google-apis-policysimulator_v1beta1 0.25.0 → 0.27.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3604e345e442818def4e029b43edd097d726172d81279fb14b09671611037221
4
- data.tar.gz: ccdd20d25fe6af5e8b20519f3c15bd4a3576342ea515dfcf2e242bd13fa5f84e
3
+ metadata.gz: a72bc8e6956b36d91f3199ebbb528ced1b97d45a6539567ec93ad2ac2d9069d5
4
+ data.tar.gz: d9b0ed076ee42614dc00b9a0eada145510b12ebf7dcd8ffefb18b566f4acf49b
5
5
  SHA512:
6
- metadata.gz: 95939029ececea26ef4d7dd855f6fce81ab6c34b0d5458714f692067abbbd5504daa9b8598b44791846a5ecdfef5236ee6f5e9bedee924f42e509cab6b7321ae
7
- data.tar.gz: b1325bf76aaf7e12a01e4e8baf2be0f890af8777e3165f4be8aea1010b99e11a174cdc20ba16fb2c2ba01d8008da53eb39174be06b7e00a2c54677c2e1739516
6
+ metadata.gz: f72c3d5b022aeeffbd5105d4857fde743c6574dd8b01b40a87e07491aaaab39328e371ccc83adafb2cbc470c0922bf2b2534bc3fa8bf09bd1d596c6ba62754af
7
+ data.tar.gz: 33491bd99d52055f2c7787d17a39bc4ad97a37c931e0d0a2728f7b7050c41ab5a61d9adf11f189c3e19403510a11f29d284b1ef2c789ca8f2515206db2611a94
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-policysimulator_v1beta1
2
2
 
3
+ ### v0.27.0 (2023-02-15)
4
+
5
+ * Regenerated using generator version 0.12.0
6
+
7
+ ### v0.26.0 (2022-11-15)
8
+
9
+ * Regenerated from discovery document revision 20221112
10
+
3
11
  ### v0.25.0 (2022-10-27)
4
12
 
5
13
  * Regenerated using generator version 0.11.0
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module PolicysimulatorV1beta1
18
18
  # Version of the google-apis-policysimulator_v1beta1 gem
19
- GEM_VERSION = "0.25.0"
19
+ GEM_VERSION = "0.27.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 = "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::PolicysimulatorV1beta1::GoogleLongrunningOperation] parsed result object
141
+ # @yieldparam err [StandardError] error object if request failed
142
+ #
143
+ # @return [Google::Apis::PolicysimulatorV1beta1::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, 'v1beta1/{+name}', options)
150
+ command.response_representation = Google::Apis::PolicysimulatorV1beta1::GoogleLongrunningOperation::Representation
151
+ command.response_class = Google::Apis::PolicysimulatorV1beta1::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::PolicysimulatorV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
184
+ # @yieldparam err [StandardError] error object if request failed
185
+ #
186
+ # @return [Google::Apis::PolicysimulatorV1beta1::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, 'v1beta1/{+name}', options)
193
+ command.response_representation = Google::Apis::PolicysimulatorV1beta1::GoogleLongrunningListOperationsResponse::Representation
194
+ command.response_class = Google::Apis::PolicysimulatorV1beta1::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, 'v1beta1/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, 'v1beta1/{+name}', options)
236
313
  command.response_representation = Google::Apis::PolicysimulatorV1beta1::GoogleLongrunningListOperationsResponse::Representation
237
314
  command.response_class = Google::Apis::PolicysimulatorV1beta1::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::PolicysimulatorV1beta1::GoogleLongrunningOperation] parsed result object
407
+ # @yieldparam err [StandardError] error object if request failed
408
+ #
409
+ # @return [Google::Apis::PolicysimulatorV1beta1::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, 'v1beta1/{+name}', options)
416
+ command.response_representation = Google::Apis::PolicysimulatorV1beta1::GoogleLongrunningOperation::Representation
417
+ command.response_class = Google::Apis::PolicysimulatorV1beta1::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::PolicysimulatorV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
450
+ # @yieldparam err [StandardError] error object if request failed
451
+ #
452
+ # @return [Google::Apis::PolicysimulatorV1beta1::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, 'v1beta1/{+name}', options)
459
+ command.response_representation = Google::Apis::PolicysimulatorV1beta1::GoogleLongrunningListOperationsResponse::Representation
460
+ command.response_class = Google::Apis::PolicysimulatorV1beta1::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::PolicysimulatorV1beta1::GoogleLongrunningOperation] parsed result object
596
+ # @yieldparam err [StandardError] error object if request failed
597
+ #
598
+ # @return [Google::Apis::PolicysimulatorV1beta1::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, 'v1beta1/{+name}', options)
605
+ command.response_representation = Google::Apis::PolicysimulatorV1beta1::GoogleLongrunningOperation::Representation
606
+ command.response_class = Google::Apis::PolicysimulatorV1beta1::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::PolicysimulatorV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
639
+ # @yieldparam err [StandardError] error object if request failed
640
+ #
641
+ # @return [Google::Apis::PolicysimulatorV1beta1::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, 'v1beta1/{+name}', options)
648
+ command.response_representation = Google::Apis::PolicysimulatorV1beta1::GoogleLongrunningListOperationsResponse::Representation
649
+ command.response_class = Google::Apis::PolicysimulatorV1beta1::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_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.27.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-19 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1beta1/v0.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1beta1/v0.27.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policysimulator_v1beta1
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 V1beta1