Optional
bucketOptional
folderThe key prefix where artifacts are uploaded, e.g., my/prefix
.
Defaults to the application version
specified in the app's package.json
.
Optional
keyCustom function to provide the key to upload a given file to
Optional
metadataGenerate optional Metadata for GCS Objects
See https://cloud.google.com/storage/docs/metadata for more info.
Expects a function that takes a GCSArtifact object and returns a ConfigMetadata
object.
Optional
predefinedApply a predefined set of access controls to this object.
Optional
privateWhether to make uploaded artifacts private. Alias for config.predefinedAcl = 'private'.
Optional
publicWhether to make uploaded artifacts public to the internet. Alias for config.predefinedAcl = 'publicRead'.
Options passed into the Storage
client constructor.
See https://cloud.google.com/nodejs/docs/reference/storage/latest/storage/storage for full reference.
The name of the Google Cloud Storage bucket where artifacts are uploaded.