|
|
|
@ -43,18 +43,18 @@ service RuntimeConfigManager { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Gets information about a RuntimeConfig resource. |
|
|
|
|
rpc GetConfig(GetConfigRequest) returns (google.cloud.runtimeconfig.v1beta1.RuntimeConfig) { |
|
|
|
|
rpc GetConfig(GetConfigRequest) returns (RuntimeConfig) { |
|
|
|
|
option (google.api.http) = { get: "/v1beta1/{name=projects/*/configs/*}" }; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Creates a new RuntimeConfig resource. The configuration name must be |
|
|
|
|
// unique within project. |
|
|
|
|
rpc CreateConfig(CreateConfigRequest) returns (google.cloud.runtimeconfig.v1beta1.RuntimeConfig) { |
|
|
|
|
rpc CreateConfig(CreateConfigRequest) returns (RuntimeConfig) { |
|
|
|
|
option (google.api.http) = { post: "/v1beta1/{parent=projects/*}/configs" body: "config" }; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Updates a RuntimeConfig resource. The configuration must exist beforehand. |
|
|
|
|
rpc UpdateConfig(UpdateConfigRequest) returns (google.cloud.runtimeconfig.v1beta1.RuntimeConfig) { |
|
|
|
|
rpc UpdateConfig(UpdateConfigRequest) returns (RuntimeConfig) { |
|
|
|
|
option (google.api.http) = { put: "/v1beta1/{name=projects/*/configs/*}" body: "config" }; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -70,7 +70,7 @@ service RuntimeConfigManager { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Gets information about a single variable. |
|
|
|
|
rpc GetVariable(GetVariableRequest) returns (google.cloud.runtimeconfig.v1beta1.Variable) { |
|
|
|
|
rpc GetVariable(GetVariableRequest) returns (Variable) { |
|
|
|
|
option (google.api.http) = { get: "/v1beta1/{name=projects/*/configs/*/variables/**}" }; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -87,7 +87,7 @@ service RuntimeConfigManager { |
|
|
|
|
// To learn more about creating a watcher, read the |
|
|
|
|
// [Watching a Variable for Changes](/deployment-manager/runtime-configurator/watching-a-variable) |
|
|
|
|
// documentation. |
|
|
|
|
rpc WatchVariable(WatchVariableRequest) returns (google.cloud.runtimeconfig.v1beta1.Variable) { |
|
|
|
|
rpc WatchVariable(WatchVariableRequest) returns (Variable) { |
|
|
|
|
option (google.api.http) = { post: "/v1beta1/{name=projects/*/configs/*/variables/**}:watch" body: "*" }; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -98,12 +98,12 @@ service RuntimeConfigManager { |
|
|
|
|
// To learn more about creating a variable, read the |
|
|
|
|
// [Setting and Getting Data](/deployment-manager/runtime-configurator/set-and-get-variables) |
|
|
|
|
// documentation. |
|
|
|
|
rpc CreateVariable(CreateVariableRequest) returns (google.cloud.runtimeconfig.v1beta1.Variable) { |
|
|
|
|
rpc CreateVariable(CreateVariableRequest) returns (Variable) { |
|
|
|
|
option (google.api.http) = { post: "/v1beta1/{parent=projects/*/configs/*}/variables" body: "variable" }; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Updates an existing variable with a new value. |
|
|
|
|
rpc UpdateVariable(UpdateVariableRequest) returns (google.cloud.runtimeconfig.v1beta1.Variable) { |
|
|
|
|
rpc UpdateVariable(UpdateVariableRequest) returns (Variable) { |
|
|
|
|
option (google.api.http) = { put: "/v1beta1/{name=projects/*/configs/*/variables/**}" body: "variable" }; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -123,7 +123,7 @@ service RuntimeConfigManager { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Gets information about a single waiter. |
|
|
|
|
rpc GetWaiter(GetWaiterRequest) returns (google.cloud.runtimeconfig.v1beta1.Waiter) { |
|
|
|
|
rpc GetWaiter(GetWaiterRequest) returns (Waiter) { |
|
|
|
|
option (google.api.http) = { get: "/v1beta1/{name=projects/*/configs/*/waiters/*}" }; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -162,7 +162,7 @@ message ListConfigsRequest { |
|
|
|
|
message ListConfigsResponse { |
|
|
|
|
// A list of the configurations in the project. The order of returned |
|
|
|
|
// objects is arbitrary; that is, it is not ordered in any particular way. |
|
|
|
|
repeated google.cloud.runtimeconfig.v1beta1.RuntimeConfig configs = 1; |
|
|
|
|
repeated RuntimeConfig configs = 1; |
|
|
|
|
|
|
|
|
|
// This token allows you to get the next page of results for list requests. |
|
|
|
|
// If the number of results is larger than `pageSize`, use the `nextPageToken` |
|
|
|
@ -187,7 +187,7 @@ message CreateConfigRequest { |
|
|
|
|
string parent = 1; |
|
|
|
|
|
|
|
|
|
// The RuntimeConfig to create. |
|
|
|
|
google.cloud.runtimeconfig.v1beta1.RuntimeConfig config = 2; |
|
|
|
|
RuntimeConfig config = 2; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Request message for `UpdateConfig()` method. |
|
|
|
@ -198,7 +198,7 @@ message UpdateConfigRequest { |
|
|
|
|
string name = 1; |
|
|
|
|
|
|
|
|
|
// The config resource to update. |
|
|
|
|
google.cloud.runtimeconfig.v1beta1.RuntimeConfig config = 2; |
|
|
|
|
RuntimeConfig config = 2; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Request for the `DeleteConfig()` method. |
|
|
|
@ -235,7 +235,7 @@ message ListVariablesRequest { |
|
|
|
|
message ListVariablesResponse { |
|
|
|
|
// A list of variables and their values. The order of returned variable |
|
|
|
|
// objects is arbitrary. |
|
|
|
|
repeated google.cloud.runtimeconfig.v1beta1.Variable variables = 1; |
|
|
|
|
repeated Variable variables = 1; |
|
|
|
|
|
|
|
|
|
// This token allows you to get the next page of results for list requests. |
|
|
|
|
// If the number of results is larger than `pageSize`, use the `nextPageToken` |
|
|
|
@ -278,7 +278,7 @@ message CreateVariableRequest { |
|
|
|
|
string parent = 1; |
|
|
|
|
|
|
|
|
|
// The variable to create. |
|
|
|
|
google.cloud.runtimeconfig.v1beta1.Variable variable = 2; |
|
|
|
|
Variable variable = 2; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Request for the `UpdateVariable()` method. |
|
|
|
@ -289,7 +289,7 @@ message UpdateVariableRequest { |
|
|
|
|
string name = 1; |
|
|
|
|
|
|
|
|
|
// The variable to update. |
|
|
|
|
google.cloud.runtimeconfig.v1beta1.Variable variable = 2; |
|
|
|
|
Variable variable = 2; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Request for the `DeleteVariable()` method. |
|
|
|
@ -325,7 +325,7 @@ message ListWaitersRequest { |
|
|
|
|
// Order of returned waiter objects is arbitrary. |
|
|
|
|
message ListWaitersResponse { |
|
|
|
|
// Found waiters in the project. |
|
|
|
|
repeated google.cloud.runtimeconfig.v1beta1.Waiter waiters = 1; |
|
|
|
|
repeated Waiter waiters = 1; |
|
|
|
|
|
|
|
|
|
// This token allows you to get the next page of results for list requests. |
|
|
|
|
// If the number of results is larger than `pageSize`, use the `nextPageToken` |
|
|
|
@ -353,7 +353,7 @@ message CreateWaiterRequest { |
|
|
|
|
string parent = 1; |
|
|
|
|
|
|
|
|
|
// The Waiter resource to create. |
|
|
|
|
google.cloud.runtimeconfig.v1beta1.Waiter waiter = 2; |
|
|
|
|
Waiter waiter = 2; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Request for the `DeleteWaiter()` method. |
|
|
|
|