Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::RecipeList.
A RecipeList contains a list of KeyRecipes, which share the same
schema generation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#recipe
def recipe() -> ::Array<::Google::Cloud::Spanner::V1::KeyRecipe>
Returns
- (::Array<::Google::Cloud::Spanner::V1::KeyRecipe>) — A list of recipes to be cached.
#recipe=
def recipe=(value) -> ::Array<::Google::Cloud::Spanner::V1::KeyRecipe>
Parameter
- value (::Array<::Google::Cloud::Spanner::V1::KeyRecipe>) — A list of recipes to be cached.
Returns
- (::Array<::Google::Cloud::Spanner::V1::KeyRecipe>) — A list of recipes to be cached.
#schema_generation
def schema_generation() -> ::String
Returns
-
(::String) — The schema generation of the recipes. To be sent to the server in
RoutingHint.schema_generationwhenever one of the recipes is used.schema_generationvalues are comparable with each other; if generation A compares greater than generation B, then A is a more recent schema than B. Clients should in general aim to cache only the latest schema generation, and discard more stale recipes.
#schema_generation=
def schema_generation=(value) -> ::String
Parameter
-
value (::String) — The schema generation of the recipes. To be sent to the server in
RoutingHint.schema_generationwhenever one of the recipes is used.schema_generationvalues are comparable with each other; if generation A compares greater than generation B, then A is a more recent schema than B. Clients should in general aim to cache only the latest schema generation, and discard more stale recipes.
Returns
-
(::String) — The schema generation of the recipes. To be sent to the server in
RoutingHint.schema_generationwhenever one of the recipes is used.schema_generationvalues are comparable with each other; if generation A compares greater than generation B, then A is a more recent schema than B. Clients should in general aim to cache only the latest schema generation, and discard more stale recipes.