Notebooks v2 API - Class GceSetup (1.1.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
Name Description
other GceSetup

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
Type Description
RepeatedFieldAcceleratorConfig

BootDisk

public BootDisk BootDisk { get; set; }

Optional. The boot disk for the VM.

Property Value
Type Description
BootDisk

ContainerImage

public ContainerImage ContainerImage { get; set; }

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

Property Value
Type Description
ContainerImage

DataDisks

public RepeatedField<DataDisk> DataDisks { get; }

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

Property Value
Type Description
RepeatedFieldDataDisk

DisablePublicIp

public bool DisablePublicIp { get; set; }

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

Property Value
Type Description
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
Type Description
bool

GpuDriverConfig

public GPUDriverConfig GpuDriverConfig { get; set; }

Optional. Configuration for GPU drivers.

Property Value
Type Description
GPUDriverConfig

ImageCase

public GceSetup.ImageOneofCase ImageCase { get; }
Property Value
Type Description
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
Type Description
string

Metadata

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

Optional. Custom metadata to apply to this instance.

Property Value
Type Description
MapFieldstringstring

NetworkInterfaces

public RepeatedField<NetworkInterface> NetworkInterfaces { get; }

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

Property Value
Type Description
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
Type Description
RepeatedFieldServiceAccount

ShieldedInstanceConfig

public ShieldedInstanceConfig ShieldedInstanceConfig { get; set; }

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

Property Value
Type Description
ShieldedInstanceConfig

Tags

public RepeatedField<string> Tags { get; }

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

Property Value
Type Description
RepeatedFieldstring

VmImage

public VmImage VmImage { get; set; }

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

Property Value
Type Description
VmImage