Google Cloud Design Center V1 Client - Class DeploymentError (0.1.0)

Reference documentation and code samples for the Google Cloud Design Center V1 Client class DeploymentError.

The error associated with the deployment.

Generated from protobuf message google.cloud.designcenter.v1.DeploymentError

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ type int

Output only. The error type based on the deployment error code.

↳ code int

Output only. The deployment error code. Based on Infrastructure Manager error codes.

↳ tf_errors array<Google\Cloud\Config\V1\TerraformError>

Output only. The error message associated with the deployment.

↳ detail string

Output only. Human readable string that summarizes the deployment error issue.

↳ deployment_failure_resolution_info array<DeploymentFailureResolutionInfo>

Output only. The call to actions associated with the deployment issue.

↳ error_message string

Output only. Stores errors generated by Infra Manager, as well as all non-internal errors (such as INVALID_ARGUMENT) that occur before initiating the deployment.

getType

Output only. The error type based on the deployment error code.

Returns
Type Description
int Enum of type ErrorType.

setType

Output only. The error type based on the deployment error code.

Parameter
Name Description
var int

Enum of type ErrorType.

Returns
Type Description
$this

getCode

Output only. The deployment error code. Based on Infrastructure Manager error codes.

Returns
Type Description
int Enum of type ErrorCode.

setCode

Output only. The deployment error code. Based on Infrastructure Manager error codes.

Parameter
Name Description
var int

Enum of type ErrorCode.

Returns
Type Description
$this

getTfErrors

Output only. The error message associated with the deployment.

Returns
Type Description
Google\Protobuf\RepeatedField<Google\Cloud\Config\V1\TerraformError>

setTfErrors

Output only. The error message associated with the deployment.

Parameter
Name Description
var array<Google\Cloud\Config\V1\TerraformError>
Returns
Type Description
$this

getDetail

Output only. Human readable string that summarizes the deployment error issue.

Returns
Type Description
string

setDetail

Output only. Human readable string that summarizes the deployment error issue.

Parameter
Name Description
var string
Returns
Type Description
$this

getDeploymentFailureResolutionInfo

Output only. The call to actions associated with the deployment issue.

Returns
Type Description
Google\Protobuf\RepeatedField<DeploymentFailureResolutionInfo>

setDeploymentFailureResolutionInfo

Output only. The call to actions associated with the deployment issue.

Parameter
Name Description
var array<DeploymentFailureResolutionInfo>
Returns
Type Description
$this

getErrorMessage

Output only. Stores errors generated by Infra Manager, as well as all non-internal errors (such as INVALID_ARGUMENT) that occur before initiating the deployment.

Returns
Type Description
string

setErrorMessage

Output only. Stores errors generated by Infra Manager, as well as all non-internal errors (such as INVALID_ARGUMENT) that occur before initiating the deployment.

Parameter
Name Description
var string
Returns
Type Description
$this