public sealed class CacheUpdate : IMessage<CacheUpdate>, IEquatable<CacheUpdate>, IDeepCloneable<CacheUpdate>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Spanner v1 API class CacheUpdate.
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. CacheUpdates
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.
Implements
IMessageCacheUpdate, IEquatableCacheUpdate, IDeepCloneableCacheUpdate, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.V1Assembly
Google.Cloud.Spanner.V1.dll
Constructors
CacheUpdate()
public CacheUpdate()CacheUpdate(CacheUpdate)
public CacheUpdate(CacheUpdate other)| Parameter | |
|---|---|
| Name | Description |
other |
CacheUpdate |
Properties
DatabaseId
public ulong DatabaseId { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
ulong |
|
Group
public RepeatedField<Group> Group { get; }A list of groups to be cached.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldGroup |
|
KeyRecipes
public RecipeList KeyRecipes { get; set; }A list of recipes to be cached.
| Property Value | |
|---|---|
| Type | Description |
RecipeList |
|
Range
public RepeatedField<Range> Range { get; }A list of ranges to be cached.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldRange |
|