[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Notebooks V2 Client - Class VmImage (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-notebooks/latest/V2.VmImage)\n- [1.0.4](/php/docs/reference/cloud-notebooks/1.0.4/V2.VmImage)\n- [0.7.5](/php/docs/reference/cloud-notebooks/0.7.5/V2.VmImage)\n- [0.6.2](/php/docs/reference/cloud-notebooks/0.6.2/V2.VmImage)\n- [0.5.0](/php/docs/reference/cloud-notebooks/0.5.0/V2.VmImage)\n- [0.4.1](/php/docs/reference/cloud-notebooks/0.4.1/V2.VmImage)\n- [0.3.6](/php/docs/reference/cloud-notebooks/0.3.6/V2.VmImage) \nReference documentation and code samples for the Google Cloud Notebooks V2 Client class VmImage.\n\nDefinition of a custom Compute Engine virtual machine image for starting a\nnotebook instance with the environment installed directly on the VM.\n\nGenerated from protobuf message `google.cloud.notebooks.v2.VmImage`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Notebooks \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getProject\n\nRequired. The name of the Google Cloud project that this VM image belongs\nto. Format: `{project_id}`\n\n### setProject\n\nRequired. The name of the Google Cloud project that this VM image belongs\nto. Format: `{project_id}`\n\n### getName\n\nOptional. Use VM image name to find the image.\n\n### hasName\n\n### setName\n\nOptional. Use VM image name to find the image.\n\n### getFamily\n\nOptional. Use this VM image family to find the image; the newest image in\nthis family will be used.\n\n### hasFamily\n\n### setFamily\n\nOptional. Use this VM image family to find the image; the newest image in\nthis family will be used.\n\n### getImage"]]