Reference documentation and code samples for the Compute V1 Client class Screenshot.
An instance's screenshot.
Generated from protobuf message google.cloud.compute.v1.Screenshot
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ contents |
string
[Output Only] The Base64-encoded screenshot data. |
↳ kind |
string
[Output Only] Type of the resource. Always compute#screenshot for the screenshots. |
getContents
[Output Only] The Base64-encoded screenshot data.
Returns | |
---|---|
Type | Description |
string |
hasContents
clearContents
setContents
[Output Only] The Base64-encoded screenshot data.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getKind
[Output Only] Type of the resource. Always compute#screenshot for the screenshots.
Returns | |
---|---|
Type | Description |
string |
hasKind
clearKind
setKind
[Output Only] Type of the resource. Always compute#screenshot for the screenshots.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |