GoogleApi.Workstations.V1.Model.Container (google_api_workstations v0.7.0)

View Source

A Docker container.

Attributes

  • args (type: list(String.t), default: nil) - Optional. Arguments passed to the entrypoint.
  • command (type: list(String.t), default: nil) - Optional. If set, overrides the default ENTRYPOINT specified by the image.
  • env (type: map(), default: nil) - Optional. Environment variables passed to the container's entrypoint.
  • image (type: String.t, default: nil) - Optional. A Docker container image that defines a custom environment. Cloud Workstations provides a number of preconfigured images, but you can create your own custom container images. If using a private image, the host.gceInstance.serviceAccount field must be specified in the workstation configuration. If using a custom container image, the service account must have Artifact Registry Reader permission to pull the specified image. Otherwise, the image must be publicly accessible.
  • runAsUser (type: integer(), default: nil) - Optional. If set, overrides the USER specified in the image with the given uid.
  • workingDir (type: String.t, default: nil) - Optional. If set, overrides the default DIR specified by the image.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Workstations.V1.Model.Container{
  args: [String.t()] | nil,
  command: [String.t()] | nil,
  env: map() | nil,
  image: String.t() | nil,
  runAsUser: integer() | nil,
  workingDir: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.