ProjectsUploadGrant class
Properties
-
expiresAt
↔ int?
-
ExpiresAt is when the grant stops being accepted, as Unix seconds. It is short-lived by design and is handed out ONCE, on the response that queues the deployment — a later read of that deployment does not carry it, so a grant cannot be fetched again after the build it was minted for.
getter/setter pair
-
fields
↔ Map<String, String>
-
Fields are form values every POST must carry VERBATIM, alongside
key and file. The signature covers them, so altering any one of them — including widening the key to reach outside the prefix — invalidates the grant rather than extending it.
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
maxBytes
↔ int?
-
MaxBytes bounds ONE object, not the upload as a whole.
getter/setter pair
-
prefix
↔ String?
-
Prefix is the only place this grant can write: the deployment's own key prefix. It authorizes WRITES ONLY, which is why completing a deployment reconciles the prefix against a manifest instead of letting CI delete.
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
url
↔ String?
-
URL is the address to POST each object to. It is signed for the PUBLIC endpoint, because the signature covers the host and CI posts from outside the cluster.
getter/setter pair