package google.cloud.runtimeconfig.v1beta1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service RuntimeConfigManager

runtimeconfig.proto:41

RuntimeConfig API represents configuration objects and operations on those configuration objects. RuntimeConfig objects consist of Variables logically grouped in the those objects. Variables are simple key-value pairs. Variables can be watched for changes or deletions. Variable key can be hieararchical, e.g. ports/serving_port, ports/monitoring_port, etc. Variable names can be hierarchical. No variable name can be prefix of another. Config objects represent logical containers for variables, e.g. flags, passwords, etc.

message EndCondition

resources.proto:100

The condition that a Waiter resource is waiting for.

Used in: Waiter

message EndCondition.Cardinality

resources.proto:115

A Cardinality condition for the Waiter resource. A cardinality condition is met when the number of variables under a specified path prefix reaches a predefined number. For example, if you set a Cardinality condition where the `path` is set to `/foo` and the number of paths is set to 2, the following variables would meet the condition in a RuntimeConfig resource: + `/foo/variable1 = "value1"` + `/foo/variable2 = "value2"` + `/bar/variable3 = "value3"` It would not would not satisify the same condition with the `number` set to 3, however, because there is only 2 paths that start with `/foo`. Cardinality conditions are recursive; all subtrees under the specific path prefix are counted.

Used in: EndCondition

message RuntimeConfig

resources.proto:33

A RuntimeConfig resource is the primary resource in the Cloud RuntimeConfig service. A RuntimeConfig resource consists of metadata and a hierarchy of variables.

Used as response type in: RuntimeConfigManager.CreateConfig, RuntimeConfigManager.GetConfig, RuntimeConfigManager.UpdateConfig

Used as field type in: CreateConfigRequest, ListConfigsResponse, UpdateConfigRequest

message Variable

resources.proto:56

Describes a single variable within a RuntimeConfig resource. The name denotes the hierarchical variable name. For example, `ports/serving_port` is a valid variable name. The variable value is an opaque string and only leaf variables can have values (that is, variables that do not have any child variables).

Used as response type in: RuntimeConfigManager.CreateVariable, RuntimeConfigManager.GetVariable, RuntimeConfigManager.UpdateVariable, RuntimeConfigManager.WatchVariable

Used as field type in: CreateVariableRequest, ListVariablesResponse, UpdateVariableRequest

enum VariableState

resources.proto:200

The `VariableState` describes the last known state of the variable and is used during a `variables().watch` call to distinguish the state of the variable.

Used in: Variable

message Waiter

resources.proto:148

A Waiter resource waits for some end condition within a RuntimeConfig resource to be met before it returns. For example, assume you have a distributed system where each node writes to a Variable resource indidicating the node's readiness as part of the startup process. You then configure a Waiter resource with the success condition set to wait until some number of nodes have checked in. Afterwards, your application runs some arbitrary code after the condition has been met and the waiter returns successfully. Once created, a Waiter resource is immutable. To learn more about using waiters, read the [Creating a Waiter](/deployment-manager/runtime-configurator/creating-a-waiter) documentation.

Used as response type in: RuntimeConfigManager.GetWaiter

Used as field type in: CreateWaiterRequest, ListWaitersResponse