# Class BackendServiceHttpCookie (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

    BackendServiceHttpCookie(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The HTTP cookie used for stateful session affinity.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Name of the cookie. This field is a member of `oneof`_ `_name`. |
| `path` | `str` Path to set for the cookie. This field is a member of `oneof`_ `_path`. |
| `ttl` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.Duration` Lifetime of the cookie. This field is a member of `oneof`_ `_ttl`. |