Reference documentation and code samples for the Google Cloud Config V1 Client class TerraformError.
Errors encountered during actuation using Terraform
Generated from protobuf message google.cloud.config.v1.TerraformError
Namespace
Google \ Cloud \ Config \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ resource_address
string
Address of the resource associated with the error, e.g. google_compute_network.vpc_network
.
↳ http_response_code
int
HTTP response code returned from Google Cloud Platform APIs when Terraform fails to provision the resource. If unset or 0, no HTTP response code was returned by Terraform.
↳ error_description
string
A human-readable error description.
↳ error
getResourceAddress
Address of the resource associated with the error,
e.g. google_compute_network.vpc_network
.
string
setResourceAddress
Address of the resource associated with the error,
e.g. google_compute_network.vpc_network
.
var
string
$this
getHttpResponseCode
HTTP response code returned from Google Cloud Platform APIs when Terraform fails to provision the resource. If unset or 0, no HTTP response code was returned by Terraform.
int
setHttpResponseCode
HTTP response code returned from Google Cloud Platform APIs when Terraform fails to provision the resource. If unset or 0, no HTTP response code was returned by Terraform.
var
int
$this
getErrorDescription
A human-readable error description.
string
setErrorDescription
A human-readable error description.
var
string
$this
getError
Original error response from underlying Google API, if available.
hasError
clearError
setError
Original error response from underlying Google API, if available.
$this