Class: Google::Cloud::ApigeeConnect::V1::HttpResponse

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#body::String

Returns The HTTP 1.1 response body.

Returns:

  • (::String)

    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.

Returns:

  • (::Integer)

    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.

Returns:



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.

Returns:

  • (::String)

    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".

Returns:

  • (::String)

    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.

Returns:

  • (::Integer)

    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