Chronicle V1 API - Class Google::Backstory::Http (v1.4.0)

Reference documentation and code samples for the Chronicle V1 API class Google::Backstory::Http.

Specify the full URL of the HTTP request within "target". Also specify any uploaded or downloaded file information within "source" or "target".

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#method

def method() -> ::String
Returns
  • (::String) — The HTTP request method (e.g. "GET", "POST", "PATCH", "DELETE").

#method=

def method=(value) -> ::String
Parameter
  • value (::String) — The HTTP request method (e.g. "GET", "POST", "PATCH", "DELETE").
Returns
  • (::String) — The HTTP request method (e.g. "GET", "POST", "PATCH", "DELETE").

#referral_url

def referral_url() -> ::String
Returns
  • (::String) — The URL for the HTTP referer.

#referral_url=

def referral_url=(value) -> ::String
Parameter
  • value (::String) — The URL for the HTTP referer.
Returns
  • (::String) — The URL for the HTTP referer.

#response_code

def response_code() -> ::Integer
Returns
  • (::Integer) — The response status code, for example 200, 302, 404, or 500.

#response_code=

def response_code=(value) -> ::Integer
Parameter
  • value (::Integer) — The response status code, for example 200, 302, 404, or 500.
Returns
  • (::Integer) — The response status code, for example 200, 302, 404, or 500.

#user_agent

def user_agent() -> ::String
Returns
  • (::String) — The User-Agent request header which includes the application type, operating system, software vendor or software version of the requesting software user agent.

#user_agent=

def user_agent=(value) -> ::String
Parameter
  • value (::String) — The User-Agent request header which includes the application type, operating system, software vendor or software version of the requesting software user agent.
Returns
  • (::String) — The User-Agent request header which includes the application type, operating system, software vendor or software version of the requesting software user agent.