Class: Google::Cloud::ApigeeConnect::V1::HttpResponse
- Inherits:
-
Object
- Object
- Google::Cloud::ApigeeConnect::V1::HttpResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/apigeeconnect/v1/tether.rb
Overview
The proto definition of http response.
Instance Attribute Summary collapse
-
#body ⇒ ::String
The HTTP 1.1 response body.
-
#content_length ⇒ ::Integer
Content length records the length of the associated content.
-
#headers ⇒ ::Array<::Google::Cloud::ApigeeConnect::V1::Header>
The HTTP response headers.
-
#id ⇒ ::String
A unique identifier that matches the request ID.
-
#status ⇒ ::String
Status of http response, e.g.
-
#status_code ⇒ ::Integer
Status code of http response, e.g.
Instance Attribute Details
#body ⇒ ::String
Returns The HTTP 1.1 response body.
175 176 177 178 |
# File 'proto_docs/google/cloud/apigeeconnect/v1/tether.rb', line 175 class HttpResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#content_length ⇒ ::Integer
Returns Content length records the length of the associated content. The value -1 indicates that the length is unknown. Unless http method is "HEAD", values >= 0 indicate that the given number of bytes may be read from Body.
175 176 177 178 |
# File 'proto_docs/google/cloud/apigeeconnect/v1/tether.rb', line 175 class HttpResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#headers ⇒ ::Array<::Google::Cloud::ApigeeConnect::V1::Header>
Returns The HTTP response headers.
175 176 177 178 |
# File 'proto_docs/google/cloud/apigeeconnect/v1/tether.rb', line 175 class HttpResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#id ⇒ ::String
Returns A unique identifier that matches the request ID.
175 176 177 178 |
# File 'proto_docs/google/cloud/apigeeconnect/v1/tether.rb', line 175 class HttpResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#status ⇒ ::String
Returns Status of http response, e.g. "200 OK".
175 176 177 178 |
# File 'proto_docs/google/cloud/apigeeconnect/v1/tether.rb', line 175 class HttpResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#status_code ⇒ ::Integer
Returns Status code of http response, e.g. 200.
175 176 177 178 |
# File 'proto_docs/google/cloud/apigeeconnect/v1/tether.rb', line 175 class HttpResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |