Reference documentation and code samples for the Cloud Bigtable V2 Client class SessionScopeDiversionConfiguration.
Configuration for how a given slice of traffic is diverted to sessions.
Internal usage only.
Generated from protobuf message google.bigtable.v2.SessionScopeDiversionConfiguration
Namespace
Google \ Cloud \ Bigtable \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ session_load |
float
What share of in-scope requests should operate on a session, [0, 1]. The remaining requests within this scope should operate on the classic API. |
getSessionLoad
What share of in-scope requests should operate on a session, [0, 1].
The remaining requests within this scope should operate on the classic API.
| Returns | |
|---|---|
| Type | Description |
float |
|
setSessionLoad
What share of in-scope requests should operate on a session, [0, 1].
The remaining requests within this scope should operate on the classic API.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|