JobSpec defines a job that will be run.
JobSpec defines a job that will be run.
Optional[customReturns a safe value for JSON logs.
Returns a safe value for JSON logs.
Optional[unknownPreserves protobuf fields that this SDK version does not recognize.
Contains the fully qualified protobuf type name.
The arguments to pass to the entrypoint command.
The entrypoint command for the job's container.
OptionaldiskMain disk for the job.
Specifies the environment variables for the job's container.
The Docker image to use for the job's container.
Small config files injected into the container before the user process starts. Intended for configs, not datasets. Read methods return target paths. File content is returned only by Get with view SECRET.
Compute platform for the job.
Specifies the ports that the job exposes.
Whether to use a preemptible VM for the job. Preemptible VMs are cheaper but can be stopped by the platform at any time.
Compute preset for the job.
OptionalpricingPricing model for the VM. Must match the preemptible flag. Preemptible VMs require follows_spot_price or spot_pricing_policy. Regular VMs use on_demand or omit this field.
Whether to assign a public IP to the job.
OptionalregistryRegistry credentials for private Docker registry.
Restart attempts for the job.
Shared memory size in bytes for the job's container.
Public keys to be authorized for SSH access to the job.
Subnet ID where the job will be deployed. If omitted, the service uses the project's default subnet in the workload region.
OptionaltimeoutJob timeout.
Volumes to be mounted into the job's container.
The working directory for the job's container.
JobSpec defines a job that will be run.