Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::BackendServiceHttpCookie.
The HTTP cookie used for stateful session affinity.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
- (::String) — Name of the cookie.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Name of the cookie.
Returns
- (::String) — Name of the cookie.
#path
def path() -> ::String
Returns
- (::String) — Path to set for the cookie.
#path=
def path=(value) -> ::String
Parameter
- value (::String) — Path to set for the cookie.
Returns
- (::String) — Path to set for the cookie.
#ttl
def ttl() -> ::Google::Cloud::Compute::V1::Duration
Returns
- (::Google::Cloud::Compute::V1::Duration) — Lifetime of the cookie.
#ttl=
def ttl=(value) -> ::Google::Cloud::Compute::V1::Duration
Parameter
- value (::Google::Cloud::Compute::V1::Duration) — Lifetime of the cookie.
Returns
- (::Google::Cloud::Compute::V1::Duration) — Lifetime of the cookie.