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.
Generated from protobuf field optional string contents = 506419994;
Returns | |
---|---|
Type | Description |
string |
hasContents
clearContents
setContents
[Output Only] The Base64-encoded screenshot data.
Generated from protobuf field optional string contents = 506419994;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getKind
[Output Only] Type of the resource. Always compute#screenshot for the screenshots.
Generated from protobuf field optional string kind = 3292052;
Returns | |
---|---|
Type | Description |
string |
hasKind
clearKind
setKind
[Output Only] Type of the resource. Always compute#screenshot for the screenshots.
Generated from protobuf field optional string kind = 3292052;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |