instances_screenshot
Creates, updates, deletes, gets or lists an instances_screenshot
resource.
Overview
Name | instances_screenshot |
Type | Resource |
Id | google.compute.instances_screenshot |
Fields
The following fields are returned by SELECT
queries:
- get_screenshot
Successful response
Name | Datatype | Description |
---|---|---|
contents | string | [Output Only] The Base64-encoded screenshot data. |
kind | string | [Output Only] Type of the resource. Always compute#screenshot for the screenshots. (default: compute#screenshot) |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_screenshot | select | project , zone , instance | Returns 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.
Name | Datatype | Description |
---|---|---|
instance | string | |
project | string | |
zone | string |
SELECT
examples
- get_screenshot
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;