Cloud Spanner V1 API - Class Google::Cloud::Spanner::V1::CacheUpdate (v1.12.0)

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
Returns
  • (::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
Parameter
  • 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.
Returns
  • (::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>
Returns

#group=

def group=(value) -> ::Array<::Google::Cloud::Spanner::V1::Group>
Parameter
Returns

#key_recipes

def key_recipes() -> ::Google::Cloud::Spanner::V1::RecipeList
Returns

#key_recipes=

def key_recipes=(value) -> ::Google::Cloud::Spanner::V1::RecipeList
Parameter
Returns

#range

def range() -> ::Array<::Google::Cloud::Spanner::V1::Range>
Returns

#range=

def range=(value) -> ::Array<::Google::Cloud::Spanner::V1::Range>
Parameter
Returns