title: To encode or not to encode path parts in GCS?
body: <p>Should path parts be encoded or not encoded when it comes to Google Cloud Storage?</p>
  
  <p><a href="https://cloud.google.com/storage/docs/json_api/#encoding" rel="nofollow noreferrer">Encoding URI path parts</a> says they should be encoded, but <a href="https://cloud.google.com/storage/docs/key-terms#object-names" rel="nofollow noreferrer">Object names</a> talks about the possibility of naming GCS objects in a seemingly-hierarchical manner...</p>
  
  <p>So if I name an object <code>abc/xyz</code>, is the path to my object <code>https://www.googleapis.com/storage/v1/b/example-bucket/o/abc%2fxyz</code> or <code>https://www.googleapis.com/storage/v1/b/example-bucket/o/abc/xyz</code>?</p>
  
  <p>Which is it!? Somebody please help me with this confusion.</p>