OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/cloudruntimeconfig": { |
| 6 "description": "Manage your Google Cloud Platform services'
runtime configuration" |
| 7 }, |
5 "https://www.googleapis.com/auth/cloud-platform": { | 8 "https://www.googleapis.com/auth/cloud-platform": { |
6 "description": "View and manage your data across Google Clou
d Platform services" | 9 "description": "View and manage your data across Google Clou
d Platform services" |
7 }, | |
8 "https://www.googleapis.com/auth/cloudruntimeconfig": { | |
9 "description": "Manage your Google Cloud Platform services'
runtime configuration" | |
10 } | 10 } |
11 } | 11 } |
12 } | 12 } |
13 }, | 13 }, |
14 "basePath": "", | 14 "basePath": "", |
15 "baseUrl": "https://runtimeconfig.googleapis.com/", | 15 "baseUrl": "https://runtimeconfig.googleapis.com/", |
16 "batchPath": "batch", | 16 "batchPath": "batch", |
17 "canonicalName": "Cloud RuntimeConfig", | 17 "canonicalName": "Cloud RuntimeConfig", |
18 "description": "The Runtime Configurator allows you to dynamically configure
and expose variables through Google Cloud Platform. In addition, you can also s
et Watchers and Waiters that will watch for changes to your data and return base
d on certain conditions.", | 18 "description": "The Runtime Configurator allows you to dynamically configure
and expose variables through Google Cloud Platform. In addition, you can also s
et Watchers and Waiters that will watch for changes to your data and return base
d on certain conditions.", |
19 "discoveryVersion": "v1", | 19 "discoveryVersion": "v1", |
20 "documentationLink": "https://cloud.google.com/deployment-manager/runtime-co
nfigurator/", | 20 "documentationLink": "https://cloud.google.com/deployment-manager/runtime-co
nfigurator/", |
21 "icons": { | 21 "icons": { |
22 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
23 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
24 }, | 24 }, |
25 "id": "runtimeconfig:v1", | 25 "id": "runtimeconfig:v1", |
26 "kind": "discovery#restDescription", | 26 "kind": "discovery#restDescription", |
27 "name": "runtimeconfig", | 27 "name": "runtimeconfig", |
28 "ownerDomain": "google.com", | 28 "ownerDomain": "google.com", |
29 "ownerName": "Google", | 29 "ownerName": "Google", |
30 "parameters": { | 30 "parameters": { |
| 31 "access_token": { |
| 32 "description": "OAuth access token.", |
| 33 "location": "query", |
| 34 "type": "string" |
| 35 }, |
| 36 "key": { |
| 37 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
| 38 "location": "query", |
| 39 "type": "string" |
| 40 }, |
| 41 "quotaUser": { |
| 42 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
| 43 "location": "query", |
| 44 "type": "string" |
| 45 }, |
| 46 "pp": { |
| 47 "default": "true", |
| 48 "description": "Pretty-print response.", |
| 49 "location": "query", |
| 50 "type": "boolean" |
| 51 }, |
| 52 "oauth_token": { |
| 53 "description": "OAuth 2.0 token for the current user.", |
| 54 "location": "query", |
| 55 "type": "string" |
| 56 }, |
| 57 "bearer_token": { |
| 58 "description": "OAuth bearer token.", |
| 59 "location": "query", |
| 60 "type": "string" |
| 61 }, |
31 "upload_protocol": { | 62 "upload_protocol": { |
32 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 63 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
33 "location": "query", | 64 "location": "query", |
34 "type": "string" | 65 "type": "string" |
35 }, | 66 }, |
36 "prettyPrint": { | 67 "prettyPrint": { |
37 "default": "true", | 68 "default": "true", |
38 "description": "Returns response with indentations and line breaks."
, | 69 "description": "Returns response with indentations and line breaks."
, |
39 "location": "query", | 70 "location": "query", |
40 "type": "boolean" | 71 "type": "boolean" |
41 }, | 72 }, |
42 "uploadType": { | 73 "uploadType": { |
43 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 74 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
44 "location": "query", | 75 "location": "query", |
45 "type": "string" | 76 "type": "string" |
46 }, | 77 }, |
47 "fields": { | 78 "fields": { |
48 "description": "Selector specifying which fields to include in a par
tial response.", | 79 "description": "Selector specifying which fields to include in a par
tial response.", |
49 "location": "query", | 80 "location": "query", |
50 "type": "string" | 81 "type": "string" |
51 }, | 82 }, |
52 "callback": { | |
53 "description": "JSONP", | |
54 "location": "query", | |
55 "type": "string" | |
56 }, | |
57 "$.xgafv": { | 83 "$.xgafv": { |
58 "description": "V1 error format.", | 84 "description": "V1 error format.", |
59 "enum": [ | 85 "enum": [ |
60 "1", | 86 "1", |
61 "2" | 87 "2" |
62 ], | 88 ], |
63 "enumDescriptions": [ | 89 "enumDescriptions": [ |
64 "v1 error format", | 90 "v1 error format", |
65 "v2 error format" | 91 "v2 error format" |
66 ], | 92 ], |
67 "location": "query", | 93 "location": "query", |
68 "type": "string" | 94 "type": "string" |
69 }, | 95 }, |
| 96 "callback": { |
| 97 "description": "JSONP", |
| 98 "location": "query", |
| 99 "type": "string" |
| 100 }, |
70 "alt": { | 101 "alt": { |
71 "default": "json", | 102 "default": "json", |
72 "description": "Data format for response.", | 103 "description": "Data format for response.", |
73 "enum": [ | 104 "enum": [ |
74 "json", | 105 "json", |
75 "media", | 106 "media", |
76 "proto" | 107 "proto" |
77 ], | 108 ], |
78 "enumDescriptions": [ | 109 "enumDescriptions": [ |
79 "Responses with Content-Type of application/json", | 110 "Responses with Content-Type of application/json", |
80 "Media download with context-dependent Content-Type", | 111 "Media download with context-dependent Content-Type", |
81 "Responses with Content-Type of application/x-protobuf" | 112 "Responses with Content-Type of application/x-protobuf" |
82 ], | 113 ], |
83 "location": "query", | 114 "location": "query", |
84 "type": "string" | 115 "type": "string" |
85 }, | |
86 "access_token": { | |
87 "description": "OAuth access token.", | |
88 "location": "query", | |
89 "type": "string" | |
90 }, | |
91 "key": { | |
92 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", | |
93 "location": "query", | |
94 "type": "string" | |
95 }, | |
96 "quotaUser": { | |
97 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | |
98 "location": "query", | |
99 "type": "string" | |
100 }, | |
101 "pp": { | |
102 "default": "true", | |
103 "description": "Pretty-print response.", | |
104 "location": "query", | |
105 "type": "boolean" | |
106 }, | |
107 "bearer_token": { | |
108 "description": "OAuth bearer token.", | |
109 "location": "query", | |
110 "type": "string" | |
111 }, | |
112 "oauth_token": { | |
113 "description": "OAuth 2.0 token for the current user.", | |
114 "location": "query", | |
115 "type": "string" | |
116 } | 116 } |
117 }, | 117 }, |
118 "protocol": "rest", | 118 "protocol": "rest", |
119 "resources": { | 119 "resources": { |
120 "operations": { | 120 "operations": { |
121 "methods": { | 121 "methods": { |
122 "list": { | 122 "list": { |
123 "description": "Lists operations that match the specified fi
lter in the request. If the\nserver doesn't support this method, it returns `UNI
MPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the bin
ding\nto use different resource name schemes, such as `users/*/operations`. To\n
override the binding, API services can add a binding such as\n`\"/v1/{name=users
/*}/operations\"` to their service configuration.\nFor backwards compatibility,
the default name includes the operations\ncollection id, however overriding user
s must ensure the name binding\nis the parent resource, without the operations c
ollection id.", | 123 "description": "Lists operations that match the specified fi
lter in the request. If the\nserver doesn't support this method, it returns `UNI
MPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the bin
ding\nto use different resource name schemes, such as `users/*/operations`. To\n
override the binding, API services can add a binding such as\n`\"/v1/{name=users
/*}/operations\"` to their service configuration.\nFor backwards compatibility,
the default name includes the operations\ncollection id, however overriding user
s must ensure the name binding\nis the parent resource, without the operations c
ollection id.", |
124 "httpMethod": "GET", | 124 "httpMethod": "GET", |
125 "id": "runtimeconfig.operations.list", | 125 "id": "runtimeconfig.operations.list", |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 "$ref": "Empty" | 209 "$ref": "Empty" |
210 }, | 210 }, |
211 "scopes": [ | 211 "scopes": [ |
212 "https://www.googleapis.com/auth/cloud-platform", | 212 "https://www.googleapis.com/auth/cloud-platform", |
213 "https://www.googleapis.com/auth/cloudruntimeconfig" | 213 "https://www.googleapis.com/auth/cloudruntimeconfig" |
214 ] | 214 ] |
215 } | 215 } |
216 } | 216 } |
217 } | 217 } |
218 }, | 218 }, |
219 "revision": "20170522", | 219 "revision": "20170620", |
220 "rootUrl": "https://runtimeconfig.googleapis.com/", | 220 "rootUrl": "https://runtimeconfig.googleapis.com/", |
221 "schemas": { | 221 "schemas": { |
| 222 "CancelOperationRequest": { |
| 223 "description": "The request message for Operations.CancelOperation."
, |
| 224 "id": "CancelOperationRequest", |
| 225 "properties": {}, |
| 226 "type": "object" |
| 227 }, |
222 "Status": { | 228 "Status": { |
223 "description": "The `Status` type defines a logical error model that
is suitable for different\nprogramming environments, including REST APIs and RP
C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig
ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t
o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie
ces of data: error code, error message,\nand error details. The error code shoul
d 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 tha
t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa
cing\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\ni
nformation 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# Lang
uage 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` mess
age is\nexposed in different client libraries and different wire protocols, it c
an be\nmapped differently. For example, it will likely be mapped to some excepti
ons\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\nenvironm
ents, 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 m
ay\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 re
sults 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 store
d in logs, the message `Status` could\n be used directly after any stripping
needed for security/privacy reasons.", | 229 "description": "The `Status` type defines a logical error model that
is suitable for different\nprogramming environments, including REST APIs and RP
C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig
ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t
o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie
ces of data: error code, error message,\nand error details. The error code shoul
d 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 tha
t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa
cing\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\ni
nformation 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# Lang
uage 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` mess
age is\nexposed in different client libraries and different wire protocols, it c
an be\nmapped differently. For example, it will likely be mapped to some excepti
ons\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\nenvironm
ents, 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 m
ay\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 re
sults 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 store
d in logs, the message `Status` could\n be used directly after any stripping
needed for security/privacy reasons.", |
224 "id": "Status", | 230 "id": "Status", |
225 "properties": { | 231 "properties": { |
226 "details": { | 232 "details": { |
227 "description": "A list of messages that carry the error deta
ils. There will be a\ncommon set of message types for APIs to use.", | 233 "description": "A list of messages that carry the error deta
ils. There will be a\ncommon set of message types for APIs to use.", |
228 "items": { | 234 "items": { |
229 "additionalProperties": { | 235 "additionalProperties": { |
230 "description": "Properties of the object. Contains f
ield @type with type URL.", | 236 "description": "Properties of the object. Contains f
ield @type with type URL.", |
231 "type": "any" | 237 "type": "any" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 "type": "string" | 303 "type": "string" |
298 } | 304 } |
299 }, | 305 }, |
300 "type": "object" | 306 "type": "object" |
301 }, | 307 }, |
302 "Empty": { | 308 "Empty": { |
303 "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 i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", | 309 "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 i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", |
304 "id": "Empty", | 310 "id": "Empty", |
305 "properties": {}, | 311 "properties": {}, |
306 "type": "object" | 312 "type": "object" |
307 }, | |
308 "CancelOperationRequest": { | |
309 "description": "The request message for Operations.CancelOperation."
, | |
310 "id": "CancelOperationRequest", | |
311 "properties": {}, | |
312 "type": "object" | |
313 } | 313 } |
314 }, | 314 }, |
315 "servicePath": "", | 315 "servicePath": "", |
316 "title": "Google Cloud Runtime Configuration API", | 316 "title": "Google Cloud Runtime Configuration API", |
317 "version": "v1" | 317 "version": "v1" |
318 } | 318 } |
OLD | NEW |