Google Cloud PHP shared dependency, providing functionality useful to all components. Client - Class ConfigStorageInterface (1.72.1)

Reference documentation and code samples for the Google Cloud PHP shared dependency, providing functionality useful to all components. Client class ConfigStorageInterface.

An interface for storing the configuration.

Namespace

Google \ Cloud \ Core \ Batch

Methods

lock

locks the storage

Returns
Type Description
bool

unlock

releases the lock

Returns
Type Description
bool

save

saves the JobConfig to the storage

Parameter
Name Description
config JobConfig

A JobConfig to save.

Returns
Type Description
bool true on success, false on failure

load

loads the JobConfig from the storage

Returns
Type Description
JobConfig

clear

Clear the JobConfig from storage.