Google Cloud Service Management V1 Client - Class ConfigFile (1.0.6)

Reference documentation and code samples for the Google Cloud Service Management V1 Client class ConfigFile.

Generic specification of a source configuration file

Generated from protobuf message google.api.servicemanagement.v1.ConfigFile

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ file_path string

The file name of the configuration file (full or relative path).

↳ file_contents string

The bytes that constitute the file.

↳ file_type int

The type of configuration file this represents.

getFilePath

The file name of the configuration file (full or relative path).

Returns
TypeDescription
string

setFilePath

The file name of the configuration file (full or relative path).

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFileContents

The bytes that constitute the file.

Returns
TypeDescription
string

setFileContents

The bytes that constitute the file.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFileType

The type of configuration file this represents.

Returns
TypeDescription
int

setFileType

The type of configuration file this represents.

Parameter
NameDescription
var int
Returns
TypeDescription
$this