Reference
Google Cloud Run jobs
Environment variables on a Cloud Run job's first container, read back in plaintext and applied to the next execution.
Environment variables on a Cloud Run job's first container, read back in plaintext and applied to the next execution.
Connection
| What | This provider |
|---|---|
| Vendor | Google Cloud |
| Key | gcp-cloud-run-job-env |
| Availability | available. You can connect it today. |
| Credential we hold | gcp-service-account |
| Values read back | yes |
| Activation | on-next-deploy |
Directions
| Direction | What it does |
|---|---|
import | We read names and values out of the store into your environment. |
export | We write names and values from your environment into the store. |
Activation
on-next-deploy. A new value waits there and arrives with your next deploy.
Conflict policies
| Direction | Policies you can pick |
|---|---|
import | skip_existing, new_version, fail |
export | create_only, overwrite, overwrite_and_prune |
How syncs work says what each one does.
Connect
Paste a credential from the vendor. We seal it and never show it again.
| Field | Label | Kind | Required | What it is |
|---|---|---|---|---|
serviceAccountKey | Service account key | secret; we mask it here and seal it | yes | The JSON key file for a service account that can update this job. |
Connection fields
You set these when you connect. Every mapping on the connection shares them.
| Field | Label | Kind | Required | Advanced | What it is |
|---|---|---|---|---|---|
projectId | Project | text | yes | no | The project holding the job. One connection covers one project. |
region | Region | text | yes | no | The region this connection reaches. One connection covers one region. |
Mapping fields
You answer these once per environment you map.
| Field | Label | Kind | Required | Advanced | What it is |
|---|---|---|---|---|---|
jobName | Job | text | yes | no | The job whose variables this environment maps onto. |
Required permissions
We probe for these when we verify the connection.
| Permission | Directions | Blocking | Without it |
|---|---|---|---|
run.jobs.get | every direction | yes | Preview cannot read the job's variables. |
run.jobs.list | every direction | no | We cannot confirm the key reaches this project and region before a sync runs. |
run.jobs.update | export | yes | Export cannot write anything. |
run.operations.get | export | no | We cannot confirm the update finished applying. |