@@ -54,6 +54,41 @@ def initialize
5454 @batch_path = 'batch'
5555 end
5656
57+ # Writes recall bits for the device where Play Integrity API token is obtained.
58+ # The endpoint is available to select Play partners in an early access program (
59+ # EAP).
60+ # @param [String] package_name
61+ # Required. Package name of the app the attached integrity token belongs to.
62+ # @param [Google::Apis::PlayintegrityV1::WriteDeviceRecallRequest] write_device_recall_request_object
63+ # @param [String] fields
64+ # Selector specifying which fields to include in a partial response.
65+ # @param [String] quota_user
66+ # Available to use for quota purposes for server-side applications. Can be any
67+ # arbitrary string assigned to a user, but should not exceed 40 characters.
68+ # @param [Google::Apis::RequestOptions] options
69+ # Request-specific options
70+ #
71+ # @yield [result, err] Result & error if block supplied
72+ # @yieldparam result [Google::Apis::PlayintegrityV1::WriteDeviceRecallResponse] parsed result object
73+ # @yieldparam err [StandardError] error object if request failed
74+ #
75+ # @return [Google::Apis::PlayintegrityV1::WriteDeviceRecallResponse]
76+ #
77+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
78+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
79+ # @raise [Google::Apis::AuthorizationError] Authorization is required
80+ def write_device_recall ( package_name , write_device_recall_request_object = nil , fields : nil , quota_user : nil , options : nil , &block )
81+ command = make_simple_command ( :post , 'v1/{+packageName}/deviceRecall:write' , options )
82+ command . request_representation = Google ::Apis ::PlayintegrityV1 ::WriteDeviceRecallRequest ::Representation
83+ command . request_object = write_device_recall_request_object
84+ command . response_representation = Google ::Apis ::PlayintegrityV1 ::WriteDeviceRecallResponse ::Representation
85+ command . response_class = Google ::Apis ::PlayintegrityV1 ::WriteDeviceRecallResponse
86+ command . params [ 'packageName' ] = package_name unless package_name . nil?
87+ command . query [ 'fields' ] = fields unless fields . nil?
88+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
89+ execute_or_queue_command ( command , &block )
90+ end
91+
5792 # Decodes the integrity token and returns the token payload.
5893 # @param [String] package_name
5994 # Package name of the app the attached integrity token belongs to.
0 commit comments