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

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

Namespace

Google \ Cloud \ ServiceManagement \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setFilePath

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

Parameter
Name Description
var string
Returns
Type Description
$this

getFileContents

The bytes that constitute the file.

Returns
Type Description
string

setFileContents

The bytes that constitute the file.

Parameter
Name Description
var string
Returns
Type Description
$this

getFileType

The type of configuration file this represents.

Returns
Type Description
int

setFileType

The type of configuration file this represents.

Parameter
Name Description
var int
Returns
Type Description
$this