View Source GoogleApi.Notebooks.V2.Model.GceSetup (google_api_notebooks v0.13.0)

The definition of how to configure a VM instance outside of Resources and Identity.

Attributes

  • acceleratorConfigs (type: list(GoogleApi.Notebooks.V2.Model.AcceleratorConfig.t), default: nil) - Optional. The hardware accelerators used on this instance. If you use accelerators, make sure that your configuration has enough vCPUs and memory to support the machine_type you have selected. Currently supports only one accelerator configuration.
  • bootDisk (type: GoogleApi.Notebooks.V2.Model.BootDisk.t, default: nil) - Optional. The boot disk for the VM.
  • containerImage (type: GoogleApi.Notebooks.V2.Model.ContainerImage.t, default: nil) - Optional. Use a container image to start the notebook instance.
  • dataDisks (type: list(GoogleApi.Notebooks.V2.Model.DataDisk.t), default: nil) - Optional. Data disks attached to the VM instance. Currently supports only one data disk.
  • disablePublicIp (type: boolean(), default: nil) - Optional. If true, no external IP will be assigned to this VM instance.
  • enableIpForwarding (type: boolean(), default: nil) - Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward
  • gpuDriverConfig (type: GoogleApi.Notebooks.V2.Model.GPUDriverConfig.t, default: nil) - Optional. Configuration for GPU drivers.
  • machineType (type: String.t, default: nil) - Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource
  • metadata (type: map(), default: nil) - Optional. Custom metadata to apply to this instance.
  • minCpuPlatform (type: String.t, default: nil) - Optional. The minimum CPU platform to use for this instance. The list of valid values can be found in https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform#availablezones
  • networkInterfaces (type: list(GoogleApi.Notebooks.V2.Model.NetworkInterface.t), default: nil) - Optional. The network interfaces for the VM. Supports only one interface.
  • serviceAccounts (type: list(GoogleApi.Notebooks.V2.Model.ServiceAccount.t), default: nil) - Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
  • shieldedInstanceConfig (type: GoogleApi.Notebooks.V2.Model.ShieldedInstanceConfig.t, default: nil) - Optional. Shielded VM configuration. Images using supported Shielded VM features.
  • tags (type: list(String.t), default: nil) - Optional. The Compute Engine tags to add to runtime (see Tagging instances).
  • vmImage (type: GoogleApi.Notebooks.V2.Model.VmImage.t, default: nil) - Optional. Use a Compute Engine VM image to start the notebook instance.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Notebooks.V2.Model.GceSetup{
  acceleratorConfigs:
    [GoogleApi.Notebooks.V2.Model.AcceleratorConfig.t()] | nil,
  bootDisk: GoogleApi.Notebooks.V2.Model.BootDisk.t() | nil,
  containerImage: GoogleApi.Notebooks.V2.Model.ContainerImage.t() | nil,
  dataDisks: [GoogleApi.Notebooks.V2.Model.DataDisk.t()] | nil,
  disablePublicIp: boolean() | nil,
  enableIpForwarding: boolean() | nil,
  gpuDriverConfig: GoogleApi.Notebooks.V2.Model.GPUDriverConfig.t() | nil,
  machineType: String.t() | nil,
  metadata: map() | nil,
  minCpuPlatform: String.t() | nil,
  networkInterfaces: [GoogleApi.Notebooks.V2.Model.NetworkInterface.t()] | nil,
  serviceAccounts: [GoogleApi.Notebooks.V2.Model.ServiceAccount.t()] | nil,
  shieldedInstanceConfig:
    GoogleApi.Notebooks.V2.Model.ShieldedInstanceConfig.t() | nil,
  tags: [String.t()] | nil,
  vmImage: GoogleApi.Notebooks.V2.Model.VmImage.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.