Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#database_id
def database_id() -> ::Integer- (::Integer) — 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.
#database_id=
def database_id=(value) -> ::Integer- value (::Integer) — 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.
- (::Integer) — 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.
#group
def group() -> ::Array<::Google::Cloud::Spanner::V1::Group>- (::Array<::Google::Cloud::Spanner::V1::Group>) — A list of groups to be cached.
#group=
def group=(value) -> ::Array<::Google::Cloud::Spanner::V1::Group>- value (::Array<::Google::Cloud::Spanner::V1::Group>) — A list of groups to be cached.
- (::Array<::Google::Cloud::Spanner::V1::Group>) — A list of groups to be cached.
#key_recipes
def key_recipes() -> ::Google::Cloud::Spanner::V1::RecipeList- (::Google::Cloud::Spanner::V1::RecipeList) — A list of recipes to be cached.
#key_recipes=
def key_recipes=(value) -> ::Google::Cloud::Spanner::V1::RecipeList- value (::Google::Cloud::Spanner::V1::RecipeList) — A list of recipes to be cached.
- (::Google::Cloud::Spanner::V1::RecipeList) — A list of recipes to be cached.
#range
def range() -> ::Array<::Google::Cloud::Spanner::V1::Range>- (::Array<::Google::Cloud::Spanner::V1::Range>) — A list of ranges to be cached.
#range=
def range=(value) -> ::Array<::Google::Cloud::Spanner::V1::Range>- value (::Array<::Google::Cloud::Spanner::V1::Range>) — A list of ranges to be cached.
- (::Array<::Google::Cloud::Spanner::V1::Range>) — A list of ranges to be cached.