Compute V1 Client - Class ErrorDetails (1.16.2)

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 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
Type Description
Google\Cloud\Compute\V1\ErrorInfo|null

hasErrorInfo

clearErrorInfo

setErrorInfo

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

Parameter
Name Description
var Google\Cloud\Compute\V1\ErrorInfo
Returns
Type Description
$this

getHelp

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

Returns
Type Description
Google\Cloud\Compute\V1\Help|null

hasHelp

clearHelp

setHelp

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

Parameter
Name Description
var Google\Cloud\Compute\V1\Help
Returns
Type Description
$this

getLocalizedMessage

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

Returns
Type Description
Google\Cloud\Compute\V1\LocalizedMessage|null

hasLocalizedMessage

clearLocalizedMessage

setLocalizedMessage

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

Parameter
Name Description
var Google\Cloud\Compute\V1\LocalizedMessage
Returns
Type Description
$this

getQuotaInfo

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

Returns
Type Description
Google\Cloud\Compute\V1\QuotaExceededInfo|null

hasQuotaInfo

clearQuotaInfo

setQuotaInfo

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

Parameter
Name Description
var Google\Cloud\Compute\V1\QuotaExceededInfo
Returns
Type Description
$this