Class CacheUpdate (3.60.0)

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

A CacheUpdate expresses a set of changes the client should incorporate into its location cache. These changes may or may not be newer than what the client has in its cache, and should be discarded if necessary. CacheUpdate\ s can be obtained in response to requests that included a RoutingHint field, but may also be obtained by explicit location-fetching RPCs which may be added in the future.

Attributes

Name Description
database_id int
An internal ID for the database. Database names can be reused if a database is deleted and re-created. Each time the database is re-created, it will get a new database ID, which will never be re-used for any other database.
range_ MutableSequence[google.cloud.spanner_v1.types.Range]
A list of ranges to be cached.
group MutableSequence[google.cloud.spanner_v1.types.Group]
A list of groups to be cached.
key_recipes google.cloud.spanner_v1.types.RecipeList
A list of recipes to be cached.