Notebooks v2 API - Class GceSetup (1.0.0)

public sealed class GceSetup : IMessage<GceSetup>, IEquatable<GceSetup>, IDeepCloneable<GceSetup>, IBufferMessage, IMessage

Reference documentation and code samples for the Notebooks v2 API class GceSetup.

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

Inheritance

object > GceSetup

Namespace

Google.Cloud.Notebooks.V2

Assembly

Google.Cloud.Notebooks.V2.dll

Constructors

GceSetup()

public GceSetup()

GceSetup(GceSetup)

public GceSetup(GceSetup other)
Parameter
NameDescription
otherGceSetup

Properties

AcceleratorConfigs

public RepeatedField<AcceleratorConfig> AcceleratorConfigs { get; }

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.

Property Value
TypeDescription
RepeatedFieldAcceleratorConfig

BootDisk

public BootDisk BootDisk { get; set; }

Optional. The boot disk for the VM.

Property Value
TypeDescription
BootDisk

ContainerImage

public ContainerImage ContainerImage { get; set; }

Optional. Use a container image to start the notebook instance.

Property Value
TypeDescription
ContainerImage

DataDisks

public RepeatedField<DataDisk> DataDisks { get; }

Optional. Data disks attached to the VM instance. Currently supports only one data disk.

Property Value
TypeDescription
RepeatedFieldDataDisk

DisablePublicIp

public bool DisablePublicIp { get; set; }

Optional. If true, no external IP will be assigned to this VM instance.

Property Value
TypeDescription
bool

EnableIpForwarding

public bool EnableIpForwarding { get; set; }

Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward

Property Value
TypeDescription
bool

GpuDriverConfig

public GPUDriverConfig GpuDriverConfig { get; set; }

Optional. Configuration for GPU drivers.

Property Value
TypeDescription
GPUDriverConfig

ImageCase

public GceSetup.ImageOneofCase ImageCase { get; }
Property Value
TypeDescription
GceSetupImageOneofCase

MachineType

public string MachineType { get; set; }

Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource

Property Value
TypeDescription
string

Metadata

public MapField<string, string> Metadata { get; }

Optional. Custom metadata to apply to this instance.

Property Value
TypeDescription
MapFieldstringstring

NetworkInterfaces

public RepeatedField<NetworkInterface> NetworkInterfaces { get; }

Optional. The network interfaces for the VM. Supports only one interface.

Property Value
TypeDescription
RepeatedFieldNetworkInterface

ServiceAccounts

public RepeatedField<ServiceAccount> ServiceAccounts { get; }

Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.

Property Value
TypeDescription
RepeatedFieldServiceAccount

ShieldedInstanceConfig

public ShieldedInstanceConfig ShieldedInstanceConfig { get; set; }

Optional. Shielded VM configuration. Images using supported Shielded VM features.

Property Value
TypeDescription
ShieldedInstanceConfig

Tags

public RepeatedField<string> Tags { get; }

Optional. The Compute Engine tags to add to runtime (see Tagging instances).

Property Value
TypeDescription
RepeatedFieldstring

VmImage

public VmImage VmImage { get; set; }

Optional. Use a Compute Engine VM image to start the notebook instance.

Property Value
TypeDescription
VmImage