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
Bucket names may contain periods, but the BucketName type rejects all strings with periods.
This comment correctly links to these requirements for bucket names. Importantly, bucket names may contain dots (.) - as long as the bucket creator has demonstrated control over the domain containing the bucket name, when the bucket name is interpreted as a domain name.
Note that this means a domain name is always a valid domain name until it hits the API layer (i.e. whenever it's in Rust). I might not be able to create the my-gcs-bucket.embark-studios.com - but it's OK for y'all to create it, or for me to read from it (if/when it exists). That is: within my program('s type system), it's a valid BucketName; it may or may not be valid for a particular API call from a particular user.
Describe the bug
Bucket names may contain periods, but the
BucketName
type rejects all strings with periods.This comment correctly links to these requirements for bucket names. Importantly, bucket names may contain dots (
.
) - as long as the bucket creator has demonstrated control over the domain containing the bucket name, when the bucket name is interpreted as a domain name.Note that this means a domain name is always a valid domain name until it hits the API layer (i.e. whenever it's in Rust). I might not be able to create the
my-gcs-bucket.embark-studios.com
- but it's OK for y'all to create it, or for me to read from it (if/when it exists). That is: within my program('s type system), it's a validBucketName
; it may or may not be valid for a particular API call from a particular user.To Reproduce
The text was updated successfully, but these errors were encountered: