Skip to content

Update

//trimblecloud-fileservice/trimblecloud.fileservice/FilesAPI/update

update

[JVM]
abstract fun update(@NonNullspaceId: @NonNullUUID, @NonNullfileId: @NonNullUUID, @NonNullrequest: @NonNullUpdateFileRequest): CompletableFuture<Response<File>>

Updates a file.

Return

  • A future that resolves to the file response.

Parameters

JVM

spaceId- The space id.
fileId- The file id.
request- The file information to update.

Throws

TCPServiceException- If an error occurs due to API or network-related issues.
SDKClientException- If a client-side error occurs within the SDK.

[JVM]
abstract fun update(@NonNullspaceId: @NonNullUUID, @NonNullfileId: @NonNullUUID, @NonNullrequest: @NonNullUpdateFileRequest, @NonNullrequestHeader: @NonNullRequestHeader): CompletableFuture<Response<File>>

Updates a file.

Return

  • A future that resolves to the file response.

Parameters

JVM

spaceId- The space id.
fileId- The file id.
request- The file information to update.
requestHeader- The request header containing additional information.

Throws

TCPServiceException- If an error occurs due to API or network-related issues.
SDKClientException- If a client-side error occurs within the SDK.