Google Cloud Service Usage V1 Client - Class EnableFailure (1.0.5)

Reference documentation and code samples for the Google Cloud Service Usage V1 Client class EnableFailure.

Provides error messages for the failing services.

Generated from protobuf message google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ service_id string

The service id of a service that could not be enabled.

↳ error_message string

An error message describing why the service could not be enabled.

getServiceId

The service id of a service that could not be enabled.

Returns
TypeDescription
string

setServiceId

The service id of a service that could not be enabled.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getErrorMessage

An error message describing why the service could not be enabled.

Returns
TypeDescription
string

setErrorMessage

An error message describing why the service could not be enabled.

Parameter
NameDescription
var string
Returns
TypeDescription
$this