You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The resumableUpload in the Google Cloud Storage connector allows specifying metadata of type Map[String, String] which are added to the uploaded file.
As per the GCS documentation, metadata properties like contentType or cacheControl are predefined by GCS.
However, there is also custom metadata, which is arbitrary user-provided key-value pairs. They are sent in the HttpRequest in the same way, but the value is not a string but a json object:
However this cannot be modelled currently because metadata is Map[String, String] - the value needs to be specified as Map[String, String] instead of String to handle this.
(According to the documentatoin, GCS should also allow the notation metadata.customKey = customData but this did not work for me when I tried)
The text was updated successfully, but these errors were encountered:
The
resumableUpload
in the Google Cloud Storage connector allows specifying metadata of type Map[String, String] which are added to the uploaded file.As per the GCS documentation, metadata properties like
contentType
orcacheControl
are predefined by GCS.However, there is also custom metadata, which is arbitrary user-provided key-value pairs. They are sent in the HttpRequest in the same way, but the value is not a string but a json object:
However this cannot be modelled currently because metadata is Map[String, String] - the value needs to be specified as Map[String, String] instead of String to handle this.
(According to the documentatoin, GCS should also allow the notation
metadata.customKey = customData
but this did not work for me when I tried)The text was updated successfully, but these errors were encountered: