Notebooks v2 API - Class VmImage (1.0.0)

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

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

Definition of a custom Compute Engine virtual machine image for starting a notebook instance with the environment installed directly on the VM.

Inheritance

object > VmImage

Namespace

Google.Cloud.Notebooks.V2

Assembly

Google.Cloud.Notebooks.V2.dll

Constructors

VmImage()

public VmImage()

VmImage(VmImage)

public VmImage(VmImage other)
Parameter
NameDescription
otherVmImage

Properties

Family

public string Family { get; set; }

Optional. Use this VM image family to find the image; the newest image in this family will be used.

Property Value
TypeDescription
string

HasFamily

public bool HasFamily { get; }

Gets whether the "family" field is set

Property Value
TypeDescription
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
TypeDescription
bool

ImageCase

public VmImage.ImageOneofCase ImageCase { get; }
Property Value
TypeDescription
VmImageImageOneofCase

Name

public string Name { get; set; }

Optional. Use VM image name to find the image.

Property Value
TypeDescription
string

Project

public string Project { get; set; }

Required. The name of the Google Cloud project that this VM image belongs to. Format: {project_id}

Property Value
TypeDescription
string