Class: Google::Cloud::Compute::V1::CustomErrorResponsePolicyCustomErrorResponseRule
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::CustomErrorResponsePolicyCustomErrorResponseRule
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.rb
Overview
Specifies the mapping between the response code that will be returned along with the custom error content and the response code returned by the backend service.
Instance Attribute Summary collapse
-
#match_response_codes ⇒ ::Array<::String>
Valid values include: - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value.
-
#override_response_code ⇒ ::Integer
The HTTP status code returned with the response containing the custom error content.
-
#path ⇒ ::String
The full path to a file within backendBucket .
Instance Attribute Details
#match_response_codes ⇒ ::Array<::String>
5725 5726 5727 5728 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 5725 class CustomErrorResponsePolicyCustomErrorResponseRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#override_response_code ⇒ ::Integer
5725 5726 5727 5728 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 5725 class CustomErrorResponsePolicyCustomErrorResponseRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#path ⇒ ::String
5725 5726 5727 5728 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 5725 class CustomErrorResponsePolicyCustomErrorResponseRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |