Compute V1 Client - Class ErrorDetails (1.7.1)

Reference documentation and code samples for the Compute V1 Client class ErrorDetails.

Generated from protobuf message google.cloud.compute.v1.ErrorDetails

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ error_info Google\Cloud\Compute\V1\ErrorInfo
↳ help Google\Cloud\Compute\V1\Help
↳ localized_message Google\Cloud\Compute\V1\LocalizedMessage
↳ quota_info Google\Cloud\Compute\V1\QuotaExceededInfo

getErrorInfo

Generated from protobuf field optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;

Returns
TypeDescription
Google\Cloud\Compute\V1\ErrorInfo|null

hasErrorInfo

clearErrorInfo

setErrorInfo

Generated from protobuf field optional .google.cloud.compute.v1.ErrorInfo error_info = 25251973;

Parameter
NameDescription
var Google\Cloud\Compute\V1\ErrorInfo
Returns
TypeDescription
$this

getHelp

Generated from protobuf field optional .google.cloud.compute.v1.Help help = 3198785;

Returns
TypeDescription
Google\Cloud\Compute\V1\Help|null

hasHelp

clearHelp

setHelp

Generated from protobuf field optional .google.cloud.compute.v1.Help help = 3198785;

Parameter
NameDescription
var Google\Cloud\Compute\V1\Help
Returns
TypeDescription
$this

getLocalizedMessage

Generated from protobuf field optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;

Returns
TypeDescription
Google\Cloud\Compute\V1\LocalizedMessage|null

hasLocalizedMessage

clearLocalizedMessage

setLocalizedMessage

Generated from protobuf field optional .google.cloud.compute.v1.LocalizedMessage localized_message = 404537155;

Parameter
NameDescription
var Google\Cloud\Compute\V1\LocalizedMessage
Returns
TypeDescription
$this

getQuotaInfo

Generated from protobuf field optional .google.cloud.compute.v1.QuotaExceededInfo quota_info = 93923861;

Returns
TypeDescription
Google\Cloud\Compute\V1\QuotaExceededInfo|null

hasQuotaInfo

clearQuotaInfo

setQuotaInfo

Generated from protobuf field optional .google.cloud.compute.v1.QuotaExceededInfo quota_info = 93923861;

Parameter
NameDescription
var Google\Cloud\Compute\V1\QuotaExceededInfo
Returns
TypeDescription
$this