Skip to main content

instances_screenshot

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

Overview

Nameinstances_screenshot
TypeResource
Idgoogle.compute.instances_screenshot

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
contentsstring[Output Only] The Base64-encoded screenshot data.
kindstring[Output Only] Type of the resource. Always compute#screenshot for the screenshots. (default: compute#screenshot)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_screenshotselectproject, zone, instanceReturns the screenshot from the specified instance.

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
instancestring
projectstring
zonestring

SELECT examples

Returns the screenshot from the specified instance.

SELECT
contents,
kind
FROM google.compute.instances_screenshot
WHERE project = '{{ project }}' -- required
AND zone = '{{ zone }}' -- required
AND instance = '{{ instance }}' -- required;