Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::Errors.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#code
def code() -> ::String
Returns
- (::String) — [Output Only] The error type identifier for this error.
#code=
def code=(value) -> ::String
Parameter
- value (::String) — [Output Only] The error type identifier for this error.
Returns
- (::String) — [Output Only] The error type identifier for this error.
#error_details
def error_details() -> ::Array<::Google::Cloud::Compute::V1::ErrorDetails>
Returns
- (::Array<::Google::Cloud::Compute::V1::ErrorDetails>) — [Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
#error_details=
def error_details=(value) -> ::Array<::Google::Cloud::Compute::V1::ErrorDetails>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::ErrorDetails>) — [Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
Returns
- (::Array<::Google::Cloud::Compute::V1::ErrorDetails>) — [Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.
#location
def location() -> ::String
Returns
- (::String) — [Output Only] Indicates the field in the request that caused the error. This property is optional.
#location=
def location=(value) -> ::String
Parameter
- value (::String) — [Output Only] Indicates the field in the request that caused the error. This property is optional.
Returns
- (::String) — [Output Only] Indicates the field in the request that caused the error. This property is optional.
#message
def message() -> ::String
Returns
- (::String) — [Output Only] An optional, human-readable error message.
#message=
def message=(value) -> ::String
Parameter
- value (::String) — [Output Only] An optional, human-readable error message.
Returns
- (::String) — [Output Only] An optional, human-readable error message.