@@ -57,6 +57,37 @@ def initialize
5757 @batch_path = 'batch'
5858 end
5959
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::PolicysimulatorV1beta::GoogleLongrunningOperation] parsed result object
74+ # @yieldparam err [StandardError] error object if request failed
75+ #
76+ # @return [Google::Apis::PolicysimulatorV1beta::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 , 'v1beta/{+name}' , options )
83+ command . response_representation = Google ::Apis ::PolicysimulatorV1beta ::GoogleLongrunningOperation ::Representation
84+ command . response_class = Google ::Apis ::PolicysimulatorV1beta ::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+
6091 # Gets the latest state of a long-running operation. Clients can use this method
6192 # to poll the operation result at intervals as recommended by the API service.
6293 # @param [String] name
@@ -389,6 +420,37 @@ def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields:
389420 execute_or_queue_command ( command , &block )
390421 end
391422
423+ # Gets the latest state of a long-running operation. Clients can use this method
424+ # to poll the operation result at intervals as recommended by the API service.
425+ # @param [String] name
426+ # The name of the operation resource.
427+ # @param [String] fields
428+ # Selector specifying which fields to include in a partial response.
429+ # @param [String] quota_user
430+ # Available to use for quota purposes for server-side applications. Can be any
431+ # arbitrary string assigned to a user, but should not exceed 40 characters.
432+ # @param [Google::Apis::RequestOptions] options
433+ # Request-specific options
434+ #
435+ # @yield [result, err] Result & error if block supplied
436+ # @yieldparam result [Google::Apis::PolicysimulatorV1beta::GoogleLongrunningOperation] parsed result object
437+ # @yieldparam err [StandardError] error object if request failed
438+ #
439+ # @return [Google::Apis::PolicysimulatorV1beta::GoogleLongrunningOperation]
440+ #
441+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
442+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
443+ # @raise [Google::Apis::AuthorizationError] Authorization is required
444+ def get_organization_location_access_policy_simulation_operation ( name , fields : nil , quota_user : nil , options : nil , &block )
445+ command = make_simple_command ( :get , 'v1beta/{+name}' , options )
446+ command . response_representation = Google ::Apis ::PolicysimulatorV1beta ::GoogleLongrunningOperation ::Representation
447+ command . response_class = Google ::Apis ::PolicysimulatorV1beta ::GoogleLongrunningOperation
448+ command . params [ 'name' ] = name unless name . nil?
449+ command . query [ 'fields' ] = fields unless fields . nil?
450+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
451+ execute_or_queue_command ( command , &block )
452+ end
453+
392454 # CreateOrgPolicyViolationsPreview creates an OrgPolicyViolationsPreview for the
393455 # proposed changes in the provided OrgPolicyViolationsPreview.OrgPolicyOverlay.
394456 # The changes to OrgPolicy are specified by this `OrgPolicyOverlay`. The
@@ -846,6 +908,37 @@ def list_organization_location_replay_results(parent, page_size: nil, page_token
846908 execute_or_queue_command ( command , &block )
847909 end
848910
911+ # Gets the latest state of a long-running operation. Clients can use this method
912+ # to poll the operation result at intervals as recommended by the API service.
913+ # @param [String] name
914+ # The name of the operation resource.
915+ # @param [String] fields
916+ # Selector specifying which fields to include in a partial response.
917+ # @param [String] quota_user
918+ # Available to use for quota purposes for server-side applications. Can be any
919+ # arbitrary string assigned to a user, but should not exceed 40 characters.
920+ # @param [Google::Apis::RequestOptions] options
921+ # Request-specific options
922+ #
923+ # @yield [result, err] Result & error if block supplied
924+ # @yieldparam result [Google::Apis::PolicysimulatorV1beta::GoogleLongrunningOperation] parsed result object
925+ # @yieldparam err [StandardError] error object if request failed
926+ #
927+ # @return [Google::Apis::PolicysimulatorV1beta::GoogleLongrunningOperation]
928+ #
929+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
930+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
931+ # @raise [Google::Apis::AuthorizationError] Authorization is required
932+ def get_project_location_access_policy_simulation_operation ( name , fields : nil , quota_user : nil , options : nil , &block )
933+ command = make_simple_command ( :get , 'v1beta/{+name}' , options )
934+ command . response_representation = Google ::Apis ::PolicysimulatorV1beta ::GoogleLongrunningOperation ::Representation
935+ command . response_class = Google ::Apis ::PolicysimulatorV1beta ::GoogleLongrunningOperation
936+ command . params [ 'name' ] = name unless name . nil?
937+ command . query [ 'fields' ] = fields unless fields . nil?
938+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
939+ execute_or_queue_command ( command , &block )
940+ end
941+
849942 # Gets the latest state of a long-running operation. Clients can use this method
850943 # to poll the operation result at intervals as recommended by the API service.
851944 # @param [String] name
0 commit comments