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

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

HasFamily

public bool HasFamily { get; }

Gets whether the "family" field is set

Property Value
Type Description
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
Type Description
bool

ImageCase

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

Name

public string Name { get; set; }

Optional. Use VM image name to find the image.

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