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

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

#recipe=

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

#schema_generation

def schema_generation() -> ::String
Returns
  • (::String) — The schema generation of the recipes. To be sent to the server in RoutingHint.schema_generation whenever one of the recipes is used. schema_generation values 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_generation whenever one of the recipes is used. schema_generation values 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_generation whenever one of the recipes is used. schema_generation values 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.