Compute V1 Client - Class FileContentBuffer (1.11.1)

Reference documentation and code samples for the Compute V1 Client class FileContentBuffer.

Generated from protobuf message google.cloud.compute.v1.FileContentBuffer

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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.

Returns
TypeDescription
string

hasContent

clearContent

setContent

The raw content in the secure keys file.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFileType

The file type of source file.

Check the FileType enum for the list of possible values.

Returns
TypeDescription
string

hasFileType

clearFileType

setFileType

The file type of source file.

Check the FileType enum for the list of possible values.

Parameter
NameDescription
var string
Returns
TypeDescription
$this