google-apis-policysimulator_v1alpha 0.4.0 → 0.5.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: 12ec877f74cb676a346dd3323134415c43ea92dbfe463a3d274ad0e37b670622
4
- data.tar.gz: d6ee2aeba5bfb643d30a3179d8a264a2b6dc838158688bd093bc052d83bcab14
3
+ metadata.gz: 27e5084cae00bfd6118b5f28274cc85935520ddfd2b08342534186cea1b63196
4
+ data.tar.gz: 1ba2937a0684cce3286b84e90d255b6ad85ef39469746fae34ff8dc335b120dc
5
5
  SHA512:
6
- metadata.gz: d50692372434f12a138ca7b2bdb924848a4425217262fe2726133eb1c2c27b91d573682759240af866c22d350fab9c9ae328799c66378cf28ca9c04b6d3ae681
7
- data.tar.gz: 1d5ad07c710859e3300f0417dcc363961f688186aa8f23f0f5bb84444aeb56116bd7fade61d86959c2cf01b3077841e16e1e7950d7c4bc43769da9e705a9c9d0
6
+ metadata.gz: 6f674ba2db2263ad8c8ed21b4a1ce07ac9cfa13a09df06a2add2298b15922109d1d07ae4377a1fe2297ac220226e41388dcb03e04c4ba2d68350067cc88c58be
7
+ data.tar.gz: d64f6d04ded92924ca43c1d9c2702dd7558b035479e68d213921619b0dcd7cfd510558b25879e80330bc2b67633cfa77176762d34c598d23322a76c865ec59e8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-policysimulator_v1alpha
2
2
 
3
+ ### v0.5.0 (2022-11-16)
4
+
5
+ * Regenerated from discovery document revision 20221112
6
+
3
7
  ### v0.4.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 PolicysimulatorV1alpha
18
18
  # Version of the google-apis-policysimulator_v1alpha gem
19
- GEM_VERSION = "0.4.0"
19
+ GEM_VERSION = "0.5.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
@@ -55,6 +55,83 @@ 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::PolicysimulatorV1alpha::GoogleLongrunningOperation] parsed result object
72
+ # @yieldparam err [StandardError] error object if request failed
73
+ #
74
+ # @return [Google::Apis::PolicysimulatorV1alpha::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_replay_operation(name, fields: nil, quota_user: nil, options: nil, &block)
80
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
81
+ command.response_representation = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation::Representation
82
+ command.response_class = Google::Apis::PolicysimulatorV1alpha::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
+
89
+ # Lists operations that match the specified filter in the request. If the server
90
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
91
+ # binding allows API services to override the binding to use different resource
92
+ # name schemes, such as `users/*/operations`. To override the binding, API
93
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
94
+ # service configuration. For backwards compatibility, the default name includes
95
+ # the operations collection id, however overriding users must ensure the name
96
+ # binding is the parent resource, without the operations collection id.
97
+ # @param [String] name
98
+ # The name of the operation's parent resource.
99
+ # @param [String] filter
100
+ # The standard list filter.
101
+ # @param [Fixnum] page_size
102
+ # The standard list page size.
103
+ # @param [String] page_token
104
+ # The standard list page token.
105
+ # @param [String] fields
106
+ # Selector specifying which fields to include in a partial response.
107
+ # @param [String] quota_user
108
+ # Available to use for quota purposes for server-side applications. Can be any
109
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
110
+ # @param [Google::Apis::RequestOptions] options
111
+ # Request-specific options
112
+ #
113
+ # @yield [result, err] Result & error if block supplied
114
+ # @yieldparam result [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse] parsed result object
115
+ # @yieldparam err [StandardError] error object if request failed
116
+ #
117
+ # @return [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse]
118
+ #
119
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
120
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
121
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
122
+ def list_folder_location_replay_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
123
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
124
+ command.response_representation = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse::Representation
125
+ command.response_class = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse
126
+ command.params['name'] = name unless name.nil?
127
+ command.query['filter'] = filter unless filter.nil?
128
+ command.query['pageSize'] = page_size unless page_size.nil?
129
+ command.query['pageToken'] = page_token unless page_token.nil?
130
+ command.query['fields'] = fields unless fields.nil?
131
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
132
+ execute_or_queue_command(command, &block)
133
+ end
134
+
58
135
  # Gets the latest state of a long-running operation. Clients can use this method
59
136
  # to poll the operation result at intervals as recommended by the API service.
60
137
  # @param [String] name
@@ -94,10 +171,87 @@ module Google
94
171
  # service configuration. For backwards compatibility, the default name includes
95
172
  # the operations collection id, however overriding users must ensure the name
96
173
  # binding is the parent resource, without the operations collection id.
174
+ # @param [String] name
175
+ # The name of the operation's parent resource.
97
176
  # @param [String] filter
98
177
  # The standard list filter.
178
+ # @param [Fixnum] page_size
179
+ # The standard list page size.
180
+ # @param [String] page_token
181
+ # The standard list page token.
182
+ # @param [String] fields
183
+ # Selector specifying which fields to include in a partial response.
184
+ # @param [String] quota_user
185
+ # Available to use for quota purposes for server-side applications. Can be any
186
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
187
+ # @param [Google::Apis::RequestOptions] options
188
+ # Request-specific options
189
+ #
190
+ # @yield [result, err] Result & error if block supplied
191
+ # @yieldparam result [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse] parsed result object
192
+ # @yieldparam err [StandardError] error object if request failed
193
+ #
194
+ # @return [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse]
195
+ #
196
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
197
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
198
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
199
+ def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
200
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
201
+ command.response_representation = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse::Representation
202
+ command.response_class = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse
203
+ command.params['name'] = name unless name.nil?
204
+ command.query['filter'] = filter unless filter.nil?
205
+ command.query['pageSize'] = page_size unless page_size.nil?
206
+ command.query['pageToken'] = page_token unless page_token.nil?
207
+ command.query['fields'] = fields unless fields.nil?
208
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
209
+ execute_or_queue_command(command, &block)
210
+ end
211
+
212
+ # Gets the latest state of a long-running operation. Clients can use this method
213
+ # to poll the operation result at intervals as recommended by the API service.
214
+ # @param [String] name
215
+ # The name of the operation resource.
216
+ # @param [String] fields
217
+ # Selector specifying which fields to include in a partial response.
218
+ # @param [String] quota_user
219
+ # Available to use for quota purposes for server-side applications. Can be any
220
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
221
+ # @param [Google::Apis::RequestOptions] options
222
+ # Request-specific options
223
+ #
224
+ # @yield [result, err] Result & error if block supplied
225
+ # @yieldparam result [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation] parsed result object
226
+ # @yieldparam err [StandardError] error object if request failed
227
+ #
228
+ # @return [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation]
229
+ #
230
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
231
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
232
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
233
+ def get_organization_location_replay_operation(name, fields: nil, quota_user: nil, options: nil, &block)
234
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
235
+ command.response_representation = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation::Representation
236
+ command.response_class = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation
237
+ command.params['name'] = name unless name.nil?
238
+ command.query['fields'] = fields unless fields.nil?
239
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
240
+ execute_or_queue_command(command, &block)
241
+ end
242
+
243
+ # Lists operations that match the specified filter in the request. If the server
244
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
245
+ # binding allows API services to override the binding to use different resource
246
+ # name schemes, such as `users/*/operations`. To override the binding, API
247
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
248
+ # service configuration. For backwards compatibility, the default name includes
249
+ # the operations collection id, however overriding users must ensure the name
250
+ # binding is the parent resource, without the operations collection id.
99
251
  # @param [String] name
100
252
  # The name of the operation's parent resource.
253
+ # @param [String] filter
254
+ # The standard list filter.
101
255
  # @param [Fixnum] page_size
102
256
  # The standard list page size.
103
257
  # @param [String] page_token
@@ -119,12 +273,89 @@ module Google
119
273
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
120
274
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
121
275
  # @raise [Google::Apis::AuthorizationError] Authorization is required
122
- def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
123
- command = make_simple_command(:get, 'v1alpha/operations', options)
276
+ def list_organization_location_replay_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
277
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
124
278
  command.response_representation = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse::Representation
125
279
  command.response_class = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse
280
+ command.params['name'] = name unless name.nil?
281
+ command.query['filter'] = filter unless filter.nil?
282
+ command.query['pageSize'] = page_size unless page_size.nil?
283
+ command.query['pageToken'] = page_token unless page_token.nil?
284
+ command.query['fields'] = fields unless fields.nil?
285
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
286
+ execute_or_queue_command(command, &block)
287
+ end
288
+
289
+ # Gets the latest state of a long-running operation. Clients can use this method
290
+ # to poll the operation result at intervals as recommended by the API service.
291
+ # @param [String] name
292
+ # The name of the operation resource.
293
+ # @param [String] fields
294
+ # Selector specifying which fields to include in a partial response.
295
+ # @param [String] quota_user
296
+ # Available to use for quota purposes for server-side applications. Can be any
297
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
298
+ # @param [Google::Apis::RequestOptions] options
299
+ # Request-specific options
300
+ #
301
+ # @yield [result, err] Result & error if block supplied
302
+ # @yieldparam result [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation] parsed result object
303
+ # @yieldparam err [StandardError] error object if request failed
304
+ #
305
+ # @return [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation]
306
+ #
307
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
308
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
309
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
310
+ def get_project_location_replay_operation(name, fields: nil, quota_user: nil, options: nil, &block)
311
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
312
+ command.response_representation = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation::Representation
313
+ command.response_class = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation
314
+ command.params['name'] = name unless name.nil?
315
+ command.query['fields'] = fields unless fields.nil?
316
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
317
+ execute_or_queue_command(command, &block)
318
+ end
319
+
320
+ # Lists operations that match the specified filter in the request. If the server
321
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
322
+ # binding allows API services to override the binding to use different resource
323
+ # name schemes, such as `users/*/operations`. To override the binding, API
324
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
325
+ # service configuration. For backwards compatibility, the default name includes
326
+ # the operations collection id, however overriding users must ensure the name
327
+ # binding is the parent resource, without the operations collection id.
328
+ # @param [String] name
329
+ # The name of the operation's parent resource.
330
+ # @param [String] filter
331
+ # The standard list filter.
332
+ # @param [Fixnum] page_size
333
+ # The standard list page size.
334
+ # @param [String] page_token
335
+ # The standard list page token.
336
+ # @param [String] fields
337
+ # Selector specifying which fields to include in a partial response.
338
+ # @param [String] quota_user
339
+ # Available to use for quota purposes for server-side applications. Can be any
340
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
341
+ # @param [Google::Apis::RequestOptions] options
342
+ # Request-specific options
343
+ #
344
+ # @yield [result, err] Result & error if block supplied
345
+ # @yieldparam result [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse] parsed result object
346
+ # @yieldparam err [StandardError] error object if request failed
347
+ #
348
+ # @return [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse]
349
+ #
350
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
351
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
352
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
353
+ def list_project_location_replay_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
354
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
355
+ command.response_representation = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse::Representation
356
+ command.response_class = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningListOperationsResponse
357
+ command.params['name'] = name unless name.nil?
126
358
  command.query['filter'] = filter unless filter.nil?
127
- command.query['name'] = name unless name.nil?
128
359
  command.query['pageSize'] = page_size unless page_size.nil?
129
360
  command.query['pageToken'] = page_token unless page_token.nil?
130
361
  command.query['fields'] = fields unless fields.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-policysimulator_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1alpha/v0.4.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1alpha/v0.5.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policysimulator_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []