Compute V1 Client - Class ErrorDetails (1.21.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ error_info ErrorInfo
↳ help Help
↳ localized_message LocalizedMessage
↳ quota_info QuotaExceededInfo

getErrorInfo

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

Returns
Type Description
ErrorInfo|null

hasErrorInfo

clearErrorInfo

setErrorInfo

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

Parameter
Name Description
var ErrorInfo
Returns
Type Description
$this

getHelp

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

Returns
Type Description
Help|null

hasHelp

clearHelp

setHelp

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

Parameter
Name Description
var Help
Returns
Type Description
$this

getLocalizedMessage

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

Returns
Type Description
LocalizedMessage|null

hasLocalizedMessage

clearLocalizedMessage

setLocalizedMessage

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

Parameter
Name Description
var LocalizedMessage
Returns
Type Description
$this

getQuotaInfo

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

Returns
Type Description
QuotaExceededInfo|null

hasQuotaInfo

clearQuotaInfo

setQuotaInfo

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

Parameter
Name Description
var QuotaExceededInfo
Returns
Type Description
$this