def set_properties(properties)
      matrix = to_matrix_properties(properties)
      endpoint = File.join("/api/storage", relative_path) + "?properties=#{matrix}"

      client.put(endpoint, nil)
    end
def set_properties(properties)
      matrix = to_matrix_properties(properties)
      endpoint = File.join("/api/storage", relative_path) + "?properties=#{matrix}"

      client.put(endpoint, nil)
    end
Helper method for setting artifact properties

 @example Set properties for an artifact
   artifact.set_properties({ prop1: 'value1', 'prop2' => 'value2' })

 @param [Hash<String, Object>] properties
   A hash of properties and corresponding values to set for the artifact

 @return [Hash]
   the parsed JSON response from the server