¿Cómo se establece un nombre de depósito predeterminado de aplicaciones?

La documentación de Google sobre php file uploads says the gs_bucket_name option is "The name of a Google Cloud Storage bucket that the blobs should be uploaded to. If you don't specify a value, the blob is uploaded to the application's default bucket." this defaults to "app_default_bucket". How is this default set?

Is this possible to change by a environmental setting in the app.yaml?

preguntado el 09 de septiembre de 13 a las 22:09

1 Respuestas

A default bucket is a new concept that is rolling out as part of replacing the old App Engine blobstore. When an app is created it will automatically be allocated an associated bucket in Google Cloud Storage - this will be known as the default bucket. The default bucket cannot be manually configured outside of this process.

At the moment this functionality is not available to existing apps, but they will ultimately have a default bucket created at some stage in the not too distant future that will become the default bucket.

However, for now, PHP apps will need to configure the bucket themselves as part of the options array that is passed to the createUploadUrl llamada.

Respondido el 10 de Septiembre de 13 a las 02:09

Thanks for the info, I really like this idea. Is this going to still work for apps that don't have billing enabled? - Morgan O'Neal

Yes - it will detect bandwidth and storage costs from your apps quotas, so you will be able to consume the free quota for this bucket. - stuart langley

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.