Compute V1 Client - Class FileContentBuffer (1.19.0)

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

Returns
Type Description
string

hasContent

clearContent

setContent

The raw content in the secure keys file.

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.

Returns
Type Description
string

hasFileType

clearFileType

setFileType

The file type of source file.

Check the FileType enum for the list of possible values.

Parameter
Name Description
var string
Returns
Type Description
$this