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

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

Browser cookie.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

def domain() -> ::String
Returns
  • (::String) — The domain for which the cookie is valid.
def domain=(value) -> ::String
Parameter
  • value (::String) — The domain for which the cookie is valid.
Returns
  • (::String) — The domain for which the cookie is valid.
def expiration_time() -> ::Google::Protobuf::Timestamp
Returns
def expiration_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns
def http_only() -> ::Boolean
Returns
  • (::Boolean) — Indicates if the cookie is inaccessible via client-side scripts (e.g., JavaScript).
def http_only=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Indicates if the cookie is inaccessible via client-side scripts (e.g., JavaScript).
Returns
  • (::Boolean) — Indicates if the cookie is inaccessible via client-side scripts (e.g., JavaScript).
def max_age() -> ::Integer
Returns
  • (::Integer) — The maximum age of the cookie in seconds.
def max_age=(value) -> ::Integer
Parameter
  • value (::Integer) — The maximum age of the cookie in seconds.
Returns
  • (::Integer) — The maximum age of the cookie in seconds.
def name() -> ::String
Returns
  • (::String) — The unique name identifying the cookie.
def name=(value) -> ::String
Parameter
  • value (::String) — The unique name identifying the cookie.
Returns
  • (::String) — The unique name identifying the cookie.
def partitioned() -> ::Boolean
Returns
  • (::Boolean) — Shows if the cookies is stored using partitioned storage.
def partitioned=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Shows if the cookies is stored using partitioned storage.
Returns
  • (::Boolean) — Shows if the cookies is stored using partitioned storage.
def path() -> ::String
Returns
  • (::String) — The URL path for which the cookie is valid.
def path=(value) -> ::String
Parameter
  • value (::String) — The URL path for which the cookie is valid.
Returns
  • (::String) — The URL path for which the cookie is valid.
def same_site() -> ::Google::Backstory::Browser::Cookie::CookieSameSite
Returns
def same_site=(value) -> ::Google::Backstory::Browser::Cookie::CookieSameSite
Parameter
Returns
def secure() -> ::Boolean
Returns
  • (::Boolean) — Indicates if the cookie should only be sent over secure HTTPS connections.
def secure=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Indicates if the cookie should only be sent over secure HTTPS connections.
Returns
  • (::Boolean) — Indicates if the cookie should only be sent over secure HTTPS connections.
def session() -> ::Boolean
Returns
  • (::Boolean) — Indicates if the cookie is persistent.
def session=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Indicates if the cookie is persistent.
Returns
  • (::Boolean) — Indicates if the cookie is persistent.
def value() -> ::String
Returns
  • (::String) — The data stored within the cookie.
def value=(value) -> ::String
Parameter
  • value (::String) — The data stored within the cookie.
Returns
  • (::String) — The data stored within the cookie.