{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/CreateGcpCredentialDTO", "title": "CreateGcpCredentialDTO", "type": "object", "properties": { "provider": { "type": "string", "enum": [ "gcp" ] }, "fallbackIndex": { "type": "number", "description": "This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.", "minimum": 1 }, "gcpKey": { "description": "This is the GCP key. This is the JSON that can be generated in the Google Cloud Console at https://console.cloud.google.com/iam-admin/serviceaccounts/details//keys.\n\nThe schema is identical to the JSON that GCP outputs.", "allOf": [ { "$ref": "#/components/schemas/GcpKey" } ] }, "region": { "type": "string", "description": "This is the region of the GCP resource.", "maxLength": 40 }, "bucketPlan": { "$ref": "#/components/schemas/BucketPlan" }, "name": { "type": "string", "description": "This is the name of credential. This is just for your reference.", "minLength": 1, "maxLength": 40 } }, "required": [ "provider", "gcpKey" ] }