@@ -57,6 +57,37 @@ def initialize
57
57
@batch_path = 'batch'
58
58
end
59
59
60
+ # Gets the latest state of a long-running operation. Clients can use this method
61
+ # to poll the operation result at intervals as recommended by the API service.
62
+ # @param [String] name
63
+ # The name of the operation resource.
64
+ # @param [String] fields
65
+ # Selector specifying which fields to include in a partial response.
66
+ # @param [String] quota_user
67
+ # Available to use for quota purposes for server-side applications. Can be any
68
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
69
+ # @param [Google::Apis::RequestOptions] options
70
+ # Request-specific options
71
+ #
72
+ # @yield [result, err] Result & error if block supplied
73
+ # @yieldparam result [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation] parsed result object
74
+ # @yieldparam err [StandardError] error object if request failed
75
+ #
76
+ # @return [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation]
77
+ #
78
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
79
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
80
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
81
+ def get_folder_location_access_policy_simulation_operation ( name , fields : nil , quota_user : nil , options : nil , &block )
82
+ command = make_simple_command ( :get , 'v1alpha/{+name}' , options )
83
+ command . response_representation = Google ::Apis ::PolicysimulatorV1alpha ::GoogleLongrunningOperation ::Representation
84
+ command . response_class = Google ::Apis ::PolicysimulatorV1alpha ::GoogleLongrunningOperation
85
+ command . params [ 'name' ] = name unless name . nil?
86
+ command . query [ 'fields' ] = fields unless fields . nil?
87
+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
88
+ execute_or_queue_command ( command , &block )
89
+ end
90
+
60
91
# Gets the latest state of a long-running operation. Clients can use this method
61
92
# to poll the operation result at intervals as recommended by the API service.
62
93
# @param [String] name
@@ -230,6 +261,37 @@ def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields:
230
261
execute_or_queue_command ( command , &block )
231
262
end
232
263
264
+ # Gets the latest state of a long-running operation. Clients can use this method
265
+ # to poll the operation result at intervals as recommended by the API service.
266
+ # @param [String] name
267
+ # The name of the operation resource.
268
+ # @param [String] fields
269
+ # Selector specifying which fields to include in a partial response.
270
+ # @param [String] quota_user
271
+ # Available to use for quota purposes for server-side applications. Can be any
272
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
273
+ # @param [Google::Apis::RequestOptions] options
274
+ # Request-specific options
275
+ #
276
+ # @yield [result, err] Result & error if block supplied
277
+ # @yieldparam result [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation] parsed result object
278
+ # @yieldparam err [StandardError] error object if request failed
279
+ #
280
+ # @return [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation]
281
+ #
282
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
283
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
284
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
285
+ def get_organization_location_access_policy_simulation_operation ( name , fields : nil , quota_user : nil , options : nil , &block )
286
+ command = make_simple_command ( :get , 'v1alpha/{+name}' , options )
287
+ command . response_representation = Google ::Apis ::PolicysimulatorV1alpha ::GoogleLongrunningOperation ::Representation
288
+ command . response_class = Google ::Apis ::PolicysimulatorV1alpha ::GoogleLongrunningOperation
289
+ command . params [ 'name' ] = name unless name . nil?
290
+ command . query [ 'fields' ] = fields unless fields . nil?
291
+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
292
+ execute_or_queue_command ( command , &block )
293
+ end
294
+
233
295
# Gets the latest state of a long-running operation. Clients can use this method
234
296
# to poll the operation result at intervals as recommended by the API service.
235
297
# @param [String] name
@@ -332,6 +394,37 @@ def list_organization_location_replay_operations(name, filter: nil, page_size: n
332
394
execute_or_queue_command ( command , &block )
333
395
end
334
396
397
+ # Gets the latest state of a long-running operation. Clients can use this method
398
+ # to poll the operation result at intervals as recommended by the API service.
399
+ # @param [String] name
400
+ # The name of the operation resource.
401
+ # @param [String] fields
402
+ # Selector specifying which fields to include in a partial response.
403
+ # @param [String] quota_user
404
+ # Available to use for quota purposes for server-side applications. Can be any
405
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
406
+ # @param [Google::Apis::RequestOptions] options
407
+ # Request-specific options
408
+ #
409
+ # @yield [result, err] Result & error if block supplied
410
+ # @yieldparam result [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation] parsed result object
411
+ # @yieldparam err [StandardError] error object if request failed
412
+ #
413
+ # @return [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation]
414
+ #
415
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
416
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
417
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
418
+ def get_project_location_access_policy_simulation_operation ( name , fields : nil , quota_user : nil , options : nil , &block )
419
+ command = make_simple_command ( :get , 'v1alpha/{+name}' , options )
420
+ command . response_representation = Google ::Apis ::PolicysimulatorV1alpha ::GoogleLongrunningOperation ::Representation
421
+ command . response_class = Google ::Apis ::PolicysimulatorV1alpha ::GoogleLongrunningOperation
422
+ command . params [ 'name' ] = name unless name . nil?
423
+ command . query [ 'fields' ] = fields unless fields . nil?
424
+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
425
+ execute_or_queue_command ( command , &block )
426
+ end
427
+
335
428
# Gets the latest state of a long-running operation. Clients can use this method
336
429
# to poll the operation result at intervals as recommended by the API service.
337
430
# @param [String] name
0 commit comments