Index: discovery/googleapis_beta/runtimeconfig__v1beta1.json |
diff --git a/discovery/googleapis_beta/runtimeconfig__v1beta1.json b/discovery/googleapis_beta/runtimeconfig__v1beta1.json |
index 10dc1876048cf5a64e3e917968e298f3ecc1f170..09f9f2fab3d97e2a4e7df7ec211842de70a79d35 100644 |
--- a/discovery/googleapis_beta/runtimeconfig__v1beta1.json |
+++ b/discovery/googleapis_beta/runtimeconfig__v1beta1.json |
@@ -28,6 +28,22 @@ |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
+ "pp": { |
+ "default": "true", |
+ "description": "Pretty-print response.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
+ "oauth_token": { |
+ "description": "OAuth 2.0 token for the current user.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "bearer_token": { |
+ "description": "OAuth bearer token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"upload_protocol": { |
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
"location": "query", |
@@ -97,22 +113,6 @@ |
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
"location": "query", |
"type": "string" |
- }, |
- "pp": { |
- "default": "true", |
- "description": "Pretty-print response.", |
- "location": "query", |
- "type": "boolean" |
- }, |
- "oauth_token": { |
- "description": "OAuth 2.0 token for the current user.", |
- "location": "query", |
- "type": "string" |
- }, |
- "bearer_token": { |
- "description": "OAuth bearer token.", |
- "location": "query", |
- "type": "string" |
} |
}, |
"protocol": "rest", |
@@ -351,83 +351,27 @@ |
} |
}, |
"resources": { |
- "variables": { |
+ "operations": { |
"methods": { |
- "watch": { |
- "description": "Watches a specific variable and waits for a change in the variable's value.\nWhen there is a change, this method returns the new value or times out.\n\nIf a variable is deleted while being watched, the `variableState` state is\nset to `DELETED` and the method returns the last known variable `value`.\n\nIf you set the deadline for watching to a larger value than internal timeout\n(60 seconds), the current variable value is returned and the `variableState`\nwill be `VARIABLE_STATE_UNSPECIFIED`.\n\nTo learn more about creating a watcher, read the\n[Watching a Variable for Changes](/deployment-manager/runtime-configurator/watching-a-variable)\ndocumentation.", |
- "httpMethod": "POST", |
- "id": "runtimeconfig.projects.configs.variables.watch", |
- "parameterOrder": [ |
- "name" |
- ], |
- "parameters": { |
- "name": { |
- "description": "The name of the variable to watch, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", |
- "location": "path", |
- "pattern": "^projects/[^/]+/configs/[^/]+/variables/.+$", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v1beta1/{+name}:watch", |
- "request": { |
- "$ref": "WatchVariableRequest" |
- }, |
- "response": { |
- "$ref": "Variable" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/cloudruntimeconfig" |
- ] |
- }, |
"get": { |
- "description": "Gets information about a single variable.", |
+ "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", |
"httpMethod": "GET", |
- "id": "runtimeconfig.projects.configs.variables.get", |
- "parameterOrder": [ |
- "name" |
- ], |
- "parameters": { |
- "name": { |
- "description": "The name of the variable to return, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIBLE_NAME]`", |
- "location": "path", |
- "pattern": "^projects/[^/]+/configs/[^/]+/variables/.+$", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v1beta1/{+name}", |
- "response": { |
- "$ref": "Variable" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/cloudruntimeconfig" |
- ] |
- }, |
- "update": { |
- "description": "Updates an existing variable with a new value.", |
- "httpMethod": "PUT", |
- "id": "runtimeconfig.projects.configs.variables.update", |
+ "id": "runtimeconfig.projects.configs.operations.get", |
"parameterOrder": [ |
"name" |
], |
"parameters": { |
"name": { |
- "description": "The name of the variable to update, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]`", |
+ "description": "The name of the operation resource.", |
"location": "path", |
- "pattern": "^projects/[^/]+/configs/[^/]+/variables/.+$", |
+ "pattern": "^projects/[^/]+/configs/[^/]+/operations/.+$", |
"required": true, |
"type": "string" |
} |
}, |
"path": "v1beta1/{+name}", |
- "request": { |
- "$ref": "Variable" |
- }, |
"response": { |
- "$ref": "Variable" |
+ "$ref": "Operation" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
@@ -437,7 +381,7 @@ |
"testIamPermissions": { |
"description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", |
"httpMethod": "POST", |
- "id": "runtimeconfig.projects.configs.variables.testIamPermissions", |
+ "id": "runtimeconfig.projects.configs.operations.testIamPermissions", |
"parameterOrder": [ |
"resource" |
], |
@@ -445,7 +389,7 @@ |
"resource": { |
"description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", |
"location": "path", |
- "pattern": "^projects/[^/]+/configs/[^/]+/variables/.+$", |
+ "pattern": "^projects/[^/]+/configs/[^/]+/operations/.+$", |
"required": true, |
"type": "string" |
} |
@@ -461,41 +405,15 @@ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/cloudruntimeconfig" |
] |
- }, |
- "delete": { |
- "description": "Deletes a variable or multiple variables.\n\nIf you specify a variable name, then that variable is deleted. If you\nspecify a prefix and `recursive` is true, then all variables with that\nprefix are deleted. You must set a `recursive` to true if you delete\nvariables by prefix.", |
- "httpMethod": "DELETE", |
- "id": "runtimeconfig.projects.configs.variables.delete", |
- "parameterOrder": [ |
- "name" |
- ], |
- "parameters": { |
- "recursive": { |
- "description": "Set to `true` to recursively delete multiple variables with the same\nprefix.", |
- "location": "query", |
- "type": "boolean" |
- }, |
- "name": { |
- "description": "The name of the variable to delete, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]`", |
- "location": "path", |
- "pattern": "^projects/[^/]+/configs/[^/]+/variables/.+$", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v1beta1/{+name}", |
- "response": { |
- "$ref": "Empty" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/cloudruntimeconfig" |
- ] |
- }, |
+ } |
+ } |
+ }, |
+ "waiters": { |
+ "methods": { |
"list": { |
- "description": "Lists variables within given a configuration, matching any provided filters.\nThis only lists variable names, not the values, unless `return_values` is\ntrue, in which case only variables that user has IAM permission to GetVariable\nwill be returned.", |
+ "description": "List waiters within the given configuration.", |
"httpMethod": "GET", |
- "id": "runtimeconfig.projects.configs.variables.list", |
+ "id": "runtimeconfig.projects.configs.waiters.list", |
"parameterOrder": [ |
"parent" |
], |
@@ -505,11 +423,6 @@ |
"location": "query", |
"type": "string" |
}, |
- "returnValues": { |
- "description": "The flag indicates whether the user wants to return values of variables.\nIf true, then only those variables that user has IAM GetVariable permission\nwill be returned along with their values.", |
- "location": "query", |
- "type": "boolean" |
- }, |
"pageSize": { |
"description": "Specifies the number of results to return per page. If there are fewer\nelements than the specified number, returns all elements.", |
"format": "int32", |
@@ -517,81 +430,72 @@ |
"type": "integer" |
}, |
"parent": { |
- "description": "The path to the RuntimeConfig resource for which you want to list variables.\nThe configuration must exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", |
+ "description": "The path to the configuration for which you want to get a list of waiters.\nThe configuration must exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", |
"location": "path", |
"pattern": "^projects/[^/]+/configs/[^/]+$", |
"required": true, |
"type": "string" |
- }, |
- "filter": { |
- "description": "Filters variables by matching the specified filter. For example:\n\n`projects/example-project/config/[CONFIG_NAME]/variables/example-variable`.", |
- "location": "query", |
- "type": "string" |
} |
}, |
- "path": "v1beta1/{+parent}/variables", |
+ "path": "v1beta1/{+parent}/waiters", |
"response": { |
- "$ref": "ListVariablesResponse" |
+ "$ref": "ListWaitersResponse" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/cloudruntimeconfig" |
] |
}, |
- "create": { |
- "description": "Creates a variable within the given configuration. You cannot create\na variable with a name that is a prefix of an existing variable name, or a\nname that has an existing variable name as a prefix.\n\nTo learn more about creating a variable, read the\n[Setting and Getting Data](/deployment-manager/runtime-configurator/set-and-get-variables)\ndocumentation.", |
- "httpMethod": "POST", |
- "id": "runtimeconfig.projects.configs.variables.create", |
+ "get": { |
+ "description": "Gets information about a single waiter.", |
+ "httpMethod": "GET", |
+ "id": "runtimeconfig.projects.configs.waiters.get", |
"parameterOrder": [ |
- "parent" |
+ "name" |
], |
"parameters": { |
- "requestId": { |
- "description": "An optional but recommended unique `request_id`. If the server\nreceives two `create()` requests with the same\n`request_id`, then the second request will be ignored and the\nfirst resource created and stored in the backend is returned.\nEmpty `request_id` fields are ignored.\n\nIt is responsibility of the client to ensure uniqueness of the\n`request_id` strings.\n\n`request_id` strings are limited to 64 characters.", |
- "location": "query", |
- "type": "string" |
- }, |
- "parent": { |
- "description": "The path to the RutimeConfig resource that this variable should belong to.\nThe configuration must exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", |
+ "name": { |
+ "description": "The fully-qualified name of the Waiter resource object to retrieve, in the\nformat:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`", |
"location": "path", |
- "pattern": "^projects/[^/]+/configs/[^/]+$", |
+ "pattern": "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1beta1/{+parent}/variables", |
- "request": { |
- "$ref": "Variable" |
- }, |
+ "path": "v1beta1/{+name}", |
"response": { |
- "$ref": "Variable" |
+ "$ref": "Waiter" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/cloudruntimeconfig" |
] |
- } |
- } |
- }, |
- "operations": { |
- "methods": { |
- "get": { |
- "description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice.", |
- "httpMethod": "GET", |
- "id": "runtimeconfig.projects.configs.operations.get", |
+ }, |
+ "create": { |
+ "description": "Creates a Waiter resource. This operation returns a long-running Operation\nresource which can be polled for completion. However, a waiter with the\ngiven name will exist (and can be retrieved) prior to the operation\ncompleting. If the operation fails, the failed Waiter resource will\nstill exist and must be deleted prior to subsequent creation attempts.", |
+ "httpMethod": "POST", |
+ "id": "runtimeconfig.projects.configs.waiters.create", |
"parameterOrder": [ |
- "name" |
+ "parent" |
], |
"parameters": { |
- "name": { |
- "description": "The name of the operation resource.", |
+ "requestId": { |
+ "description": "An optional but recommended unique `request_id`. If the server\nreceives two `create()` requests with the same\n`request_id`, then the second request will be ignored and the\nfirst resource created and stored in the backend is returned.\nEmpty `request_id` fields are ignored.\n\nIt is responsibility of the client to ensure uniqueness of the\n`request_id` strings.\n\n`request_id` strings are limited to 64 characters.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "parent": { |
+ "description": "The path to the configuration that will own the waiter.\nThe configuration must exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.", |
"location": "path", |
- "pattern": "^projects/[^/]+/configs/[^/]+/operations/.+$", |
+ "pattern": "^projects/[^/]+/configs/[^/]+$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1beta1/{+name}", |
+ "path": "v1beta1/{+parent}/waiters", |
+ "request": { |
+ "$ref": "Waiter" |
+ }, |
"response": { |
"$ref": "Operation" |
}, |
@@ -603,7 +507,7 @@ |
"testIamPermissions": { |
"description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", |
"httpMethod": "POST", |
- "id": "runtimeconfig.projects.configs.operations.testIamPermissions", |
+ "id": "runtimeconfig.projects.configs.waiters.testIamPermissions", |
"parameterOrder": [ |
"resource" |
], |
@@ -611,7 +515,7 @@ |
"resource": { |
"description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", |
"location": "path", |
- "pattern": "^projects/[^/]+/configs/[^/]+/operations/.+$", |
+ "pattern": "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$", |
"required": true, |
"type": "string" |
} |
@@ -627,11 +531,7 @@ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/cloudruntimeconfig" |
] |
- } |
- } |
- }, |
- "waiters": { |
- "methods": { |
+ }, |
"delete": { |
"description": "Deletes the waiter with the specified name.", |
"httpMethod": "DELETE", |
@@ -656,95 +556,86 @@ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/cloudruntimeconfig" |
] |
- }, |
- "list": { |
- "description": "List waiters within the given configuration.", |
+ } |
+ } |
+ }, |
+ "variables": { |
+ "methods": { |
+ "get": { |
+ "description": "Gets information about a single variable.", |
"httpMethod": "GET", |
- "id": "runtimeconfig.projects.configs.waiters.list", |
+ "id": "runtimeconfig.projects.configs.variables.get", |
"parameterOrder": [ |
- "parent" |
+ "name" |
], |
"parameters": { |
- "pageToken": { |
- "description": "Specifies a page token to use. Set `pageToken` to a `nextPageToken`\nreturned by a previous list request to get the next page of results.", |
- "location": "query", |
- "type": "string" |
- }, |
- "pageSize": { |
- "description": "Specifies the number of results to return per page. If there are fewer\nelements than the specified number, returns all elements.", |
- "format": "int32", |
- "location": "query", |
- "type": "integer" |
- }, |
- "parent": { |
- "description": "The path to the configuration for which you want to get a list of waiters.\nThe configuration must exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", |
- "location": "path", |
- "pattern": "^projects/[^/]+/configs/[^/]+$", |
- "required": true, |
+ "name": { |
+ "description": "The name of the variable to return, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIBLE_NAME]`", |
+ "location": "path", |
+ "pattern": "^projects/[^/]+/configs/[^/]+/variables/.+$", |
+ "required": true, |
"type": "string" |
} |
}, |
- "path": "v1beta1/{+parent}/waiters", |
+ "path": "v1beta1/{+name}", |
"response": { |
- "$ref": "ListWaitersResponse" |
+ "$ref": "Variable" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/cloudruntimeconfig" |
] |
}, |
- "get": { |
- "description": "Gets information about a single waiter.", |
- "httpMethod": "GET", |
- "id": "runtimeconfig.projects.configs.waiters.get", |
+ "watch": { |
+ "description": "Watches a specific variable and waits for a change in the variable's value.\nWhen there is a change, this method returns the new value or times out.\n\nIf a variable is deleted while being watched, the `variableState` state is\nset to `DELETED` and the method returns the last known variable `value`.\n\nIf you set the deadline for watching to a larger value than internal timeout\n(60 seconds), the current variable value is returned and the `variableState`\nwill be `VARIABLE_STATE_UNSPECIFIED`.\n\nTo learn more about creating a watcher, read the\n[Watching a Variable for Changes](/deployment-manager/runtime-configurator/watching-a-variable)\ndocumentation.", |
+ "httpMethod": "POST", |
+ "id": "runtimeconfig.projects.configs.variables.watch", |
"parameterOrder": [ |
"name" |
], |
"parameters": { |
"name": { |
- "description": "The fully-qualified name of the Waiter resource object to retrieve, in the\nformat:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`", |
+ "description": "The name of the variable to watch, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", |
"location": "path", |
- "pattern": "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$", |
+ "pattern": "^projects/[^/]+/configs/[^/]+/variables/.+$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1beta1/{+name}", |
+ "path": "v1beta1/{+name}:watch", |
+ "request": { |
+ "$ref": "WatchVariableRequest" |
+ }, |
"response": { |
- "$ref": "Waiter" |
+ "$ref": "Variable" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/cloudruntimeconfig" |
] |
}, |
- "create": { |
- "description": "Creates a Waiter resource. This operation returns a long-running Operation\nresource which can be polled for completion. However, a waiter with the\ngiven name will exist (and can be retrieved) prior to the operation\ncompleting. If the operation fails, the failed Waiter resource will\nstill exist and must be deleted prior to subsequent creation attempts.", |
- "httpMethod": "POST", |
- "id": "runtimeconfig.projects.configs.waiters.create", |
+ "update": { |
+ "description": "Updates an existing variable with a new value.", |
+ "httpMethod": "PUT", |
+ "id": "runtimeconfig.projects.configs.variables.update", |
"parameterOrder": [ |
- "parent" |
+ "name" |
], |
"parameters": { |
- "requestId": { |
- "description": "An optional but recommended unique `request_id`. If the server\nreceives two `create()` requests with the same\n`request_id`, then the second request will be ignored and the\nfirst resource created and stored in the backend is returned.\nEmpty `request_id` fields are ignored.\n\nIt is responsibility of the client to ensure uniqueness of the\n`request_id` strings.\n\n`request_id` strings are limited to 64 characters.", |
- "location": "query", |
- "type": "string" |
- }, |
- "parent": { |
- "description": "The path to the configuration that will own the waiter.\nThe configuration must exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`.", |
+ "name": { |
+ "description": "The name of the variable to update, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]`", |
"location": "path", |
- "pattern": "^projects/[^/]+/configs/[^/]+$", |
+ "pattern": "^projects/[^/]+/configs/[^/]+/variables/.+$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1beta1/{+parent}/waiters", |
+ "path": "v1beta1/{+name}", |
"request": { |
- "$ref": "Waiter" |
+ "$ref": "Variable" |
}, |
"response": { |
- "$ref": "Operation" |
+ "$ref": "Variable" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
@@ -754,7 +645,7 @@ |
"testIamPermissions": { |
"description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", |
"httpMethod": "POST", |
- "id": "runtimeconfig.projects.configs.waiters.testIamPermissions", |
+ "id": "runtimeconfig.projects.configs.variables.testIamPermissions", |
"parameterOrder": [ |
"resource" |
], |
@@ -762,7 +653,7 @@ |
"resource": { |
"description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", |
"location": "path", |
- "pattern": "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$", |
+ "pattern": "^projects/[^/]+/configs/[^/]+/variables/.+$", |
"required": true, |
"type": "string" |
} |
@@ -778,6 +669,115 @@ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/cloudruntimeconfig" |
] |
+ }, |
+ "delete": { |
+ "description": "Deletes a variable or multiple variables.\n\nIf you specify a variable name, then that variable is deleted. If you\nspecify a prefix and `recursive` is true, then all variables with that\nprefix are deleted. You must set a `recursive` to true if you delete\nvariables by prefix.", |
+ "httpMethod": "DELETE", |
+ "id": "runtimeconfig.projects.configs.variables.delete", |
+ "parameterOrder": [ |
+ "name" |
+ ], |
+ "parameters": { |
+ "recursive": { |
+ "description": "Set to `true` to recursively delete multiple variables with the same\nprefix.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
+ "name": { |
+ "description": "The name of the variable to delete, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]`", |
+ "location": "path", |
+ "pattern": "^projects/[^/]+/configs/[^/]+/variables/.+$", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1beta1/{+name}", |
+ "response": { |
+ "$ref": "Empty" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/cloudruntimeconfig" |
+ ] |
+ }, |
+ "list": { |
+ "description": "Lists variables within given a configuration, matching any provided filters.\nThis only lists variable names, not the values, unless `return_values` is\ntrue, in which case only variables that user has IAM permission to GetVariable\nwill be returned.", |
+ "httpMethod": "GET", |
+ "id": "runtimeconfig.projects.configs.variables.list", |
+ "parameterOrder": [ |
+ "parent" |
+ ], |
+ "parameters": { |
+ "parent": { |
+ "description": "The path to the RuntimeConfig resource for which you want to list variables.\nThe configuration must exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", |
+ "location": "path", |
+ "pattern": "^projects/[^/]+/configs/[^/]+$", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "filter": { |
+ "description": "Filters variables by matching the specified filter. For example:\n\n`projects/example-project/config/[CONFIG_NAME]/variables/example-variable`.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "pageToken": { |
+ "description": "Specifies a page token to use. Set `pageToken` to a `nextPageToken`\nreturned by a previous list request to get the next page of results.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "returnValues": { |
+ "description": "The flag indicates whether the user wants to return values of variables.\nIf true, then only those variables that user has IAM GetVariable permission\nwill be returned along with their values.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
+ "pageSize": { |
+ "description": "Specifies the number of results to return per page. If there are fewer\nelements than the specified number, returns all elements.", |
+ "format": "int32", |
+ "location": "query", |
+ "type": "integer" |
+ } |
+ }, |
+ "path": "v1beta1/{+parent}/variables", |
+ "response": { |
+ "$ref": "ListVariablesResponse" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/cloudruntimeconfig" |
+ ] |
+ }, |
+ "create": { |
+ "description": "Creates a variable within the given configuration. You cannot create\na variable with a name that is a prefix of an existing variable name, or a\nname that has an existing variable name as a prefix.\n\nTo learn more about creating a variable, read the\n[Setting and Getting Data](/deployment-manager/runtime-configurator/set-and-get-variables)\ndocumentation.", |
+ "httpMethod": "POST", |
+ "id": "runtimeconfig.projects.configs.variables.create", |
+ "parameterOrder": [ |
+ "parent" |
+ ], |
+ "parameters": { |
+ "requestId": { |
+ "description": "An optional but recommended unique `request_id`. If the server\nreceives two `create()` requests with the same\n`request_id`, then the second request will be ignored and the\nfirst resource created and stored in the backend is returned.\nEmpty `request_id` fields are ignored.\n\nIt is responsibility of the client to ensure uniqueness of the\n`request_id` strings.\n\n`request_id` strings are limited to 64 characters.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "parent": { |
+ "description": "The path to the RutimeConfig resource that this variable should belong to.\nThe configuration must exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", |
+ "location": "path", |
+ "pattern": "^projects/[^/]+/configs/[^/]+$", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1beta1/{+parent}/variables", |
+ "request": { |
+ "$ref": "Variable" |
+ }, |
+ "response": { |
+ "$ref": "Variable" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/cloudruntimeconfig" |
+ ] |
} |
} |
} |
@@ -786,9 +786,41 @@ |
} |
} |
}, |
- "revision": "20170522", |
+ "revision": "20170620", |
"rootUrl": "https://runtimeconfig.googleapis.com/", |
"schemas": { |
+ "TestIamPermissionsResponse": { |
+ "description": "Response message for `TestIamPermissions` method.", |
+ "id": "TestIamPermissionsResponse", |
+ "properties": { |
+ "permissions": { |
+ "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "ListVariablesResponse": { |
+ "description": "Response for the `ListVariables()` method.", |
+ "id": "ListVariablesResponse", |
+ "properties": { |
+ "variables": { |
+ "description": "A list of variables and their values. The order of returned variable\nobjects is arbitrary.", |
+ "items": { |
+ "$ref": "Variable" |
+ }, |
+ "type": "array" |
+ }, |
+ "nextPageToken": { |
+ "description": "This token allows you to get the next page of results for list requests.\nIf the number of results is larger than `pageSize`, use the `nextPageToken`\nas a value for the query parameter `pageToken` in the next list request.\nSubsequent list requests will have their own `nextPageToken` to continue\npaging through the results", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"RuntimeConfig": { |
"description": "A RuntimeConfig resource is the primary resource in the Cloud RuntimeConfig\nservice. A RuntimeConfig resource consists of metadata and a hierarchy of\nvariables.", |
"id": "RuntimeConfig", |
@@ -885,30 +917,6 @@ |
}, |
"type": "object" |
}, |
- "Policy": { |
- "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).", |
- "id": "Policy", |
- "properties": { |
- "bindings": { |
- "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.", |
- "items": { |
- "$ref": "Binding" |
- }, |
- "type": "array" |
- }, |
- "etag": { |
- "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", |
- "format": "byte", |
- "type": "string" |
- }, |
- "version": { |
- "description": "Version of the `Policy`. The default version is 0.", |
- "format": "int32", |
- "type": "integer" |
- } |
- }, |
- "type": "object" |
- }, |
"Variable": { |
"description": "Describes a single variable within a RuntimeConfig resource.\nThe name denotes the hierarchical variable name. For example,\n`ports/serving_port` is a valid variable name. The variable value is an\nopaque string and only leaf variables can have values (that is, variables\nthat do not have any child variables).", |
"id": "Variable", |
@@ -948,14 +956,34 @@ |
}, |
"type": "object" |
}, |
+ "Policy": { |
+ "description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).", |
+ "id": "Policy", |
+ "properties": { |
+ "bindings": { |
+ "description": "Associates a list of `members` to a `role`.\n`bindings` with no members will result in an error.", |
+ "items": { |
+ "$ref": "Binding" |
+ }, |
+ "type": "array" |
+ }, |
+ "etag": { |
+ "description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", |
+ "format": "byte", |
+ "type": "string" |
+ }, |
+ "version": { |
+ "description": "Version of the `Policy`. The default version is 0.", |
+ "format": "int32", |
+ "type": "integer" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"Operation": { |
"description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", |
"id": "Operation", |
"properties": { |
- "done": { |
- "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", |
- "type": "boolean" |
- }, |
"response": { |
"additionalProperties": { |
"description": "Properties of the object. Contains field @type with type URL.", |
@@ -979,6 +1007,10 @@ |
}, |
"description": "Service-specific metadata associated with the operation. It typically\ncontains progress information and common metadata such as create time.\nSome services might not provide such metadata. Any method that returns a\nlong-running operation should document the metadata type, if any.", |
"type": "object" |
+ }, |
+ "done": { |
+ "description": "If the value is `false`, it means the operation is still in progress.\nIf true, the operation is completed, and either `error` or `response` is\navailable.", |
+ "type": "boolean" |
} |
}, |
"type": "object" |
@@ -998,6 +1030,15 @@ |
"description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", |
"id": "Status", |
"properties": { |
+ "code": { |
+ "description": "The status code, which should be an enum value of google.rpc.Code.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "message": { |
+ "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", |
+ "type": "string" |
+ }, |
"details": { |
"description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", |
"items": { |
@@ -1008,15 +1049,6 @@ |
"type": "object" |
}, |
"type": "array" |
- }, |
- "code": { |
- "description": "The status code, which should be an enum value of google.rpc.Code.", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "message": { |
- "description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -1039,12 +1071,6 @@ |
}, |
"type": "object" |
}, |
- "Empty": { |
- "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", |
- "id": "Empty", |
- "properties": {}, |
- "type": "object" |
- }, |
"Cardinality": { |
"description": "A Cardinality condition for the Waiter resource. A cardinality condition is\nmet when the number of variables under a specified path prefix reaches a\npredefined number. For example, if you set a Cardinality condition where\nthe `path` is set to `/foo` and the number of paths is set to 2, the\nfollowing variables would meet the condition in a RuntimeConfig resource:\n\n+ `/foo/variable1 = \"value1\"`\n+ `/foo/variable2 = \"value2\"`\n+ `/bar/variable3 = \"value3\"`\n\nIt would not would not satisify the same condition with the `number` set to\n3, however, because there is only 2 paths that start with `/foo`.\nCardinality conditions are recursive; all subtrees under the specific\npath prefix are counted.", |
"id": "Cardinality", |
@@ -1061,6 +1087,12 @@ |
}, |
"type": "object" |
}, |
+ "Empty": { |
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", |
+ "id": "Empty", |
+ "properties": {}, |
+ "type": "object" |
+ }, |
"ListConfigsResponse": { |
"description": "`ListConfigs()` returns the following response. The order of returned\nobjects is arbitrary; that is, it is not ordered in any particular way.", |
"id": "ListConfigsResponse", |
@@ -1089,38 +1121,6 @@ |
} |
}, |
"type": "object" |
- }, |
- "TestIamPermissionsResponse": { |
- "description": "Response message for `TestIamPermissions` method.", |
- "id": "TestIamPermissionsResponse", |
- "properties": { |
- "permissions": { |
- "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "ListVariablesResponse": { |
- "description": "Response for the `ListVariables()` method.", |
- "id": "ListVariablesResponse", |
- "properties": { |
- "variables": { |
- "description": "A list of variables and their values. The order of returned variable\nobjects is arbitrary.", |
- "items": { |
- "$ref": "Variable" |
- }, |
- "type": "array" |
- }, |
- "nextPageToken": { |
- "description": "This token allows you to get the next page of results for list requests.\nIf the number of results is larger than `pageSize`, use the `nextPageToken`\nas a value for the query parameter `pageToken` in the next list request.\nSubsequent list requests will have their own `nextPageToken` to continue\npaging through the results", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
} |
}, |
"servicePath": "", |