Reference documentation and code samples for the Compute V1 Client class FileContentBuffer.
Generated from protobuf message google.cloud.compute.v1.FileContentBuffer
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ content |
string
The raw content in the secure keys file. |
↳ file_type |
string
The file type of source file. Check the FileType enum for the list of possible values. |
getContent
The raw content in the secure keys file.
Generated from protobuf field optional string content = 414659705;
Returns | |
---|---|
Type | Description |
string |
hasContent
clearContent
setContent
The raw content in the secure keys file.
Generated from protobuf field optional string content = 414659705;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getFileType
The file type of source file.
Check the FileType enum for the list of possible values.
Generated from protobuf field optional string file_type = 294346781;
Returns | |
---|---|
Type | Description |
string |
hasFileType
clearFileType
setFileType
The file type of source file.
Check the FileType enum for the list of possible values.
Generated from protobuf field optional string file_type = 294346781;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |