Initializer
Properties
| Name | Type | 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). |
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