Reference documentation and code samples for the Cloud Spanner V1 Client class FetchCacheUpdateRequest.
The request for FetchCacheUpdate.
Generated from protobuf message google.spanner.v1.FetchCacheUpdateRequest
Namespace
Google \ Cloud \ Spanner \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ database |
string
Required. The database for which to retrieve the cache update. |
↳ max_recipe_count |
int
Optional. The maximum number of key recipes to return in the response. If not set, a default limit of 100 will be used. |
↳ max_range_count |
int
Optional. The maximum number of ranges to return in the response. If not set, a default limit of 10000 will be used. |
getDatabase
Required. The database for which to retrieve the cache update.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDatabase
Required. The database for which to retrieve the cache update.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMaxRecipeCount
Optional. The maximum number of key recipes to return in the response.
If not set, a default limit of 100 will be used.
| Returns | |
|---|---|
| Type | Description |
int |
|
setMaxRecipeCount
Optional. The maximum number of key recipes to return in the response.
If not set, a default limit of 100 will be used.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMaxRangeCount
Optional. The maximum number of ranges to return in the response.
If not set, a default limit of 10000 will be used.
| Returns | |
|---|---|
| Type | Description |
int |
|
setMaxRangeCount
Optional. The maximum number of ranges to return in the response.
If not set, a default limit of 10000 will be used.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
database |
string
Required. The database for which to retrieve the cache update. Please see SpannerClient::databaseName() for help formatting this field. |
| Returns | |
|---|---|
| Type | Description |
FetchCacheUpdateRequest |
|