Index: discovery/googleapis_beta/runtimeconfig__v1beta1.json |
diff --git a/discovery/googleapis_beta/runtimeconfig__v1beta1.json b/discovery/googleapis_beta/runtimeconfig__v1beta1.json |
index 09f9f2fab3d97e2a4e7df7ec211842de70a79d35..19d88e39680557266eeb24143767500ae60a5eb6 100644 |
--- a/discovery/googleapis_beta/runtimeconfig__v1beta1.json |
+++ b/discovery/googleapis_beta/runtimeconfig__v1beta1.json |
@@ -34,13 +34,13 @@ |
"location": "query", |
"type": "boolean" |
}, |
- "oauth_token": { |
- "description": "OAuth 2.0 token for the current user.", |
+ "bearer_token": { |
+ "description": "OAuth bearer token.", |
"location": "query", |
"type": "string" |
}, |
- "bearer_token": { |
- "description": "OAuth bearer token.", |
+ "oauth_token": { |
+ "description": "OAuth 2.0 token for the current user.", |
"location": "query", |
"type": "string" |
}, |
@@ -65,6 +65,11 @@ |
"location": "query", |
"type": "string" |
}, |
+ "callback": { |
+ "description": "JSONP", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"$.xgafv": { |
"description": "V1 error format.", |
"enum": [ |
@@ -78,11 +83,6 @@ |
"location": "query", |
"type": "string" |
}, |
- "callback": { |
- "description": "JSONP", |
- "location": "query", |
- "type": "string" |
- }, |
"alt": { |
"default": "json", |
"description": "Data format for response.", |
@@ -99,13 +99,13 @@ |
"location": "query", |
"type": "string" |
}, |
- "access_token": { |
- "description": "OAuth access token.", |
+ "key": { |
+ "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
"location": "query", |
"type": "string" |
}, |
- "key": { |
- "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
+ "access_token": { |
+ "description": "OAuth access token.", |
"location": "query", |
"type": "string" |
}, |
@@ -121,6 +121,31 @@ |
"resources": { |
"configs": { |
"methods": { |
+ "getIamPolicy": { |
+ "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", |
+ "httpMethod": "GET", |
+ "id": "runtimeconfig.projects.configs.getIamPolicy", |
+ "parameterOrder": [ |
+ "resource" |
+ ], |
+ "parameters": { |
+ "resource": { |
+ "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", |
+ "location": "path", |
+ "pattern": "^projects/[^/]+/configs/[^/]+$", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1beta1/{+resource}:getIamPolicy", |
+ "response": { |
+ "$ref": "Policy" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/cloudruntimeconfig" |
+ ] |
+ }, |
"get": { |
"description": "Gets information about a RuntimeConfig resource.", |
"httpMethod": "GET", |
@@ -263,39 +288,6 @@ |
"https://www.googleapis.com/auth/cloudruntimeconfig" |
] |
}, |
- "create": { |
- "description": "Creates a new RuntimeConfig resource. The configuration name must be\nunique within project.", |
- "httpMethod": "POST", |
- "id": "runtimeconfig.projects.configs.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 [project ID](https://support.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848)\nfor this request, in the format `projects/[PROJECT_ID]`.", |
- "location": "path", |
- "pattern": "^projects/[^/]+$", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v1beta1/{+parent}/configs", |
- "request": { |
- "$ref": "RuntimeConfig" |
- }, |
- "response": { |
- "$ref": "RuntimeConfig" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/cloudruntimeconfig" |
- ] |
- }, |
"setIamPolicy": { |
"description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.", |
"httpMethod": "POST", |
@@ -324,25 +316,33 @@ |
"https://www.googleapis.com/auth/cloudruntimeconfig" |
] |
}, |
- "getIamPolicy": { |
- "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", |
- "httpMethod": "GET", |
- "id": "runtimeconfig.projects.configs.getIamPolicy", |
+ "create": { |
+ "description": "Creates a new RuntimeConfig resource. The configuration name must be\nunique within project.", |
+ "httpMethod": "POST", |
+ "id": "runtimeconfig.projects.configs.create", |
"parameterOrder": [ |
- "resource" |
+ "parent" |
], |
"parameters": { |
- "resource": { |
- "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", |
+ "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 [project ID](https://support.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848)\nfor this request, in the format `projects/[PROJECT_ID]`.", |
"location": "path", |
- "pattern": "^projects/[^/]+/configs/[^/]+$", |
+ "pattern": "^projects/[^/]+$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1beta1/{+resource}:getIamPolicy", |
+ "path": "v1beta1/{+parent}/configs", |
+ "request": { |
+ "$ref": "RuntimeConfig" |
+ }, |
"response": { |
- "$ref": "Policy" |
+ "$ref": "RuntimeConfig" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
@@ -351,65 +351,33 @@ |
} |
}, |
"resources": { |
- "operations": { |
+ "waiters": { |
"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.", |
+ "description": "Gets information about a single waiter.", |
"httpMethod": "GET", |
- "id": "runtimeconfig.projects.configs.operations.get", |
+ "id": "runtimeconfig.projects.configs.waiters.get", |
"parameterOrder": [ |
"name" |
], |
"parameters": { |
"name": { |
- "description": "The name of the operation resource.", |
+ "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/[^/]+/operations/.+$", |
+ "pattern": "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$", |
"required": true, |
"type": "string" |
} |
}, |
"path": "v1beta1/{+name}", |
"response": { |
- "$ref": "Operation" |
+ "$ref": "Waiter" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/cloudruntimeconfig" |
] |
}, |
- "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", |
- "parameterOrder": [ |
- "resource" |
- ], |
- "parameters": { |
- "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/.+$", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v1beta1/{+resource}:testIamPermissions", |
- "request": { |
- "$ref": "TestIamPermissionsRequest" |
- }, |
- "response": { |
- "$ref": "TestIamPermissionsResponse" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/cloudruntimeconfig" |
- ] |
- } |
- } |
- }, |
- "waiters": { |
- "methods": { |
"list": { |
"description": "List waiters within the given configuration.", |
"httpMethod": "GET", |
@@ -418,6 +386,13 @@ |
"parent" |
], |
"parameters": { |
+ "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, |
+ "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", |
@@ -428,13 +403,6 @@ |
"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, |
- "type": "string" |
} |
}, |
"path": "v1beta1/{+parent}/waiters", |
@@ -446,31 +414,6 @@ |
"https://www.googleapis.com/auth/cloudruntimeconfig" |
] |
}, |
- "get": { |
- "description": "Gets information about a single waiter.", |
- "httpMethod": "GET", |
- "id": "runtimeconfig.projects.configs.waiters.get", |
- "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]`", |
- "location": "path", |
- "pattern": "^projects/[^/]+/configs/[^/]+/waiters/[^/]+$", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v1beta1/{+name}", |
- "response": { |
- "$ref": "Waiter" |
- }, |
- "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", |
@@ -559,6 +502,63 @@ |
} |
} |
}, |
+ "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", |
+ "parameterOrder": [ |
+ "name" |
+ ], |
+ "parameters": { |
+ "name": { |
+ "description": "The name of the operation resource.", |
+ "location": "path", |
+ "pattern": "^projects/[^/]+/configs/[^/]+/operations/.+$", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1beta1/{+name}", |
+ "response": { |
+ "$ref": "Operation" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/cloudruntimeconfig" |
+ ] |
+ }, |
+ "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", |
+ "parameterOrder": [ |
+ "resource" |
+ ], |
+ "parameters": { |
+ "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/.+$", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1beta1/{+resource}:testIamPermissions", |
+ "request": { |
+ "$ref": "TestIamPermissionsRequest" |
+ }, |
+ "response": { |
+ "$ref": "TestIamPermissionsResponse" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/cloudruntimeconfig" |
+ ] |
+ } |
+ } |
+ }, |
"variables": { |
"methods": { |
"get": { |
@@ -720,15 +720,15 @@ |
"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.", |
+ "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": "string" |
+ "type": "boolean" |
}, |
- "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.", |
+ "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": "boolean" |
+ "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.", |
@@ -789,6 +789,148 @@ |
"revision": "20170620", |
"rootUrl": "https://runtimeconfig.googleapis.com/", |
"schemas": { |
+ "Operation": { |
+ "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", |
+ "id": "Operation", |
+ "properties": { |
+ "response": { |
+ "additionalProperties": { |
+ "description": "Properties of the object. Contains field @type with type URL.", |
+ "type": "any" |
+ }, |
+ "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", |
+ "type": "object" |
+ }, |
+ "name": { |
+ "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.", |
+ "type": "string" |
+ }, |
+ "error": { |
+ "$ref": "Status", |
+ "description": "The error result of the operation in case of failure or cancellation." |
+ }, |
+ "metadata": { |
+ "additionalProperties": { |
+ "description": "Properties of the object. Contains field @type with type URL.", |
+ "type": "any" |
+ }, |
+ "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" |
+ }, |
+ "SetIamPolicyRequest": { |
+ "description": "Request message for `SetIamPolicy` method.", |
+ "id": "SetIamPolicyRequest", |
+ "properties": { |
+ "policy": { |
+ "$ref": "Policy", |
+ "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them." |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "Status": { |
+ "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": { |
+ "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": { |
+ "additionalProperties": { |
+ "description": "Properties of the object. Contains field @type with type URL.", |
+ "type": "any" |
+ }, |
+ "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" |
+ }, |
+ "Binding": { |
+ "description": "Associates `members` with a `role`.", |
+ "id": "Binding", |
+ "properties": { |
+ "role": { |
+ "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", |
+ "type": "string" |
+ }, |
+ "members": { |
+ "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "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", |
+ "properties": { |
+ "number": { |
+ "description": "The number variables under the `path` that must exist to meet this\ncondition. Defaults to 1 if not specified.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "path": { |
+ "description": "The root of the variable subtree to monitor. For example, `/foo`.", |
+ "type": "string" |
+ } |
+ }, |
+ "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", |
+ "properties": { |
+ "configs": { |
+ "description": "A list of the configurations in the project. The order of returned\nobjects is arbitrary; that is, it is not ordered in any particular way.", |
+ "items": { |
+ "$ref": "RuntimeConfig" |
+ }, |
+ "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" |
+ }, |
+ "EndCondition": { |
+ "description": "The condition that a Waiter resource is waiting for.", |
+ "id": "EndCondition", |
+ "properties": { |
+ "cardinality": { |
+ "$ref": "Cardinality", |
+ "description": "The cardinality of the `EndCondition`." |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"TestIamPermissionsResponse": { |
"description": "Response message for `TestIamPermissions` method.", |
"id": "TestIamPermissionsResponse", |
@@ -866,20 +1008,6 @@ |
}, |
"type": "object" |
}, |
- "TestIamPermissionsRequest": { |
- "description": "Request message for `TestIamPermissions` method.", |
- "id": "TestIamPermissionsRequest", |
- "properties": { |
- "permissions": { |
- "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
"Waiter": { |
"description": "A Waiter resource waits for some end condition within a RuntimeConfig resource\nto be met before it returns. For example, assume you have a distributed\nsystem where each node writes to a Variable resource indidicating the node's\nreadiness as part of the startup process.\n\nYou then configure a Waiter resource with the success condition set to wait\nuntil some number of nodes have checked in. Afterwards, your application\nruns some arbitrary code after the condition has been met and the waiter\nreturns successfully.\n\nOnce created, a Waiter resource is immutable.\n\nTo learn more about using waiters, read the\n[Creating a Waiter](/deployment-manager/runtime-configurator/creating-a-waiter)\ndocumentation.", |
"id": "Waiter", |
@@ -917,41 +1045,16 @@ |
}, |
"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", |
+ "TestIamPermissionsRequest": { |
+ "description": "Request message for `TestIamPermissions` method.", |
+ "id": "TestIamPermissionsRequest", |
"properties": { |
- "text": { |
- "description": "The string value of the variable. The length of the value must be less\nthan 4096 bytes. Empty values are also accepted. For example,\n`text: \"my text value\"`. The string must be valid UTF-8.", |
- "type": "string" |
- }, |
- "value": { |
- "description": "The binary value of the variable. The length of the value must be less\nthan 4096 bytes. Empty values are also accepted. The value must be\nbase64 encoded. Only one of `value` or `text` can be set.", |
- "format": "byte", |
- "type": "string" |
- }, |
- "updateTime": { |
- "description": "[Output Only] The time of the last variable update.", |
- "format": "google-datetime", |
- "type": "string" |
- }, |
- "state": { |
- "description": "[Ouput only] The current state of the variable. The variable state indicates\nthe outcome of the `variables().watch` call and is visible through the\n`get` and `list` calls.", |
- "enum": [ |
- "VARIABLE_STATE_UNSPECIFIED", |
- "UPDATED", |
- "DELETED" |
- ], |
- "enumDescriptions": [ |
- "Default variable state.", |
- "The variable was updated, while `variables().watch` was executing.", |
- "The variable was deleted, while `variables().watch` was executing." |
- ], |
- "type": "string" |
- }, |
- "name": { |
- "description": "The name of the variable resource, in the format:\n\n projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]\n\nThe `[PROJECT_ID]` must be a valid project ID, `[CONFIG_NAME]` must be a\nvalid RuntimeConfig reource and `[VARIABLE_NAME]` follows Unix file system\nfile path naming.\n\nThe `[VARIABLE_NAME]` can contain ASCII letters, numbers, slashes and\ndashes. Slashes are used as path element separators and are not part of the\n`[VARIABLE_NAME]` itself, so `[VARIABLE_NAME]` must contain at least one\nnon-slash character. Multiple slashes are coalesced into single slash\ncharacter. Each path segment should follow RFC 1035 segment specification.\nThe length of a `[VARIABLE_NAME]` must be less than 256 bytes.\n\nOnce you create a variable, you cannot change the variable name.", |
- "type": "string" |
+ "permissions": { |
+ "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
} |
}, |
"type": "object" |
@@ -980,147 +1083,44 @@ |
}, |
"type": "object" |
}, |
- "Operation": { |
- "description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", |
- "id": "Operation", |
+ "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", |
"properties": { |
- "response": { |
- "additionalProperties": { |
- "description": "Properties of the object. Contains field @type with type URL.", |
- "type": "any" |
- }, |
- "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delete`, the response is\n`google.protobuf.Empty`. If the original method is standard\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmethods, the response should have the type `XxxResponse`, where `Xxx`\nis the original method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", |
- "type": "object" |
- }, |
- "name": { |
- "description": "The server-assigned name, which is only unique within the same service that\noriginally returns it. If you use the default HTTP mapping, the\n`name` should have the format of `operations/some/unique/name`.", |
+ "text": { |
+ "description": "The string value of the variable. The length of the value must be less\nthan 4096 bytes. Empty values are also accepted. For example,\n`text: \"my text value\"`. The string must be valid UTF-8.", |
"type": "string" |
}, |
- "error": { |
- "$ref": "Status", |
- "description": "The error result of the operation in case of failure or cancellation." |
- }, |
- "metadata": { |
- "additionalProperties": { |
- "description": "Properties of the object. Contains field @type with type URL.", |
- "type": "any" |
- }, |
- "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" |
- }, |
- "SetIamPolicyRequest": { |
- "description": "Request message for `SetIamPolicy` method.", |
- "id": "SetIamPolicyRequest", |
- "properties": { |
- "policy": { |
- "$ref": "Policy", |
- "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them." |
- } |
- }, |
- "type": "object" |
- }, |
- "Status": { |
- "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.", |
+ "value": { |
+ "description": "The binary value of the variable. The length of the value must be less\nthan 4096 bytes. Empty values are also accepted. The value must be\nbase64 encoded. Only one of `value` or `text` can be set.", |
+ "format": "byte", |
"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": { |
- "additionalProperties": { |
- "description": "Properties of the object. Contains field @type with type URL.", |
- "type": "any" |
- }, |
- "type": "object" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "Binding": { |
- "description": "Associates `members` with a `role`.", |
- "id": "Binding", |
- "properties": { |
- "members": { |
- "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "role": { |
- "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", |
- "type": "string" |
- } |
- }, |
- "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", |
- "properties": { |
- "path": { |
- "description": "The root of the variable subtree to monitor. For example, `/foo`.", |
+ "state": { |
+ "description": "[Ouput only] The current state of the variable. The variable state indicates\nthe outcome of the `variables().watch` call and is visible through the\n`get` and `list` calls.", |
+ "enum": [ |
+ "VARIABLE_STATE_UNSPECIFIED", |
+ "UPDATED", |
+ "DELETED" |
+ ], |
+ "enumDescriptions": [ |
+ "Default variable state.", |
+ "The variable was updated, while `variables().watch` was executing.", |
+ "The variable was deleted, while `variables().watch` was executing." |
+ ], |
"type": "string" |
}, |
- "number": { |
- "description": "The number variables under the `path` that must exist to meet this\ncondition. Defaults to 1 if not specified.", |
- "format": "int32", |
- "type": "integer" |
- } |
- }, |
- "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", |
- "properties": { |
- "configs": { |
- "description": "A list of the configurations in the project. The order of returned\nobjects is arbitrary; that is, it is not ordered in any particular way.", |
- "items": { |
- "$ref": "RuntimeConfig" |
- }, |
- "type": "array" |
+ "updateTime": { |
+ "description": "[Output Only] The time of the last variable update.", |
+ "format": "google-datetime", |
+ "type": "string" |
}, |
- "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", |
+ "name": { |
+ "description": "The name of the variable resource, in the format:\n\n projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]\n\nThe `[PROJECT_ID]` must be a valid project ID, `[CONFIG_NAME]` must be a\nvalid RuntimeConfig reource and `[VARIABLE_NAME]` follows Unix file system\nfile path naming.\n\nThe `[VARIABLE_NAME]` can contain ASCII letters, numbers, slashes and\ndashes. Slashes are used as path element separators and are not part of the\n`[VARIABLE_NAME]` itself, so `[VARIABLE_NAME]` must contain at least one\nnon-slash character. Multiple slashes are coalesced into single slash\ncharacter. Each path segment should follow RFC 1035 segment specification.\nThe length of a `[VARIABLE_NAME]` must be less than 256 bytes.\n\nOnce you create a variable, you cannot change the variable name.", |
"type": "string" |
} |
}, |
"type": "object" |
- }, |
- "EndCondition": { |
- "description": "The condition that a Waiter resource is waiting for.", |
- "id": "EndCondition", |
- "properties": { |
- "cardinality": { |
- "$ref": "Cardinality", |
- "description": "The cardinality of the `EndCondition`." |
- } |
- }, |
- "type": "object" |
} |
}, |
"servicePath": "", |