Skip to main content

image_family_views

Creates, updates, deletes, gets or lists an image_family_views resource.

Overview

Nameimage_family_views
TypeResource
Idgoogle.compute.image_family_views

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
imageobjectRepresents an Image resource. You can use images to create boot disks for your VM instances. For more information, read Images. (id: Image)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectproject, zone, familyReturns the latest image that is part of an image family, is not deprecated and is rolled out in the specified zone.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
familystring
projectstring
zonestring

SELECT examples

Returns the latest image that is part of an image family, is not deprecated and is rolled out in the specified zone.

SELECT
image
FROM google.compute.image_family_views
WHERE project = '{{ project }}' -- required
AND zone = '{{ zone }}' -- required
AND family = '{{ family }}' -- required;