image_family_views
Creates, updates, deletes, gets or lists an image_family_views
resource.
Overview
Name | image_family_views |
Type | Resource |
Id | google.compute.image_family_views |
Fields
The following fields are returned by SELECT
queries:
- get
Successful response
Name | Datatype | Description |
---|---|---|
image | object | Represents 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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | project , zone , family | Returns 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.
Name | Datatype | Description |
---|---|---|
family | string | |
project | string | |
zone | string |
SELECT
examples
- get
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;