Initializer
Properties
| Name | Type | Description |
|---|---|---|
defaults | {[ key: string ]: any} | No description. |
workspace | string | No description. |
bucket | string | (Required) The name of the GCS bucket. |
accessToken | string | (Optional) A temporary [OAuth 2.0 access token] obtained from the Google Authorization server, i.e. the Authorization: Bearer token used to authenticate HTTP requests to GCP APIs. This is an alternative to credentials. If both are specified, access_token will be used over the credentials field. |
credentials | string | (Optional) Local path to Google Cloud Platform account credentials in JSON format. |
encryptionKey | string | (Optional) A 32 byte base64 encoded ‘customer supplied encryption key’ used to encrypt all state. |
impersonateServiceAccount | string | (Optional) The service account to impersonate for accessing the State Bucket. |
impersonateServiceAccountDelegates | string[] | (Optional) The delegation chain for an impersonating a service account. |
kmsEncryptionKey | string | (Optional) A Cloud KMS key (‘customer-managed encryption key’) used when reading and writing state files in the bucket. |
prefix | string | (Optional) GCS prefix inside the bucket. |
storeageCustomEndpoint | string | (Optional) A URL containing three parts: the protocol, the DNS name pointing to a Private Service Connect endpoint, and the path for the Cloud Storage API (/storage/v1/b). |
defaultsOptional
- Type: {[ key: string ]: any}
workspaceOptional
- Type: string
bucketRequired
- Type: string
accessTokenOptional
- Type: string
credentialsOptional
- Type: string
encryptionKeyOptional
- Type: string
impersonateServiceAccountOptional
- Type: string
impersonateServiceAccountDelegatesOptional
- Type: string[]
kmsEncryptionKeyOptional
- Type: string
prefixOptional
- Type: string
storeageCustomEndpointOptional
- Type: string