GoogleStorageSpecCreate – Media API – MediaKind

GoogleStorageSpecCreate

object

bucketName
string
Required
2-256 characters

The name of the Google Storage bucket.
This field cannot be modified, only set during creation.

credential
object GoogleCredential
Optional

The credential for the Google Storage bucket. Required at creation.

gacmap
from strings to string
Required

Google Application Credentials in JSON format.

You can generate this from the command line with gcloud iam service-accounts keys create key.json --iam-account=<service_account>@<project>.iam.gserviceaccount.com

Or download it from the GCP console.

description
string or null
Optional

Description of the storage.

type
enum
Required

The type of storage.
This field cannot be modified, only set during creation.

Allowed values: