Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Side by Side Diff: discovery/googleapis/servicemanagement__v1.json

Issue 2649893002: Api-roll 44: 2017-01-23 (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « discovery/googleapis/servicecontrol__v1.json ('k') | discovery/googleapis/sheets__v4.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 }, 7 },
8 "https://www.googleapis.com/auth/service.management": {
9 "description": "Manage your Google API service configuration "
10 },
8 "https://www.googleapis.com/auth/cloud-platform.read-only": { 11 "https://www.googleapis.com/auth/cloud-platform.read-only": {
9 "description": "View your data across Google Cloud Platform services" 12 "description": "View your data across Google Cloud Platform services"
10 }, 13 },
11 "https://www.googleapis.com/auth/service.management": {
12 "description": "Manage your Google API service configuration "
13 },
14 "https://www.googleapis.com/auth/service.management.readonly": { 14 "https://www.googleapis.com/auth/service.management.readonly": {
15 "description": "View your Google API service configuration" 15 "description": "View your Google API service configuration"
16 } 16 }
17 } 17 }
18 } 18 }
19 }, 19 },
20 "basePath": "", 20 "basePath": "",
21 "baseUrl": "https://servicemanagement.googleapis.com/", 21 "baseUrl": "https://servicemanagement.googleapis.com/",
22 "batchPath": "batch", 22 "batchPath": "batch",
23 "canonicalName": "Service Management", 23 "canonicalName": "Service Management",
24 "description": "Google Service Management allows service producers to publis h their services on Google Cloud Platform so that they can be discovered and use d by service consumers.", 24 "description": "Google Service Management allows service producers to publis h their services on Google Cloud Platform so that they can be discovered and use d by service consumers.",
25 "discoveryVersion": "v1", 25 "discoveryVersion": "v1",
26 "documentationLink": "https://cloud.google.com/service-management/", 26 "documentationLink": "https://cloud.google.com/service-management/",
27 "icons": { 27 "icons": {
28 "x16": "http://www.google.com/images/icons/product/search-16.gif", 28 "x16": "http://www.google.com/images/icons/product/search-16.gif",
29 "x32": "http://www.google.com/images/icons/product/search-32.gif" 29 "x32": "http://www.google.com/images/icons/product/search-32.gif"
30 }, 30 },
31 "id": "servicemanagement:v1", 31 "id": "servicemanagement:v1",
32 "kind": "discovery#restDescription", 32 "kind": "discovery#restDescription",
33 "name": "servicemanagement", 33 "name": "servicemanagement",
34 "ownerDomain": "google.com", 34 "ownerDomain": "google.com",
35 "ownerName": "Google", 35 "ownerName": "Google",
36 "parameters": { 36 "parameters": {
37 "access_token": {
38 "description": "OAuth access token.",
39 "location": "query",
40 "type": "string"
41 },
42 "prettyPrint": {
43 "default": "true",
44 "description": "Returns response with indentations and line breaks." ,
45 "location": "query",
46 "type": "boolean"
47 },
48 "key": {
49 "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.",
50 "location": "query",
51 "type": "string"
52 },
53 "quotaUser": { 37 "quotaUser": {
54 "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.", 38 "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.",
55 "location": "query", 39 "location": "query",
56 "type": "string" 40 "type": "string"
57 }, 41 },
58 "pp": { 42 "pp": {
59 "default": "true", 43 "default": "true",
60 "description": "Pretty-print response.", 44 "description": "Pretty-print response.",
61 "location": "query", 45 "location": "query",
62 "type": "boolean" 46 "type": "boolean"
63 }, 47 },
48 "bearer_token": {
49 "description": "OAuth bearer token.",
50 "location": "query",
51 "type": "string"
52 },
53 "oauth_token": {
54 "description": "OAuth 2.0 token for the current user.",
55 "location": "query",
56 "type": "string"
57 },
58 "upload_protocol": {
59 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
60 "location": "query",
61 "type": "string"
62 },
63 "prettyPrint": {
64 "default": "true",
65 "description": "Returns response with indentations and line breaks." ,
66 "location": "query",
67 "type": "boolean"
68 },
64 "fields": { 69 "fields": {
65 "description": "Selector specifying which fields to include in a par tial response.", 70 "description": "Selector specifying which fields to include in a par tial response.",
66 "location": "query", 71 "location": "query",
67 "type": "string" 72 "type": "string"
68 }, 73 },
69 "alt": { 74 "uploadType": {
70 "default": "json", 75 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
71 "description": "Data format for response.",
72 "enum": [
73 "json",
74 "media",
75 "proto"
76 ],
77 "enumDescriptions": [
78 "Responses with Content-Type of application/json",
79 "Media download with context-dependent Content-Type",
80 "Responses with Content-Type of application/x-protobuf"
81 ],
82 "location": "query", 76 "location": "query",
83 "type": "string" 77 "type": "string"
84 }, 78 },
79 "callback": {
80 "description": "JSONP",
81 "location": "query",
82 "type": "string"
83 },
85 "$.xgafv": { 84 "$.xgafv": {
86 "description": "V1 error format.", 85 "description": "V1 error format.",
87 "enum": [ 86 "enum": [
88 "1", 87 "1",
89 "2" 88 "2"
90 ], 89 ],
91 "enumDescriptions": [ 90 "enumDescriptions": [
92 "v1 error format", 91 "v1 error format",
93 "v2 error format" 92 "v2 error format"
94 ], 93 ],
95 "location": "query", 94 "location": "query",
96 "type": "string" 95 "type": "string"
97 }, 96 },
98 "callback": { 97 "alt": {
99 "description": "JSONP", 98 "default": "json",
99 "description": "Data format for response.",
100 "enum": [
101 "json",
102 "media",
103 "proto"
104 ],
105 "enumDescriptions": [
106 "Responses with Content-Type of application/json",
107 "Media download with context-dependent Content-Type",
108 "Responses with Content-Type of application/x-protobuf"
109 ],
100 "location": "query", 110 "location": "query",
101 "type": "string" 111 "type": "string"
102 }, 112 },
103 "oauth_token": { 113 "access_token": {
104 "description": "OAuth 2.0 token for the current user.", 114 "description": "OAuth access token.",
105 "location": "query", 115 "location": "query",
106 "type": "string" 116 "type": "string"
107 }, 117 },
108 "uploadType": { 118 "key": {
109 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 119 "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.",
110 "location": "query",
111 "type": "string"
112 },
113 "bearer_token": {
114 "description": "OAuth bearer token.",
115 "location": "query",
116 "type": "string"
117 },
118 "upload_protocol": {
119 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
120 "location": "query", 120 "location": "query",
121 "type": "string" 121 "type": "string"
122 } 122 }
123 }, 123 },
124 "protocol": "rest", 124 "protocol": "rest",
125 "resources": { 125 "resources": {
126 "operations": {
127 "methods": {
128 "get": {
129 "description": "Gets the latest state of a long-running oper ation. Clients can use this\nmethod to poll the operation result at intervals a s recommended by the API\nservice.",
130 "httpMethod": "GET",
131 "id": "servicemanagement.operations.get",
132 "parameterOrder": [
133 "name"
134 ],
135 "parameters": {
136 "name": {
137 "description": "The name of the operation resource." ,
138 "location": "path",
139 "pattern": "^operations/.+$",
140 "required": true,
141 "type": "string"
142 }
143 },
144 "path": "v1/{+name}",
145 "response": {
146 "$ref": "Operation"
147 },
148 "scopes": [
149 "https://www.googleapis.com/auth/cloud-platform",
150 "https://www.googleapis.com/auth/service.management"
151 ]
152 }
153 }
154 },
155 "services": { 126 "services": {
156 "methods": { 127 "methods": {
157 "getIamPolicy": { 128 "setIamPolicy": {
158 "description": "Gets the access control policy for a resourc e.\nReturns an empty policy if the resource exists and does not have a policy\ns et.", 129 "description": "Sets the access control policy on the specif ied resource. Replaces any\nexisting policy.",
159 "httpMethod": "POST", 130 "httpMethod": "POST",
160 "id": "servicemanagement.services.getIamPolicy", 131 "id": "servicemanagement.services.setIamPolicy",
161 "parameterOrder": [ 132 "parameterOrder": [
162 "resource" 133 "resource"
163 ], 134 ],
164 "parameters": { 135 "parameters": {
165 "resource": { 136 "resource": {
166 "description": "REQUIRED: The resource for which the policy is being requested.\n`resource` is usually specified as a path. For exam ple, a Project\nresource is specified as `projects/{project}`.", 137 "description": "REQUIRED: The resource for which the policy is being specified.\n`resource` is usually specified as a path. For exam ple, a Project\nresource is specified as `projects/{project}`.",
167 "location": "path", 138 "location": "path",
168 "pattern": "^services/[^/]+$", 139 "pattern": "^services/[^/]+$",
169 "required": true, 140 "required": true,
170 "type": "string" 141 "type": "string"
171 } 142 }
172 }, 143 },
173 "path": "v1/{+resource}:getIamPolicy", 144 "path": "v1/{+resource}:setIamPolicy",
174 "request": { 145 "request": {
175 "$ref": "GetIamPolicyRequest" 146 "$ref": "SetIamPolicyRequest"
176 }, 147 },
177 "response": { 148 "response": {
178 "$ref": "Policy" 149 "$ref": "Policy"
179 }, 150 },
180 "scopes": [ 151 "scopes": [
181 "https://www.googleapis.com/auth/cloud-platform", 152 "https://www.googleapis.com/auth/cloud-platform",
182 "https://www.googleapis.com/auth/service.management" 153 "https://www.googleapis.com/auth/service.management"
183 ] 154 ]
184 }, 155 },
185 "disable": { 156 "disable": {
(...skipping 16 matching lines...) Expand all
202 "$ref": "DisableServiceRequest" 173 "$ref": "DisableServiceRequest"
203 }, 174 },
204 "response": { 175 "response": {
205 "$ref": "Operation" 176 "$ref": "Operation"
206 }, 177 },
207 "scopes": [ 178 "scopes": [
208 "https://www.googleapis.com/auth/cloud-platform", 179 "https://www.googleapis.com/auth/cloud-platform",
209 "https://www.googleapis.com/auth/service.management" 180 "https://www.googleapis.com/auth/service.management"
210 ] 181 ]
211 }, 182 },
212 "generateConfigReport": { 183 "getIamPolicy": {
213 "description": "Generates and returns a report (errors, warn ings and changes from\nexisting configurations) associated with\nGenerateConfigR eportRequest.new_value\n\nIf GenerateConfigReportRequest.old_value is specified, \nGenerateConfigReportRequest will contain a single ChangeReport based on the\nc omparison between GenerateConfigReportRequest.new_value and\nGenerateConfigRepor tRequest.old_value.\nIf GenerateConfigReportRequest.old_value is not specified, this method\nwill compare GenerateConfigReportRequest.new_value with the last pu shed\nservice configuration.", 184 "description": "Gets the access control policy for a resourc e.\nReturns an empty policy if the resource exists and does not have a policy\ns et.",
214 "httpMethod": "POST", 185 "httpMethod": "POST",
215 "id": "servicemanagement.services.generateConfigReport", 186 "id": "servicemanagement.services.getIamPolicy",
216 "parameterOrder": [], 187 "parameterOrder": [
217 "parameters": {}, 188 "resource"
218 "path": "v1/services:generateConfigReport", 189 ],
190 "parameters": {
191 "resource": {
192 "description": "REQUIRED: The resource for which the policy is being requested.\n`resource` is usually specified as a path. For exam ple, a Project\nresource is specified as `projects/{project}`.",
193 "location": "path",
194 "pattern": "^services/[^/]+$",
195 "required": true,
196 "type": "string"
197 }
198 },
199 "path": "v1/{+resource}:getIamPolicy",
219 "request": { 200 "request": {
220 "$ref": "GenerateConfigReportRequest" 201 "$ref": "GetIamPolicyRequest"
221 }, 202 },
222 "response": { 203 "response": {
223 "$ref": "GenerateConfigReportResponse" 204 "$ref": "Policy"
224 }, 205 },
225 "scopes": [ 206 "scopes": [
226 "https://www.googleapis.com/auth/cloud-platform", 207 "https://www.googleapis.com/auth/cloud-platform",
227 "https://www.googleapis.com/auth/service.management" 208 "https://www.googleapis.com/auth/service.management"
228 ] 209 ]
229 }, 210 },
230 "getConfig": {
231 "description": "Gets a service configuration (version) for a managed service.",
232 "httpMethod": "GET",
233 "id": "servicemanagement.services.getConfig",
234 "parameterOrder": [
235 "serviceName"
236 ],
237 "parameters": {
238 "configId": {
239 "description": "The id of the service configuration resource.",
240 "location": "query",
241 "type": "string"
242 },
243 "serviceName": {
244 "description": "The name of the service. See the [o verview](/service-management/overview)\nfor naming requirements. For example: ` example.googleapis.com`.",
245 "location": "path",
246 "required": true,
247 "type": "string"
248 }
249 },
250 "path": "v1/services/{serviceName}/config",
251 "response": {
252 "$ref": "Service"
253 },
254 "scopes": [
255 "https://www.googleapis.com/auth/cloud-platform",
256 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
257 "https://www.googleapis.com/auth/service.management",
258 "https://www.googleapis.com/auth/service.management.read only"
259 ]
260 },
261 "undelete": { 211 "undelete": {
262 "description": "Revives a previously deleted managed service . The method restores the\nservice using the configuration at the time the servi ce was deleted.\nThe target service must exist and must have been deleted within the\nlast 30 days.\n\nOperation<response: UndeleteServiceResponse>", 212 "description": "Revives a previously deleted managed service . The method restores the\nservice using the configuration at the time the servi ce was deleted.\nThe target service must exist and must have been deleted within the\nlast 30 days.\n\nOperation<response: UndeleteServiceResponse>",
263 "httpMethod": "POST", 213 "httpMethod": "POST",
264 "id": "servicemanagement.services.undelete", 214 "id": "servicemanagement.services.undelete",
265 "parameterOrder": [ 215 "parameterOrder": [
266 "serviceName" 216 "serviceName"
267 ], 217 ],
268 "parameters": { 218 "parameters": {
269 "serviceName": { 219 "serviceName": {
270 "description": "The name of the service. See the [ov erview](/service-management/overview)\nfor naming requirements. For example: `ex ample.googleapis.com`.", 220 "description": "The name of the service. See the [ov erview](/service-management/overview)\nfor naming requirements. For example: `ex ample.googleapis.com`.",
271 "location": "path", 221 "location": "path",
272 "required": true, 222 "required": true,
273 "type": "string" 223 "type": "string"
274 } 224 }
275 }, 225 },
276 "path": "v1/services/{serviceName}:undelete", 226 "path": "v1/services/{serviceName}:undelete",
277 "response": { 227 "response": {
278 "$ref": "Operation" 228 "$ref": "Operation"
279 }, 229 },
280 "scopes": [ 230 "scopes": [
281 "https://www.googleapis.com/auth/cloud-platform", 231 "https://www.googleapis.com/auth/cloud-platform",
282 "https://www.googleapis.com/auth/service.management" 232 "https://www.googleapis.com/auth/service.management"
283 ] 233 ]
284 }, 234 },
285 "get": {
286 "description": "Gets a managed service. Authentication is re quired unless the service is\npublic.",
287 "httpMethod": "GET",
288 "id": "servicemanagement.services.get",
289 "parameterOrder": [
290 "serviceName"
291 ],
292 "parameters": {
293 "serviceName": {
294 "description": "The name of the service. See the `S erviceManager` overview for naming\nrequirements. For example: `example.googlea pis.com`.",
295 "location": "path",
296 "required": true,
297 "type": "string"
298 }
299 },
300 "path": "v1/services/{serviceName}",
301 "response": {
302 "$ref": "ManagedService"
303 },
304 "scopes": [
305 "https://www.googleapis.com/auth/cloud-platform",
306 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
307 "https://www.googleapis.com/auth/service.management",
308 "https://www.googleapis.com/auth/service.management.read only"
309 ]
310 },
311 "list": { 235 "list": {
312 "description": "Lists all managed services. The result is li mited to services that the\ncaller has \"servicemanagement.services.get\" permis sion for. If the request\nis made without authentication, it returns only public services that are\navailable to everyone.", 236 "description": "Lists managed services.\n\nIf called without any authentication, it returns only the public services.\nIf called with authen tication, it returns all services that the caller has\n\"servicemanagement.servi ces.get\" permission for.\n\n**BETA:** If the caller specifies the `consumer_id` , it returns only the\nservices enabled on the consumer. The `consumer_id` must have the format\nof \"project:{PROJECT-ID}\".",
313 "httpMethod": "GET", 237 "httpMethod": "GET",
314 "id": "servicemanagement.services.list", 238 "id": "servicemanagement.services.list",
315 "parameterOrder": [], 239 "parameterOrder": [],
316 "parameters": { 240 "parameters": {
317 "pageSize": { 241 "consumerId": {
318 "description": "Requested size of the next page of d ata.", 242 "description": "Include services consumed by the spe cified consumer.\n\nThe Google Service Management implementation accepts the fol lowing\nforms:\n- project:<project_id>",
319 "format": "int32",
320 "location": "query",
321 "type": "integer"
322 },
323 "producerProjectId": {
324 "description": "Include services produced by the spe cified project.",
325 "location": "query", 243 "location": "query",
326 "type": "string" 244 "type": "string"
327 }, 245 },
328 "pageToken": { 246 "pageToken": {
329 "description": "Token identifying which result to st art with; returned by a previous list\ncall.", 247 "description": "Token identifying which result to st art with; returned by a previous list\ncall.",
330 "location": "query", 248 "location": "query",
331 "type": "string" 249 "type": "string"
332 }, 250 },
333 "consumerId": { 251 "pageSize": {
334 "description": "Include services consumed by the spe cified consumer.\n\nThe Google Service Management implementation accepts the fol lowing\nforms:\n- project:<project_id>", 252 "description": "Requested size of the next page of d ata.",
253 "format": "int32",
254 "location": "query",
255 "type": "integer"
256 },
257 "producerProjectId": {
258 "description": "Include services produced by the spe cified project.",
335 "location": "query", 259 "location": "query",
336 "type": "string" 260 "type": "string"
337 } 261 }
338 }, 262 },
339 "path": "v1/services", 263 "path": "v1/services",
340 "response": { 264 "response": {
341 "$ref": "ListServicesResponse" 265 "$ref": "ListServicesResponse"
342 }, 266 },
343 "scopes": [ 267 "scopes": [
344 "https://www.googleapis.com/auth/cloud-platform", 268 "https://www.googleapis.com/auth/cloud-platform",
(...skipping 13 matching lines...) Expand all
358 "$ref": "ManagedService" 282 "$ref": "ManagedService"
359 }, 283 },
360 "response": { 284 "response": {
361 "$ref": "Operation" 285 "$ref": "Operation"
362 }, 286 },
363 "scopes": [ 287 "scopes": [
364 "https://www.googleapis.com/auth/cloud-platform", 288 "https://www.googleapis.com/auth/cloud-platform",
365 "https://www.googleapis.com/auth/service.management" 289 "https://www.googleapis.com/auth/service.management"
366 ] 290 ]
367 }, 291 },
368 "enable": { 292 "generateConfigReport": {
369 "description": "Enable a managed service for a project with default setting.\n\nOperation<response: EnableServiceResponse>\n\ngoogle.rpc.Sta tus errors may contain a\ngoogle.rpc.PreconditionFailure error detail.", 293 "description": "Generates and returns a report (errors, warn ings and changes from\nexisting configurations) associated with\nGenerateConfigR eportRequest.new_value\n\nIf GenerateConfigReportRequest.old_value is specified, \nGenerateConfigReportRequest will contain a single ChangeReport based on the\nc omparison between GenerateConfigReportRequest.new_value and\nGenerateConfigRepor tRequest.old_value.\nIf GenerateConfigReportRequest.old_value is not specified, this method\nwill compare GenerateConfigReportRequest.new_value with the last pu shed\nservice configuration.",
370 "httpMethod": "POST", 294 "httpMethod": "POST",
371 "id": "servicemanagement.services.enable", 295 "id": "servicemanagement.services.generateConfigReport",
372 "parameterOrder": [ 296 "parameterOrder": [],
373 "serviceName" 297 "parameters": {},
374 ], 298 "path": "v1/services:generateConfigReport",
375 "parameters": {
376 "serviceName": {
377 "description": "Name of the service to enable. Speci fying an unknown service name will\ncause the request to fail.",
378 "location": "path",
379 "required": true,
380 "type": "string"
381 }
382 },
383 "path": "v1/services/{serviceName}:enable",
384 "request": { 299 "request": {
385 "$ref": "EnableServiceRequest" 300 "$ref": "GenerateConfigReportRequest"
386 }, 301 },
387 "response": { 302 "response": {
388 "$ref": "Operation" 303 "$ref": "GenerateConfigReportResponse"
389 }, 304 },
390 "scopes": [ 305 "scopes": [
391 "https://www.googleapis.com/auth/cloud-platform", 306 "https://www.googleapis.com/auth/cloud-platform",
392 "https://www.googleapis.com/auth/service.management" 307 "https://www.googleapis.com/auth/service.management"
393 ] 308 ]
394 }, 309 },
395 "setIamPolicy": { 310 "get": {
396 "description": "Sets the access control policy on the specif ied resource. Replaces any\nexisting policy.", 311 "description": "Gets a managed service. Authentication is re quired unless the service is\npublic.",
312 "httpMethod": "GET",
313 "id": "servicemanagement.services.get",
314 "parameterOrder": [
315 "serviceName"
316 ],
317 "parameters": {
318 "serviceName": {
319 "description": "The name of the service. See the `S erviceManager` overview for naming\nrequirements. For example: `example.googlea pis.com`.",
320 "location": "path",
321 "required": true,
322 "type": "string"
323 }
324 },
325 "path": "v1/services/{serviceName}",
326 "response": {
327 "$ref": "ManagedService"
328 },
329 "scopes": [
330 "https://www.googleapis.com/auth/cloud-platform",
331 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
332 "https://www.googleapis.com/auth/service.management",
333 "https://www.googleapis.com/auth/service.management.read only"
334 ]
335 },
336 "testIamPermissions": {
337 "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.",
397 "httpMethod": "POST", 338 "httpMethod": "POST",
398 "id": "servicemanagement.services.setIamPolicy", 339 "id": "servicemanagement.services.testIamPermissions",
399 "parameterOrder": [ 340 "parameterOrder": [
400 "resource" 341 "resource"
401 ], 342 ],
402 "parameters": { 343 "parameters": {
403 "resource": { 344 "resource": {
404 "description": "REQUIRED: The resource for which the policy is being specified.\n`resource` is usually specified as a path. For exam ple, a Project\nresource is specified as `projects/{project}`.", 345 "description": "REQUIRED: The resource for which the policy detail is being requested.\n`resource` is usually specified as a path. F or example, a Project\nresource is specified as `projects/{project}`.",
405 "location": "path", 346 "location": "path",
406 "pattern": "^services/[^/]+$", 347 "pattern": "^services/[^/]+$",
407 "required": true, 348 "required": true,
408 "type": "string" 349 "type": "string"
409 } 350 }
410 }, 351 },
411 "path": "v1/{+resource}:setIamPolicy", 352 "path": "v1/{+resource}:testIamPermissions",
412 "request": { 353 "request": {
413 "$ref": "SetIamPolicyRequest" 354 "$ref": "TestIamPermissionsRequest"
414 }, 355 },
415 "response": { 356 "response": {
416 "$ref": "Policy" 357 "$ref": "TestIamPermissionsResponse"
417 }, 358 },
418 "scopes": [ 359 "scopes": [
419 "https://www.googleapis.com/auth/cloud-platform", 360 "https://www.googleapis.com/auth/cloud-platform",
420 "https://www.googleapis.com/auth/service.management" 361 "https://www.googleapis.com/auth/service.management"
421 ] 362 ]
422 }, 363 },
423 "delete": { 364 "getConfig": {
424 "description": "Deletes a managed service. This method will change the service to the\n`Soft-Delete` state for 30 days. Within this period, service producers may\ncall UndeleteService to restore the service.\nAfter 30 da ys, the service will be permanently deleted.\n\nOperation<response: google.proto buf.Empty>", 365 "description": "Gets a service configuration (version) for a managed service.",
425 "httpMethod": "DELETE", 366 "httpMethod": "GET",
426 "id": "servicemanagement.services.delete", 367 "id": "servicemanagement.services.getConfig",
427 "parameterOrder": [ 368 "parameterOrder": [
428 "serviceName" 369 "serviceName"
429 ], 370 ],
430 "parameters": { 371 "parameters": {
431 "serviceName": { 372 "serviceName": {
432 "description": "The name of the service. See the [o verview](/service-management/overview)\nfor naming requirements. For example: ` example.googleapis.com`.", 373 "description": "The name of the service. See the [o verview](/service-management/overview)\nfor naming requirements. For example: ` example.googleapis.com`.",
433 "location": "path", 374 "location": "path",
434 "required": true, 375 "required": true,
435 "type": "string" 376 "type": "string"
377 },
378 "configId": {
379 "description": "The id of the service configuration resource.",
380 "location": "query",
381 "type": "string"
382 }
383 },
384 "path": "v1/services/{serviceName}/config",
385 "response": {
386 "$ref": "Service"
387 },
388 "scopes": [
389 "https://www.googleapis.com/auth/cloud-platform",
390 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
391 "https://www.googleapis.com/auth/service.management",
392 "https://www.googleapis.com/auth/service.management.read only"
393 ]
394 },
395 "enable": {
396 "description": "Enable a managed service for a project with default setting.\n\nOperation<response: EnableServiceResponse>\n\ngoogle.rpc.Sta tus errors may contain a\ngoogle.rpc.PreconditionFailure error detail.",
397 "httpMethod": "POST",
398 "id": "servicemanagement.services.enable",
399 "parameterOrder": [
400 "serviceName"
401 ],
402 "parameters": {
403 "serviceName": {
404 "description": "Name of the service to enable. Speci fying an unknown service name will\ncause the request to fail.",
405 "location": "path",
406 "required": true,
407 "type": "string"
408 }
409 },
410 "path": "v1/services/{serviceName}:enable",
411 "request": {
412 "$ref": "EnableServiceRequest"
413 },
414 "response": {
415 "$ref": "Operation"
416 },
417 "scopes": [
418 "https://www.googleapis.com/auth/cloud-platform",
419 "https://www.googleapis.com/auth/service.management"
420 ]
421 },
422 "delete": {
423 "description": "Deletes a managed service. This method will change the service to the\n`Soft-Delete` state for 30 days. Within this period, service producers may\ncall UndeleteService to restore the service.\nAfter 30 da ys, the service will be permanently deleted.\n\nOperation<response: google.proto buf.Empty>",
424 "httpMethod": "DELETE",
425 "id": "servicemanagement.services.delete",
426 "parameterOrder": [
427 "serviceName"
428 ],
429 "parameters": {
430 "serviceName": {
431 "description": "The name of the service. See the [o verview](/service-management/overview)\nfor naming requirements. For example: ` example.googleapis.com`.",
432 "location": "path",
433 "required": true,
434 "type": "string"
436 } 435 }
437 }, 436 },
438 "path": "v1/services/{serviceName}", 437 "path": "v1/services/{serviceName}",
439 "response": { 438 "response": {
440 "$ref": "Operation" 439 "$ref": "Operation"
441 }, 440 },
442 "scopes": [ 441 "scopes": [
443 "https://www.googleapis.com/auth/cloud-platform", 442 "https://www.googleapis.com/auth/cloud-platform",
444 "https://www.googleapis.com/auth/service.management"
445 ]
446 },
447 "testIamPermissions": {
448 "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.",
449 "httpMethod": "POST",
450 "id": "servicemanagement.services.testIamPermissions",
451 "parameterOrder": [
452 "resource"
453 ],
454 "parameters": {
455 "resource": {
456 "description": "REQUIRED: The resource for which the policy detail is being requested.\n`resource` is usually specified as a path. F or example, a Project\nresource is specified as `projects/{project}`.",
457 "location": "path",
458 "pattern": "^services/[^/]+$",
459 "required": true,
460 "type": "string"
461 }
462 },
463 "path": "v1/{+resource}:testIamPermissions",
464 "request": {
465 "$ref": "TestIamPermissionsRequest"
466 },
467 "response": {
468 "$ref": "TestIamPermissionsResponse"
469 },
470 "scopes": [
471 "https://www.googleapis.com/auth/cloud-platform",
472 "https://www.googleapis.com/auth/service.management" 443 "https://www.googleapis.com/auth/service.management"
473 ] 444 ]
474 } 445 }
475 }, 446 },
476 "resources": { 447 "resources": {
477 "rollouts": { 448 "configs": {
478 "methods": { 449 "methods": {
479 "get": { 450 "create": {
480 "description": "Gets a service configuration rollout .", 451 "description": "Creates a new service configuration (version) for a managed service.\nThis method only stores the service configurat ion. To roll out the service\nconfiguration to backend systems please call\nCrea teServiceRollout.",
481 "httpMethod": "GET", 452 "httpMethod": "POST",
482 "id": "servicemanagement.services.rollouts.get", 453 "id": "servicemanagement.services.configs.create",
483 "parameterOrder": [ 454 "parameterOrder": [
484 "serviceName", 455 "serviceName"
485 "rolloutId"
486 ], 456 ],
487 "parameters": { 457 "parameters": {
488 "rolloutId": {
489 "description": "The id of the rollout resour ce.",
490 "location": "path",
491 "required": true,
492 "type": "string"
493 },
494 "serviceName": { 458 "serviceName": {
495 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.", 459 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.",
496 "location": "path", 460 "location": "path",
497 "required": true, 461 "required": true,
498 "type": "string" 462 "type": "string"
499 } 463 }
500 }, 464 },
501 "path": "v1/services/{serviceName}/rollouts/{rollout Id}", 465 "path": "v1/services/{serviceName}/configs",
466 "request": {
467 "$ref": "Service"
468 },
502 "response": { 469 "response": {
503 "$ref": "Rollout" 470 "$ref": "Service"
504 }, 471 },
505 "scopes": [ 472 "scopes": [
506 "https://www.googleapis.com/auth/cloud-platform" , 473 "https://www.googleapis.com/auth/cloud-platform" ,
507 "https://www.googleapis.com/auth/cloud-platform. read-only", 474 "https://www.googleapis.com/auth/service.managem ent"
508 "https://www.googleapis.com/auth/service.managem ent",
509 "https://www.googleapis.com/auth/service.managem ent.readonly"
510 ] 475 ]
511 }, 476 },
512 "create": { 477 "submit": {
513 "description": "Creates a new service configuration rollout. Based on rollout, the\nGoogle Service Management will roll out the serv ice configurations to\ndifferent backend services. For example, the logging conf iguration will be\npushed to Google Cloud Logging.\n\nPlease note that any previ ous pending and running Rollouts and associated\nOperations will be automaticall y cancelled so that the latest Rollout will\nnot be blocked by previous Rollouts .\n\nOperation<response: Rollout>", 478 "description": "Creates a new service configuration (version) for a managed service based\non\nuser-supplied configuration source fi les (for example: OpenAPI\nSpecification). This method stores the source configu rations as well as the\ngenerated service configuration. To rollout the service configuration to\nother services,\nplease call CreateServiceRollout.\n\nOperatio n<response: SubmitConfigSourceResponse>",
514 "httpMethod": "POST", 479 "httpMethod": "POST",
515 "id": "servicemanagement.services.rollouts.create", 480 "id": "servicemanagement.services.configs.submit",
516 "parameterOrder": [ 481 "parameterOrder": [
517 "serviceName" 482 "serviceName"
518 ], 483 ],
519 "parameters": { 484 "parameters": {
520 "serviceName": { 485 "serviceName": {
521 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.", 486 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.",
522 "location": "path", 487 "location": "path",
523 "required": true, 488 "required": true,
524 "type": "string" 489 "type": "string"
525 } 490 }
526 }, 491 },
527 "path": "v1/services/{serviceName}/rollouts", 492 "path": "v1/services/{serviceName}/configs:submit",
528 "request": { 493 "request": {
529 "$ref": "Rollout" 494 "$ref": "SubmitConfigSourceRequest"
530 }, 495 },
531 "response": { 496 "response": {
532 "$ref": "Operation" 497 "$ref": "Operation"
533 }, 498 },
534 "scopes": [ 499 "scopes": [
535 "https://www.googleapis.com/auth/cloud-platform" , 500 "https://www.googleapis.com/auth/cloud-platform" ,
536 "https://www.googleapis.com/auth/service.managem ent" 501 "https://www.googleapis.com/auth/service.managem ent"
537 ] 502 ]
538 }, 503 },
539 "list": { 504 "list": {
540 "description": "Lists the history of the service con figuration rollouts for a managed\nservice, from the newest to the oldest.", 505 "description": "Lists the history of the service con figuration for a managed service,\nfrom the newest to the oldest.",
541 "httpMethod": "GET", 506 "httpMethod": "GET",
542 "id": "servicemanagement.services.rollouts.list", 507 "id": "servicemanagement.services.configs.list",
543 "parameterOrder": [ 508 "parameterOrder": [
544 "serviceName" 509 "serviceName"
545 ], 510 ],
546 "parameters": { 511 "parameters": {
547 "pageSize": {
548 "description": "The max number of items to i nclude in the response list.",
549 "format": "int32",
550 "location": "query",
551 "type": "integer"
552 },
553 "serviceName": { 512 "serviceName": {
554 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.", 513 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.",
555 "location": "path", 514 "location": "path",
556 "required": true, 515 "required": true,
557 "type": "string" 516 "type": "string"
558 }, 517 },
559 "pageToken": { 518 "pageToken": {
560 "description": "The token of the page to ret rieve.", 519 "description": "The token of the page to ret rieve.",
561 "location": "query", 520 "location": "query",
562 "type": "string" 521 "type": "string"
522 },
523 "pageSize": {
524 "description": "The max number of items to i nclude in the response list.",
525 "format": "int32",
526 "location": "query",
527 "type": "integer"
563 } 528 }
564 }, 529 },
565 "path": "v1/services/{serviceName}/rollouts", 530 "path": "v1/services/{serviceName}/configs",
566 "response": { 531 "response": {
567 "$ref": "ListServiceRolloutsResponse" 532 "$ref": "ListServiceConfigsResponse"
568 }, 533 },
569 "scopes": [ 534 "scopes": [
570 "https://www.googleapis.com/auth/cloud-platform" , 535 "https://www.googleapis.com/auth/cloud-platform" ,
571 "https://www.googleapis.com/auth/cloud-platform. read-only", 536 "https://www.googleapis.com/auth/cloud-platform. read-only",
572 "https://www.googleapis.com/auth/service.managem ent", 537 "https://www.googleapis.com/auth/service.managem ent",
573 "https://www.googleapis.com/auth/service.managem ent.readonly" 538 "https://www.googleapis.com/auth/service.managem ent.readonly"
574 ] 539 ]
575 }
576 }
577 },
578 "configs": {
579 "methods": {
580 "submit": {
581 "description": "Creates a new service configuration (version) for a managed service based\non\nuser-supplied configuration source fi les (for example: OpenAPI\nSpecification). This method stores the source configu rations as well as the\ngenerated service configuration. To rollout the service configuration to\nother services,\nplease call CreateServiceRollout.\n\nOperatio n<response: SubmitConfigSourceResponse>",
582 "httpMethod": "POST",
583 "id": "servicemanagement.services.configs.submit",
584 "parameterOrder": [
585 "serviceName"
586 ],
587 "parameters": {
588 "serviceName": {
589 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.",
590 "location": "path",
591 "required": true,
592 "type": "string"
593 }
594 },
595 "path": "v1/services/{serviceName}/configs:submit",
596 "request": {
597 "$ref": "SubmitConfigSourceRequest"
598 },
599 "response": {
600 "$ref": "Operation"
601 },
602 "scopes": [
603 "https://www.googleapis.com/auth/cloud-platform" ,
604 "https://www.googleapis.com/auth/service.managem ent"
605 ]
606 }, 540 },
607 "get": { 541 "get": {
608 "description": "Gets a service configuration (versio n) for a managed service.", 542 "description": "Gets a service configuration (versio n) for a managed service.",
609 "httpMethod": "GET", 543 "httpMethod": "GET",
610 "id": "servicemanagement.services.configs.get", 544 "id": "servicemanagement.services.configs.get",
611 "parameterOrder": [ 545 "parameterOrder": [
612 "serviceName", 546 "serviceName",
613 "configId" 547 "configId"
614 ], 548 ],
615 "parameters": { 549 "parameters": {
550 "serviceName": {
551 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.",
552 "location": "path",
553 "required": true,
554 "type": "string"
555 },
616 "configId": { 556 "configId": {
617 "description": "The id of the service config uration resource.", 557 "description": "The id of the service config uration resource.",
618 "location": "path", 558 "location": "path",
619 "required": true, 559 "required": true,
620 "type": "string" 560 "type": "string"
621 },
622 "serviceName": {
623 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.",
624 "location": "path",
625 "required": true,
626 "type": "string"
627 } 561 }
628 }, 562 },
629 "path": "v1/services/{serviceName}/configs/{configId }", 563 "path": "v1/services/{serviceName}/configs/{configId }",
630 "response": { 564 "response": {
631 "$ref": "Service" 565 "$ref": "Service"
632 }, 566 },
633 "scopes": [ 567 "scopes": [
634 "https://www.googleapis.com/auth/cloud-platform" , 568 "https://www.googleapis.com/auth/cloud-platform" ,
635 "https://www.googleapis.com/auth/cloud-platform. read-only", 569 "https://www.googleapis.com/auth/cloud-platform. read-only",
636 "https://www.googleapis.com/auth/service.managem ent", 570 "https://www.googleapis.com/auth/service.managem ent",
637 "https://www.googleapis.com/auth/service.managem ent.readonly" 571 "https://www.googleapis.com/auth/service.managem ent.readonly"
638 ] 572 ]
639 }, 573 }
574 }
575 },
576 "rollouts": {
577 "methods": {
640 "create": { 578 "create": {
641 "description": "Creates a new service configuration (version) for a managed service.\nThis method only stores the service configurat ion. To roll out the service\nconfiguration to backend systems please call\nCrea teServiceRollout.", 579 "description": "Creates a new service configuration rollout. Based on rollout, the\nGoogle Service Management will roll out the serv ice configurations to\ndifferent backend services. For example, the logging conf iguration will be\npushed to Google Cloud Logging.\n\nPlease note that any previ ous pending and running Rollouts and associated\nOperations will be automaticall y cancelled so that the latest Rollout will\nnot be blocked by previous Rollouts .\n\nOperation<response: Rollout>",
642 "httpMethod": "POST", 580 "httpMethod": "POST",
643 "id": "servicemanagement.services.configs.create", 581 "id": "servicemanagement.services.rollouts.create",
644 "parameterOrder": [ 582 "parameterOrder": [
645 "serviceName" 583 "serviceName"
646 ], 584 ],
647 "parameters": { 585 "parameters": {
648 "serviceName": { 586 "serviceName": {
649 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.", 587 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.",
650 "location": "path", 588 "location": "path",
651 "required": true, 589 "required": true,
652 "type": "string" 590 "type": "string"
653 } 591 }
654 }, 592 },
655 "path": "v1/services/{serviceName}/configs", 593 "path": "v1/services/{serviceName}/rollouts",
656 "request": { 594 "request": {
657 "$ref": "Service" 595 "$ref": "Rollout"
658 }, 596 },
659 "response": { 597 "response": {
660 "$ref": "Service" 598 "$ref": "Operation"
661 }, 599 },
662 "scopes": [ 600 "scopes": [
663 "https://www.googleapis.com/auth/cloud-platform" , 601 "https://www.googleapis.com/auth/cloud-platform" ,
664 "https://www.googleapis.com/auth/service.managem ent" 602 "https://www.googleapis.com/auth/service.managem ent"
665 ] 603 ]
666 }, 604 },
667 "list": { 605 "list": {
668 "description": "Lists the history of the service con figuration for a managed service,\nfrom the newest to the oldest.", 606 "description": "Lists the history of the service con figuration rollouts for a managed\nservice, from the newest to the oldest.",
669 "httpMethod": "GET", 607 "httpMethod": "GET",
670 "id": "servicemanagement.services.configs.list", 608 "id": "servicemanagement.services.rollouts.list",
671 "parameterOrder": [ 609 "parameterOrder": [
672 "serviceName" 610 "serviceName"
673 ], 611 ],
674 "parameters": { 612 "parameters": {
675 "pageSize": {
676 "description": "The max number of items to i nclude in the response list.",
677 "format": "int32",
678 "location": "query",
679 "type": "integer"
680 },
681 "serviceName": { 613 "serviceName": {
682 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.", 614 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.",
683 "location": "path", 615 "location": "path",
684 "required": true, 616 "required": true,
685 "type": "string" 617 "type": "string"
686 }, 618 },
687 "pageToken": { 619 "pageToken": {
688 "description": "The token of the page to ret rieve.", 620 "description": "The token of the page to ret rieve.",
689 "location": "query", 621 "location": "query",
690 "type": "string" 622 "type": "string"
623 },
624 "pageSize": {
625 "description": "The max number of items to i nclude in the response list.",
626 "format": "int32",
627 "location": "query",
628 "type": "integer"
691 } 629 }
692 }, 630 },
693 "path": "v1/services/{serviceName}/configs", 631 "path": "v1/services/{serviceName}/rollouts",
694 "response": { 632 "response": {
695 "$ref": "ListServiceConfigsResponse" 633 "$ref": "ListServiceRolloutsResponse"
696 }, 634 },
697 "scopes": [ 635 "scopes": [
698 "https://www.googleapis.com/auth/cloud-platform" , 636 "https://www.googleapis.com/auth/cloud-platform" ,
637 "https://www.googleapis.com/auth/cloud-platform. read-only",
638 "https://www.googleapis.com/auth/service.managem ent",
639 "https://www.googleapis.com/auth/service.managem ent.readonly"
640 ]
641 },
642 "get": {
643 "description": "Gets a service configuration rollout .",
644 "httpMethod": "GET",
645 "id": "servicemanagement.services.rollouts.get",
646 "parameterOrder": [
647 "serviceName",
648 "rolloutId"
649 ],
650 "parameters": {
651 "serviceName": {
652 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.",
653 "location": "path",
654 "required": true,
655 "type": "string"
656 },
657 "rolloutId": {
658 "description": "The id of the rollout resour ce.",
659 "location": "path",
660 "required": true,
661 "type": "string"
662 }
663 },
664 "path": "v1/services/{serviceName}/rollouts/{rollout Id}",
665 "response": {
666 "$ref": "Rollout"
667 },
668 "scopes": [
669 "https://www.googleapis.com/auth/cloud-platform" ,
699 "https://www.googleapis.com/auth/cloud-platform. read-only", 670 "https://www.googleapis.com/auth/cloud-platform. read-only",
700 "https://www.googleapis.com/auth/service.managem ent", 671 "https://www.googleapis.com/auth/service.managem ent",
701 "https://www.googleapis.com/auth/service.managem ent.readonly" 672 "https://www.googleapis.com/auth/service.managem ent.readonly"
702 ] 673 ]
703 } 674 }
704 } 675 }
705 } 676 }
706 } 677 }
678 },
679 "operations": {
680 "methods": {
681 "get": {
682 "description": "Gets the latest state of a long-running oper ation. Clients can use this\nmethod to poll the operation result at intervals a s recommended by the API\nservice.",
683 "httpMethod": "GET",
684 "id": "servicemanagement.operations.get",
685 "parameterOrder": [
686 "name"
687 ],
688 "parameters": {
689 "name": {
690 "description": "The name of the operation resource." ,
691 "location": "path",
692 "pattern": "^operations/.+$",
693 "required": true,
694 "type": "string"
695 }
696 },
697 "path": "v1/{+name}",
698 "response": {
699 "$ref": "Operation"
700 },
701 "scopes": [
702 "https://www.googleapis.com/auth/cloud-platform",
703 "https://www.googleapis.com/auth/service.management"
704 ]
705 }
706 }
707 } 707 }
708 }, 708 },
709 "revision": "20161205", 709 "revision": "20170117",
710 "rootUrl": "https://servicemanagement.googleapis.com/", 710 "rootUrl": "https://servicemanagement.googleapis.com/",
711 "schemas": { 711 "schemas": {
712 "DisableServiceRequest": {
713 "description": "Request message for DisableService method.",
714 "id": "DisableServiceRequest",
715 "properties": {
716 "consumerId": {
717 "description": "The identity of consumer resource which serv ice disablement will be\napplied to.\n\nThe Google Service Management implementa tion accepts the following\nforms:\n- \"project:<project_id>\"\n\nNote: this is made compatible with\ngoogle.api.servicecontrol.v1.Operation.consumer_id.",
718 "type": "string"
719 }
720 },
721 "type": "object"
722 },
723 "SubmitConfigSourceResponse": {
724 "description": "Response message for SubmitConfigSource method.",
725 "id": "SubmitConfigSourceResponse",
726 "properties": {
727 "serviceConfig": {
728 "$ref": "Service",
729 "description": "The generated service configuration."
730 }
731 },
732 "type": "object"
733 },
734 "MediaUpload": {
735 "description": "Do not use this. For media support, add instead\n[][ google.bytestream.RestByteStream] as an API to your\nconfiguration.",
736 "id": "MediaUpload",
737 "properties": {
738 "enabled": {
739 "description": "Whether upload is enabled.",
740 "type": "boolean"
741 }
742 },
743 "type": "object"
744 },
745 "Advice": {
746 "description": "Generated advice about this change, used for providi ng more\ninformation about how a change will affect the existing service.",
747 "id": "Advice",
748 "properties": {
749 "description": {
750 "description": "Useful description for why this advice was a pplied and what actions should\nbe taken to mitigate any implied risks.",
751 "type": "string"
752 }
753 },
754 "type": "object"
755 },
756 "ManagedService": {
757 "description": "The full representation of a Service that is managed by\nGoogle Service Management.",
758 "id": "ManagedService",
759 "properties": {
760 "serviceName": {
761 "description": "The name of the service. See the [overview]( /service-management/overview)\nfor naming requirements.",
762 "type": "string"
763 },
764 "producerProjectId": {
765 "description": "ID of the project that produces and owns thi s service.",
766 "type": "string"
767 }
768 },
769 "type": "object"
770 },
771 "UsageRule": {
772 "description": "Usage configuration rules for the service.\n\nNOTE: Under development.\n\n\nUse this rule to configure unregistered calls for the se rvice. Unregistered\ncalls are calls that do not contain consumer project identi ty.\n(Example: calls that do not contain an API key).\nBy default, API methods d o not allow unregistered calls, and each method call\nmust be identified by a co nsumer project identity. Use this rule to\nallow/disallow unregistered calls.\n\ nExample of an API that wants to allow unregistered calls for entire service.\n\ n usage:\n rules:\n - selector: \"*\"\n allow_unregistered_c alls: true\n\nExample of a method that wants to allow unregistered calls.\n\n usage:\n rules:\n - selector: \"google.example.library.v1.LibraryServ ice.CreateBook\"\n allow_unregistered_calls: true",
773 "id": "UsageRule",
774 "properties": {
775 "allowUnregisteredCalls": {
776 "description": "True, if the method allows unregistered call s; false otherwise.",
777 "type": "boolean"
778 },
779 "selector": {
780 "description": "Selects the methods to which this rule appli es. Use '*' to indicate all\nmethods in all APIs.\n\nRefer to selector for synta x details.",
781 "type": "string"
782 }
783 },
784 "type": "object"
785 },
786 "TrafficPercentStrategy": {
787 "description": "Strategy that specifies how Google Service Control s hould select\ndifferent\nversions of service configurations based on traffic per centage.\n\nOne example of how to gradually rollout a new service configuration using\nthis\nstrategy:\nDay 1\n\n Rollout {\n id: \"example.googleapis.c om/rollout_20160206\"\n traffic_percent_strategy {\n percentages: {\ n \"example.googleapis.com/20160201\": 70.00\n \"example.googl eapis.com/20160206\": 30.00\n }\n }\n }\n\nDay 2\n\n Rollout { \n id: \"example.googleapis.com/rollout_20160207\"\n traffic_percent_s trategy: {\n percentages: {\n \"example.googleapis.com/20160206\ ": 100.00\n }\n }\n }",
788 "id": "TrafficPercentStrategy",
789 "properties": {
790 "percentages": {
791 "additionalProperties": {
792 "format": "double",
793 "type": "number"
794 },
795 "description": "Maps service configuration IDs to their corr esponding traffic percentage.\nKey is the service configuration ID, Value is the traffic percentage\nwhich must be greater than 0.0 and the sum must equal to 10 0.0.",
796 "type": "object"
797 }
798 },
799 "type": "object"
800 },
801 "AuthRequirement": {
802 "description": "User-defined authentication requirements, including support for\n[JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth -json-web-token-32).",
803 "id": "AuthRequirement",
804 "properties": {
805 "audiences": {
806 "description": "NOTE: This will be deprecated soon, once Aut hProvider.audiences is\nimplemented and accepted in all the runtime components.\ n\nThe list of JWT\n[audiences](https://tools.ietf.org/html/draft-ietf-oauth-jso n-web-token-32#section-4.1.3).\nthat are allowed to access. A JWT containing any of these audiences will\nbe accepted. When this setting is absent, only JWTs wi th audience\n\"https://Service_name/API_name\"\nwill be accepted. For example, i f no audiences are in the setting,\nLibraryService API will only accept JWTs wit h the following audience\n\"https://library-example.googleapis.com/google.exampl e.library.v1.LibraryService\".\n\nExample:\n\n audiences: bookstore_android.a pps.googleusercontent.com,\n bookstore_web.apps.googleusercontent. com",
807 "type": "string"
808 },
809 "providerId": {
810 "description": "id from authentication provider.\n\nExample: \n\n provider_id: bookstore_auth",
811 "type": "string"
812 }
813 },
814 "type": "object"
815 },
816 "Condition": {
817 "description": "A condition to be met.",
818 "id": "Condition",
819 "properties": {
820 "value": {
821 "description": "DEPRECATED. Use 'values' instead.",
822 "type": "string"
823 },
824 "sys": {
825 "description": "Trusted attributes supplied by any service t hat owns resources and uses\nthe IAM system for access control.",
826 "enum": [
827 "NO_ATTR",
828 "REGION",
829 "SERVICE",
830 "NAME",
831 "IP"
832 ],
833 "enumDescriptions": [
834 "Default non-attribute type",
835 "Region of the resource",
836 "Service name",
837 "Resource name",
838 "IP address of the caller"
839 ],
840 "type": "string"
841 },
842 "values": {
843 "description": "The objects of the condition. This is mutual ly exclusive with 'value'.",
844 "items": {
845 "type": "string"
846 },
847 "type": "array"
848 },
849 "iam": {
850 "description": "Trusted attributes supplied by the IAM syste m.",
851 "enum": [
852 "NO_ATTR",
853 "AUTHORITY",
854 "ATTRIBUTION"
855 ],
856 "enumDescriptions": [
857 "Default non-attribute.",
858 "Either principal or (if present) authority selector.",
859 "The principal (even if an authority selector is present ), which\nmust only be used for attribution, not authorization."
860 ],
861 "type": "string"
862 },
863 "op": {
864 "description": "An operator to apply the subject with.",
865 "enum": [
866 "NO_OP",
867 "EQUALS",
868 "NOT_EQUALS",
869 "IN",
870 "NOT_IN",
871 "DISCHARGED"
872 ],
873 "enumDescriptions": [
874 "Default no-op.",
875 "DEPRECATED. Use IN instead.",
876 "DEPRECATED. Use NOT_IN instead.",
877 "Set-inclusion check.",
878 "Set-exclusion check.",
879 "Subject is discharged"
880 ],
881 "type": "string"
882 },
883 "svc": {
884 "description": "Trusted attributes discharged by the service .",
885 "type": "string"
886 }
887 },
888 "type": "object"
889 },
890 "Documentation": {
891 "description": "`Documentation` provides the information for describ ing a service.\n\nExample:\n<pre><code>documentation:\n summary: >\n The Goo gle Calendar API gives access\n to most calendar features.\n pages:\n - nam e: Overview\n content: &#40;== include google/foo/overview.md ==&#41;\n - na me: Tutorial\n content: &#40;== include google/foo/tutorial.md ==&#41;\n s ubpages;\n - name: Java\n content: &#40;== include google/foo/tutorial_j ava.md ==&#41;\n rules:\n - selector: google.calendar.Calendar.Get\n descri ption: >\n ...\n - selector: google.calendar.Calendar.Put\n description : >\n ...\n</code></pre>\nDocumentation is provided in markdown syntax. In addition to\nstandard markdown features, definition lists, tables and fenced\nco de blocks are supported. Section headers can be provided and are\ninterpreted re lative to the section nesting of the context where\na documentation fragment is embedded.\n\nDocumentation from the IDL is merged with documentation defined\nvi a the config at normalization time, where documentation provided\nby config rule s overrides IDL provided.\n\nA number of constructs specific to the API platform are supported\nin documentation text.\n\nIn order to reference a proto element, the following\nnotation can be used:\n<pre><code>&#91;fully.qualified.proto.nam e]&#91;]</code></pre>\nTo override the display text used for the link, this can be used:\n<pre><code>&#91;display text]&#91;fully.qualified.proto.name]</code></ pre>\nText can be excluded from doc using the following notation:\n<pre><code>&# 40;-- internal comment --&#41;</code></pre>\nComments can be made conditional us ing a visibility label. The below\ntext will be only rendered if the `BETA` labe l is available:\n<pre><code>&#40;--BETA: comment for BETA users --&#41;</code></ pre>\nA few directives are available in documentation. Note that\ndirectives mus t appear on a single line to be properly\nidentified. The `include` directive in cludes a markdown file from\nan external source:\n<pre><code>&#40;== include pat h/to/file ==&#41;</code></pre>\nThe `resource_for` directive marks a message to be the resource of\na collection in REST view. If it is not specified, tools att empt\nto infer the resource from the operations in a collection:\n<pre><code>&#4 0;== resource_for v1.shelves.books ==&#41;</code></pre>\nThe directive `suppress _warning` does not directly affect documentation\nand is documented together wit h service config validation.",
892 "id": "Documentation",
893 "properties": {
894 "documentationRootUrl": {
895 "description": "The URL to the root of documentation.",
896 "type": "string"
897 },
898 "rules": {
899 "description": "A list of documentation rules that apply to individual API elements.\n\n**NOTE:** All service configuration rules follow \"l ast one wins\" order.",
900 "items": {
901 "$ref": "DocumentationRule"
902 },
903 "type": "array"
904 },
905 "overview": {
906 "description": "Declares a single overview page. For example :\n<pre><code>documentation:\n summary: ...\n overview: &#40;== include overvi ew.md ==&#41;\n</code></pre>\nThis is a shortcut for the following declaration ( using pages style):\n<pre><code>documentation:\n summary: ...\n pages:\n - na me: Overview\n content: &#40;== include overview.md ==&#41;\n</code></pre>\nN ote: you cannot specify both `overview` field and `pages` field.",
907 "type": "string"
908 },
909 "pages": {
910 "description": "The top level pages for the documentation se t.",
911 "items": {
912 "$ref": "Page"
913 },
914 "type": "array"
915 },
916 "summary": {
917 "description": "A short summary of what the service does. Ca n only be provided by\nplain text.",
918 "type": "string"
919 }
920 },
921 "type": "object"
922 },
923 "AuditLogConfig": {
924 "description": "Provides the configuration for logging a type of per missions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type \": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and ' DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.",
925 "id": "AuditLogConfig",
926 "properties": {
927 "exemptedMembers": {
928 "description": "Specifies the identities that do not cause l ogging for this type of\npermission.\nFollows the same format of Binding.members .",
929 "items": {
930 "type": "string"
931 },
932 "type": "array"
933 },
934 "logType": {
935 "description": "The log type that this config enables.",
936 "enum": [
937 "LOG_TYPE_UNSPECIFIED",
938 "ADMIN_READ",
939 "DATA_WRITE",
940 "DATA_READ"
941 ],
942 "enumDescriptions": [
943 "Default case. Should never be this.",
944 "Admin reads. Example: CloudIAM getIamPolicy",
945 "Data writes. Example: CloudSQL Users create",
946 "Data reads. Example: CloudSQL Users list"
947 ],
948 "type": "string"
949 }
950 },
951 "type": "object"
952 },
953 "ConfigSource": {
954 "description": "Represents a source file which is used to generate t he service configuration\ndefined by `google.api.Service`.",
955 "id": "ConfigSource",
956 "properties": {
957 "files": {
958 "description": "Set of source configuration files that are u sed to generate a service\nconfiguration (`google.api.Service`).",
959 "items": {
960 "$ref": "ConfigFile"
961 },
962 "type": "array"
963 },
964 "id": {
965 "description": "A unique ID for a specific instance of this message, typically assigned\nby the client for tracking purpose. If empty, the s erver may choose to\ngenerate one instead.",
966 "type": "string"
967 }
968 },
969 "type": "object"
970 },
971 "BackendRule": {
972 "description": "A backend rule provides configuration for an individ ual API element.",
973 "id": "BackendRule",
974 "properties": {
975 "address": {
976 "description": "The address of the API backend.",
977 "type": "string"
978 },
979 "selector": {
980 "description": "Selects the methods to which this rule appli es.\n\nRefer to selector for syntax details.",
981 "type": "string"
982 },
983 "deadline": {
984 "description": "The number of seconds to wait for a response from a request. The\ndefault depends on the deployment context.",
985 "format": "double",
986 "type": "number"
987 }
988 },
989 "type": "object"
990 },
991 "AuthenticationRule": {
992 "description": "Authentication rules for the service.\n\nBy default, if a method has any authentication requirements, every request\nmust include a valid credential matching one of the requirements.\nIt's an error to include mor e than one kind of credential in a single\nrequest.\n\nIf a method doesn't have any auth requirements, request credentials will be\nignored.",
993 "id": "AuthenticationRule",
994 "properties": {
995 "selector": {
996 "description": "Selects the methods to which this rule appli es.\n\nRefer to selector for syntax details.",
997 "type": "string"
998 },
999 "allowWithoutCredential": {
1000 "description": "Whether to allow requests without a credenti al. The credential can be\nan OAuth token, Google cookies (first-party auth) or EndUserCreds.\n\nFor requests without credentials, if the service control enviro nment is\nspecified, each incoming request **must** be associated with a service \nconsumer. This can be done by passing an API key that belongs to a consumer\np roject.",
1001 "type": "boolean"
1002 },
1003 "oauth": {
1004 "$ref": "OAuthRequirements",
1005 "description": "The requirements for OAuth credentials."
1006 },
1007 "requirements": {
1008 "description": "Requirements for additional authentication p roviders.",
1009 "items": {
1010 "$ref": "AuthRequirement"
1011 },
1012 "type": "array"
1013 }
1014 },
1015 "type": "object"
1016 },
1017 "UndeleteServiceResponse": {
1018 "description": "Response message for UndeleteService method.",
1019 "id": "UndeleteServiceResponse",
1020 "properties": {
1021 "service": {
1022 "$ref": "ManagedService",
1023 "description": "Revived service resource."
1024 }
1025 },
1026 "type": "object"
1027 },
1028 "Policy": {
1029 "description": "Defines an Identity and Access Management (IAM) poli cy. 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,\nG oogle domains, and service accounts. A `role` is a named list of permissions\nde fined 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.gserviceaccoun t.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).",
1030 "id": "Policy",
1031 "properties": {
1032 "version": {
1033 "description": "Version of the `Policy`. The default version is 0.",
1034 "format": "int32",
1035 "type": "integer"
1036 },
1037 "auditConfigs": {
1038 "description": "Specifies cloud audit logging configuration for this policy.",
1039 "items": {
1040 "$ref": "AuditConfig"
1041 },
1042 "type": "array"
1043 },
1044 "bindings": {
1045 "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.",
1046 "items": {
1047 "$ref": "Binding"
1048 },
1049 "type": "array"
1050 },
1051 "etag": {
1052 "description": "`etag` is used for optimistic concurrency co ntrol as a way to help\nprevent simultaneous updates of a policy from overwritin g each other.\nIt is strongly suggested that systems make use of the `etag` in t he\nread-modify-write cycle to perform policy updates in order to avoid race\nco nditions: 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 t heir change will be applied to the same version of the policy.\n\nIf no `etag` i s provided in the call to `setIamPolicy`, then the existing\npolicy is overwritt en blindly.",
1053 "format": "byte",
1054 "type": "string"
1055 },
1056 "iamOwned": {
1057 "type": "boolean"
1058 },
1059 "rules": {
1060 "description": "If more than one rule is specified, the rule s are applied in the following\nmanner:\n- All matching LOG rules are always app lied.\n- If any DENY/DENY_WITH_LOG rule matches, permission is denied.\n Loggin g will be applied if one or more matching rule requires logging.\n- Otherwise, i f any ALLOW/ALLOW_WITH_LOG rule matches, permission is\n granted.\n Logging wi ll be applied if one or more matching rule requires logging.\n- Otherwise, if no rule applies, permission is denied.",
1061 "items": {
1062 "$ref": "Rule"
1063 },
1064 "type": "array"
1065 }
1066 },
1067 "type": "object"
1068 },
712 "Api": { 1069 "Api": {
713 "description": "Api is a light-weight descriptor for a protocol buff er service.", 1070 "description": "Api is a light-weight descriptor for a protocol buff er service.",
714 "id": "Api", 1071 "id": "Api",
715 "properties": { 1072 "properties": {
716 "methods": { 1073 "methods": {
717 "description": "The methods of this api, in unspecified orde r.", 1074 "description": "The methods of this api, in unspecified orde r.",
718 "items": { 1075 "items": {
719 "$ref": "Method" 1076 "$ref": "Method"
720 }, 1077 },
721 "type": "array" 1078 "type": "array"
722 }, 1079 },
723 "options": {
724 "description": "Any metadata attached to the API.",
725 "items": {
726 "$ref": "Option"
727 },
728 "type": "array"
729 },
730 "sourceContext": {
731 "$ref": "SourceContext",
732 "description": "Source context for the protocol buffer servi ce represented by this\nmessage."
733 },
734 "name": { 1080 "name": {
735 "description": "The fully qualified name of this api, includ ing package name\nfollowed by the api's simple name.", 1081 "description": "The fully qualified name of this api, includ ing package name\nfollowed by the api's simple name.",
736 "type": "string" 1082 "type": "string"
737 }, 1083 },
738 "syntax": { 1084 "syntax": {
739 "description": "The source syntax of the service.", 1085 "description": "The source syntax of the service.",
740 "enum": [ 1086 "enum": [
741 "SYNTAX_PROTO2", 1087 "SYNTAX_PROTO2",
742 "SYNTAX_PROTO3" 1088 "SYNTAX_PROTO3"
743 ], 1089 ],
744 "enumDescriptions": [ 1090 "enumDescriptions": [
745 "Syntax `proto2`.", 1091 "Syntax `proto2`.",
746 "Syntax `proto3`." 1092 "Syntax `proto3`."
747 ], 1093 ],
748 "type": "string" 1094 "type": "string"
749 }, 1095 },
1096 "sourceContext": {
1097 "$ref": "SourceContext",
1098 "description": "Source context for the protocol buffer servi ce represented by this\nmessage."
1099 },
750 "version": { 1100 "version": {
751 "description": "A version string for this api. If specified, must have the form\n`major-version.minor-version`, as in `1.10`. If the minor v ersion\nis omitted, it defaults to zero. If the entire version field is\nempty, the major version is derived from the package name, as\noutlined below. If the f ield is not empty, the version in the\npackage name will be verified to be consi stent with what is\nprovided here.\n\nThe versioning schema uses [semantic\nvers ioning](http://semver.org) where the major version number\nindicates a breaking change and the minor version an additive,\nnon-breaking change. Both version num bers are signals to users\nwhat to expect from different versions, and should be carefully\nchosen based on the product plan.\n\nThe major version is also refle cted in the package name of the\nAPI, which must end in `v<major-version>`, as i n\n`google.feature.v1`. For major versions 0 and 1, the suffix can\nbe omitted. Zero major versions must only be used for\nexperimental, none-GA apis.\n", 1101 "description": "A version string for this api. If specified, must have the form\n`major-version.minor-version`, as in `1.10`. If the minor v ersion\nis omitted, it defaults to zero. If the entire version field is\nempty, the major version is derived from the package name, as\noutlined below. If the f ield is not empty, the version in the\npackage name will be verified to be consi stent with what is\nprovided here.\n\nThe versioning schema uses [semantic\nvers ioning](http://semver.org) where the major version number\nindicates a breaking change and the minor version an additive,\nnon-breaking change. Both version num bers are signals to users\nwhat to expect from different versions, and should be carefully\nchosen based on the product plan.\n\nThe major version is also refle cted in the package name of the\nAPI, which must end in `v<major-version>`, as i n\n`google.feature.v1`. For major versions 0 and 1, the suffix can\nbe omitted. Zero major versions must only be used for\nexperimental, none-GA apis.\n",
752 "type": "string" 1102 "type": "string"
753 }, 1103 },
754 "mixins": { 1104 "mixins": {
755 "description": "Included APIs. See Mixin.", 1105 "description": "Included APIs. See Mixin.",
756 "items": { 1106 "items": {
757 "$ref": "Mixin" 1107 "$ref": "Mixin"
758 }, 1108 },
759 "type": "array" 1109 "type": "array"
760 } 1110 },
761 }, 1111 "options": {
762 "type": "object" 1112 "description": "Any metadata attached to the API.",
763 }, 1113 "items": {
764 "SystemParameterRule": { 1114 "$ref": "Option"
765 "description": "Define a system parameter rule mapping system parame ter definitions to\nmethods.", 1115 },
766 "id": "SystemParameterRule", 1116 "type": "array"
767 "properties": { 1117 }
768 "parameters": { 1118 },
769 "description": "Define parameters. Multiple names may be def ined for a parameter.\nFor a given method call, only one of them should be used. If multiple\nnames are used the behavior is implementation-dependent.\nIf none of the specified names are present the behavior is\nparameter-dependent.", 1119 "type": "object"
770 "items": { 1120 },
771 "$ref": "SystemParameter" 1121 "DataAccessOptions": {
772 }, 1122 "description": "Write a Data Access (Gin) log",
773 "type": "array" 1123 "id": "DataAccessOptions",
774 }, 1124 "properties": {},
775 "selector": { 1125 "type": "object"
776 "description": "Selects the methods to which this rule appli es. Use '*' to indicate all\nmethods in all APIs.\n\nRefer to selector for synta x details.", 1126 },
777 "type": "string" 1127 "Authentication": {
778 } 1128 "description": "`Authentication` defines the authentication configur ation for an API.\n\nExample for an API targeted for external use:\n\n name: calendar.googleapis.com\n authentication:\n providers:\n - id: goog le_calendar_auth\n jwks_uri: https://www.googleapis.com/oauth2/v1/certs\n issuer: https://securetoken.google.com\n rules:\n - selector: \"*\"\n requirements:\n provider_id: google_calendar_auth",
779 }, 1129 "id": "Authentication",
780 "type": "object" 1130 "properties": {
781 }, 1131 "rules": {
782 "Diagnostic": { 1132 "description": "A list of authentication rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"l ast one wins\" order.",
783 "description": "Represents a diagnostic message (error or warning)", 1133 "items": {
784 "id": "Diagnostic", 1134 "$ref": "AuthenticationRule"
785 "properties": { 1135 },
786 "location": { 1136 "type": "array"
787 "description": "File name and line number of the error or wa rning.", 1137 },
788 "type": "string" 1138 "providers": {
789 }, 1139 "description": "Defines a set of authentication providers th at a service supports.",
790 "kind": { 1140 "items": {
791 "description": "The kind of diagnostic information provided. ", 1141 "$ref": "AuthProvider"
792 "enum": [ 1142 },
793 "WARNING", 1143 "type": "array"
794 "ERROR" 1144 }
795 ], 1145 },
796 "enumDescriptions": [ 1146 "type": "object"
797 "Warnings and errors", 1147 },
798 "Only errors" 1148 "Operation": {
799 ], 1149 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.",
800 "type": "string" 1150 "id": "Operation",
1151 "properties": {
1152 "response": {
1153 "additionalProperties": {
1154 "description": "Properties of the object. Contains field @type with type URL.",
1155 "type": "any"
1156 },
1157 "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delet e`, the response is\n`google.protobuf.Empty`. If the original method is standar d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi nal method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
1158 "type": "object"
1159 },
1160 "name": {
1161 "description": "The server-assigned name, which is only uniq ue within the same service that\noriginally returns it. If you use the default H TTP mapping, the\n`name` should have the format of `operations/some/unique/name` .",
1162 "type": "string"
1163 },
1164 "error": {
1165 "$ref": "Status",
1166 "description": "The error result of the operation in case of failure or cancellation."
1167 },
1168 "metadata": {
1169 "additionalProperties": {
1170 "description": "Properties of the object. Contains field @type with type URL.",
1171 "type": "any"
1172 },
1173 "description": "Service-specific metadata associated with th e operation. It typically\ncontains progress information and common metadata su ch as create time.\nSome services might not provide such metadata. Any method t hat returns a\nlong-running operation should document the metadata type, if any. ",
1174 "type": "object"
1175 },
1176 "done": {
1177 "description": "If the value is `false`, it means the operat ion is still in progress.\nIf true, the operation is completed, and either `erro r` or `response` is\navailable.",
1178 "type": "boolean"
1179 }
1180 },
1181 "type": "object"
1182 },
1183 "Page": {
1184 "description": "Represents a documentation page. A page can contain subpages to represent\nnested documentation set structure.",
1185 "id": "Page",
1186 "properties": {
1187 "subpages": {
1188 "description": "Subpages of this page. The order of subpages specified here will be\nhonored in the generated docset.",
1189 "items": {
1190 "$ref": "Page"
1191 },
1192 "type": "array"
1193 },
1194 "name": {
1195 "description": "The name of the page. It will be used as an identity of the page to\ngenerate URI of the page, text of the link to this page in navigation,\netc. The full page name (start from the root page name to this page\nconcatenated with `.`) can be used as reference to the page in your\ndocum entation. For example:\n<pre><code>pages:\n- name: Tutorial\n content: &#40;== include tutorial.md ==&#41;\n subpages:\n - name: Java\n content: &#40;== i nclude tutorial_java.md ==&#41;\n</code></pre>\nYou can reference `Java` page us ing Markdown reference link syntax:\n`Java`.",
1196 "type": "string"
1197 },
1198 "content": {
1199 "description": "The Markdown content of the page. You can us e <code>&#40;== include {path} ==&#41;</code>\nto include content from a Markdow n file.",
1200 "type": "string"
1201 }
1202 },
1203 "type": "object"
1204 },
1205 "Status": {
1206 "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` which can be used for common error conditions.\n\n# Lan guage 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` mes sage is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some except ions\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\nenviron ments, either with or without APIs, to provide a\nconsistent developer experienc e 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 purpose.\n\n- Batch operati ons. If a client uses batch request and batch response, the\n `Status` messag e should be used directly inside batch response, one for\n each error sub-res ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio n\n results in its response, the status of those operations should be\n re presented 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 s tripping needed for security/privacy reasons.",
1207 "id": "Status",
1208 "properties": {
1209 "details": {
1210 "description": "A list of messages that carry the error deta ils. There will be a\ncommon set of message types for APIs to use.",
1211 "items": {
1212 "additionalProperties": {
1213 "description": "Properties of the object. Contains f ield @type with type URL.",
1214 "type": "any"
1215 },
1216 "type": "object"
1217 },
1218 "type": "array"
1219 },
1220 "code": {
1221 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
1222 "format": "int32",
1223 "type": "integer"
801 }, 1224 },
802 "message": { 1225 "message": {
803 "description": "Message describing the error or warning.", 1226 "description": "A developer-facing error message, which shou ld 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.",
804 "type": "string" 1227 "type": "string"
805 } 1228 }
806 }, 1229 },
807 "type": "object" 1230 "type": "object"
808 }, 1231 },
809 "ChangeReport": { 1232 "Binding": {
810 "description": "Change report associated with a particular service c onfiguration.\n\nIt contains a list of ConfigChanges based on the comparison bet ween\ntwo service configurations.", 1233 "description": "Associates `members` with a `role`.",
811 "id": "ChangeReport", 1234 "id": "Binding",
812 "properties": { 1235 "properties": {
813 "configChanges": { 1236 "members": {
814 "description": "List of changes between two service configur ations.\nThe changes will be alphabetically sorted based on the identifier\nof e ach change.\nA ConfigChange identifier is a dot separated path to the configurat ion.\nExample: visibility.rules[selector='LibraryService.CreateBook'].restrictio n", 1237 "description": "Specifies the identities requesting access f or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al lUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident ifier 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 spec ific 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:{e mailid}`: An email address that represents a Google group.\n For example, `adm ins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represe nts all the\n users of that domain. For example, `google.com` or `example.com` .\n\n",
815 "items": { 1238 "items": {
816 "$ref": "ConfigChange" 1239 "type": "string"
817 }, 1240 },
818 "type": "array" 1241 "type": "array"
819 } 1242 },
820 }, 1243 "role": {
821 "type": "object" 1244 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
822 }, 1245 "type": "string"
823 "MonitoredResourceDescriptor": { 1246 }
824 "description": "An object that describes the schema of a MonitoredRe source object using a\ntype name and a set of labels. For example, the monitore d resource\ndescriptor for Google Compute Engine VM instances has a type of\n`\" gce_instance\"` and specifies the use of the labels `\"instance_id\"` and\n`\"zo ne\"` to identify particular VM instances.\n\nDifferent APIs can support differe nt monitored resource types. APIs generally\nprovide a `list` method that return s the monitored resource descriptors used\nby the API.", 1247 },
825 "id": "MonitoredResourceDescriptor", 1248 "type": "object"
826 "properties": { 1249 },
827 "displayName": { 1250 "AuthProvider": {
828 "description": "Optional. A concise name for the monitored r esource type that might be\ndisplayed in user interfaces. It should be a Title C ased Noun Phrase,\nwithout any article or other determiners. For example,\n`\"Go ogle Cloud SQL Database\"`.", 1251 "description": "Configuration for an anthentication provider, includ ing support for\n[JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-o auth-json-web-token-32).",
829 "type": "string" 1252 "id": "AuthProvider",
830 }, 1253 "properties": {
831 "description": { 1254 "jwksUri": {
832 "description": "Optional. A detailed description of the moni tored resource type that might\nbe used in documentation.", 1255 "description": "URL of the provider's public key set to vali date signature of the JWT. See\n[OpenID Discovery](https://openid.net/specs/open id-connect-discovery-1_0.html#ProviderMetadata).\nOptional if the key set docume nt:\n - can be retrieved from\n [OpenID Discovery](https://openid.net/specs/op enid-connect-discovery-1_0.html\n of the issuer.\n - can be inferred from the email domain of the issuer (e.g. a Google service account).\n\nExample: https:// www.googleapis.com/oauth2/v1/certs",
833 "type": "string" 1256 "type": "string"
834 }, 1257 },
835 "labels": { 1258 "audiences": {
836 "description": "Required. A set of labels used to describe i nstances of this monitored\nresource type. For example, an individual Google Clo ud SQL database is\nidentified by values for the labels `\"database_id\"` and `\ "zone\"`.", 1259 "description": "The list of JWT\n[audiences](https://tools.i etf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).\nthat are allowe d to access. A JWT containing any of these audiences will\nbe accepted. When thi s setting is absent, only JWTs with audience\n\"https://Service_name/API_name\"\ nwill be accepted. For example, if no audiences are in the setting,\nLibraryServ ice API will only accept JWTs with the following audience\n\"https://library-exa mple.googleapis.com/google.example.library.v1.LibraryService\".\n\nExample:\n\n audiences: bookstore_android.apps.googleusercontent.com,\n book store_web.apps.googleusercontent.com",
837 "items": { 1260 "type": "string"
838 "$ref": "LabelDescriptor" 1261 },
839 }, 1262 "id": {
840 "type": "array" 1263 "description": "The unique identifier of the auth provider. It will be referred to by\n`AuthRequirement.provider_id`.\n\nExample: \"bookstor e_auth\".",
841 }, 1264 "type": "string"
842 "type": { 1265 },
843 "description": "Required. The monitored resource type. For e xample, the type\n`\"cloudsql_database\"` represents databases in Google Cloud S QL.\nThe maximum length of this value is 256 characters.", 1266 "issuer": {
844 "type": "string" 1267 "description": "Identifies the principal that issued the JWT . See\nhttps://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4. 1.1\nUsually a URL or an email address.\n\nExample: https://securetoken.google.c om\nExample: 1234567-compute@developer.gserviceaccount.com",
845 }, 1268 "type": "string"
1269 }
1270 },
1271 "type": "object"
1272 },
1273 "EnumValue": {
1274 "description": "Enum value definition.",
1275 "id": "EnumValue",
1276 "properties": {
846 "name": { 1277 "name": {
847 "description": "Optional. The resource name of the monitored resource descriptor:\n`\"projects/{project_id}/monitoredResourceDescriptors/{ty pe}\"` where\n{type} is the value of the `type` field in this object and\n{proje ct_id} is a project ID that provides API-specific context for\naccessing the typ e. APIs that do not use project information can use the\nresource name format ` \"monitoredResourceDescriptors/{type}\"`.", 1278 "description": "Enum value name.",
848 "type": "string" 1279 "type": "string"
849 } 1280 },
850 }, 1281 "options": {
851 "type": "object" 1282 "description": "Protocol buffer options.",
852 }, 1283 "items": {
853 "LogConfig": { 1284 "$ref": "Option"
854 "description": "Specifies what kind of log the caller must write\nIn crement a streamz counter with the specified metric and field names.\n\nMetric n ames should start with a '/', generally be lowercase-only,\nand end in \"_count\ ". Field names should not contain an initial slash.\nThe actual exported metric names will have \"/iam/policy\" prepended.\n\nField names correspond to IAM requ est parameters and field values are\ntheir respective values.\n\nAt present the only supported field names are\n - \"iam_principal\", corresponding to IAMCont ext.principal;\n - \"\" (empty string), resulting in one aggretated counter wi th no field.\n\nExamples:\n counter { metric: \"/debug_access_count\" field: \ "iam_principal\" }\n ==> increment counter /iam/policy/backend_debug_access_cou nt\n {iam_principal=[value of IAMContext.principal]}\n\nA t this time we do not support:\n* multiple field names (though this may be suppo rted in the future)\n* decrementing the counter\n* incrementing it by anything o ther than 1", 1285 },
855 "id": "LogConfig", 1286 "type": "array"
856 "properties": { 1287 },
857 "dataAccess": { 1288 "number": {
858 "$ref": "DataAccessOptions", 1289 "description": "Enum value number.",
859 "description": "Data access options." 1290 "format": "int32",
860 }, 1291 "type": "integer"
861 "counter": {
862 "$ref": "CounterOptions",
863 "description": "Counter options."
864 },
865 "cloudAudit": {
866 "$ref": "CloudAuditOptions",
867 "description": "Cloud audit options."
868 }
869 },
870 "type": "object"
871 },
872 "Mixin": {
873 "description": "Declares an API to be included in this API. The incl uding API must\nredeclare all the methods from the included API, but documentati on\nand options are inherited as follows:\n\n- If after comment and whitespace s tripping, the documentation\n string of the redeclared method is empty, it will be inherited\n from the original method.\n\n- Each annotation belonging to the service config (http,\n visibility) which is not set in the redeclared method will be\n inherited.\n\n- If an http annotation is inherited, the path pattern will be\n modified as follows. Any version prefix will be replaced by the\n ve rsion of the including API plus the root path if specified.\n\nExample of a simp le mixin:\n\n package google.acl.v1;\n service AccessControl {\n // G et the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v1/{resource=**}:getAcl\";\n }\n }\n\n package google.storage.v2;\n service Storage {\n // rp c GetAcl(GetAclRequest) returns (Acl);\n\n // Get a data record.\n rpc GetData(GetDataRequest) returns (Data) {\n option (google.api.http).get = \"/v2/{resource=**}\";\n }\n }\n\nExample of a mixin configuration:\n\ n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n\nThe mixin construct implies that all methods in ` AccessControl` are\nalso declared with same name and request/response types in\n `Storage`. A documentation generator or annotation processor will\nsee the effec tive `Storage.GetAcl` method after inherting\ndocumentation and annotations as f ollows:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v2/{resource=**}:getAcl\";\n }\n ...\n }\n\nNote how the vers ion in the path pattern changed from `v1` to `v2`.\n\nIf the `root` field in the mixin is specified, it should be a\nrelative path under which inherited HTTP pa ths are placed. Example:\n\n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n root: acls\n\nTh is implies the following inherited HTTP annotation:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns ( Acl) {\n option (google.api.http).get = \"/v2/acls/{resource=**}:getAcl\" ;\n }\n ...\n }",
874 "id": "Mixin",
875 "properties": {
876 "root": {
877 "description": "If non-empty specifies a path under which in herited HTTP paths\nare rooted.",
878 "type": "string"
879 },
880 "name": {
881 "description": "The fully qualified name of the API which is included.",
882 "type": "string"
883 } 1292 }
884 }, 1293 },
885 "type": "object" 1294 "type": "object"
886 }, 1295 },
887 "Service": { 1296 "Service": {
888 "description": "`Service` is the root object of Google service confi guration schema. It\ndescribes basic information about a service, such as the na me and the\ntitle, and delegates other aspects to sub-sections. Each sub-section is\neither a proto message or a repeated proto message that configures a\nspeci fic aspect, such as auth. See each proto message definition for details.\n\nExam ple:\n\n type: google.api.Service\n config_version: 3\n name: calendar. googleapis.com\n title: Google Calendar API\n apis:\n - name: google.ca lendar.v3.Calendar\n authentication:\n providers:\n - id: google_ca lendar_auth\n jwks_uri: https://www.googleapis.com/oauth2/v1/certs\n issuer: https://securetoken.google.com\n rules:\n - selector: \"*\" \n requirements:\n provider_id: google_calendar_auth", 1297 "description": "`Service` is the root object of Google service confi guration schema. It\ndescribes basic information about a service, such as the na me and the\ntitle, and delegates other aspects to sub-sections. Each sub-section is\neither a proto message or a repeated proto message that configures a\nspeci fic aspect, such as auth. See each proto message definition for details.\n\nExam ple:\n\n type: google.api.Service\n config_version: 3\n name: calendar. googleapis.com\n title: Google Calendar API\n apis:\n - name: google.ca lendar.v3.Calendar\n authentication:\n providers:\n - id: google_ca lendar_auth\n jwks_uri: https://www.googleapis.com/oauth2/v1/certs\n issuer: https://securetoken.google.com\n rules:\n - selector: \"*\" \n requirements:\n provider_id: google_calendar_auth",
889 "id": "Service", 1298 "id": "Service",
890 "properties": { 1299 "properties": {
1300 "customError": {
1301 "$ref": "CustomError",
1302 "description": "Custom error configuration."
1303 },
1304 "title": {
1305 "description": "The product title associated with this servi ce.",
1306 "type": "string"
1307 },
1308 "endpoints": {
1309 "description": "Configuration for network endpoints. If thi s is empty, then an endpoint\nwith the same name as the service is automatically generated to service all\ndefined APIs.",
1310 "items": {
1311 "$ref": "Endpoint"
1312 },
1313 "type": "array"
1314 },
1315 "apis": {
1316 "description": "A list of API interfaces exported by this se rvice. Only the `name` field\nof the google.protobuf.Api needs to be provided by the configuration\nauthor, as the remaining fields will be derived from the IDL during the\nnormalization process. It is an error to specify an API interface h ere\nwhich cannot be resolved against the associated IDL files.",
1317 "items": {
1318 "$ref": "Api"
1319 },
1320 "type": "array"
1321 },
1322 "logs": {
1323 "description": "Defines the logs used by this service.",
1324 "items": {
1325 "$ref": "LogDescriptor"
1326 },
1327 "type": "array"
1328 },
1329 "types": {
1330 "description": "A list of all proto message types included i n this API service.\nTypes referenced directly or indirectly by the `apis` are\n automatically included. Messages which are not referenced but\nshall be include d, such as types used by the `google.protobuf.Any` type,\nshould be listed here by name. Example:\n\n types:\n - name: google.protobuf.Int32",
1331 "items": {
1332 "$ref": "Type"
1333 },
1334 "type": "array"
1335 },
1336 "http": {
1337 "$ref": "Http",
1338 "description": "HTTP configuration."
1339 },
1340 "systemParameters": {
1341 "$ref": "SystemParameters",
1342 "description": "System parameter configuration."
1343 },
1344 "backend": {
1345 "$ref": "Backend",
1346 "description": "API backend configuration."
1347 },
1348 "documentation": {
1349 "$ref": "Documentation",
1350 "description": "Additional API documentation."
1351 },
1352 "monitoredResources": {
1353 "description": "Defines the monitored resources used by this service. This is required\nby the Service.monitoring and Service.logging config urations.",
1354 "items": {
1355 "$ref": "MonitoredResourceDescriptor"
1356 },
1357 "type": "array"
1358 },
1359 "logging": {
1360 "$ref": "Logging",
1361 "description": "Logging configuration."
1362 },
1363 "context": {
1364 "$ref": "Context",
1365 "description": "Context configuration."
1366 },
1367 "enums": {
1368 "description": "A list of all enum types included in this AP I service. Enums\nreferenced directly or indirectly by the `apis` are automatic ally\nincluded. Enums which are not referenced but shall be included\nshould be listed here by name. Example:\n\n enums:\n - name: google.someapi.v1.Some Enum",
1369 "items": {
1370 "$ref": "Enum"
1371 },
1372 "type": "array"
1373 },
891 "id": { 1374 "id": {
892 "description": "A unique ID for a specific instance of this message, typically assigned\nby the client for tracking purpose. If empty, the s erver may choose to\ngenerate one instead.", 1375 "description": "A unique ID for a specific instance of this message, typically assigned\nby the client for tracking purpose. If empty, the s erver may choose to\ngenerate one instead.",
893 "type": "string" 1376 "type": "string"
894 }, 1377 },
895 "enums": {
896 "description": "A list of all enum types included in this AP I service. Enums\nreferenced directly or indirectly by the `apis` are automatic ally\nincluded. Enums which are not referenced but shall be included\nshould be listed here by name. Example:\n\n enums:\n - name: google.someapi.v1.Some Enum",
897 "items": {
898 "$ref": "Enum"
899 },
900 "type": "array"
901 },
902 "usage": { 1378 "usage": {
903 "$ref": "Usage", 1379 "$ref": "Usage",
904 "description": "Configuration controlling usage of this serv ice." 1380 "description": "Configuration controlling usage of this serv ice."
905 }, 1381 },
1382 "metrics": {
1383 "description": "Defines the metrics used by this service.",
1384 "items": {
1385 "$ref": "MetricDescriptor"
1386 },
1387 "type": "array"
1388 },
1389 "authentication": {
1390 "$ref": "Authentication",
1391 "description": "Auth configuration."
1392 },
906 "control": { 1393 "control": {
907 "$ref": "Control", 1394 "$ref": "Control",
908 "description": "Configuration for the service control plane. " 1395 "description": "Configuration for the service control plane. "
909 }, 1396 },
910 "title": {
911 "description": "The product title associated with this servi ce.",
912 "type": "string"
913 },
914 "http": {
915 "$ref": "Http",
916 "description": "HTTP configuration."
917 },
918 "systemTypes": {
919 "description": "A list of all proto message types included i n this API service.\nIt serves similar purpose as [google.api.Service.types], ex cept that\nthese types are not needed by user-defined APIs. Therefore, they will not\nshow up in the generated discovery doc. This field should only be used\nto define system APIs in ESF.",
920 "items": {
921 "$ref": "Type"
922 },
923 "type": "array"
924 },
925 "configVersion": { 1397 "configVersion": {
926 "description": "The version of the service configuration. Th e config version may\ninfluence interpretation of the configuration, for example , to\ndetermine defaults. This is documented together with applicable\noptions. The current default for the config version itself is `3`.", 1398 "description": "The version of the service configuration. Th e config version may\ninfluence interpretation of the configuration, for example , to\ndetermine defaults. This is documented together with applicable\noptions. The current default for the config version itself is `3`.",
927 "format": "uint32", 1399 "format": "uint32",
928 "type": "integer" 1400 "type": "integer"
929 }, 1401 },
930 "backend": {
931 "$ref": "Backend",
932 "description": "API backend configuration."
933 },
934 "monitoring": { 1402 "monitoring": {
935 "$ref": "Monitoring", 1403 "$ref": "Monitoring",
936 "description": "Monitoring configuration." 1404 "description": "Monitoring configuration."
937 }, 1405 },
1406 "producerProjectId": {
1407 "description": "The id of the Google developer project that owns the service.\nMembers of this project can manage the service configuration, \nmanage consumption of the service, etc.",
1408 "type": "string"
1409 },
1410 "systemTypes": {
1411 "description": "A list of all proto message types included i n this API service.\nIt serves similar purpose as [google.api.Service.types], ex cept that\nthese types are not needed by user-defined APIs. Therefore, they will not\nshow up in the generated discovery doc. This field should only be used\nto define system APIs in ESF.",
1412 "items": {
1413 "$ref": "Type"
1414 },
1415 "type": "array"
1416 },
938 "visibility": { 1417 "visibility": {
939 "$ref": "Visibility", 1418 "$ref": "Visibility",
940 "description": "API visibility configuration." 1419 "description": "API visibility configuration."
941 }, 1420 },
942 "logging": {
943 "$ref": "Logging",
944 "description": "Logging configuration."
945 },
946 "customError": {
947 "$ref": "CustomError",
948 "description": "Custom error configuration."
949 },
950 "context": {
951 "$ref": "Context",
952 "description": "Context configuration."
953 },
954 "apis": {
955 "description": "A list of API interfaces exported by this se rvice. Only the `name` field\nof the google.protobuf.Api needs to be provided by the configuration\nauthor, as the remaining fields will be derived from the IDL during the\nnormalization process. It is an error to specify an API interface h ere\nwhich cannot be resolved against the associated IDL files.",
956 "items": {
957 "$ref": "Api"
958 },
959 "type": "array"
960 },
961 "metrics": {
962 "description": "Defines the metrics used by this service.",
963 "items": {
964 "$ref": "MetricDescriptor"
965 },
966 "type": "array"
967 },
968 "systemParameters": {
969 "$ref": "SystemParameters",
970 "description": "System parameter configuration."
971 },
972 "endpoints": {
973 "description": "Configuration for network endpoints. If thi s is empty, then an endpoint\nwith the same name as the service is automatically generated to service all\ndefined APIs.",
974 "items": {
975 "$ref": "Endpoint"
976 },
977 "type": "array"
978 },
979 "name": { 1421 "name": {
980 "description": "The DNS address at which this service is ava ilable,\ne.g. `calendar.googleapis.com`.", 1422 "description": "The DNS address at which this service is ava ilable,\ne.g. `calendar.googleapis.com`.",
981 "type": "string" 1423 "type": "string"
982 }, 1424 }
983 "producerProjectId": { 1425 },
984 "description": "The id of the Google developer project that owns the service.\nMembers of this project can manage the service configuration, \nmanage consumption of the service, etc.", 1426 "type": "object"
985 "type": "string" 1427 },
986 }, 1428 "OperationMetadata": {
987 "documentation": { 1429 "description": "The metadata associated with a long running operatio n resource.",
988 "$ref": "Documentation", 1430 "id": "OperationMetadata",
989 "description": "Additional API documentation." 1431 "properties": {
990 }, 1432 "progressPercentage": {
991 "monitoredResources": { 1433 "description": "Percentage of completion of this operation, ranging from 0 to 100.",
992 "description": "Defines the monitored resources used by this service. This is required\nby the Service.monitoring and Service.logging config urations.",
993 "items": {
994 "$ref": "MonitoredResourceDescriptor"
995 },
996 "type": "array"
997 },
998 "types": {
999 "description": "A list of all proto message types included i n this API service.\nTypes referenced directly or indirectly by the `apis` are\n automatically included. Messages which are not referenced but\nshall be include d, such as types used by the `google.protobuf.Any` type,\nshould be listed here by name. Example:\n\n types:\n - name: google.protobuf.Int32",
1000 "items": {
1001 "$ref": "Type"
1002 },
1003 "type": "array"
1004 },
1005 "logs": {
1006 "description": "Defines the logs used by this service.",
1007 "items": {
1008 "$ref": "LogDescriptor"
1009 },
1010 "type": "array"
1011 },
1012 "authentication": {
1013 "$ref": "Authentication",
1014 "description": "Auth configuration."
1015 }
1016 },
1017 "type": "object"
1018 },
1019 "SubmitConfigSourceResponse": {
1020 "description": "Response message for SubmitConfigSource method.",
1021 "id": "SubmitConfigSourceResponse",
1022 "properties": {
1023 "serviceConfig": {
1024 "$ref": "Service",
1025 "description": "The generated service configuration."
1026 }
1027 },
1028 "type": "object"
1029 },
1030 "Documentation": {
1031 "description": "`Documentation` provides the information for describ ing a service.\n\nExample:\n<pre><code>documentation:\n summary: >\n The Goo gle Calendar API gives access\n to most calendar features.\n pages:\n - nam e: Overview\n content: &#40;== include google/foo/overview.md ==&#41;\n - na me: Tutorial\n content: &#40;== include google/foo/tutorial.md ==&#41;\n s ubpages;\n - name: Java\n content: &#40;== include google/foo/tutorial_j ava.md ==&#41;\n rules:\n - selector: google.calendar.Calendar.Get\n descri ption: >\n ...\n - selector: google.calendar.Calendar.Put\n description : >\n ...\n</code></pre>\nDocumentation is provided in markdown syntax. In addition to\nstandard markdown features, definition lists, tables and fenced\nco de blocks are supported. Section headers can be provided and are\ninterpreted re lative to the section nesting of the context where\na documentation fragment is embedded.\n\nDocumentation from the IDL is merged with documentation defined\nvi a the config at normalization time, where documentation provided\nby config rule s overrides IDL provided.\n\nA number of constructs specific to the API platform are supported\nin documentation text.\n\nIn order to reference a proto element, the following\nnotation can be used:\n<pre><code>&#91;fully.qualified.proto.nam e]&#91;]</code></pre>\nTo override the display text used for the link, this can be used:\n<pre><code>&#91;display text]&#91;fully.qualified.proto.name]</code></ pre>\nText can be excluded from doc using the following notation:\n<pre><code>&# 40;-- internal comment --&#41;</code></pre>\nComments can be made conditional us ing a visibility label. The below\ntext will be only rendered if the `BETA` labe l is available:\n<pre><code>&#40;--BETA: comment for BETA users --&#41;</code></ pre>\nA few directives are available in documentation. Note that\ndirectives mus t appear on a single line to be properly\nidentified. The `include` directive in cludes a markdown file from\nan external source:\n<pre><code>&#40;== include pat h/to/file ==&#41;</code></pre>\nThe `resource_for` directive marks a message to be the resource of\na collection in REST view. If it is not specified, tools att empt\nto infer the resource from the operations in a collection:\n<pre><code>&#4 0;== resource_for v1.shelves.books ==&#41;</code></pre>\nThe directive `suppress _warning` does not directly affect documentation\nand is documented together wit h service config validation.",
1032 "id": "Documentation",
1033 "properties": {
1034 "overview": {
1035 "description": "Declares a single overview page. For example :\n<pre><code>documentation:\n summary: ...\n overview: &#40;== include overvi ew.md ==&#41;\n</code></pre>\nThis is a shortcut for the following declaration ( using pages style):\n<pre><code>documentation:\n summary: ...\n pages:\n - na me: Overview\n content: &#40;== include overview.md ==&#41;\n</code></pre>\nN ote: you cannot specify both `overview` field and `pages` field.",
1036 "type": "string"
1037 },
1038 "documentationRootUrl": {
1039 "description": "The URL to the root of documentation.",
1040 "type": "string"
1041 },
1042 "pages": {
1043 "description": "The top level pages for the documentation se t.",
1044 "items": {
1045 "$ref": "Page"
1046 },
1047 "type": "array"
1048 },
1049 "summary": {
1050 "description": "A short summary of what the service does. Ca n only be provided by\nplain text.",
1051 "type": "string"
1052 },
1053 "rules": {
1054 "description": "A list of documentation rules that apply to individual API elements.\n\n**NOTE:** All service configuration rules follow \"l ast one wins\" order.",
1055 "items": {
1056 "$ref": "DocumentationRule"
1057 },
1058 "type": "array"
1059 }
1060 },
1061 "type": "object"
1062 },
1063 "Policy": {
1064 "description": "Defines an Identity and Access Management (IAM) poli cy. 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,\nG oogle domains, and service accounts. A `role` is a named list of permissions\nde fined 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.gserviceaccoun t.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).",
1065 "id": "Policy",
1066 "properties": {
1067 "auditConfigs": {
1068 "description": "Specifies audit logging configs for \"data a ccess\".\n\"data access\": generally refers to data reads/writes and admin reads .\n\"admin activity\": generally refers to admin writes.\n\nNote: `AuditConfig` doesn't apply to \"admin activity\", which always\nenables audit logging.",
1069 "items": {
1070 "$ref": "AuditConfig"
1071 },
1072 "type": "array"
1073 },
1074 "rules": {
1075 "description": "If more than one rule is specified, the rule s are applied in the following\nmanner:\n- All matching LOG rules are always app lied.\n- If any DENY/DENY_WITH_LOG rule matches, permission is denied.\n Loggin g will be applied if one or more matching rule requires logging.\n- Otherwise, i f any ALLOW/ALLOW_WITH_LOG rule matches, permission is\n granted.\n Logging wi ll be applied if one or more matching rule requires logging.\n- Otherwise, if no rule applies, permission is denied.",
1076 "items": {
1077 "$ref": "Rule"
1078 },
1079 "type": "array"
1080 },
1081 "bindings": {
1082 "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.",
1083 "items": {
1084 "$ref": "Binding"
1085 },
1086 "type": "array"
1087 },
1088 "etag": {
1089 "description": "`etag` is used for optimistic concurrency co ntrol as a way to help\nprevent simultaneous updates of a policy from overwritin g each other.\nIt is strongly suggested that systems make use of the `etag` in t he\nread-modify-write cycle to perform policy updates in order to avoid race\nco nditions: 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 t heir change will be applied to the same version of the policy.\n\nIf no `etag` i s provided in the call to `setIamPolicy`, then the existing\npolicy is overwritt en blindly.",
1090 "format": "byte",
1091 "type": "string"
1092 },
1093 "iamOwned": {
1094 "type": "boolean"
1095 },
1096 "version": {
1097 "description": "Version of the `Policy`. The default version is 0.",
1098 "format": "int32", 1434 "format": "int32",
1099 "type": "integer" 1435 "type": "integer"
1100 } 1436 },
1101 }, 1437 "startTime": {
1102 "type": "object" 1438 "description": "The start time of the operation.",
1103 }, 1439 "format": "google-datetime",
1104 "OAuthRequirements": { 1440 "type": "string"
1105 "description": "OAuth scopes are a way to define data and permission s on data. For example,\nthere are scopes defined for \"Read-only access to Goog le Calendar\" and\n\"Access to Cloud Platform\". Users can consent to a scope fo r an application,\ngiving it permission to access that data on their behalf.\n\n OAuth scope specifications should be fairly coarse grained; a user will need\nto see and understand the text description of what your scope means.\n\nIn most ca ses: use one or at most two OAuth scopes for an entire family of\nproducts. If y our product has multiple APIs, you should probably be sharing\nthe OAuth scope a cross all of those APIs.\n\nWhen you need finer grained OAuth consent screens: t alk with your product\nmanagement about how developers will use them in practice .\n\nPlease note that even though each of the canonical scopes is enough for a\n request to be accepted and passed to the backend, a request can still fail\ndue to the backend requiring additional scopes or permissions.", 1441 },
1106 "id": "OAuthRequirements", 1442 "resourceNames": {
1107 "properties": { 1443 "description": "The full name of the resources that this ope ration is directly\nassociated with.",
1108 "canonicalScopes": { 1444 "items": {
1109 "description": "The list of publicly documented OAuth scopes that are allowed access. An\nOAuth token containing any of these scopes will be accepted.\n\nExample:\n\n canonical_scopes: https://www.googleapis.com/auth /calendar,\n https://www.googleapis.com/auth/calendar.read ", 1445 "type": "string"
1110 "type": "string" 1446 },
1111 } 1447 "type": "array"
1112 }, 1448 },
1113 "type": "object" 1449 "steps": {
1114 }, 1450 "description": "Detailed status information for each step. T he order is undetermined.",
1115 "ListServicesResponse": { 1451 "items": {
1116 "description": "Response message for `ListServices` method.", 1452 "$ref": "Step"
1117 "id": "ListServicesResponse", 1453 },
1118 "properties": { 1454 "type": "array"
1119 "nextPageToken": { 1455 }
1120 "description": "Token that can be passed to `ListServices` t o resume a paginated query.", 1456 },
1121 "type": "string" 1457 "type": "object"
1122 }, 1458 },
1123 "services": { 1459 "CustomHttpPattern": {
1124 "description": "The returned services will only have the nam e field set.", 1460 "description": "A custom pattern is used for defining custom HTTP ve rb.",
1125 "items": { 1461 "id": "CustomHttpPattern",
1126 "$ref": "ManagedService" 1462 "properties": {
1127 }, 1463 "kind": {
1128 "type": "array" 1464 "description": "The name of this custom HTTP verb.",
1465 "type": "string"
1466 },
1467 "path": {
1468 "description": "The path matched by this custom verb.",
1469 "type": "string"
1470 }
1471 },
1472 "type": "object"
1473 },
1474 "SystemParameterRule": {
1475 "description": "Define a system parameter rule mapping system parame ter definitions to\nmethods.",
1476 "id": "SystemParameterRule",
1477 "properties": {
1478 "parameters": {
1479 "description": "Define parameters. Multiple names may be def ined for a parameter.\nFor a given method call, only one of them should be used. If multiple\nnames are used the behavior is implementation-dependent.\nIf none of the specified names are present the behavior is\nparameter-dependent.",
1480 "items": {
1481 "$ref": "SystemParameter"
1482 },
1483 "type": "array"
1484 },
1485 "selector": {
1486 "description": "Selects the methods to which this rule appli es. Use '*' to indicate all\nmethods in all APIs.\n\nRefer to selector for synta x details.",
1487 "type": "string"
1488 }
1489 },
1490 "type": "object"
1491 },
1492 "VisibilityRule": {
1493 "description": "A visibility rule provides visibility configuration for an individual API\nelement.",
1494 "id": "VisibilityRule",
1495 "properties": {
1496 "restriction": {
1497 "description": "A comma-separated list of visibility labels that apply to the `selector`.\nAny of the listed labels can be used to grant the visibility.\n\nIf a rule has multiple labels, removing one of the labels but no t all of\nthem can break clients.\n\nExample:\n\n visibility:\n rules:\n - selector: google.calendar.Calendar.EnhancedSearch\n restriction: GOOGLE_INTERNAL, TRUSTED_TESTER\n\nRemoving GOOGLE_INTERNAL from this restrictio n will break clients that\nrely on this method and only had access to it through GOOGLE_INTERNAL.",
1498 "type": "string"
1499 },
1500 "selector": {
1501 "description": "Selects methods, messages, fields, enums, et c. to which this rule applies.\n\nRefer to selector for syntax details.",
1502 "type": "string"
1503 }
1504 },
1505 "type": "object"
1506 },
1507 "HttpRule": {
1508 "description": "`HttpRule` defines the mapping of an RPC method to o ne or more HTTP\nREST APIs. The mapping determines what portions of the request \nmessage are populated from the path, query parameters, or body of\nthe HTTP re quest. The mapping is typically specified as an\n`google.api.http` annotation, see \"google/api/annotations.proto\"\nfor details.\n\nThe mapping consists of a field specifying the path template and\nmethod kind. The path template can refe r to fields in the request\nmessage, as in the example below which describes a R EST GET\noperation on a resource collection of messages:\n\n\n service Messag ing {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n opti on (google.api.http).get = \"/v1/messages/{message_id}/{sub.subfield}\";\n }\n }\n message GetMessageRequest {\n message SubMessage {\n s tring subfield = 1;\n }\n string message_id = 1; // mapped to the URL\ n SubMessage sub = 2; // `sub.subfield` is url-mapped\n }\n messag e Message {\n string text = 1; // content of the resource\n }\n\nThe sam e http annotation can alternatively be expressed inside the\n`GRPC API Configura tion` YAML file.\n\n http:\n rules:\n - selector: <proto_package_ name>.Messaging.GetMessage\n get: /v1/messages/{message_id}/{sub.subfie ld}\n\nThis definition enables an automatic, bidrectional mapping of HTTP\nJSON to RPC. Example:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456/foo` | `G etMessage(message_id: \"123456\" sub: SubMessage(subfield: \"foo\"))`\n\nIn gene ral, not only fields but also field paths can be referenced\nfrom a path pattern . Fields mapped to the path pattern cannot be\nrepeated and must have a primitiv e (non-message) type.\n\nAny fields in the request message which are not bound b y the path\npattern automatically become (optional) HTTP query\nparameters. Assu me the following definition of the request message:\n\n\n message GetMessageR equest {\n message SubMessage {\n string subfield = 1;\n }\n string message_id = 1; // mapped to the URL\n int64 revision = 2; // becomes a parameter\n SubMessage sub = 3; // `sub.subfield` becomes a pa rameter\n }\n\n\nThis enables a HTTP JSON to RPC mapping as below:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMe ssage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))`\n\ nNote that fields which are mapped to HTTP parameters must have a\nprimitive typ e or a repeated primitive type. Message types are not\nallowed. In the case of a repeated type, the parameter can be\nrepeated in the URL, as in `...?param=A&pa ram=B`.\n\nFor HTTP method kinds which allow a request body, the `body` field\ns pecifies the mapping. Consider a REST update method on the\nmessage resource col lection:\n\n\n service Messaging {\n rpc UpdateMessage(UpdateMessageRequ est) returns (Message) {\n option (google.api.http) = {\n put: \ "/v1/messages/{message_id}\"\n body: \"message\"\n };\n }\n }\n message UpdateMessageRequest {\n string message_id = 1; // mappe d to the URL\n Message message = 2; // mapped to the body\n }\n\n\nThe following HTTP JSON to RPC mapping is enabled, where the\nrepresentation of the JSON in the request body is determined by\nprotos JSON encoding:\n\nHTTP | RPC\ n-----|-----\n`PUT /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(m essage_id: \"123456\" message { text: \"Hi!\" })`\n\nThe special name `*` can be used in the body mapping to define that\nevery field not bound by the path temp late should be mapped to the\nrequest body. This enables the following alternat ive definition of\nthe update method:\n\n service Messaging {\n rpc Upda teMessage(Message) returns (Message) {\n option (google.api.http) = {\n put: \"/v1/messages/{message_id}\"\n body: \"*\"\n };\n }\n }\n message Message {\n string message_id = 1;\n string text = 2;\n }\n\n\nThe following HTTP JSON to RPC mapping is enabled:\n\nHTT P | RPC\n-----|-----\n`PUT /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateM essage(message_id: \"123456\" text: \"Hi!\")`\n\nNote that when using `*` in the body mapping, it is not possible to\nhave HTTP parameters, as all fields not bo und by the path end in\nthe body. This makes this option more rarely used in pra ctice of\ndefining REST APIs. The common usage of `*` is in custom methods\nwhic h don't use the URL at all for transferring data.\n\nIt is possible to define mu ltiple HTTP methods for one RPC by using\nthe `additional_bindings` option. Exam ple:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http) = {\n get: \"/v1/message s/{message_id}\"\n additional_bindings {\n get: \"/v1/users/ {user_id}/messages/{message_id}\"\n }\n };\n }\n }\n message GetMessageRequest {\n string message_id = 1;\n string user_id = 2;\n }\n\n\nThis enables the following two alternative HTTP JSON to RPC\nma ppings:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456` | `GetMessage(mess age_id: \"123456\")`\n`GET /v1/users/me/messages/123456` | `GetMessage(user_id: \"me\" message_id: \"123456\")`\n\n# Rules for HTTP mapping\n\nThe rules for map ping HTTP path, query parameters, and body fields\nto the request message are as follows:\n\n1. The `body` field specifies either `*` or a field path, or is\n omitted. If omitted, it assumes there is no HTTP body.\n2. Leaf fields (recursi ve expansion of nested messages in the\n request) can be classified into three types:\n (a) Matched in the URL template.\n (b) Covered by body (if body is `*`, everything except (a) fields;\n else everything under the body fi eld)\n (c) All other fields.\n3. URL query parameters found in the HTTP reque st are mapped to (c) fields.\n4. Any body sent with an HTTP request can contain only (b) fields.\n\nThe syntax of the path template is as follows:\n\n Templa te = \"/\" Segments [ Verb ] ;\n Segments = Segment { \"/\" Segment } ;\n Segment = \"*\" | \"**\" | LITERAL | Variable ;\n Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ;\n FieldPath = IDENT { \".\" IDENT } ;\n Verb = \":\" LITERAL ;\n\nThe syntax `*` matches a single path segment. It follows the semantics of\n[RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String\nExpansion.\n\nThe syntax `**` matches zero or more path segments . It follows the semantics\nof [RFC 6570](https://tools.ietf.org/html/rfc6570) S ection 3.2.3 Reserved\nExpansion. NOTE: it must be the last segment in the path except the Verb.\n\nThe syntax `LITERAL` matches literal text in the URL path.\n \nThe syntax `Variable` matches the entire path as specified by its template;\nt his nested template must not contain further variables. If a variable\nmatches a single path segment, its template may be omitted, e.g. `{var}`\nis equivalent t o `{var=*}`.\n\nNOTE: the field paths in variables and in the `body` must not re fer to\nrepeated fields or map fields.\n\nUse CustomHttpPattern to specify any H TTP method that is not included in the\n`pattern` field, such as HEAD, or \"*\" to leave the HTTP method unspecified for\na given URL path rule. The wild-card r ule is useful for services that provide\ncontent to Web (HTML) clients.",
1509 "id": "HttpRule",
1510 "properties": {
1511 "additionalBindings": {
1512 "description": "Additional HTTP bindings for the selector. N ested bindings must\nnot contain an `additional_bindings` field themselves (that is,\nthe nesting may only be one level deep).",
1513 "items": {
1514 "$ref": "HttpRule"
1515 },
1516 "type": "array"
1517 },
1518 "responseBody": {
1519 "description": "The name of the response field whose value i s mapped to the HTTP body of\nresponse. Other response fields are ignored. This field is optional. When\nnot set, the response message will be used as HTTP body of response.\nNOTE: the referred field must be not a repeated field and must be present\nat the top-level of response message type.",
1520 "type": "string"
1521 },
1522 "mediaUpload": {
1523 "$ref": "MediaUpload",
1524 "description": "Do not use this. For media support, add inst ead\n[][google.bytestream.RestByteStream] as an API to your\nconfiguration."
1525 },
1526 "selector": {
1527 "description": "Selects methods to which this rule applies.\ n\nRefer to selector for syntax details.",
1528 "type": "string"
1529 },
1530 "custom": {
1531 "$ref": "CustomHttpPattern",
1532 "description": "Custom pattern is used for defining custom v erbs."
1533 },
1534 "get": {
1535 "description": "Used for listing and getting information abo ut resources.",
1536 "type": "string"
1537 },
1538 "patch": {
1539 "description": "Used for updating a resource.",
1540 "type": "string"
1541 },
1542 "put": {
1543 "description": "Used for updating a resource.",
1544 "type": "string"
1545 },
1546 "delete": {
1547 "description": "Used for deleting a resource.",
1548 "type": "string"
1549 },
1550 "body": {
1551 "description": "The name of the request field whose value is mapped to the HTTP body, or\n`*` for mapping all fields not captured by the pat h pattern to the HTTP\nbody. NOTE: the referred field must not be a repeated fie ld and must be\npresent at the top-level of request message type.",
1552 "type": "string"
1553 },
1554 "mediaDownload": {
1555 "$ref": "MediaDownload",
1556 "description": "Do not use this. For media support, add inst ead\n[][google.bytestream.RestByteStream] as an API to your\nconfiguration."
1557 },
1558 "post": {
1559 "description": "Used for creating a resource.",
1560 "type": "string"
1561 }
1562 },
1563 "type": "object"
1564 },
1565 "MonitoringDestination": {
1566 "description": "Configuration of a specific monitoring destination ( the producer project\nor the consumer project).",
1567 "id": "MonitoringDestination",
1568 "properties": {
1569 "monitoredResource": {
1570 "description": "The monitored resource type. The type must b e defined in\nService.monitored_resources section.",
1571 "type": "string"
1572 },
1573 "metrics": {
1574 "description": "Names of the metrics to report to this monit oring destination.\nEach name must be defined in Service.metrics section.",
1575 "items": {
1576 "type": "string"
1577 },
1578 "type": "array"
1579 }
1580 },
1581 "type": "object"
1582 },
1583 "Visibility": {
1584 "description": "`Visibility` defines restrictions for the visibility of service\nelements. Restrictions are specified using visibility labels\n(e.g ., TRUSTED_TESTER) that are elsewhere linked to users and projects.\n\nUsers and projects can have access to more than one visibility label. The\neffective visi bility for multiple labels is the union of each label's\nelements, plus any unre stricted elements.\n\nIf an element and its parents have no restrictions, visibi lity is\nunconditionally granted.\n\nExample:\n\n visibility:\n rules:\n - selector: google.calendar.Calendar.EnhancedSearch\n restriction: TRUSTED_TESTER\n - selector: google.calendar.Calendar.Delegate\n res triction: GOOGLE_INTERNAL\n\nHere, all methods are publicly visible except for t he restricted methods\nEnhancedSearch and Delegate.",
1585 "id": "Visibility",
1586 "properties": {
1587 "rules": {
1588 "description": "A list of visibility rules that apply to ind ividual API elements.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
1589 "items": {
1590 "$ref": "VisibilityRule"
1591 },
1592 "type": "array"
1593 }
1594 },
1595 "type": "object"
1596 },
1597 "ConfigChange": {
1598 "description": "Output generated from semantically comparing two ver sions of a service\nconfiguration.\n\nIncludes detailed information about a fiel d that have changed with\napplicable advice about potential consequences for the change, such as\nbackwards-incompatibility.",
1599 "id": "ConfigChange",
1600 "properties": {
1601 "oldValue": {
1602 "description": "Value of the changed object in the old Servi ce configuration,\nin JSON format. This field will not be populated if ChangeTyp e == ADDED.",
1603 "type": "string"
1604 },
1605 "advices": {
1606 "description": "Collection of advice provided for this chang e, useful for determining the\npossible impact of this change.",
1607 "items": {
1608 "$ref": "Advice"
1609 },
1610 "type": "array"
1611 },
1612 "newValue": {
1613 "description": "Value of the changed object in the new Servi ce configuration,\nin JSON format. This field will not be populated if ChangeTyp e == REMOVED.",
1614 "type": "string"
1615 },
1616 "changeType": {
1617 "description": "The type for this change, either ADDED, REMO VED, or MODIFIED.",
1618 "enum": [
1619 "CHANGE_TYPE_UNSPECIFIED",
1620 "ADDED",
1621 "REMOVED",
1622 "MODIFIED"
1623 ],
1624 "enumDescriptions": [
1625 "No value was provided.",
1626 "The changed object exists in the 'new' service configur ation, but not\nin the 'old' service configuration.",
1627 "The changed object exists in the 'old' service configur ation, but not\nin the 'new' service configuration.",
1628 "The changed object exists in both service configuration s, but its value\nis different."
1629 ],
1630 "type": "string"
1631 },
1632 "element": {
1633 "description": "Object hierarchy path to the change, with le vels separated by a '.'\ncharacter. For repeated fields, an applicable unique id entifier field is\nused for the index (usually selector, name, or id). For maps, the term\n'key' is used. If the field has no unique identifier, the numeric ind ex\nis used.\nExamples:\n- visibility.rules[selector==\"google.LibraryService.Cr eateBook\"].restriction\n- quota.metric_rules[selector==\"google\"].metric_costs [key==\"reads\"].value\n- logging.producer_destinations[0]",
1634 "type": "string"
1635 }
1636 },
1637 "type": "object"
1638 },
1639 "SystemParameters": {
1640 "description": "### System parameter configuration\n\nA system param eter is a special kind of parameter defined by the API\nsystem, not by an indivi dual API. It is typically mapped to an HTTP header\nand/or a URL query parameter . This configuration specifies which methods\nchange the names of the system par ameters.",
1641 "id": "SystemParameters",
1642 "properties": {
1643 "rules": {
1644 "description": "Define system parameters.\n\nThe parameters defined here will override the default parameters\nimplemented by the system. If this field is missing from the service\nconfig, default system parameters will be used. Default system parameters\nand names is implementation-dependent.\n\nEx ample: define api key for all methods\n\n system_parameters\n rules:\n - selector: \"*\"\n parameters:\n - name: api_key\n url_query_parameter: api_key\n\n\nExample: define 2 api key names for a specific method.\n\n system_parameters\n rules:\n - selector: \"/ListShelves\"\n parameters:\n - name: api_key\n http_header: Api-Key1\n - name: api_key\n http_heade r: Api-Key2\n\n**NOTE:** All service configuration rules follow \"last one wins\ " order.",
1645 "items": {
1646 "$ref": "SystemParameterRule"
1647 },
1648 "type": "array"
1649 }
1650 },
1651 "type": "object"
1652 },
1653 "Rollout": {
1654 "description": "A rollout resource that defines how service configur ation versions are pushed\nto control plane systems. Typically, you create a new version of the\nservice config, and then create a Rollout to push the service c onfig.",
1655 "id": "Rollout",
1656 "properties": {
1657 "deleteServiceStrategy": {
1658 "$ref": "DeleteServiceStrategy",
1659 "description": "The strategy associated with a rollout to de lete a `ManagedService`.\nReadonly."
1660 },
1661 "createTime": {
1662 "description": "Creation time of the rollout. Readonly.",
1663 "format": "google-datetime",
1664 "type": "string"
1665 },
1666 "status": {
1667 "description": "The status of this rollout. Readonly. In cas e of a failed rollout,\nthe system will automatically rollback to the current Ro llout\nversion. Readonly.",
1668 "enum": [
1669 "ROLLOUT_STATUS_UNSPECIFIED",
1670 "IN_PROGRESS",
1671 "SUCCESS",
1672 "CANCELLED",
1673 "FAILED",
1674 "PENDING"
1675 ],
1676 "enumDescriptions": [
1677 "No status specified.",
1678 "The Rollout is in progress.",
1679 "The Rollout has completed successfully.",
1680 "The Rollout has been cancelled. This can happen if you have overlapping\nRollout pushes, and the previous ones will be cancelled.",
1681 "The Rollout has failed. It is typically caused by confi guration errors.",
1682 "The Rollout has not started yet and is pending for exec ution."
1683 ],
1684 "type": "string"
1685 },
1686 "serviceName": {
1687 "description": "The name of the service associated with this Rollout.",
1688 "type": "string"
1689 },
1690 "createdBy": {
1691 "description": "The user who created the Rollout. Readonly." ,
1692 "type": "string"
1693 },
1694 "trafficPercentStrategy": {
1695 "$ref": "TrafficPercentStrategy",
1696 "description": "Google Service Control selects service confi gurations based on\ntraffic percentage."
1697 },
1698 "rolloutId": {
1699 "description": "Optional unique identifier of this Rollout. Only lower case letters, digits\n and '-' are allowed.\n\nIf not specified by cl ient, the server will generate one. The generated id\nwill have the form of <dat e><revision number>, where \"date\" is the create\ndate in ISO 8601 format. \"r evision number\" is a monotonically increasing\npositive number that is reset ev ery day for each service.\nAn example of the generated rollout_id is '2016-02-16 r1'",
1700 "type": "string"
1701 }
1702 },
1703 "type": "object"
1704 },
1705 "GenerateConfigReportRequest": {
1706 "description": "Request message for GenerateConfigReport method.",
1707 "id": "GenerateConfigReportRequest",
1708 "properties": {
1709 "newConfig": {
1710 "additionalProperties": {
1711 "description": "Properties of the object. Contains field @type with type URL.",
1712 "type": "any"
1713 },
1714 "description": "Service configuration for which we want to g enerate the report.\nFor this version of API, the supported types are\ngoogle.ap i.servicemanagement.v1.ConfigRef,\ngoogle.api.servicemanagement.v1.ConfigSource, \nand google.api.Service",
1715 "type": "object"
1716 },
1717 "oldConfig": {
1718 "additionalProperties": {
1719 "description": "Properties of the object. Contains field @type with type URL.",
1720 "type": "any"
1721 },
1722 "description": "Service configuration against which the comp arison will be done.\nFor this version of API, the supported types are\ngoogle.a pi.servicemanagement.v1.ConfigRef,\ngoogle.api.servicemanagement.v1.ConfigSource ,\nand google.api.Service",
1723 "type": "object"
1724 }
1725 },
1726 "type": "object"
1727 },
1728 "SetIamPolicyRequest": {
1729 "description": "Request message for `SetIamPolicy` method.",
1730 "id": "SetIamPolicyRequest",
1731 "properties": {
1732 "updateMask": {
1733 "description": "OPTIONAL: A FieldMask specifying which field s of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, a default\nmask is used:\npaths: \"bindings, etag\"\nThis fiel d is only used by Cloud IAM.",
1734 "format": "google-fieldmask",
1735 "type": "string"
1736 },
1737 "policy": {
1738 "$ref": "Policy",
1739 "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 emp ty policy is a\nvalid policy but certain Cloud Platform services (such as Projec ts)\nmight reject them."
1129 } 1740 }
1130 }, 1741 },
1131 "type": "object" 1742 "type": "object"
1132 }, 1743 },
1133 "Step": { 1744 "Step": {
1134 "description": "Represents the status of one operation step.", 1745 "description": "Represents the status of one operation step.",
1135 "id": "Step", 1746 "id": "Step",
1136 "properties": { 1747 "properties": {
1137 "description": {
1138 "description": "The short description of the step.",
1139 "type": "string"
1140 },
1141 "status": { 1748 "status": {
1142 "description": "The status code.", 1749 "description": "The status code.",
1143 "enum": [ 1750 "enum": [
1144 "STATUS_UNSPECIFIED", 1751 "STATUS_UNSPECIFIED",
1145 "DONE", 1752 "DONE",
1146 "NOT_STARTED", 1753 "NOT_STARTED",
1147 "IN_PROGRESS", 1754 "IN_PROGRESS",
1148 "FAILED", 1755 "FAILED",
1149 "CANCELLED" 1756 "CANCELLED"
1150 ], 1757 ],
1151 "enumDescriptions": [ 1758 "enumDescriptions": [
1152 "Unspecifed code.", 1759 "Unspecifed code.",
1153 "The step has completed without errors.", 1760 "The step has completed without errors.",
1154 "The step has not started yet.", 1761 "The step has not started yet.",
1155 "The step is in progress.", 1762 "The step is in progress.",
1156 "The step has completed with errors.", 1763 "The step has completed with errors.",
1157 "The step has completed with cancellation." 1764 "The step has completed with cancellation."
1158 ], 1765 ],
1159 "type": "string" 1766 "type": "string"
1160 } 1767 },
1161 }, 1768 "description": {
1162 "type": "object" 1769 "description": "The short description of the step.",
1163 }, 1770 "type": "string"
1164 "Context": { 1771 }
1165 "description": "`Context` defines which contexts an API requests.\n\ nExample:\n\n context:\n rules:\n - selector: \"*\"\n reques ted:\n - google.rpc.context.ProjectContext\n - google.rpc.context. OriginContext\n\nThe above specifies that all methods in the API request\n`googl e.rpc.context.ProjectContext` and\n`google.rpc.context.OriginContext`.\n\nAvaila ble context types are defined in package\n`google.rpc.context`.", 1772 },
1166 "id": "Context", 1773 "type": "object"
1167 "properties": { 1774 },
1168 "rules": { 1775 "DeleteServiceStrategy": {
1169 "description": "A list of RPC context rules that apply to in dividual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", 1776 "description": "Strategy used to delete a service. This strategy is a placeholder only\nused by the system generated rollout to delete a service.",
1170 "items": { 1777 "id": "DeleteServiceStrategy",
1171 "$ref": "ContextRule"
1172 },
1173 "type": "array"
1174 }
1175 },
1176 "type": "object"
1177 },
1178 "Monitoring": {
1179 "description": "Monitoring configuration of the service.\n\nThe exam ple below shows how to configure monitored resources and metrics\nfor monitoring . In the example, a monitored resource and two metrics are\ndefined. The `librar y.googleapis.com/book/returned_count` metric is sent\nto both producer and consu mer projects, whereas the\n`library.googleapis.com/book/overdue_count` metric is only sent to the\nconsumer project.\n\n monitored_resources:\n - type: li brary.googleapis.com/branch\n labels:\n - key: /city\n descript ion: The city where the library branch is located in.\n - key: /name\n description: The name of the branch.\n metrics:\n - name: library.googl eapis.com/book/returned_count\n metric_kind: DELTA\n value_type: INT64 \n labels:\n - key: /customer_id\n - name: library.googleapis.com/b ook/overdue_count\n metric_kind: GAUGE\n value_type: INT64\n labe ls:\n - key: /customer_id\n monitoring:\n producer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n consumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n - library.googleapis. com/book/overdue_count",
1180 "id": "Monitoring",
1181 "properties": {
1182 "producerDestinations": {
1183 "description": "Monitoring configurations for sending metric s to the producer project.\nThere can be multiple producer destinations, each on e must have a\ndifferent monitored resource type. A metric can be used in at mos t\none producer destination.",
1184 "items": {
1185 "$ref": "MonitoringDestination"
1186 },
1187 "type": "array"
1188 },
1189 "consumerDestinations": {
1190 "description": "Monitoring configurations for sending metric s to the consumer project.\nThere can be multiple consumer destinations, each on e must have a\ndifferent monitored resource type. A metric can be used in at mos t\none consumer destination.",
1191 "items": {
1192 "$ref": "MonitoringDestination"
1193 },
1194 "type": "array"
1195 }
1196 },
1197 "type": "object"
1198 },
1199 "ManagedService": {
1200 "description": "The full representation of a Service that is managed by\nGoogle Service Management.",
1201 "id": "ManagedService",
1202 "properties": {
1203 "producerProjectId": {
1204 "description": "ID of the project that produces and owns thi s service.",
1205 "type": "string"
1206 },
1207 "serviceName": {
1208 "description": "The name of the service. See the [overview]( /service-management/overview)\nfor naming requirements.",
1209 "type": "string"
1210 }
1211 },
1212 "type": "object"
1213 },
1214 "ConfigFile": {
1215 "description": "Generic specification of a source configuration file ",
1216 "id": "ConfigFile",
1217 "properties": {
1218 "filePath": {
1219 "description": "The file name of the configuration file (ful l or relative path).",
1220 "type": "string"
1221 },
1222 "fileType": {
1223 "description": "The type of configuration file this represen ts.",
1224 "enum": [
1225 "FILE_TYPE_UNSPECIFIED",
1226 "SERVICE_CONFIG_YAML",
1227 "OPEN_API_JSON",
1228 "OPEN_API_YAML",
1229 "FILE_DESCRIPTOR_SET_PROTO"
1230 ],
1231 "enumDescriptions": [
1232 "Unknown file type.",
1233 "YAML-specification of service.",
1234 "OpenAPI specification, serialized in JSON.",
1235 "OpenAPI specification, serialized in YAML.",
1236 "FileDescriptorSet, generated by protoc.\n\nTo generate, use protoc with imports and source info included.\nFor an example test.proto fi le, the following command would put the value\nin a new file named out.pb.\n\n$p rotoc --include_imports --include_source_info test.proto -o out.pb"
1237 ],
1238 "type": "string"
1239 },
1240 "fileContents": {
1241 "description": "The bytes that constitute the file.",
1242 "format": "byte",
1243 "type": "string"
1244 }
1245 },
1246 "type": "object"
1247 },
1248 "ListServiceConfigsResponse": {
1249 "description": "Response message for ListServiceConfigs method.",
1250 "id": "ListServiceConfigsResponse",
1251 "properties": {
1252 "nextPageToken": {
1253 "description": "The token of the next page of results.",
1254 "type": "string"
1255 },
1256 "serviceConfigs": {
1257 "description": "The list of service configuration resources. ",
1258 "items": {
1259 "$ref": "Service"
1260 },
1261 "type": "array"
1262 }
1263 },
1264 "type": "object"
1265 },
1266 "TrafficPercentStrategy": {
1267 "description": "Strategy that specifies how Google Service Control s hould select\ndifferent\nversions of service configurations based on traffic per centage.\n\nOne example of how to gradually rollout a new service configuration using\nthis\nstrategy:\nDay 1\n\n Rollout {\n id: \"example.googleapis.c om/rollout_20160206\"\n traffic_percent_strategy {\n percentages: {\ n \"example.googleapis.com/20160201\": 70.00\n \"example.googl eapis.com/20160206\": 30.00\n }\n }\n }\n\nDay 2\n\n Rollout { \n id: \"example.googleapis.com/rollout_20160207\"\n traffic_percent_s trategy: {\n percentages: {\n \"example.googleapis.com/20160206\ ": 100.00\n }\n }\n }",
1268 "id": "TrafficPercentStrategy",
1269 "properties": {
1270 "percentages": {
1271 "additionalProperties": {
1272 "format": "double",
1273 "type": "number"
1274 },
1275 "description": "Maps service configuration IDs to their corr esponding traffic percentage.\nKey is the service configuration ID, Value is the traffic percentage\nwhich must be greater than 0.0 and the sum must equal to 10 0.0.",
1276 "type": "object"
1277 }
1278 },
1279 "type": "object"
1280 },
1281 "GenerateConfigReportRequest": {
1282 "description": "Request message for GenerateConfigReport method.",
1283 "id": "GenerateConfigReportRequest",
1284 "properties": {
1285 "oldConfig": {
1286 "additionalProperties": {
1287 "description": "Properties of the object. Contains field @type with type URL.",
1288 "type": "any"
1289 },
1290 "description": "Service configuration against which the comp arison will be done.\nFor this version of API, the supported types are\ngoogle.a pi.servicemanagement.v1.ConfigRef,\ngoogle.api.servicemanagement.v1.ConfigSource ,\nand google.api.Service",
1291 "type": "object"
1292 },
1293 "newConfig": {
1294 "additionalProperties": {
1295 "description": "Properties of the object. Contains field @type with type URL.",
1296 "type": "any"
1297 },
1298 "description": "Service configuration for which we want to g enerate the report.\nFor this version of API, the supported types are\ngoogle.ap i.servicemanagement.v1.ConfigRef,\ngoogle.api.servicemanagement.v1.ConfigSource, \nand google.api.Service",
1299 "type": "object"
1300 }
1301 },
1302 "type": "object"
1303 },
1304 "GetIamPolicyRequest": {
1305 "description": "Request message for `GetIamPolicy` method.",
1306 "id": "GetIamPolicyRequest",
1307 "properties": {}, 1778 "properties": {},
1308 "type": "object" 1779 "type": "object"
1309 }, 1780 },
1310 "LoggingDestination": { 1781 "LoggingDestination": {
1311 "description": "Configuration of a specific logging destination (the producer project\nor the consumer project).", 1782 "description": "Configuration of a specific logging destination (the producer project\nor the consumer project).",
1312 "id": "LoggingDestination", 1783 "id": "LoggingDestination",
1313 "properties": { 1784 "properties": {
1785 "logs": {
1786 "description": "Names of the logs to be sent to this destina tion. Each name must\nbe defined in the Service.logs section. If the log name is \nnot a domain scoped name, it will be automatically prefixed with\nthe service name followed by \"/\".",
1787 "items": {
1788 "type": "string"
1789 },
1790 "type": "array"
1791 },
1314 "monitoredResource": { 1792 "monitoredResource": {
1315 "description": "The monitored resource type. The type must b e defined in the\nService.monitored_resources section.", 1793 "description": "The monitored resource type. The type must b e defined in the\nService.monitored_resources section.",
1316 "type": "string" 1794 "type": "string"
1317 }, 1795 }
1318 "logs": { 1796 },
1319 "description": "Names of the logs to be sent to this destina tion. Each name must\nbe defined in the Service.logs section. If the log name is \nnot a domain scoped name, it will be automatically prefixed with\nthe service name followed by \"/\".",
1320 "items": {
1321 "type": "string"
1322 },
1323 "type": "array"
1324 }
1325 },
1326 "type": "object"
1327 },
1328 "Authentication": {
1329 "description": "`Authentication` defines the authentication configur ation for an API.\n\nExample for an API targeted for external use:\n\n name: calendar.googleapis.com\n authentication:\n providers:\n - id: goog le_calendar_auth\n jwks_uri: https://www.googleapis.com/oauth2/v1/certs\n issuer: https://securetoken.google.com\n rules:\n - selector: \"*\"\n requirements:\n provider_id: google_calendar_auth",
1330 "id": "Authentication",
1331 "properties": {
1332 "providers": {
1333 "description": "Defines a set of authentication providers th at a service supports.",
1334 "items": {
1335 "$ref": "AuthProvider"
1336 },
1337 "type": "array"
1338 },
1339 "rules": {
1340 "description": "A list of authentication rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"l ast one wins\" order.",
1341 "items": {
1342 "$ref": "AuthenticationRule"
1343 },
1344 "type": "array"
1345 }
1346 },
1347 "type": "object"
1348 },
1349 "Type": {
1350 "description": "A protocol buffer message type.",
1351 "id": "Type",
1352 "properties": {
1353 "oneofs": {
1354 "description": "The list of types appearing in `oneof` defin itions in this type.",
1355 "items": {
1356 "type": "string"
1357 },
1358 "type": "array"
1359 },
1360 "options": {
1361 "description": "The protocol buffer options.",
1362 "items": {
1363 "$ref": "Option"
1364 },
1365 "type": "array"
1366 },
1367 "sourceContext": {
1368 "$ref": "SourceContext",
1369 "description": "The source context."
1370 },
1371 "fields": {
1372 "description": "The list of fields.",
1373 "items": {
1374 "$ref": "Field"
1375 },
1376 "type": "array"
1377 },
1378 "name": {
1379 "description": "The fully qualified message name.",
1380 "type": "string"
1381 },
1382 "syntax": {
1383 "description": "The source syntax.",
1384 "enum": [
1385 "SYNTAX_PROTO2",
1386 "SYNTAX_PROTO3"
1387 ],
1388 "enumDescriptions": [
1389 "Syntax `proto2`.",
1390 "Syntax `proto3`."
1391 ],
1392 "type": "string"
1393 }
1394 },
1395 "type": "object"
1396 },
1397 "Backend": {
1398 "description": "`Backend` defines the backend configuration for a se rvice.",
1399 "id": "Backend",
1400 "properties": {
1401 "rules": {
1402 "description": "A list of API backend rules that apply to in dividual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
1403 "items": {
1404 "$ref": "BackendRule"
1405 },
1406 "type": "array"
1407 }
1408 },
1409 "type": "object"
1410 },
1411 "AuditConfig": {
1412 "description": "Provides the configuration for non-admin_activity lo gging for a service.\nControls exemptions and specific log sub-types.",
1413 "id": "AuditConfig",
1414 "properties": {
1415 "service": {
1416 "description": "Specifies a service that will be enabled for audit logging.\nFor example, `resourcemanager`, `storage`, `compute`.\n`allServ ices` is a special value that covers all services.",
1417 "type": "string"
1418 },
1419 "auditLogConfigs": {
1420 "description": "The configuration for each type of logging\n Next ID: 4",
1421 "items": {
1422 "$ref": "AuditLogConfig"
1423 },
1424 "type": "array"
1425 },
1426 "exemptedMembers": {
1427 "description": "Specifies the identities that are exempted f rom \"data access\" audit\nlogging for the `service` specified above.\nFollows t he same format of Binding.members.",
1428 "items": {
1429 "type": "string"
1430 },
1431 "type": "array"
1432 }
1433 },
1434 "type": "object"
1435 },
1436 "ListServiceRolloutsResponse": {
1437 "description": "Response message for ListServiceRollouts method.",
1438 "id": "ListServiceRolloutsResponse",
1439 "properties": {
1440 "rollouts": {
1441 "description": "The list of rollout resources.",
1442 "items": {
1443 "$ref": "Rollout"
1444 },
1445 "type": "array"
1446 },
1447 "nextPageToken": {
1448 "description": "The token of the next page of results.",
1449 "type": "string"
1450 }
1451 },
1452 "type": "object"
1453 },
1454 "Rollout": {
1455 "description": "A rollout resource that defines how service configur ation versions are pushed\nto control plane systems. Typically, you create a new version of the\nservice config, and then create a Rollout to push the service c onfig.",
1456 "id": "Rollout",
1457 "properties": {
1458 "createdBy": {
1459 "description": "The user who created the Rollout. Readonly." ,
1460 "type": "string"
1461 },
1462 "trafficPercentStrategy": {
1463 "$ref": "TrafficPercentStrategy",
1464 "description": "Google Service Control selects service confi gurations based on\ntraffic percentage."
1465 },
1466 "status": {
1467 "description": "The status of this rollout. Readonly. In cas e of a failed rollout,\nthe system will automatically rollback to the current Ro llout\nversion. Readonly.",
1468 "enum": [
1469 "ROLLOUT_STATUS_UNSPECIFIED",
1470 "IN_PROGRESS",
1471 "SUCCESS",
1472 "CANCELLED",
1473 "FAILED",
1474 "PENDING"
1475 ],
1476 "enumDescriptions": [
1477 "No status specified.",
1478 "The Rollout is in progress.",
1479 "The Rollout has completed successfully.",
1480 "The Rollout has been cancelled. This can happen if you have overlapping\nRollout pushes, and the previous ones will be cancelled.",
1481 "The Rollout has failed. It is typically caused by confi guration errors.",
1482 "The Rollout has not started yet and is pending for exec ution."
1483 ],
1484 "type": "string"
1485 },
1486 "deleteServiceStrategy": {
1487 "$ref": "DeleteServiceStrategy",
1488 "description": "The strategy associated with a rollout to de lete a `ManagedService`.\nReadonly."
1489 },
1490 "createTime": {
1491 "description": "Creation time of the rollout. Readonly.",
1492 "format": "google-datetime",
1493 "type": "string"
1494 },
1495 "serviceName": {
1496 "description": "The name of the service associated with this Rollout.",
1497 "type": "string"
1498 },
1499 "rolloutId": {
1500 "description": "Optional unique identifier of this Rollout. Only lower case letters, digits\n and '-' are allowed.\n\nIf not specified by cl ient, the server will generate one. The generated id\nwill have the form of <dat e><revision number>, where \"date\" is the create\ndate in ISO 8601 format. \"r evision number\" is a monotonically increasing\npositive number that is reset ev ery day for each service.\nAn example of the generated rollout_id is '2016-02-16 r1'",
1501 "type": "string"
1502 }
1503 },
1504 "type": "object"
1505 },
1506 "ConfigSource": {
1507 "description": "Represents a source file which is used to generate t he service configuration\ndefined by `google.api.Service`.",
1508 "id": "ConfigSource",
1509 "properties": {
1510 "files": {
1511 "description": "Set of source configuration files that are u sed to generate a service\nconfiguration (`google.api.Service`).",
1512 "items": {
1513 "$ref": "ConfigFile"
1514 },
1515 "type": "array"
1516 },
1517 "id": {
1518 "description": "A unique ID for a specific instance of this message, typically assigned\nby the client for tracking purpose. If empty, the s erver may choose to\ngenerate one instead.",
1519 "type": "string"
1520 }
1521 },
1522 "type": "object"
1523 },
1524 "Method": {
1525 "description": "Method represents a method of an api.",
1526 "id": "Method",
1527 "properties": {
1528 "requestStreaming": {
1529 "description": "If true, the request is streamed.",
1530 "type": "boolean"
1531 },
1532 "options": {
1533 "description": "Any metadata attached to the method.",
1534 "items": {
1535 "$ref": "Option"
1536 },
1537 "type": "array"
1538 },
1539 "requestTypeUrl": {
1540 "description": "A URL of the input message type.",
1541 "type": "string"
1542 },
1543 "name": {
1544 "description": "The simple name of this method.",
1545 "type": "string"
1546 },
1547 "syntax": {
1548 "description": "The source syntax of this method.",
1549 "enum": [
1550 "SYNTAX_PROTO2",
1551 "SYNTAX_PROTO3"
1552 ],
1553 "enumDescriptions": [
1554 "Syntax `proto2`.",
1555 "Syntax `proto3`."
1556 ],
1557 "type": "string"
1558 },
1559 "responseTypeUrl": {
1560 "description": "The URL of the output message type.",
1561 "type": "string"
1562 },
1563 "responseStreaming": {
1564 "description": "If true, the response is streamed.",
1565 "type": "boolean"
1566 }
1567 },
1568 "type": "object"
1569 },
1570 "Operation": {
1571 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.",
1572 "id": "Operation",
1573 "properties": {
1574 "error": {
1575 "$ref": "Status",
1576 "description": "The error result of the operation in case of failure or cancellation."
1577 },
1578 "done": {
1579 "description": "If the value is `false`, it means the operat ion is still in progress.\nIf true, the operation is completed, and either `erro r` or `response` is\navailable.",
1580 "type": "boolean"
1581 },
1582 "metadata": {
1583 "additionalProperties": {
1584 "description": "Properties of the object. Contains field @type with type URL.",
1585 "type": "any"
1586 },
1587 "description": "Service-specific metadata associated with th e operation. It typically\ncontains progress information and common metadata su ch as create time.\nSome services might not provide such metadata. Any method t hat returns a\nlong-running operation should document the metadata type, if any. ",
1588 "type": "object"
1589 },
1590 "response": {
1591 "additionalProperties": {
1592 "description": "Properties of the object. Contains field @type with type URL.",
1593 "type": "any"
1594 },
1595 "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delet e`, the response is\n`google.protobuf.Empty`. If the original method is standar d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi nal method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
1596 "type": "object"
1597 },
1598 "name": {
1599 "description": "The server-assigned name, which is only uniq ue within the same service that\noriginally returns it. If you use the default H TTP mapping, the\n`name` should have the format of `operations/some/unique/name` .",
1600 "type": "string"
1601 }
1602 },
1603 "type": "object"
1604 },
1605 "Rule": {
1606 "description": "A rule to be applied in a Policy.",
1607 "id": "Rule",
1608 "properties": {
1609 "description": {
1610 "description": "Human-readable description of the rule.",
1611 "type": "string"
1612 },
1613 "in": {
1614 "description": "If one or more 'in' clauses are specified, t he rule matches if\nthe PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.",
1615 "items": {
1616 "type": "string"
1617 },
1618 "type": "array"
1619 },
1620 "action": {
1621 "description": "Required",
1622 "enum": [
1623 "NO_ACTION",
1624 "ALLOW",
1625 "ALLOW_WITH_LOG",
1626 "DENY",
1627 "DENY_WITH_LOG",
1628 "LOG"
1629 ],
1630 "enumDescriptions": [
1631 "Default no action.",
1632 "Matching 'Entries' grant access.",
1633 "Matching 'Entries' grant access and the caller promises to log\nthe request per the returned log_configs.",
1634 "Matching 'Entries' deny access.",
1635 "Matching 'Entries' deny access and the caller promises to log\nthe request per the returned log_configs.",
1636 "Matching 'Entries' tell IAM.Check callers to generate l ogs."
1637 ],
1638 "type": "string"
1639 },
1640 "conditions": {
1641 "description": "Additional restrictions that must be met",
1642 "items": {
1643 "$ref": "Condition"
1644 },
1645 "type": "array"
1646 },
1647 "notIn": {
1648 "description": "If one or more 'not_in' clauses are specifie d, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entri es.\nThe format for in and not_in entries is the same as for members in a\nBindi ng (see google/iam/v1/policy.proto).",
1649 "items": {
1650 "type": "string"
1651 },
1652 "type": "array"
1653 },
1654 "logConfig": {
1655 "description": "The config returned to callers of tech.iam.I AM.CheckPolicy for any entries\nthat match the LOG action.",
1656 "items": {
1657 "$ref": "LogConfig"
1658 },
1659 "type": "array"
1660 },
1661 "permissions": {
1662 "description": "A permission is a string of form '<service>. <resource type>.<verb>'\n(e.g., 'storage.buckets.list'). A value of '*' matches all permissions,\nand a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.",
1663 "items": {
1664 "type": "string"
1665 },
1666 "type": "array"
1667 }
1668 },
1669 "type": "object"
1670 },
1671 "MetricDescriptor": {
1672 "description": "Defines a metric type and its schema. Once a metric descriptor is created,\ndeleting or altering it stops data collection and makes the metric type's\nexisting data unusable.",
1673 "id": "MetricDescriptor",
1674 "properties": {
1675 "description": {
1676 "description": "A detailed description of the metric, which can be used in documentation.",
1677 "type": "string"
1678 },
1679 "unit": {
1680 "description": "The unit in which the metric value is report ed. It is only applicable\nif the `value_type` is `INT64`, `DOUBLE`, or `DISTRIB UTION`. The\nsupported units are a subset of [The Unified Code for Units of\nMea sure](http://unitsofmeasure.org/ucum.html) standard:\n\n**Basic units (UNIT)**\n \n* `bit` bit\n* `By` byte\n* `s` second\n* `min` minute\n* `h` h our\n* `d` day\n\n**Prefixes (PREFIX)**\n\n* `k` kilo (10**3)\n* `M` mega (10**6)\n* `G` giga (10**9)\n* `T` tera (10**12)\n* `P ` peta (10**15)\n* `E` exa (10**18)\n* `Z` zetta (10**21)\n * `Y` yotta (10**24)\n* `m` milli (10**-3)\n* `u` micro (10**- 6)\n* `n` nano (10**-9)\n* `p` pico (10**-12)\n* `f` femto ( 10**-15)\n* `a` atto (10**-18)\n* `z` zepto (10**-21)\n* `y` yo cto (10**-24)\n* `Ki` kibi (2**10)\n* `Mi` mebi (2**20)\n* `Gi` gibi (2**30)\n* `Ti` tebi (2**40)\n\n**Grammar**\n\nThe grammar includ es the dimensionless unit `1`, such as `1/s`.\n\nThe grammar also includes these connectors:\n\n* `/` division (as an infix operator, e.g. `1/s`).\n* `.` multiplication (as an infix operator, e.g. `GBy.d`)\n\nThe grammar for a unit is as follows:\n\n Expression = Component { \".\" Component } { \"/\" Component } ;\n\n Component = [ PREFIX ] UNIT [ Annotation ]\n | Annotati on\n | \"1\"\n ;\n\n Annotation = \"{\" NAME \"}\" ;\n\nNotes:\n\n* `Annotation` is just a comment if it follows a `UNIT` and is\n equivalent to `1` if it is used alone. For examples,\n `{requests}/s == 1/s` , `By{transmitted}/s == By/s`.\n* `NAME` is a sequence of non-blank printable AS CII characters not\n containing '{' or '}'.",
1681 "type": "string"
1682 },
1683 "labels": {
1684 "description": "The set of labels that can be used to descri be a specific\ninstance of this metric type. For example, the\n`appengine.google apis.com/http/server/response_latencies` metric\ntype has a label for the HTTP r esponse code, `response_code`, so\nyou can look at latencies for successful resp onses or just\nfor responses that failed.",
1685 "items": {
1686 "$ref": "LabelDescriptor"
1687 },
1688 "type": "array"
1689 },
1690 "metricKind": {
1691 "description": "Whether the metric records instantaneous val ues, changes to a value, etc.\nSome combinations of `metric_kind` and `value_typ e` might not be supported.",
1692 "enum": [
1693 "METRIC_KIND_UNSPECIFIED",
1694 "GAUGE",
1695 "DELTA",
1696 "CUMULATIVE"
1697 ],
1698 "enumDescriptions": [
1699 "Do not use this default value.",
1700 "An instantaneous measurement of a value.",
1701 "The change in a value during a time interval.",
1702 "A value accumulated over a time interval. Cumulative\n measurements in a time series should have the same start time\nand increasing en d times, until an event resets the cumulative\nvalue to zero and sets a new star t time for the following\npoints."
1703 ],
1704 "type": "string"
1705 },
1706 "valueType": {
1707 "description": "Whether the measurement is an integer, a flo ating-point number, etc.\nSome combinations of `metric_kind` and `value_type` mi ght not be supported.",
1708 "enum": [
1709 "VALUE_TYPE_UNSPECIFIED",
1710 "BOOL",
1711 "INT64",
1712 "DOUBLE",
1713 "STRING",
1714 "DISTRIBUTION",
1715 "MONEY"
1716 ],
1717 "enumDescriptions": [
1718 "Do not use this default value.",
1719 "The value is a boolean.\nThis value type can be used on ly if the metric kind is `GAUGE`.",
1720 "The value is a signed 64-bit integer.",
1721 "The value is a double precision floating point number." ,
1722 "The value is a text string.\nThis value type can be use d only if the metric kind is `GAUGE`.",
1723 "The value is a `Distribution`.",
1724 "The value is money."
1725 ],
1726 "type": "string"
1727 },
1728 "displayName": {
1729 "description": "A concise name for the metric, which can be displayed in user interfaces.\nUse sentence case without an ending period, for e xample \"Request count\".",
1730 "type": "string"
1731 },
1732 "name": {
1733 "description": "The resource name of the metric descriptor. Depending on the\nimplementation, the name typically includes: (1) the parent re source name\nthat defines the scope of the metric type or of its data; and (2) t he\nmetric's URL-encoded type, which also appears in the `type` field of this\nd escriptor. For example, following is the resource name of a custom\nmetric withi n the GCP project 123456789:\n\n \"projects/123456789/metricDescriptors/custo m.googleapis.com%2Finvoice%2Fpaid%2Famount\"",
1734 "type": "string"
1735 },
1736 "type": {
1737 "description": "The metric type, including its DNS name pref ix. The type is not\nURL-encoded. All user-defined metric types have the DNS na me\n`custom.googleapis.com`. Metric types should use a natural hierarchical\ngr ouping. For example:\n\n \"custom.googleapis.com/invoice/paid/amount\"\n \ "appengine.googleapis.com/http/server/response_latencies\"",
1738 "type": "string"
1739 }
1740 },
1741 "type": "object"
1742 },
1743 "EnableServiceRequest": {
1744 "description": "Request message for EnableService method.",
1745 "id": "EnableServiceRequest",
1746 "properties": {
1747 "consumerId": {
1748 "description": "The identity of consumer resource which serv ice enablement will be\napplied to.\n\nThe Google Service Management implementat ion accepts the following\nforms:\n- \"project:<project_id>\"\n\nNote: this is m ade compatible with\ngoogle.api.servicecontrol.v1.Operation.consumer_id.",
1749 "type": "string"
1750 }
1751 },
1752 "type": "object"
1753 },
1754 "DocumentationRule": {
1755 "description": "A documentation rule provides information about indi vidual API elements.",
1756 "id": "DocumentationRule",
1757 "properties": {
1758 "description": {
1759 "description": "Description of the selected API(s).",
1760 "type": "string"
1761 },
1762 "deprecationDescription": {
1763 "description": "Deprecation description of the selected elem ent(s). It can be provided if an\nelement is marked as `deprecated`.",
1764 "type": "string"
1765 },
1766 "selector": {
1767 "description": "The selector is a comma-separated list of pa tterns. Each pattern is a\nqualified name of the element which may end in \"*\", indicating a wildcard.\nWildcards are only allowed at the end and for a whole c omponent of the\nqualified name, i.e. \"foo.*\" is ok, but not \"foo.b*\" or \"f oo.*.bar\". To\nspecify a default for all applicable elements, the whole pattern \"*\"\nis used.",
1768 "type": "string"
1769 }
1770 },
1771 "type": "object"
1772 },
1773 "SetIamPolicyRequest": {
1774 "description": "Request message for `SetIamPolicy` method.",
1775 "id": "SetIamPolicyRequest",
1776 "properties": {
1777 "policy": {
1778 "$ref": "Policy",
1779 "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 emp ty policy is a\nvalid policy but certain Cloud Platform services (such as Projec ts)\nmight reject them."
1780 }
1781 },
1782 "type": "object"
1783 },
1784 "CounterOptions": {
1785 "description": "Options for counters",
1786 "id": "CounterOptions",
1787 "properties": {
1788 "metric": {
1789 "description": "The metric to update.",
1790 "type": "string"
1791 },
1792 "field": {
1793 "description": "The field value to attribute.",
1794 "type": "string"
1795 }
1796 },
1797 "type": "object"
1798 },
1799 "Condition": {
1800 "description": "A condition to be met.",
1801 "id": "Condition",
1802 "properties": {
1803 "sys": {
1804 "description": "Trusted attributes supplied by any service t hat owns resources and uses\nthe IAM system for access control.",
1805 "enum": [
1806 "NO_ATTR",
1807 "REGION",
1808 "SERVICE",
1809 "NAME",
1810 "IP"
1811 ],
1812 "enumDescriptions": [
1813 "Default non-attribute type",
1814 "Region of the resource",
1815 "Service name",
1816 "Resource name",
1817 "IP address of the caller"
1818 ],
1819 "type": "string"
1820 },
1821 "values": {
1822 "description": "The objects of the condition. This is mutual ly exclusive with 'value'.",
1823 "items": {
1824 "type": "string"
1825 },
1826 "type": "array"
1827 },
1828 "iam": {
1829 "description": "Trusted attributes supplied by the IAM syste m.",
1830 "enum": [
1831 "NO_ATTR",
1832 "AUTHORITY",
1833 "ATTRIBUTION"
1834 ],
1835 "enumDescriptions": [
1836 "Default non-attribute.",
1837 "Either principal or (if present) authority selector.",
1838 "The principal (even if an authority selector is present ), which\nmust only be used for attribution, not authorization."
1839 ],
1840 "type": "string"
1841 },
1842 "op": {
1843 "description": "An operator to apply the subject with.",
1844 "enum": [
1845 "NO_OP",
1846 "EQUALS",
1847 "NOT_EQUALS",
1848 "IN",
1849 "NOT_IN",
1850 "DISCHARGED"
1851 ],
1852 "enumDescriptions": [
1853 "Default no-op.",
1854 "DEPRECATED. Use IN instead.",
1855 "DEPRECATED. Use NOT_IN instead.",
1856 "Set-inclusion check.",
1857 "Set-exclusion check.",
1858 "Subject is discharged"
1859 ],
1860 "type": "string"
1861 },
1862 "value": {
1863 "description": "DEPRECATED. Use 'values' instead.",
1864 "type": "string"
1865 },
1866 "svc": {
1867 "description": "Trusted attributes discharged by the service .",
1868 "type": "string"
1869 }
1870 },
1871 "type": "object"
1872 },
1873 "Status": {
1874 "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` which can be used for common error conditions.\n\n# Lan guage 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` mes sage is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some except ions\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\nenviron ments, either with or without APIs, to provide a\nconsistent developer experienc e 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 purpose.\n\n- Batch operati ons. If a client uses batch request and batch response, the\n `Status` messag e should be used directly inside batch response, one for\n each error sub-res ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio n\n results in its response, the status of those operations should be\n re presented 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 s tripping needed for security/privacy reasons.",
1875 "id": "Status",
1876 "properties": {
1877 "code": {
1878 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
1879 "format": "int32",
1880 "type": "integer"
1881 },
1882 "details": {
1883 "description": "A list of messages that carry the error deta ils. There will be a\ncommon set of message types for APIs to use.",
1884 "items": {
1885 "additionalProperties": {
1886 "description": "Properties of the object. Contains f ield @type with type URL.",
1887 "type": "any"
1888 },
1889 "type": "object"
1890 },
1891 "type": "array"
1892 },
1893 "message": {
1894 "description": "A developer-facing error message, which shou ld 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.",
1895 "type": "string"
1896 }
1897 },
1898 "type": "object"
1899 },
1900 "Endpoint": {
1901 "description": "`Endpoint` describes a network endpoint that serves a set of APIs.\nA service may expose any number of endpoints, and all endpoints share the\nsame service configuration, such as quota configuration and monitorin g\nconfiguration.\n\nExample service configuration:\n\n name: library-example .googleapis.com\n endpoints:\n # Below entry makes 'google.example.libra ry.v1.Library'\n # API be served from endpoint address library-example.goog leapis.com.\n # It also allows HTTP OPTIONS calls to be passed to the backe nd, for\n # it to decide whether the subsequent cross-origin request is\n # allowed to proceed.\n - name: library-example.googleapis.com\n all ow_cors: true",
1902 "id": "Endpoint",
1903 "properties": {
1904 "apis": {
1905 "description": "The list of APIs served by this endpoint.",
1906 "items": {
1907 "type": "string"
1908 },
1909 "type": "array"
1910 },
1911 "allowCors": {
1912 "description": "Allowing\n[CORS](https://en.wikipedia.org/wi ki/Cross-origin_resource_sharing), aka\ncross-domain traffic, would allow the ba ckends served from this endpoint to\nreceive and respond to HTTP OPTIONS request s. The response will be used by\nthe browser to determine whether the subsequent cross-origin request is\nallowed to proceed.",
1913 "type": "boolean"
1914 },
1915 "name": {
1916 "description": "The canonical name of this endpoint.",
1917 "type": "string"
1918 },
1919 "aliases": {
1920 "description": "DEPRECATED: This field is no longer supporte d. Instead of using aliases,\nplease specify multiple google.api.Endpoint for ea ch of the intented\nalias.\n\nAdditional names that this endpoint will be hosted on.",
1921 "items": {
1922 "type": "string"
1923 },
1924 "type": "array"
1925 },
1926 "features": {
1927 "description": "The list of features enabled on this endpoin t.",
1928 "items": {
1929 "type": "string"
1930 },
1931 "type": "array"
1932 }
1933 },
1934 "type": "object"
1935 },
1936 "Page": {
1937 "description": "Represents a documentation page. A page can contain subpages to represent\nnested documentation set structure.",
1938 "id": "Page",
1939 "properties": {
1940 "subpages": {
1941 "description": "Subpages of this page. The order of subpages specified here will be\nhonored in the generated docset.",
1942 "items": {
1943 "$ref": "Page"
1944 },
1945 "type": "array"
1946 },
1947 "content": {
1948 "description": "The Markdown content of the page. You can us e <code>&#40;== include {path} ==&#41;</code>\nto include content from a Markdow n file.",
1949 "type": "string"
1950 },
1951 "name": {
1952 "description": "The name of the page. It will be used as an identity of the page to\ngenerate URI of the page, text of the link to this page in navigation,\netc. The full page name (start from the root page name to this page\nconcatenated with `.`) can be used as reference to the page in your\ndocum entation. For example:\n<pre><code>pages:\n- name: Tutorial\n content: &#40;== include tutorial.md ==&#41;\n subpages:\n - name: Java\n content: &#40;== i nclude tutorial_java.md ==&#41;\n</code></pre>\nYou can reference `Java` page us ing Markdown reference link syntax:\n`Java`.",
1953 "type": "string"
1954 }
1955 },
1956 "type": "object"
1957 },
1958 "CustomErrorRule": {
1959 "description": "A custom error rule.",
1960 "id": "CustomErrorRule",
1961 "properties": {
1962 "isErrorType": {
1963 "description": "Mark this message as possible payload in err or response. Otherwise,\nobjects of this type will be filtered when they appear in error payload.",
1964 "type": "boolean"
1965 },
1966 "selector": {
1967 "description": "Selects messages to which this rule applies. \n\nRefer to selector for syntax details.",
1968 "type": "string"
1969 }
1970 },
1971 "type": "object" 1797 "type": "object"
1972 }, 1798 },
1973 "Option": { 1799 "Option": {
1974 "description": "A protocol buffer option, which can be attached to a message, field,\nenumeration, etc.", 1800 "description": "A protocol buffer option, which can be attached to a message, field,\nenumeration, etc.",
1975 "id": "Option", 1801 "id": "Option",
1976 "properties": { 1802 "properties": {
1977 "value": { 1803 "value": {
1978 "additionalProperties": { 1804 "additionalProperties": {
1979 "description": "Properties of the object. Contains field @type with type URL.", 1805 "description": "Properties of the object. Contains field @type with type URL.",
1980 "type": "any" 1806 "type": "any"
1981 }, 1807 },
1982 "description": "The option's value packed in an Any message. If the value is a primitive,\nthe corresponding wrapper type defined in google/ protobuf/wrappers.proto\nshould be used. If the value is an enum, it should be s tored as an int32\nvalue using the google.protobuf.Int32Value type.", 1808 "description": "The option's value packed in an Any message. If the value is a primitive,\nthe corresponding wrapper type defined in google/ protobuf/wrappers.proto\nshould be used. If the value is an enum, it should be s tored as an int32\nvalue using the google.protobuf.Int32Value type.",
1983 "type": "object" 1809 "type": "object"
1984 }, 1810 },
1985 "name": { 1811 "name": {
1986 "description": "The option's name. For protobuf built-in opt ions (options defined in\ndescriptor.proto), this is the short name. For example , `\"map_entry\"`.\nFor custom options, it should be the fully-qualified name. F or example,\n`\"google.api.http\"`.", 1812 "description": "The option's name. For protobuf built-in opt ions (options defined in\ndescriptor.proto), this is the short name. For example , `\"map_entry\"`.\nFor custom options, it should be the fully-qualified name. F or example,\n`\"google.api.http\"`.",
1987 "type": "string" 1813 "type": "string"
1988 } 1814 }
1989 }, 1815 },
1990 "type": "object" 1816 "type": "object"
1991 }, 1817 },
1992 "HttpRule": { 1818 "Logging": {
1993 "description": "`HttpRule` defines the mapping of an RPC method to o ne or more HTTP\nREST APIs. The mapping determines what portions of the request \nmessage are populated from the path, query parameters, or body of\nthe HTTP re quest. The mapping is typically specified as an\n`google.api.http` annotation, see \"google/api/annotations.proto\"\nfor details.\n\nThe mapping consists of a field specifying the path template and\nmethod kind. The path template can refe r to fields in the request\nmessage, as in the example below which describes a R EST GET\noperation on a resource collection of messages:\n\n\n service Messag ing {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n opti on (google.api.http).get = \"/v1/messages/{message_id}/{sub.subfield}\";\n }\n }\n message GetMessageRequest {\n message SubMessage {\n s tring subfield = 1;\n }\n string message_id = 1; // mapped to the URL\ n SubMessage sub = 2; // `sub.subfield` is url-mapped\n }\n messag e Message {\n string text = 1; // content of the resource\n }\n\nThe sam e http annotation can alternatively be expressed inside the\n`GRPC API Configura tion` YAML file.\n\n http:\n rules:\n - selector: <proto_package_ name>.Messaging.GetMessage\n get: /v1/messages/{message_id}/{sub.subfie ld}\n\nThis definition enables an automatic, bidrectional mapping of HTTP\nJSON to RPC. Example:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456/foo` | `G etMessage(message_id: \"123456\" sub: SubMessage(subfield: \"foo\"))`\n\nIn gene ral, not only fields but also field paths can be referenced\nfrom a path pattern . Fields mapped to the path pattern cannot be\nrepeated and must have a primitiv e (non-message) type.\n\nAny fields in the request message which are not bound b y the path\npattern automatically become (optional) HTTP query\nparameters. Assu me the following definition of the request message:\n\n\n message GetMessageR equest {\n message SubMessage {\n string subfield = 1;\n }\n string message_id = 1; // mapped to the URL\n int64 revision = 2; // becomes a parameter\n SubMessage sub = 3; // `sub.subfield` becomes a pa rameter\n }\n\n\nThis enables a HTTP JSON to RPC mapping as below:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMe ssage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))`\n\ nNote that fields which are mapped to HTTP parameters must have a\nprimitive typ e or a repeated primitive type. Message types are not\nallowed. In the case of a repeated type, the parameter can be\nrepeated in the URL, as in `...?param=A&pa ram=B`.\n\nFor HTTP method kinds which allow a request body, the `body` field\ns pecifies the mapping. Consider a REST update method on the\nmessage resource col lection:\n\n\n service Messaging {\n rpc UpdateMessage(UpdateMessageRequ est) returns (Message) {\n option (google.api.http) = {\n put: \ "/v1/messages/{message_id}\"\n body: \"message\"\n };\n }\n }\n message UpdateMessageRequest {\n string message_id = 1; // mappe d to the URL\n Message message = 2; // mapped to the body\n }\n\n\nThe following HTTP JSON to RPC mapping is enabled, where the\nrepresentation of the JSON in the request body is determined by\nprotos JSON encoding:\n\nHTTP | RPC\ n-----|-----\n`PUT /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(m essage_id: \"123456\" message { text: \"Hi!\" })`\n\nThe special name `*` can be used in the body mapping to define that\nevery field not bound by the path temp late should be mapped to the\nrequest body. This enables the following alternat ive definition of\nthe update method:\n\n service Messaging {\n rpc Upda teMessage(Message) returns (Message) {\n option (google.api.http) = {\n put: \"/v1/messages/{message_id}\"\n body: \"*\"\n };\n }\n }\n message Message {\n string message_id = 1;\n string text = 2;\n }\n\n\nThe following HTTP JSON to RPC mapping is enabled:\n\nHTT P | RPC\n-----|-----\n`PUT /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateM essage(message_id: \"123456\" text: \"Hi!\")`\n\nNote that when using `*` in the body mapping, it is not possible to\nhave HTTP parameters, as all fields not bo und by the path end in\nthe body. This makes this option more rarely used in pra ctice of\ndefining REST APIs. The common usage of `*` is in custom methods\nwhic h don't use the URL at all for transferring data.\n\nIt is possible to define mu ltiple HTTP methods for one RPC by using\nthe `additional_bindings` option. Exam ple:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.api.http) = {\n get: \"/v1/message s/{message_id}\"\n additional_bindings {\n get: \"/v1/users/ {user_id}/messages/{message_id}\"\n }\n };\n }\n }\n message GetMessageRequest {\n string message_id = 1;\n string user_id = 2;\n }\n\n\nThis enables the following two alternative HTTP JSON to RPC\nma ppings:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456` | `GetMessage(mess age_id: \"123456\")`\n`GET /v1/users/me/messages/123456` | `GetMessage(user_id: \"me\" message_id: \"123456\")`\n\n# Rules for HTTP mapping\n\nThe rules for map ping HTTP path, query parameters, and body fields\nto the request message are as follows:\n\n1. The `body` field specifies either `*` or a field path, or is\n omitted. If omitted, it assumes there is no HTTP body.\n2. Leaf fields (recursi ve expansion of nested messages in the\n request) can be classified into three types:\n (a) Matched in the URL template.\n (b) Covered by body (if body is `*`, everything except (a) fields;\n else everything under the body fi eld)\n (c) All other fields.\n3. URL query parameters found in the HTTP reque st are mapped to (c) fields.\n4. Any body sent with an HTTP request can contain only (b) fields.\n\nThe syntax of the path template is as follows:\n\n Templa te = \"/\" Segments [ Verb ] ;\n Segments = Segment { \"/\" Segment } ;\n Segment = \"*\" | \"**\" | LITERAL | Variable ;\n Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ;\n FieldPath = IDENT { \".\" IDENT } ;\n Verb = \":\" LITERAL ;\n\nThe syntax `*` matches a single path segment. It follows the semantics of\n[RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String\nExpansion.\n\nThe syntax `**` matches zero or more path segments . It follows the semantics\nof [RFC 6570](https://tools.ietf.org/html/rfc6570) S ection 3.2.3 Reserved\nExpansion. NOTE: it must be the last segment in the path except the Verb.\n\nThe syntax `LITERAL` matches literal text in the URL path.\n \nThe syntax `Variable` matches the entire path as specified by its template;\nt his nested template must not contain further variables. If a variable\nmatches a single path segment, its template may be omitted, e.g. `{var}`\nis equivalent t o `{var=*}`.\n\nNOTE: the field paths in variables and in the `body` must not re fer to\nrepeated fields or map fields.\n\nUse CustomHttpPattern to specify any H TTP method that is not included in the\n`pattern` field, such as HEAD, or \"*\" to leave the HTTP method unspecified for\na given URL path rule. The wild-card r ule is useful for services that provide\ncontent to Web (HTML) clients.", 1819 "description": "Logging configuration of the service.\n\nThe followi ng example shows how to configure logs to be sent to the\nproducer and consumer projects. In the example, the `activity_history`\nlog is sent to both the produc er and consumer projects, whereas the\n`purchase_history` log is only sent to th e producer project.\n\n monitored_resources:\n - type: library.googleapis. com/branch\n labels:\n - key: /city\n description: The city whe re the library branch is located in.\n - key: /name\n description: T he name of the branch.\n logs:\n - name: activity_history\n labels:\n - key: /customer_id\n - name: purchase_history\n logging:\n pro ducer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history\n - purchase_history\n con sumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history",
1994 "id": "HttpRule", 1820 "id": "Logging",
1995 "properties": { 1821 "properties": {
1996 "custom": { 1822 "consumerDestinations": {
1997 "$ref": "CustomHttpPattern", 1823 "description": "Logging configurations for sending logs to t he consumer project.\nThere can be multiple consumer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none co nsumer destination.",
1998 "description": "Custom pattern is used for defining custom v erbs."
1999 },
2000 "responseBody": {
2001 "description": "The name of the response field whose value i s mapped to the HTTP body of\nresponse. Other response fields are ignored. This field is optional. When\nnot set, the response message will be used as HTTP body of response.\nNOTE: the referred field must be not a repeated field and must be present\nat the top-level of response message type.",
2002 "type": "string"
2003 },
2004 "additionalBindings": {
2005 "description": "Additional HTTP bindings for the selector. N ested bindings must\nnot contain an `additional_bindings` field themselves (that is,\nthe nesting may only be one level deep).",
2006 "items": { 1824 "items": {
2007 "$ref": "HttpRule" 1825 "$ref": "LoggingDestination"
2008 }, 1826 },
2009 "type": "array" 1827 "type": "array"
2010 }, 1828 },
2011 "mediaDownload": { 1829 "producerDestinations": {
2012 "$ref": "MediaDownload", 1830 "description": "Logging configurations for sending logs to t he producer project.\nThere can be multiple producer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none pr oducer destination.",
2013 "description": "Do not use this. For media support, add inst ead\n[][google.bytestream.RestByteStream] as an API to your\nconfiguration."
2014 },
2015 "body": {
2016 "description": "The name of the request field whose value is mapped to the HTTP body, or\n`*` for mapping all fields not captured by the pat h pattern to the HTTP\nbody. NOTE: the referred field must not be a repeated fie ld and must be\npresent at the top-level of request message type.",
2017 "type": "string"
2018 },
2019 "put": {
2020 "description": "Used for updating a resource.",
2021 "type": "string"
2022 },
2023 "get": {
2024 "description": "Used for listing and getting information abo ut resources.",
2025 "type": "string"
2026 },
2027 "selector": {
2028 "description": "Selects methods to which this rule applies.\ n\nRefer to selector for syntax details.",
2029 "type": "string"
2030 },
2031 "post": {
2032 "description": "Used for creating a resource.",
2033 "type": "string"
2034 },
2035 "patch": {
2036 "description": "Used for updating a resource.",
2037 "type": "string"
2038 },
2039 "delete": {
2040 "description": "Used for deleting a resource.",
2041 "type": "string"
2042 },
2043 "mediaUpload": {
2044 "$ref": "MediaUpload",
2045 "description": "Do not use this. For media support, add inst ead\n[][google.bytestream.RestByteStream] as an API to your\nconfiguration."
2046 }
2047 },
2048 "type": "object"
2049 },
2050 "TestIamPermissionsRequest": {
2051 "description": "Request message for `TestIamPermissions` method.",
2052 "id": "TestIamPermissionsRequest",
2053 "properties": {
2054 "permissions": {
2055 "description": "The set of permissions to check for the `res ource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed . For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/ov erview#permissions).",
2056 "items": { 1831 "items": {
2057 "type": "string" 1832 "$ref": "LoggingDestination"
2058 }, 1833 },
2059 "type": "array" 1834 "type": "array"
2060 } 1835 }
2061 }, 1836 },
2062 "type": "object" 1837 "type": "object"
2063 }, 1838 },
2064 "TestIamPermissionsResponse": { 1839 "Method": {
2065 "description": "Response message for `TestIamPermissions` method.", 1840 "description": "Method represents a method of an api.",
2066 "id": "TestIamPermissionsResponse", 1841 "id": "Method",
2067 "properties": { 1842 "properties": {
2068 "permissions": { 1843 "responseStreaming": {
2069 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is\nallowed.", 1844 "description": "If true, the response is streamed.",
1845 "type": "boolean"
1846 },
1847 "name": {
1848 "description": "The simple name of this method.",
1849 "type": "string"
1850 },
1851 "requestTypeUrl": {
1852 "description": "A URL of the input message type.",
1853 "type": "string"
1854 },
1855 "requestStreaming": {
1856 "description": "If true, the request is streamed.",
1857 "type": "boolean"
1858 },
1859 "syntax": {
1860 "description": "The source syntax of this method.",
1861 "enum": [
1862 "SYNTAX_PROTO2",
1863 "SYNTAX_PROTO3"
1864 ],
1865 "enumDescriptions": [
1866 "Syntax `proto2`.",
1867 "Syntax `proto3`."
1868 ],
1869 "type": "string"
1870 },
1871 "responseTypeUrl": {
1872 "description": "The URL of the output message type.",
1873 "type": "string"
1874 },
1875 "options": {
1876 "description": "Any metadata attached to the method.",
2070 "items": { 1877 "items": {
2071 "type": "string" 1878 "$ref": "Option"
2072 }, 1879 },
2073 "type": "array" 1880 "type": "array"
2074 } 1881 }
2075 }, 1882 },
2076 "type": "object" 1883 "type": "object"
1884 },
1885 "ConfigRef": {
1886 "description": "Represents a service configuration with its name and id.",
1887 "id": "ConfigRef",
1888 "properties": {
1889 "name": {
1890 "description": "Resource name of a service config. It must h ave the following\nformat: \"services/{service name}/configs/{config id}\".",
1891 "type": "string"
1892 }
1893 },
1894 "type": "object"
1895 },
1896 "ListServiceRolloutsResponse": {
1897 "description": "Response message for ListServiceRollouts method.",
1898 "id": "ListServiceRolloutsResponse",
1899 "properties": {
1900 "nextPageToken": {
1901 "description": "The token of the next page of results.",
1902 "type": "string"
1903 },
1904 "rollouts": {
1905 "description": "The list of rollout resources.",
1906 "items": {
1907 "$ref": "Rollout"
1908 },
1909 "type": "array"
1910 }
1911 },
1912 "type": "object"
1913 },
1914 "Mixin": {
1915 "description": "Declares an API to be included in this API. The incl uding API must\nredeclare all the methods from the included API, but documentati on\nand options are inherited as follows:\n\n- If after comment and whitespace s tripping, the documentation\n string of the redeclared method is empty, it will be inherited\n from the original method.\n\n- Each annotation belonging to the service config (http,\n visibility) which is not set in the redeclared method will be\n inherited.\n\n- If an http annotation is inherited, the path pattern will be\n modified as follows. Any version prefix will be replaced by the\n ve rsion of the including API plus the root path if specified.\n\nExample of a simp le mixin:\n\n package google.acl.v1;\n service AccessControl {\n // G et the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v1/{resource=**}:getAcl\";\n }\n }\n\n package google.storage.v2;\n service Storage {\n // rp c GetAcl(GetAclRequest) returns (Acl);\n\n // Get a data record.\n rpc GetData(GetDataRequest) returns (Data) {\n option (google.api.http).get = \"/v2/{resource=**}\";\n }\n }\n\nExample of a mixin configuration:\n\ n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n\nThe mixin construct implies that all methods in ` AccessControl` are\nalso declared with same name and request/response types in\n `Storage`. A documentation generator or annotation processor will\nsee the effec tive `Storage.GetAcl` method after inherting\ndocumentation and annotations as f ollows:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v2/{resource=**}:getAcl\";\n }\n ...\n }\n\nNote how the vers ion in the path pattern changed from `v1` to `v2`.\n\nIf the `root` field in the mixin is specified, it should be a\nrelative path under which inherited HTTP pa ths are placed. Example:\n\n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n root: acls\n\nTh is implies the following inherited HTTP annotation:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns ( Acl) {\n option (google.api.http).get = \"/v2/acls/{resource=**}:getAcl\" ;\n }\n ...\n }",
1916 "id": "Mixin",
1917 "properties": {
1918 "name": {
1919 "description": "The fully qualified name of the API which is included.",
1920 "type": "string"
1921 },
1922 "root": {
1923 "description": "If non-empty specifies a path under which in herited HTTP paths\nare rooted.",
1924 "type": "string"
1925 }
1926 },
1927 "type": "object"
2077 }, 1928 },
2078 "CustomError": { 1929 "CustomError": {
2079 "description": "Customize service error responses. For example, lis t any service\nspecific protobuf types that can appear in error detail lists of\ nerror responses.\n\nExample:\n\n custom_error:\n types:\n - google .foo.v1.CustomError\n - google.foo.v1.AnotherError", 1930 "description": "Customize service error responses. For example, lis t any service\nspecific protobuf types that can appear in error detail lists of\ nerror responses.\n\nExample:\n\n custom_error:\n types:\n - google .foo.v1.CustomError\n - google.foo.v1.AnotherError",
2080 "id": "CustomError", 1931 "id": "CustomError",
2081 "properties": { 1932 "properties": {
1933 "rules": {
1934 "description": "The list of custom error rules that apply to individual API messages.\n\n**NOTE:** All service configuration rules follow \" last one wins\" order.",
1935 "items": {
1936 "$ref": "CustomErrorRule"
1937 },
1938 "type": "array"
1939 },
2082 "types": { 1940 "types": {
2083 "description": "The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.", 1941 "description": "The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.",
2084 "items": { 1942 "items": {
2085 "type": "string" 1943 "type": "string"
2086 }, 1944 },
2087 "type": "array" 1945 "type": "array"
2088 }, 1946 }
1947 },
1948 "type": "object"
1949 },
1950 "CounterOptions": {
1951 "description": "Options for counters",
1952 "id": "CounterOptions",
1953 "properties": {
1954 "metric": {
1955 "description": "The metric to update.",
1956 "type": "string"
1957 },
1958 "field": {
1959 "description": "The field value to attribute.",
1960 "type": "string"
1961 }
1962 },
1963 "type": "object"
1964 },
1965 "Http": {
1966 "description": "Defines the HTTP configuration for a service. It con tains a list of\nHttpRule, each specifying the mapping of an RPC method\nto one or more HTTP REST API methods.",
1967 "id": "Http",
1968 "properties": {
2089 "rules": { 1969 "rules": {
2090 "description": "The list of custom error rules that apply to individual API messages.\n\n**NOTE:** All service configuration rules follow \" last one wins\" order.", 1970 "description": "A list of HTTP configuration rules that appl y to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
2091 "items": { 1971 "items": {
2092 "$ref": "CustomErrorRule" 1972 "$ref": "HttpRule"
2093 }, 1973 },
2094 "type": "array" 1974 "type": "array"
2095 } 1975 }
2096 }, 1976 },
2097 "type": "object" 1977 "type": "object"
2098 }, 1978 },
2099 "MediaDownload": { 1979 "Control": {
2100 "description": "Do not use this. For media support, add instead\n[][ google.bytestream.RestByteStream] as an API to your\nconfiguration.", 1980 "description": "Selects and configures the service controller used b y the service. The\nservice controller handles features like abuse, quota, bill ing, logging,\nmonitoring, etc.",
2101 "id": "MediaDownload", 1981 "id": "Control",
2102 "properties": { 1982 "properties": {
2103 "enabled": { 1983 "environment": {
2104 "description": "Whether download is enabled.", 1984 "description": "The service control environment to use. If e mpty, no control plane\nfeature (like quota and billing) will be enabled.",
2105 "type": "boolean" 1985 "type": "string"
2106 }
2107 },
2108 "type": "object"
2109 },
2110 "SubmitConfigSourceRequest": {
2111 "description": "Request message for SubmitConfigSource method.",
2112 "id": "SubmitConfigSourceRequest",
2113 "properties": {
2114 "configSource": {
2115 "$ref": "ConfigSource",
2116 "description": "The source configuration for the service."
2117 },
2118 "validateOnly": {
2119 "description": "Optional. If set, this will result in the ge neration of a\n`google.api.Service` configuration based on the `ConfigSource` pr ovided,\nbut the generated config and the sources will NOT be persisted.",
2120 "type": "boolean"
2121 }
2122 },
2123 "type": "object"
2124 },
2125 "AuthenticationRule": {
2126 "description": "Authentication rules for the service.\n\nBy default, if a method has any authentication requirements, every request\nmust include a valid credential matching one of the requirements.\nIt's an error to include mor e than one kind of credential in a single\nrequest.\n\nIf a method doesn't have any auth requirements, request credentials will be\nignored.",
2127 "id": "AuthenticationRule",
2128 "properties": {
2129 "oauth": {
2130 "$ref": "OAuthRequirements",
2131 "description": "The requirements for OAuth credentials."
2132 },
2133 "allowWithoutCredential": {
2134 "description": "Whether to allow requests without a credenti al. The credential can be\nan OAuth token, Google cookies (first-party auth) or EndUserCreds.\n\nFor requests without credentials, if the service control enviro nment is\nspecified, each incoming request **must** be associated with a service \nconsumer. This can be done by passing an API key that belongs to a consumer\np roject.",
2135 "type": "boolean"
2136 },
2137 "requirements": {
2138 "description": "Requirements for additional authentication p roviders.",
2139 "items": {
2140 "$ref": "AuthRequirement"
2141 },
2142 "type": "array"
2143 },
2144 "selector": {
2145 "description": "Selects the methods to which this rule appli es.\n\nRefer to selector for syntax details.",
2146 "type": "string"
2147 }
2148 },
2149 "type": "object"
2150 },
2151 "Logging": {
2152 "description": "Logging configuration of the service.\n\nThe followi ng example shows how to configure logs to be sent to the\nproducer and consumer projects. In the example, the `activity_history`\nlog is sent to both the produc er and consumer projects, whereas the\n`purchase_history` log is only sent to th e producer project.\n\n monitored_resources:\n - type: library.googleapis. com/branch\n labels:\n - key: /city\n description: The city whe re the library branch is located in.\n - key: /name\n description: T he name of the branch.\n logs:\n - name: activity_history\n labels:\n - key: /customer_id\n - name: purchase_history\n logging:\n pro ducer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history\n - purchase_history\n con sumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history",
2153 "id": "Logging",
2154 "properties": {
2155 "producerDestinations": {
2156 "description": "Logging configurations for sending logs to t he producer project.\nThere can be multiple producer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none pr oducer destination.",
2157 "items": {
2158 "$ref": "LoggingDestination"
2159 },
2160 "type": "array"
2161 },
2162 "consumerDestinations": {
2163 "description": "Logging configurations for sending logs to t he consumer project.\nThere can be multiple consumer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none co nsumer destination.",
2164 "items": {
2165 "$ref": "LoggingDestination"
2166 },
2167 "type": "array"
2168 } 1986 }
2169 }, 1987 },
2170 "type": "object" 1988 "type": "object"
2171 }, 1989 },
2172 "SystemParameter": { 1990 "SystemParameter": {
2173 "description": "Define a parameter's name and location. The paramete r may be passed as either\nan HTTP header or a URL query parameter, and if both are passed the behavior\nis implementation-dependent.", 1991 "description": "Define a parameter's name and location. The paramete r may be passed as either\nan HTTP header or a URL query parameter, and if both are passed the behavior\nis implementation-dependent.",
2174 "id": "SystemParameter", 1992 "id": "SystemParameter",
2175 "properties": { 1993 "properties": {
2176 "urlQueryParameter": { 1994 "urlQueryParameter": {
2177 "description": "Define the URL query parameter name to use f or the parameter. It is case\nsensitive.", 1995 "description": "Define the URL query parameter name to use f or the parameter. It is case\nsensitive.",
2178 "type": "string" 1996 "type": "string"
2179 }, 1997 },
1998 "httpHeader": {
1999 "description": "Define the HTTP header name to use for the p arameter. It is case\ninsensitive.",
2000 "type": "string"
2001 },
2180 "name": { 2002 "name": {
2181 "description": "Define the name of the parameter, such as \" api_key\" . It is case sensitive.", 2003 "description": "Define the name of the parameter, such as \" api_key\" . It is case sensitive.",
2182 "type": "string" 2004 "type": "string"
2183 }, 2005 }
2184 "httpHeader": { 2006 },
2185 "description": "Define the HTTP header name to use for the p arameter. It is case\ninsensitive.", 2007 "type": "object"
2186 "type": "string" 2008 },
2009 "Monitoring": {
2010 "description": "Monitoring configuration of the service.\n\nThe exam ple below shows how to configure monitored resources and metrics\nfor monitoring . In the example, a monitored resource and two metrics are\ndefined. The `librar y.googleapis.com/book/returned_count` metric is sent\nto both producer and consu mer projects, whereas the\n`library.googleapis.com/book/overdue_count` metric is only sent to the\nconsumer project.\n\n monitored_resources:\n - type: li brary.googleapis.com/branch\n labels:\n - key: /city\n descript ion: The city where the library branch is located in.\n - key: /name\n description: The name of the branch.\n metrics:\n - name: library.googl eapis.com/book/returned_count\n metric_kind: DELTA\n value_type: INT64 \n labels:\n - key: /customer_id\n - name: library.googleapis.com/b ook/overdue_count\n metric_kind: GAUGE\n value_type: INT64\n labe ls:\n - key: /customer_id\n monitoring:\n producer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n consumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n - library.googleapis. com/book/overdue_count",
2011 "id": "Monitoring",
2012 "properties": {
2013 "consumerDestinations": {
2014 "description": "Monitoring configurations for sending metric s to the consumer project.\nThere can be multiple consumer destinations, each on e must have a\ndifferent monitored resource type. A metric can be used in at mos t\none consumer destination.",
2015 "items": {
2016 "$ref": "MonitoringDestination"
2017 },
2018 "type": "array"
2019 },
2020 "producerDestinations": {
2021 "description": "Monitoring configurations for sending metric s to the producer project.\nThere can be multiple producer destinations, each on e must have a\ndifferent monitored resource type. A metric can be used in at mos t\none producer destination.",
2022 "items": {
2023 "$ref": "MonitoringDestination"
2024 },
2025 "type": "array"
2026 }
2027 },
2028 "type": "object"
2029 },
2030 "Field": {
2031 "description": "A single field of a message type.",
2032 "id": "Field",
2033 "properties": {
2034 "typeUrl": {
2035 "description": "The field type URL, without the scheme, for message or enumeration\ntypes. Example: `\"type.googleapis.com/google.protobuf.T imestamp\"`.",
2036 "type": "string"
2037 },
2038 "number": {
2039 "description": "The field number.",
2040 "format": "int32",
2041 "type": "integer"
2042 },
2043 "kind": {
2044 "description": "The field type.",
2045 "enum": [
2046 "TYPE_UNKNOWN",
2047 "TYPE_DOUBLE",
2048 "TYPE_FLOAT",
2049 "TYPE_INT64",
2050 "TYPE_UINT64",
2051 "TYPE_INT32",
2052 "TYPE_FIXED64",
2053 "TYPE_FIXED32",
2054 "TYPE_BOOL",
2055 "TYPE_STRING",
2056 "TYPE_GROUP",
2057 "TYPE_MESSAGE",
2058 "TYPE_BYTES",
2059 "TYPE_UINT32",
2060 "TYPE_ENUM",
2061 "TYPE_SFIXED32",
2062 "TYPE_SFIXED64",
2063 "TYPE_SINT32",
2064 "TYPE_SINT64"
2065 ],
2066 "enumDescriptions": [
2067 "Field type unknown.",
2068 "Field type double.",
2069 "Field type float.",
2070 "Field type int64.",
2071 "Field type uint64.",
2072 "Field type int32.",
2073 "Field type fixed64.",
2074 "Field type fixed32.",
2075 "Field type bool.",
2076 "Field type string.",
2077 "Field type group. Proto2 syntax only, and deprecated.",
2078 "Field type message.",
2079 "Field type bytes.",
2080 "Field type uint32.",
2081 "Field type enum.",
2082 "Field type sfixed32.",
2083 "Field type sfixed64.",
2084 "Field type sint32.",
2085 "Field type sint64."
2086 ],
2087 "type": "string"
2088 },
2089 "jsonName": {
2090 "description": "The field JSON name.",
2091 "type": "string"
2092 },
2093 "options": {
2094 "description": "The protocol buffer options.",
2095 "items": {
2096 "$ref": "Option"
2097 },
2098 "type": "array"
2099 },
2100 "oneofIndex": {
2101 "description": "The index of the field type in `Type.oneofs` , for message or enumeration\ntypes. The first type has index 1; zero means the type is not in the list.",
2102 "format": "int32",
2103 "type": "integer"
2104 },
2105 "packed": {
2106 "description": "Whether to use alternative packed wire repre sentation.",
2107 "type": "boolean"
2108 },
2109 "cardinality": {
2110 "description": "The field cardinality.",
2111 "enum": [
2112 "CARDINALITY_UNKNOWN",
2113 "CARDINALITY_OPTIONAL",
2114 "CARDINALITY_REQUIRED",
2115 "CARDINALITY_REPEATED"
2116 ],
2117 "enumDescriptions": [
2118 "For fields with unknown cardinality.",
2119 "For optional fields.",
2120 "For required fields. Proto2 syntax only.",
2121 "For repeated fields."
2122 ],
2123 "type": "string"
2124 },
2125 "defaultValue": {
2126 "description": "The string value of the default value of thi s field. Proto2 syntax only.",
2127 "type": "string"
2128 },
2129 "name": {
2130 "description": "The field name.",
2131 "type": "string"
2132 }
2133 },
2134 "type": "object"
2135 },
2136 "TestIamPermissionsRequest": {
2137 "description": "Request message for `TestIamPermissions` method.",
2138 "id": "TestIamPermissionsRequest",
2139 "properties": {
2140 "permissions": {
2141 "description": "The set of permissions to check for the `res ource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed . For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/ov erview#permissions).",
2142 "items": {
2143 "type": "string"
2144 },
2145 "type": "array"
2187 } 2146 }
2188 }, 2147 },
2189 "type": "object" 2148 "type": "object"
2190 }, 2149 },
2191 "Enum": { 2150 "Enum": {
2192 "description": "Enum type definition.", 2151 "description": "Enum type definition.",
2193 "id": "Enum", 2152 "id": "Enum",
2194 "properties": { 2153 "properties": {
2154 "sourceContext": {
2155 "$ref": "SourceContext",
2156 "description": "The source context."
2157 },
2195 "syntax": { 2158 "syntax": {
2196 "description": "The source syntax.", 2159 "description": "The source syntax.",
2197 "enum": [ 2160 "enum": [
2198 "SYNTAX_PROTO2", 2161 "SYNTAX_PROTO2",
2199 "SYNTAX_PROTO3" 2162 "SYNTAX_PROTO3"
2200 ], 2163 ],
2201 "enumDescriptions": [ 2164 "enumDescriptions": [
2202 "Syntax `proto2`.", 2165 "Syntax `proto2`.",
2203 "Syntax `proto3`." 2166 "Syntax `proto3`."
2204 ], 2167 ],
2205 "type": "string" 2168 "type": "string"
2206 }, 2169 },
2170 "name": {
2171 "description": "Enum type name.",
2172 "type": "string"
2173 },
2207 "enumvalue": { 2174 "enumvalue": {
2208 "description": "Enum value definitions.", 2175 "description": "Enum value definitions.",
2209 "items": { 2176 "items": {
2210 "$ref": "EnumValue" 2177 "$ref": "EnumValue"
2211 }, 2178 },
2212 "type": "array" 2179 "type": "array"
2213 }, 2180 },
2214 "options": { 2181 "options": {
2215 "description": "Protocol buffer options.", 2182 "description": "Protocol buffer options.",
2216 "items": { 2183 "items": {
2217 "$ref": "Option" 2184 "$ref": "Option"
2218 }, 2185 },
2219 "type": "array" 2186 "type": "array"
2187 }
2188 },
2189 "type": "object"
2190 },
2191 "LabelDescriptor": {
2192 "description": "A description of a label.",
2193 "id": "LabelDescriptor",
2194 "properties": {
2195 "key": {
2196 "description": "The label key.",
2197 "type": "string"
2220 }, 2198 },
2221 "sourceContext": { 2199 "description": {
2222 "$ref": "SourceContext", 2200 "description": "A human-readable description for the label." ,
2223 "description": "The source context." 2201 "type": "string"
2224 }, 2202 },
2225 "name": { 2203 "valueType": {
2226 "description": "Enum type name.", 2204 "description": "The type of data that can be assigned to the label.",
2205 "enum": [
2206 "STRING",
2207 "BOOL",
2208 "INT64"
2209 ],
2210 "enumDescriptions": [
2211 "A variable-length string. This is the default.",
2212 "Boolean; true or false.",
2213 "A 64-bit signed integer."
2214 ],
2215 "type": "string"
2216 }
2217 },
2218 "type": "object"
2219 },
2220 "Diagnostic": {
2221 "description": "Represents a diagnostic message (error or warning)",
2222 "id": "Diagnostic",
2223 "properties": {
2224 "kind": {
2225 "description": "The kind of diagnostic information provided. ",
2226 "enum": [
2227 "WARNING",
2228 "ERROR"
2229 ],
2230 "enumDescriptions": [
2231 "Warnings and errors",
2232 "Only errors"
2233 ],
2234 "type": "string"
2235 },
2236 "message": {
2237 "description": "Message describing the error or warning.",
2238 "type": "string"
2239 },
2240 "location": {
2241 "description": "File name and line number of the error or wa rning.",
2242 "type": "string"
2243 }
2244 },
2245 "type": "object"
2246 },
2247 "EnableServiceRequest": {
2248 "description": "Request message for EnableService method.",
2249 "id": "EnableServiceRequest",
2250 "properties": {
2251 "consumerId": {
2252 "description": "The identity of consumer resource which serv ice enablement will be\napplied to.\n\nThe Google Service Management implementat ion accepts the following\nforms:\n- \"project:<project_id>\"\n\nNote: this is m ade compatible with\ngoogle.api.servicecontrol.v1.Operation.consumer_id.",
2227 "type": "string" 2253 "type": "string"
2228 } 2254 }
2229 }, 2255 },
2230 "type": "object" 2256 "type": "object"
2231 }, 2257 },
2232 "GenerateConfigReportResponse": { 2258 "GenerateConfigReportResponse": {
2233 "description": "Response message for GenerateConfigReport method.", 2259 "description": "Response message for GenerateConfigReport method.",
2234 "id": "GenerateConfigReportResponse", 2260 "id": "GenerateConfigReportResponse",
2235 "properties": { 2261 "properties": {
2236 "serviceName": { 2262 "serviceName": {
2237 "description": "Name of the service this report belongs to." , 2263 "description": "Name of the service this report belongs to." ,
2238 "type": "string" 2264 "type": "string"
2239 }, 2265 },
2240 "id": {
2241 "description": "ID of the service configuration this report belongs to.",
2242 "type": "string"
2243 },
2244 "changeReports": { 2266 "changeReports": {
2245 "description": "list of ChangeReport, each corresponding to comparison between two\nservice configurations.", 2267 "description": "list of ChangeReport, each corresponding to comparison between two\nservice configurations.",
2246 "items": { 2268 "items": {
2247 "$ref": "ChangeReport" 2269 "$ref": "ChangeReport"
2248 }, 2270 },
2249 "type": "array" 2271 "type": "array"
2250 }, 2272 },
2273 "id": {
2274 "description": "ID of the service configuration this report belongs to.",
2275 "type": "string"
2276 },
2251 "diagnostics": { 2277 "diagnostics": {
2252 "description": "Errors / Linter warnings associated with the service definition this\nreport\nbelongs to.", 2278 "description": "Errors / Linter warnings associated with the service definition this\nreport\nbelongs to.",
2253 "items": { 2279 "items": {
2254 "$ref": "Diagnostic" 2280 "$ref": "Diagnostic"
2255 }, 2281 },
2256 "type": "array" 2282 "type": "array"
2257 } 2283 }
2258 }, 2284 },
2259 "type": "object" 2285 "type": "object"
2260 }, 2286 },
2261 "DeleteServiceStrategy": { 2287 "Type": {
2262 "description": "Strategy used to delete a service. This strategy is a placeholder only\nused by the system generated rollout to delete a service.", 2288 "description": "A protocol buffer message type.",
2263 "id": "DeleteServiceStrategy", 2289 "id": "Type",
2264 "properties": {},
2265 "type": "object"
2266 },
2267 "OperationMetadata": {
2268 "description": "The metadata associated with a long running operatio n resource.",
2269 "id": "OperationMetadata",
2270 "properties": { 2290 "properties": {
2271 "steps": { 2291 "syntax": {
2272 "description": "Detailed status information for each step. T he order is undetermined.", 2292 "description": "The source syntax.",
2273 "items": { 2293 "enum": [
2274 "$ref": "Step" 2294 "SYNTAX_PROTO2",
2275 }, 2295 "SYNTAX_PROTO3"
2276 "type": "array" 2296 ],
2277 }, 2297 "enumDescriptions": [
2278 "startTime": { 2298 "Syntax `proto2`.",
2279 "description": "The start time of the operation.", 2299 "Syntax `proto3`."
2280 "format": "google-datetime", 2300 ],
2281 "type": "string" 2301 "type": "string"
2282 }, 2302 },
2283 "resourceNames": { 2303 "sourceContext": {
2284 "description": "The full name of the resources that this ope ration is directly\nassociated with.", 2304 "$ref": "SourceContext",
2285 "items": { 2305 "description": "The source context."
2286 "type": "string"
2287 },
2288 "type": "array"
2289 },
2290 "progressPercentage": {
2291 "description": "Percentage of completion of this operation, ranging from 0 to 100.",
2292 "format": "int32",
2293 "type": "integer"
2294 }
2295 },
2296 "type": "object"
2297 },
2298 "DisableServiceRequest": {
2299 "description": "Request message for DisableService method.",
2300 "id": "DisableServiceRequest",
2301 "properties": {
2302 "consumerId": {
2303 "description": "The identity of consumer resource which serv ice disablement will be\napplied to.\n\nThe Google Service Management implementa tion accepts the following\nforms:\n- \"project:<project_id>\"\n\nNote: this is made compatible with\ngoogle.api.servicecontrol.v1.Operation.consumer_id.",
2304 "type": "string"
2305 }
2306 },
2307 "type": "object"
2308 },
2309 "CustomHttpPattern": {
2310 "description": "A custom pattern is used for defining custom HTTP ve rb.",
2311 "id": "CustomHttpPattern",
2312 "properties": {
2313 "path": {
2314 "description": "The path matched by this custom verb.",
2315 "type": "string"
2316 },
2317 "kind": {
2318 "description": "The name of this custom HTTP verb.",
2319 "type": "string"
2320 }
2321 },
2322 "type": "object"
2323 },
2324 "LogDescriptor": {
2325 "description": "A description of a log type. Example in YAML format: \n\n - name: library.googleapis.com/activity_history\n description: The history of borrowing and returning library items.\n display_name: Activity\ n labels:\n - key: /customer_id\n description: Identifier of a library customer",
2326 "id": "LogDescriptor",
2327 "properties": {
2328 "labels": {
2329 "description": "The set of labels that are available to desc ribe a specific log entry.\nRuntime requests that contain labels not specified h ere are\nconsidered invalid.",
2330 "items": {
2331 "$ref": "LabelDescriptor"
2332 },
2333 "type": "array"
2334 },
2335 "description": {
2336 "description": "A human-readable description of this log. Th is information appears in\nthe documentation and can contain details.",
2337 "type": "string"
2338 },
2339 "displayName": {
2340 "description": "The human-readable name for this log. This i nformation appears on\nthe user interface and should be concise.",
2341 "type": "string"
2342 },
2343 "name": {
2344 "description": "The name of the log. It must be less than 51 2 characters long and can\ninclude the following characters: upper- and lower-ca se alphanumeric\ncharacters [A-Za-z0-9], and punctuation characters including\ns lash, underscore, hyphen, period [/_-.].",
2345 "type": "string"
2346 }
2347 },
2348 "type": "object"
2349 },
2350 "MonitoringDestination": {
2351 "description": "Configuration of a specific monitoring destination ( the producer project\nor the consumer project).",
2352 "id": "MonitoringDestination",
2353 "properties": {
2354 "monitoredResource": {
2355 "description": "The monitored resource type. The type must b e defined in\nService.monitored_resources section.",
2356 "type": "string"
2357 },
2358 "metrics": {
2359 "description": "Names of the metrics to report to this monit oring destination.\nEach name must be defined in Service.metrics section.",
2360 "items": {
2361 "type": "string"
2362 },
2363 "type": "array"
2364 }
2365 },
2366 "type": "object"
2367 },
2368 "Field": {
2369 "description": "A single field of a message type.",
2370 "id": "Field",
2371 "properties": {
2372 "defaultValue": {
2373 "description": "The string value of the default value of thi s field. Proto2 syntax only.",
2374 "type": "string"
2375 },
2376 "jsonName": {
2377 "description": "The field JSON name.",
2378 "type": "string"
2379 }, 2306 },
2380 "options": { 2307 "options": {
2381 "description": "The protocol buffer options.", 2308 "description": "The protocol buffer options.",
2382 "items": { 2309 "items": {
2383 "$ref": "Option" 2310 "$ref": "Option"
2384 }, 2311 },
2385 "type": "array" 2312 "type": "array"
2386 }, 2313 },
2387 "oneofIndex": { 2314 "fields": {
2388 "description": "The index of the field type in `Type.oneofs` , for message or enumeration\ntypes. The first type has index 1; zero means the type is not in the list.", 2315 "description": "The list of fields.",
2389 "format": "int32", 2316 "items": {
2390 "type": "integer" 2317 "$ref": "Field"
2318 },
2319 "type": "array"
2391 }, 2320 },
2392 "cardinality": { 2321 "name": {
2393 "description": "The field cardinality.", 2322 "description": "The fully qualified message name.",
2394 "enum": [
2395 "CARDINALITY_UNKNOWN",
2396 "CARDINALITY_OPTIONAL",
2397 "CARDINALITY_REQUIRED",
2398 "CARDINALITY_REPEATED"
2399 ],
2400 "enumDescriptions": [
2401 "For fields with unknown cardinality.",
2402 "For optional fields.",
2403 "For required fields. Proto2 syntax only.",
2404 "For repeated fields."
2405 ],
2406 "type": "string" 2323 "type": "string"
2407 }, 2324 },
2408 "typeUrl": { 2325 "oneofs": {
2409 "description": "The field type URL, without the scheme, for message or enumeration\ntypes. Example: `\"type.googleapis.com/google.protobuf.T imestamp\"`.", 2326 "description": "The list of types appearing in `oneof` defin itions in this type.",
2327 "items": {
2328 "type": "string"
2329 },
2330 "type": "array"
2331 }
2332 },
2333 "type": "object"
2334 },
2335 "ListServiceConfigsResponse": {
2336 "description": "Response message for ListServiceConfigs method.",
2337 "id": "ListServiceConfigsResponse",
2338 "properties": {
2339 "nextPageToken": {
2340 "description": "The token of the next page of results.",
2410 "type": "string" 2341 "type": "string"
2411 }, 2342 },
2412 "name": { 2343 "serviceConfigs": {
2413 "description": "The field name.", 2344 "description": "The list of service configuration resources. ",
2345 "items": {
2346 "$ref": "Service"
2347 },
2348 "type": "array"
2349 }
2350 },
2351 "type": "object"
2352 },
2353 "Backend": {
2354 "description": "`Backend` defines the backend configuration for a se rvice.",
2355 "id": "Backend",
2356 "properties": {
2357 "rules": {
2358 "description": "A list of API backend rules that apply to in dividual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
2359 "items": {
2360 "$ref": "BackendRule"
2361 },
2362 "type": "array"
2363 }
2364 },
2365 "type": "object"
2366 },
2367 "AuditConfig": {
2368 "description": "Specifies the audit configuration for a service.\nIt consists of which permission types are logged, and what identities, if\nany, ar e exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs." ,
2369 "id": "AuditConfig",
2370 "properties": {
2371 "service": {
2372 "description": "Specifies a service that will be enabled for audit logging.\nFor example, `resourcemanager`, `storage`, `compute`.\n`allServ ices` is a special value that covers all services.",
2414 "type": "string" 2373 "type": "string"
2415 }, 2374 },
2416 "packed": { 2375 "auditLogConfigs": {
2417 "description": "Whether to use alternative packed wire repre sentation.", 2376 "description": "The configuration for logging of each type o f permission.\nNext ID: 4",
2377 "items": {
2378 "$ref": "AuditLogConfig"
2379 },
2380 "type": "array"
2381 },
2382 "exemptedMembers": {
2383 "description": "Specifies the identities that are exempted f rom \"data access\" audit\nlogging for the `service` specified above.\nFollows t he same format of Binding.members.\nThis field is deprecated in favor of per-per mission-type exemptions.",
2384 "items": {
2385 "type": "string"
2386 },
2387 "type": "array"
2388 }
2389 },
2390 "type": "object"
2391 },
2392 "SubmitConfigSourceRequest": {
2393 "description": "Request message for SubmitConfigSource method.",
2394 "id": "SubmitConfigSourceRequest",
2395 "properties": {
2396 "validateOnly": {
2397 "description": "Optional. If set, this will result in the ge neration of a\n`google.api.Service` configuration based on the `ConfigSource` pr ovided,\nbut the generated config and the sources will NOT be persisted.",
2418 "type": "boolean" 2398 "type": "boolean"
2419 }, 2399 },
2420 "number": { 2400 "configSource": {
2421 "description": "The field number.", 2401 "$ref": "ConfigSource",
2422 "format": "int32", 2402 "description": "The source configuration for the service."
2423 "type": "integer" 2403 }
2404 },
2405 "type": "object"
2406 },
2407 "DocumentationRule": {
2408 "description": "A documentation rule provides information about indi vidual API elements.",
2409 "id": "DocumentationRule",
2410 "properties": {
2411 "description": {
2412 "description": "Description of the selected API(s).",
2413 "type": "string"
2424 }, 2414 },
2425 "kind": { 2415 "deprecationDescription": {
2426 "description": "The field type.", 2416 "description": "Deprecation description of the selected elem ent(s). It can be provided if an\nelement is marked as `deprecated`.",
2427 "enum": [ 2417 "type": "string"
2428 "TYPE_UNKNOWN", 2418 },
2429 "TYPE_DOUBLE", 2419 "selector": {
2430 "TYPE_FLOAT", 2420 "description": "The selector is a comma-separated list of pa tterns. Each pattern is a\nqualified name of the element which may end in \"*\", indicating a wildcard.\nWildcards are only allowed at the end and for a whole c omponent of the\nqualified name, i.e. \"foo.*\" is ok, but not \"foo.b*\" or \"f oo.*.bar\". To\nspecify a default for all applicable elements, the whole pattern \"*\"\nis used.",
2431 "TYPE_INT64",
2432 "TYPE_UINT64",
2433 "TYPE_INT32",
2434 "TYPE_FIXED64",
2435 "TYPE_FIXED32",
2436 "TYPE_BOOL",
2437 "TYPE_STRING",
2438 "TYPE_GROUP",
2439 "TYPE_MESSAGE",
2440 "TYPE_BYTES",
2441 "TYPE_UINT32",
2442 "TYPE_ENUM",
2443 "TYPE_SFIXED32",
2444 "TYPE_SFIXED64",
2445 "TYPE_SINT32",
2446 "TYPE_SINT64"
2447 ],
2448 "enumDescriptions": [
2449 "Field type unknown.",
2450 "Field type double.",
2451 "Field type float.",
2452 "Field type int64.",
2453 "Field type uint64.",
2454 "Field type int32.",
2455 "Field type fixed64.",
2456 "Field type fixed32.",
2457 "Field type bool.",
2458 "Field type string.",
2459 "Field type group. Proto2 syntax only, and deprecated.",
2460 "Field type message.",
2461 "Field type bytes.",
2462 "Field type uint32.",
2463 "Field type enum.",
2464 "Field type sfixed32.",
2465 "Field type sfixed64.",
2466 "Field type sint32.",
2467 "Field type sint64."
2468 ],
2469 "type": "string" 2421 "type": "string"
2470 } 2422 }
2471 }, 2423 },
2472 "type": "object" 2424 "type": "object"
2473 }, 2425 },
2474 "Binding": { 2426 "CloudAuditOptions": {
2475 "description": "Associates `members` with a `role`.", 2427 "description": "Write a Cloud Audit log",
2476 "id": "Binding", 2428 "id": "CloudAuditOptions",
2429 "properties": {},
2430 "type": "object"
2431 },
2432 "ContextRule": {
2433 "description": "A context rule provides information about the contex t for an individual API\nelement.",
2434 "id": "ContextRule",
2477 "properties": { 2435 "properties": {
2478 "members": { 2436 "selector": {
2479 "description": "Specifies the identities requesting access f or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al lUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident ifier 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 spec ific 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:{e mailid}`: An email address that represents a Google group.\n For example, `adm ins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represe nts all the\n users of that domain. For example, `google.com` or `example.com` .\n\n", 2437 "description": "Selects the methods to which this rule appli es.\n\nRefer to selector for syntax details.",
2438 "type": "string"
2439 },
2440 "provided": {
2441 "description": "A list of full type names of provided contex ts.",
2480 "items": { 2442 "items": {
2481 "type": "string" 2443 "type": "string"
2482 }, 2444 },
2483 "type": "array" 2445 "type": "array"
2484 }, 2446 },
2485 "role": { 2447 "requested": {
2486 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", 2448 "description": "A list of full type names of requested conte xts.",
2487 "type": "string"
2488 }
2489 },
2490 "type": "object"
2491 },
2492 "ConfigRef": {
2493 "description": "Represents a service configuration with its name and id.",
2494 "id": "ConfigRef",
2495 "properties": {
2496 "name": {
2497 "description": "Resource name of a service config. It must h ave the following\nformat: \"services/{service name}/configs/{config id}\".",
2498 "type": "string"
2499 }
2500 },
2501 "type": "object"
2502 },
2503 "DataAccessOptions": {
2504 "description": "Write a Data Access (Gin) log",
2505 "id": "DataAccessOptions",
2506 "properties": {},
2507 "type": "object"
2508 },
2509 "AuthProvider": {
2510 "description": "Configuration for an anthentication provider, includ ing support for\n[JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-o auth-json-web-token-32).",
2511 "id": "AuthProvider",
2512 "properties": {
2513 "audiences": {
2514 "description": "The list of JWT\n[audiences](https://tools.i etf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).\nthat are allowe d to access. A JWT containing any of these audiences will\nbe accepted. When thi s setting is absent, only JWTs with audience\n\"https://Service_name/API_name\"\ nwill be accepted. For example, if no audiences are in the setting,\nLibraryServ ice API will only accept JWTs with the following audience\n\"https://library-exa mple.googleapis.com/google.example.library.v1.LibraryService\".\n\nExample:\n\n audiences: bookstore_android.apps.googleusercontent.com,\n book store_web.apps.googleusercontent.com",
2515 "type": "string"
2516 },
2517 "jwksUri": {
2518 "description": "URL of the provider's public key set to vali date signature of the JWT. See\n[OpenID Discovery](https://openid.net/specs/open id-connect-discovery-1_0.html#ProviderMetadata).\nOptional if the key set docume nt:\n - can be retrieved from\n [OpenID Discovery](https://openid.net/specs/op enid-connect-discovery-1_0.html\n of the issuer.\n - can be inferred from the email domain of the issuer (e.g. a Google service account).\n\nExample: https:// www.googleapis.com/oauth2/v1/certs",
2519 "type": "string"
2520 },
2521 "id": {
2522 "description": "The unique identifier of the auth provider. It will be referred to by\n`AuthRequirement.provider_id`.\n\nExample: \"bookstor e_auth\".",
2523 "type": "string"
2524 },
2525 "issuer": {
2526 "description": "Identifies the principal that issued the JWT . See\nhttps://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4. 1.1\nUsually a URL or an email address.\n\nExample: https://securetoken.google.c om\nExample: 1234567-compute@developer.gserviceaccount.com",
2527 "type": "string"
2528 }
2529 },
2530 "type": "object"
2531 },
2532 "VisibilityRule": {
2533 "description": "A visibility rule provides visibility configuration for an individual API\nelement.",
2534 "id": "VisibilityRule",
2535 "properties": {
2536 "restriction": {
2537 "description": "A comma-separated list of visibility labels that apply to the `selector`.\nAny of the listed labels can be used to grant the visibility.\n\nIf a rule has multiple labels, removing one of the labels but no t all of\nthem can break clients.\n\nExample:\n\n visibility:\n rules:\n - selector: google.calendar.Calendar.EnhancedSearch\n restriction: GOOGLE_INTERNAL, TRUSTED_TESTER\n\nRemoving GOOGLE_INTERNAL from this restrictio n will break clients that\nrely on this method and only had access to it through GOOGLE_INTERNAL.",
2538 "type": "string"
2539 },
2540 "selector": {
2541 "description": "Selects methods, messages, fields, enums, et c. to which this rule applies.\n\nRefer to selector for syntax details.",
2542 "type": "string"
2543 }
2544 },
2545 "type": "object"
2546 },
2547 "AuditLogConfig": {
2548 "description": "Provides the configuration for a sub-type of logging .",
2549 "id": "AuditLogConfig",
2550 "properties": {
2551 "logType": {
2552 "description": "The log type that this config enables.",
2553 "enum": [
2554 "LOG_TYPE_UNSPECIFIED",
2555 "ADMIN_READ",
2556 "DATA_WRITE",
2557 "DATA_READ"
2558 ],
2559 "enumDescriptions": [
2560 "Default case. Should never be this.",
2561 "Log admin reads",
2562 "Log data writes",
2563 "Log data reads"
2564 ],
2565 "type": "string"
2566 },
2567 "exemptedMembers": {
2568 "description": "Specifies the identities that are exempted f rom this type of logging\nFollows the same format of Binding.members.",
2569 "items": { 2449 "items": {
2570 "type": "string" 2450 "type": "string"
2571 }, 2451 },
2572 "type": "array" 2452 "type": "array"
2573 } 2453 }
2574 }, 2454 },
2575 "type": "object" 2455 "type": "object"
2576 }, 2456 },
2577 "UndeleteServiceResponse": { 2457 "SourceContext": {
2578 "description": "Response message for UndeleteService method.", 2458 "description": "`SourceContext` represents information about the sou rce of a\nprotobuf element, like the file in which it is defined.",
2579 "id": "UndeleteServiceResponse", 2459 "id": "SourceContext",
2580 "properties": { 2460 "properties": {
2581 "service": { 2461 "fileName": {
2582 "$ref": "ManagedService", 2462 "description": "The path-qualified name of the .proto file t hat contained the associated\nprotobuf element. For example: `\"google/protobuf /source_context.proto\"`.",
2583 "description": "Revived service resource."
2584 }
2585 },
2586 "type": "object"
2587 },
2588 "UsageRule": {
2589 "description": "Usage configuration rules for the service.\n\nNOTE: Under development.\n\n\nUse this rule to configure unregistered calls for the se rvice. Unregistered\ncalls are calls that do not contain consumer project identi ty.\n(Example: calls that do not contain an API key).\nBy default, API methods d o not allow unregistered calls, and each method call\nmust be identified by a co nsumer project identity. Use this rule to\nallow/disallow unregistered calls.\n\ nExample of an API that wants to allow unregistered calls for entire service.\n\ n usage:\n rules:\n - selector: \"*\"\n allow_unregistered_c alls: true\n\nExample of a method that wants to allow unregistered calls.\n\n usage:\n rules:\n - selector: \"google.example.library.v1.LibraryServ ice.CreateBook\"\n allow_unregistered_calls: true",
2590 "id": "UsageRule",
2591 "properties": {
2592 "allowUnregisteredCalls": {
2593 "description": "True, if the method allows unregistered call s; false otherwise.",
2594 "type": "boolean"
2595 },
2596 "selector": {
2597 "description": "Selects the methods to which this rule appli es. Use '*' to indicate all\nmethods in all APIs.\n\nRefer to selector for synta x details.",
2598 "type": "string" 2463 "type": "string"
2599 } 2464 }
2600 }, 2465 },
2601 "type": "object" 2466 "type": "object"
2602 }, 2467 },
2603 "EnumValue": { 2468 "MetricDescriptor": {
2604 "description": "Enum value definition.", 2469 "description": "Defines a metric type and its schema. Once a metric descriptor is created,\ndeleting or altering it stops data collection and makes the metric type's\nexisting data unusable.",
2605 "id": "EnumValue", 2470 "id": "MetricDescriptor",
2606 "properties": { 2471 "properties": {
2607 "options": { 2472 "valueType": {
2608 "description": "Protocol buffer options.", 2473 "description": "Whether the measurement is an integer, a flo ating-point number, etc.\nSome combinations of `metric_kind` and `value_type` mi ght not be supported.",
2474 "enum": [
2475 "VALUE_TYPE_UNSPECIFIED",
2476 "BOOL",
2477 "INT64",
2478 "DOUBLE",
2479 "STRING",
2480 "DISTRIBUTION",
2481 "MONEY"
2482 ],
2483 "enumDescriptions": [
2484 "Do not use this default value.",
2485 "The value is a boolean.\nThis value type can be used on ly if the metric kind is `GAUGE`.",
2486 "The value is a signed 64-bit integer.",
2487 "The value is a double precision floating point number." ,
2488 "The value is a text string.\nThis value type can be use d only if the metric kind is `GAUGE`.",
2489 "The value is a `Distribution`.",
2490 "The value is money."
2491 ],
2492 "type": "string"
2493 },
2494 "metricKind": {
2495 "description": "Whether the metric records instantaneous val ues, changes to a value, etc.\nSome combinations of `metric_kind` and `value_typ e` might not be supported.",
2496 "enum": [
2497 "METRIC_KIND_UNSPECIFIED",
2498 "GAUGE",
2499 "DELTA",
2500 "CUMULATIVE"
2501 ],
2502 "enumDescriptions": [
2503 "Do not use this default value.",
2504 "An instantaneous measurement of a value.",
2505 "The change in a value during a time interval.",
2506 "A value accumulated over a time interval. Cumulative\n measurements in a time series should have the same start time\nand increasing en d times, until an event resets the cumulative\nvalue to zero and sets a new star t time for the following\npoints."
2507 ],
2508 "type": "string"
2509 },
2510 "description": {
2511 "description": "A detailed description of the metric, which can be used in documentation.",
2512 "type": "string"
2513 },
2514 "displayName": {
2515 "description": "A concise name for the metric, which can be displayed in user interfaces.\nUse sentence case without an ending period, for e xample \"Request count\".",
2516 "type": "string"
2517 },
2518 "unit": {
2519 "description": "The unit in which the metric value is report ed. It is only applicable\nif the `value_type` is `INT64`, `DOUBLE`, or `DISTRIB UTION`. The\nsupported units are a subset of [The Unified Code for Units of\nMea sure](http://unitsofmeasure.org/ucum.html) standard:\n\n**Basic units (UNIT)**\n \n* `bit` bit\n* `By` byte\n* `s` second\n* `min` minute\n* `h` h our\n* `d` day\n\n**Prefixes (PREFIX)**\n\n* `k` kilo (10**3)\n* `M` mega (10**6)\n* `G` giga (10**9)\n* `T` tera (10**12)\n* `P ` peta (10**15)\n* `E` exa (10**18)\n* `Z` zetta (10**21)\n * `Y` yotta (10**24)\n* `m` milli (10**-3)\n* `u` micro (10**- 6)\n* `n` nano (10**-9)\n* `p` pico (10**-12)\n* `f` femto ( 10**-15)\n* `a` atto (10**-18)\n* `z` zepto (10**-21)\n* `y` yo cto (10**-24)\n* `Ki` kibi (2**10)\n* `Mi` mebi (2**20)\n* `Gi` gibi (2**30)\n* `Ti` tebi (2**40)\n\n**Grammar**\n\nThe grammar includ es the dimensionless unit `1`, such as `1/s`.\n\nThe grammar also includes these connectors:\n\n* `/` division (as an infix operator, e.g. `1/s`).\n* `.` multiplication (as an infix operator, e.g. `GBy.d`)\n\nThe grammar for a unit is as follows:\n\n Expression = Component { \".\" Component } { \"/\" Component } ;\n\n Component = [ PREFIX ] UNIT [ Annotation ]\n | Annotati on\n | \"1\"\n ;\n\n Annotation = \"{\" NAME \"}\" ;\n\nNotes:\n\n* `Annotation` is just a comment if it follows a `UNIT` and is\n equivalent to `1` if it is used alone. For examples,\n `{requests}/s == 1/s` , `By{transmitted}/s == By/s`.\n* `NAME` is a sequence of non-blank printable AS CII characters not\n containing '{' or '}'.",
2520 "type": "string"
2521 },
2522 "labels": {
2523 "description": "The set of labels that can be used to descri be a specific\ninstance of this metric type. For example, the\n`appengine.google apis.com/http/server/response_latencies` metric\ntype has a label for the HTTP r esponse code, `response_code`, so\nyou can look at latencies for successful resp onses or just\nfor responses that failed.",
2609 "items": { 2524 "items": {
2610 "$ref": "Option" 2525 "$ref": "LabelDescriptor"
2611 }, 2526 },
2612 "type": "array" 2527 "type": "array"
2613 }, 2528 },
2614 "name": { 2529 "name": {
2615 "description": "Enum value name.", 2530 "description": "The resource name of the metric descriptor. Depending on the\nimplementation, the name typically includes: (1) the parent re source name\nthat defines the scope of the metric type or of its data; and (2) t he\nmetric's URL-encoded type, which also appears in the `type` field of this\nd escriptor. For example, following is the resource name of a custom\nmetric withi n the GCP project `my-project-id`:\n\n \"projects/my-project-id/metricDescrip tors/custom.googleapis.com%2Finvoice%2Fpaid%2Famount\"",
2616 "type": "string" 2531 "type": "string"
2617 }, 2532 },
2618 "number": { 2533 "type": {
2619 "description": "Enum value number.", 2534 "description": "The metric type, including its DNS name pref ix. The type is not\nURL-encoded. All user-defined custom metric types have the DNS name\n`custom.googleapis.com`. Metric types should use a natural hierarchi cal\ngrouping. For example:\n\n \"custom.googleapis.com/invoice/paid/amount\" \n \"appengine.googleapis.com/http/server/response_latencies\"",
2620 "format": "int32", 2535 "type": "string"
2621 "type": "integer"
2622 } 2536 }
2623 }, 2537 },
2624 "type": "object" 2538 "type": "object"
2625 }, 2539 },
2626 "MediaUpload": { 2540 "ListServicesResponse": {
2627 "description": "Do not use this. For media support, add instead\n[][ google.bytestream.RestByteStream] as an API to your\nconfiguration.", 2541 "description": "Response message for `ListServices` method.",
2628 "id": "MediaUpload", 2542 "id": "ListServicesResponse",
2629 "properties": { 2543 "properties": {
2630 "enabled": { 2544 "services": {
2631 "description": "Whether upload is enabled.", 2545 "description": "The returned services will only have the nam e field set.",
2546 "items": {
2547 "$ref": "ManagedService"
2548 },
2549 "type": "array"
2550 },
2551 "nextPageToken": {
2552 "description": "Token that can be passed to `ListServices` t o resume a paginated query.",
2553 "type": "string"
2554 }
2555 },
2556 "type": "object"
2557 },
2558 "Endpoint": {
2559 "description": "`Endpoint` describes a network endpoint that serves a set of APIs.\nA service may expose any number of endpoints, and all endpoints share the\nsame service configuration, such as quota configuration and monitorin g\nconfiguration.\n\nExample service configuration:\n\n name: library-example .googleapis.com\n endpoints:\n # Below entry makes 'google.example.libra ry.v1.Library'\n # API be served from endpoint address library-example.goog leapis.com.\n # It also allows HTTP OPTIONS calls to be passed to the backe nd, for\n # it to decide whether the subsequent cross-origin request is\n # allowed to proceed.\n - name: library-example.googleapis.com\n all ow_cors: true",
2560 "id": "Endpoint",
2561 "properties": {
2562 "name": {
2563 "description": "The canonical name of this endpoint.",
2564 "type": "string"
2565 },
2566 "apis": {
2567 "description": "The list of APIs served by this endpoint.",
2568 "items": {
2569 "type": "string"
2570 },
2571 "type": "array"
2572 },
2573 "aliases": {
2574 "description": "DEPRECATED: This field is no longer supporte d. Instead of using aliases,\nplease specify multiple google.api.Endpoint for ea ch of the intented\nalias.\n\nAdditional names that this endpoint will be hosted on.",
2575 "items": {
2576 "type": "string"
2577 },
2578 "type": "array"
2579 },
2580 "features": {
2581 "description": "The list of features enabled on this endpoin t.",
2582 "items": {
2583 "type": "string"
2584 },
2585 "type": "array"
2586 },
2587 "allowCors": {
2588 "description": "Allowing\n[CORS](https://en.wikipedia.org/wi ki/Cross-origin_resource_sharing), aka\ncross-domain traffic, would allow the ba ckends served from this endpoint to\nreceive and respond to HTTP OPTIONS request s. The response will be used by\nthe browser to determine whether the subsequent cross-origin request is\nallowed to proceed.",
2632 "type": "boolean" 2589 "type": "boolean"
2633 } 2590 }
2634 }, 2591 },
2635 "type": "object" 2592 "type": "object"
2636 }, 2593 },
2637 "BackendRule": { 2594 "OAuthRequirements": {
2638 "description": "A backend rule provides configuration for an individ ual API element.", 2595 "description": "OAuth scopes are a way to define data and permission s on data. For example,\nthere are scopes defined for \"Read-only access to Goog le Calendar\" and\n\"Access to Cloud Platform\". Users can consent to a scope fo r an application,\ngiving it permission to access that data on their behalf.\n\n OAuth scope specifications should be fairly coarse grained; a user will need\nto see and understand the text description of what your scope means.\n\nIn most ca ses: use one or at most two OAuth scopes for an entire family of\nproducts. If y our product has multiple APIs, you should probably be sharing\nthe OAuth scope a cross all of those APIs.\n\nWhen you need finer grained OAuth consent screens: t alk with your product\nmanagement about how developers will use them in practice .\n\nPlease note that even though each of the canonical scopes is enough for a\n request to be accepted and passed to the backend, a request can still fail\ndue to the backend requiring additional scopes or permissions.",
2639 "id": "BackendRule", 2596 "id": "OAuthRequirements",
2640 "properties": { 2597 "properties": {
2641 "address": { 2598 "canonicalScopes": {
2642 "description": "The address of the API backend.", 2599 "description": "The list of publicly documented OAuth scopes that are allowed access. An\nOAuth token containing any of these scopes will be accepted.\n\nExample:\n\n canonical_scopes: https://www.googleapis.com/auth /calendar,\n https://www.googleapis.com/auth/calendar.read ",
2643 "type": "string"
2644 },
2645 "deadline": {
2646 "description": "The number of seconds to wait for a response from a request. The\ndefault depends on the deployment context.",
2647 "format": "double",
2648 "type": "number"
2649 },
2650 "selector": {
2651 "description": "Selects the methods to which this rule appli es.\n\nRefer to selector for syntax details.",
2652 "type": "string" 2600 "type": "string"
2653 } 2601 }
2654 }, 2602 },
2655 "type": "object" 2603 "type": "object"
2656 }, 2604 },
2657 "ContextRule": { 2605 "TestIamPermissionsResponse": {
2658 "description": "A context rule provides information about the contex t for an individual API\nelement.", 2606 "description": "Response message for `TestIamPermissions` method.",
2659 "id": "ContextRule", 2607 "id": "TestIamPermissionsResponse",
2660 "properties": { 2608 "properties": {
2661 "provided": { 2609 "permissions": {
2662 "description": "A list of full type names of provided contex ts.", 2610 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is\nallowed.",
2663 "items": { 2611 "items": {
2664 "type": "string" 2612 "type": "string"
2665 }, 2613 },
2666 "type": "array"
2667 },
2668 "selector": {
2669 "description": "Selects the methods to which this rule appli es.\n\nRefer to selector for syntax details.",
2670 "type": "string"
2671 },
2672 "requested": {
2673 "description": "A list of full type names of requested conte xts.",
2674 "items": {
2675 "type": "string"
2676 },
2677 "type": "array" 2614 "type": "array"
2678 } 2615 }
2679 }, 2616 },
2680 "type": "object" 2617 "type": "object"
2681 }, 2618 },
2682 "Http": { 2619 "GetIamPolicyRequest": {
2683 "description": "Defines the HTTP configuration for a service. It con tains a list of\nHttpRule, each specifying the mapping of an RPC method\nto one or more HTTP REST API methods.", 2620 "description": "Request message for `GetIamPolicy` method.",
2684 "id": "Http", 2621 "id": "GetIamPolicyRequest",
2685 "properties": { 2622 "properties": {},
2686 "rules": {
2687 "description": "A list of HTTP configuration rules that appl y to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
2688 "items": {
2689 "$ref": "HttpRule"
2690 },
2691 "type": "array"
2692 }
2693 },
2694 "type": "object"
2695 },
2696 "Visibility": {
2697 "description": "`Visibility` defines restrictions for the visibility of service\nelements. Restrictions are specified using visibility labels\n(e.g ., TRUSTED_TESTER) that are elsewhere linked to users and projects.\n\nUsers and projects can have access to more than one visibility label. The\neffective visi bility for multiple labels is the union of each label's\nelements, plus any unre stricted elements.\n\nIf an element and its parents have no restrictions, visibi lity is\nunconditionally granted.\n\nExample:\n\n visibility:\n rules:\n - selector: google.calendar.Calendar.EnhancedSearch\n restriction: TRUSTED_TESTER\n - selector: google.calendar.Calendar.Delegate\n res triction: GOOGLE_INTERNAL\n\nHere, all methods are publicly visible except for t he restricted methods\nEnhancedSearch and Delegate.",
2698 "id": "Visibility",
2699 "properties": {
2700 "rules": {
2701 "description": "A list of visibility rules that apply to ind ividual API elements.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
2702 "items": {
2703 "$ref": "VisibilityRule"
2704 },
2705 "type": "array"
2706 }
2707 },
2708 "type": "object"
2709 },
2710 "ConfigChange": {
2711 "description": "Output generated from semantically comparing two ver sions of a service\nconfiguration.\n\nIncludes detailed information about a fiel d that have changed with\napplicable advice about potential consequences for the change, such as\nbackwards-incompatibility.",
2712 "id": "ConfigChange",
2713 "properties": {
2714 "newValue": {
2715 "description": "Value of the changed object in the new Servi ce configuration,\nin JSON format. This field will not be populated if ChangeTyp e == REMOVED.",
2716 "type": "string"
2717 },
2718 "oldValue": {
2719 "description": "Value of the changed object in the old Servi ce configuration,\nin JSON format. This field will not be populated if ChangeTyp e == ADDED.",
2720 "type": "string"
2721 },
2722 "element": {
2723 "description": "Object hierarchy path to the change, with le vels separated by a '.'\ncharacter. For repeated fields, an applicable unique id entifier field is\nused for the index (usually selector, name, or id). For maps, the term\n'key' is used. If the field has no unique identifier, the numeric ind ex\nis used.\nExamples:\n- visibility.rules[selector==\"google.LibraryService.Cr eateBook\"].restriction\n- quota.metric_rules[selector==\"google\"].metric_costs [key==\"reads\"].value\n- logging.producer_destinations[0]",
2724 "type": "string"
2725 },
2726 "changeType": {
2727 "description": "The type for this change, either ADDED, REMO VED, or MODIFIED.",
2728 "enum": [
2729 "CHANGE_TYPE_UNSPECIFIED",
2730 "ADDED",
2731 "REMOVED",
2732 "MODIFIED"
2733 ],
2734 "enumDescriptions": [
2735 "No value was provided.",
2736 "The changed object exists in the 'new' service configur ation, but not\nin the 'old' service configuration.",
2737 "The changed object exists in the 'old' service configur ation, but not\nin the 'new' service configuration.",
2738 "The changed object exists in both service configuration s, but its value\nis different."
2739 ],
2740 "type": "string"
2741 },
2742 "advices": {
2743 "description": "Collection of advice provided for this chang e, useful for determining the\npossible impact of this change.",
2744 "items": {
2745 "$ref": "Advice"
2746 },
2747 "type": "array"
2748 }
2749 },
2750 "type": "object"
2751 },
2752 "SystemParameters": {
2753 "description": "### System parameter configuration\n\nA system param eter is a special kind of parameter defined by the API\nsystem, not by an indivi dual API. It is typically mapped to an HTTP header\nand/or a URL query parameter . This configuration specifies which methods\nchange the names of the system par ameters.",
2754 "id": "SystemParameters",
2755 "properties": {
2756 "rules": {
2757 "description": "Define system parameters.\n\nThe parameters defined here will override the default parameters\nimplemented by the system. If this field is missing from the service\nconfig, default system parameters will be used. Default system parameters\nand names is implementation-dependent.\n\nEx ample: define api key for all methods\n\n system_parameters\n rules:\n - selector: \"*\"\n parameters:\n - name: api_key\n url_query_parameter: api_key\n\n\nExample: define 2 api key names for a specific method.\n\n system_parameters\n rules:\n - selector: \"/ListShelves\"\n parameters:\n - name: api_key\n http_header: Api-Key1\n - name: api_key\n http_heade r: Api-Key2\n\n**NOTE:** All service configuration rules follow \"last one wins\ " order.",
2758 "items": {
2759 "$ref": "SystemParameterRule"
2760 },
2761 "type": "array"
2762 }
2763 },
2764 "type": "object"
2765 },
2766 "LabelDescriptor": {
2767 "description": "A description of a label.",
2768 "id": "LabelDescriptor",
2769 "properties": {
2770 "description": {
2771 "description": "A human-readable description for the label." ,
2772 "type": "string"
2773 },
2774 "valueType": {
2775 "description": "The type of data that can be assigned to the label.",
2776 "enum": [
2777 "STRING",
2778 "BOOL",
2779 "INT64"
2780 ],
2781 "enumDescriptions": [
2782 "A variable-length string. This is the default.",
2783 "Boolean; true or false.",
2784 "A 64-bit signed integer."
2785 ],
2786 "type": "string"
2787 },
2788 "key": {
2789 "description": "The label key.",
2790 "type": "string"
2791 }
2792 },
2793 "type": "object" 2623 "type": "object"
2794 }, 2624 },
2795 "Usage": { 2625 "Usage": {
2796 "description": "Configuration controlling usage of a service.", 2626 "description": "Configuration controlling usage of a service.",
2797 "id": "Usage", 2627 "id": "Usage",
2798 "properties": { 2628 "properties": {
2799 "producerNotificationChannel": { 2629 "producerNotificationChannel": {
2800 "description": "The full resource name of a channel used for sending notifications to the\nservice producer.\n\nGoogle Service Management cu rrently only supports\n[Google Cloud Pub/Sub](https://cloud.google.com/pubsub) a s a notification\nchannel. To use Google Cloud Pub/Sub as the channel, this must be the name\nof a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name fo rmat\ndocumented in https://cloud.google.com/pubsub/docs/overview.", 2630 "description": "The full resource name of a channel used for sending notifications to the\nservice producer.\n\nGoogle Service Management cu rrently only supports\n[Google Cloud Pub/Sub](https://cloud.google.com/pubsub) a s a notification\nchannel. To use Google Cloud Pub/Sub as the channel, this must be the name\nof a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name fo rmat\ndocumented in https://cloud.google.com/pubsub/docs/overview.",
2801 "type": "string" 2631 "type": "string"
2802 }, 2632 },
2633 "rules": {
2634 "description": "A list of usage rules that apply to individu al API methods.\n\n**NOTE:** All service configuration rules follow \"last one w ins\" order.",
2635 "items": {
2636 "$ref": "UsageRule"
2637 },
2638 "type": "array"
2639 },
2803 "requirements": { 2640 "requirements": {
2804 "description": "Requirements that must be satisfied before a consumer project can use the\nservice. Each requirement is of the form <service .name>/<requirement-id>;\nfor example 'serviceusage.googleapis.com/billing-enabl ed'.", 2641 "description": "Requirements that must be satisfied before a consumer project can use the\nservice. Each requirement is of the form <service .name>/<requirement-id>;\nfor example 'serviceusage.googleapis.com/billing-enabl ed'.",
2805 "items": { 2642 "items": {
2806 "type": "string" 2643 "type": "string"
2807 }, 2644 },
2808 "type": "array" 2645 "type": "array"
2809 }, 2646 }
2647 },
2648 "type": "object"
2649 },
2650 "Context": {
2651 "description": "`Context` defines which contexts an API requests.\n\ nExample:\n\n context:\n rules:\n - selector: \"*\"\n reques ted:\n - google.rpc.context.ProjectContext\n - google.rpc.context. OriginContext\n\nThe above specifies that all methods in the API request\n`googl e.rpc.context.ProjectContext` and\n`google.rpc.context.OriginContext`.\n\nAvaila ble context types are defined in package\n`google.rpc.context`.",
2652 "id": "Context",
2653 "properties": {
2810 "rules": { 2654 "rules": {
2811 "description": "A list of usage rules that apply to individu al API methods.\n\n**NOTE:** All service configuration rules follow \"last one w ins\" order.", 2655 "description": "A list of RPC context rules that apply to in dividual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
2812 "items": { 2656 "items": {
2813 "$ref": "UsageRule" 2657 "$ref": "ContextRule"
2814 }, 2658 },
2815 "type": "array" 2659 "type": "array"
2816 } 2660 }
2817 }, 2661 },
2818 "type": "object" 2662 "type": "object"
2819 }, 2663 },
2820 "Advice": { 2664 "Rule": {
2821 "description": "Generated advice about this change, used for providi ng more\ninformation about how a change will affect the existing service.", 2665 "description": "A rule to be applied in a Policy.",
2822 "id": "Advice", 2666 "id": "Rule",
2823 "properties": { 2667 "properties": {
2824 "description": { 2668 "description": {
2825 "description": "Useful description for why this advice was a pplied and what actions should\nbe taken to mitigate any implied risks.", 2669 "description": "Human-readable description of the rule.",
2826 "type": "string" 2670 "type": "string"
2827 } 2671 },
2828 }, 2672 "conditions": {
2829 "type": "object" 2673 "description": "Additional restrictions that must be met",
2830 }, 2674 "items": {
2831 "CloudAuditOptions": { 2675 "$ref": "Condition"
2832 "description": "Write a Cloud Audit log", 2676 },
2833 "id": "CloudAuditOptions", 2677 "type": "array"
2834 "properties": {}, 2678 },
2835 "type": "object" 2679 "logConfig": {
2836 }, 2680 "description": "The config returned to callers of tech.iam.I AM.CheckPolicy for any entries\nthat match the LOG action.",
2837 "AuthRequirement": { 2681 "items": {
2838 "description": "User-defined authentication requirements, including support for\n[JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth -json-web-token-32).", 2682 "$ref": "LogConfig"
2839 "id": "AuthRequirement", 2683 },
2840 "properties": { 2684 "type": "array"
2841 "audiences": { 2685 },
2842 "description": "NOTE: This will be deprecated soon, once Aut hProvider.audiences is\nimplemented and accepted in all the runtime components.\ n\nThe list of JWT\n[audiences](https://tools.ietf.org/html/draft-ietf-oauth-jso n-web-token-32#section-4.1.3).\nthat are allowed to access. A JWT containing any of these audiences will\nbe accepted. When this setting is absent, only JWTs wi th audience\n\"https://Service_name/API_name\"\nwill be accepted. For example, i f no audiences are in the setting,\nLibraryService API will only accept JWTs wit h the following audience\n\"https://library-example.googleapis.com/google.exampl e.library.v1.LibraryService\".\n\nExample:\n\n audiences: bookstore_android.a pps.googleusercontent.com,\n bookstore_web.apps.googleusercontent. com", 2686 "in": {
2843 "type": "string" 2687 "description": "If one or more 'in' clauses are specified, t he rule matches if\nthe PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.",
2844 }, 2688 "items": {
2845 "providerId": { 2689 "type": "string"
2846 "description": "id from authentication provider.\n\nExample: \n\n provider_id: bookstore_auth", 2690 },
2847 "type": "string" 2691 "type": "array"
2848 } 2692 },
2849 }, 2693 "permissions": {
2850 "type": "object" 2694 "description": "A permission is a string of form '<service>. <resource type>.<verb>'\n(e.g., 'storage.buckets.list'). A value of '*' matches all permissions,\nand a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.",
2851 }, 2695 "items": {
2852 "Control": { 2696 "type": "string"
2853 "description": "Selects and configures the service controller used b y the service. The\nservice controller handles features like abuse, quota, bill ing, logging,\nmonitoring, etc.", 2697 },
2854 "id": "Control", 2698 "type": "array"
2855 "properties": { 2699 },
2856 "environment": { 2700 "action": {
2857 "description": "The service control environment to use. If e mpty, no control plane\nfeature (like quota and billing) will be enabled.", 2701 "description": "Required",
2858 "type": "string" 2702 "enum": [
2859 } 2703 "NO_ACTION",
2860 }, 2704 "ALLOW",
2861 "type": "object" 2705 "ALLOW_WITH_LOG",
2862 }, 2706 "DENY",
2863 "SourceContext": { 2707 "DENY_WITH_LOG",
2864 "description": "`SourceContext` represents information about the sou rce of a\nprotobuf element, like the file in which it is defined.", 2708 "LOG"
2865 "id": "SourceContext", 2709 ],
2866 "properties": { 2710 "enumDescriptions": [
2867 "fileName": { 2711 "Default no action.",
2868 "description": "The path-qualified name of the .proto file t hat contained the associated\nprotobuf element. For example: `\"google/protobuf /source_context.proto\"`.", 2712 "Matching 'Entries' grant access.",
2869 "type": "string" 2713 "Matching 'Entries' grant access and the caller promises to log\nthe request per the returned log_configs.",
2870 } 2714 "Matching 'Entries' deny access.",
2871 }, 2715 "Matching 'Entries' deny access and the caller promises to log\nthe request per the returned log_configs.",
2872 "type": "object" 2716 "Matching 'Entries' tell IAM.Check callers to generate l ogs."
2717 ],
2718 "type": "string"
2719 },
2720 "notIn": {
2721 "description": "If one or more 'not_in' clauses are specifie d, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entri es.\nThe format for in and not_in entries is the same as for members in a\nBindi ng (see google/iam/v1/policy.proto).",
2722 "items": {
2723 "type": "string"
2724 },
2725 "type": "array"
2726 }
2727 },
2728 "type": "object"
2729 },
2730 "LogConfig": {
2731 "description": "Specifies what kind of log the caller must write\nIn crement a streamz counter with the specified metric and field names.\n\nMetric n ames should start with a '/', generally be lowercase-only,\nand end in \"_count\ ". Field names should not contain an initial slash.\nThe actual exported metric names will have \"/iam/policy\" prepended.\n\nField names correspond to IAM requ est parameters and field values are\ntheir respective values.\n\nAt present the only supported field names are\n - \"iam_principal\", corresponding to IAMCont ext.principal;\n - \"\" (empty string), resulting in one aggretated counter wi th no field.\n\nExamples:\n counter { metric: \"/debug_access_count\" field: \ "iam_principal\" }\n ==> increment counter /iam/policy/backend_debug_access_cou nt\n {iam_principal=[value of IAMContext.principal]}\n\nA t this time we do not support:\n* multiple field names (though this may be suppo rted in the future)\n* decrementing the counter\n* incrementing it by anything o ther than 1",
2732 "id": "LogConfig",
2733 "properties": {
2734 "cloudAudit": {
2735 "$ref": "CloudAuditOptions",
2736 "description": "Cloud audit options."
2737 },
2738 "counter": {
2739 "$ref": "CounterOptions",
2740 "description": "Counter options."
2741 },
2742 "dataAccess": {
2743 "$ref": "DataAccessOptions",
2744 "description": "Data access options."
2745 }
2746 },
2747 "type": "object"
2748 },
2749 "LogDescriptor": {
2750 "description": "A description of a log type. Example in YAML format: \n\n - name: library.googleapis.com/activity_history\n description: The history of borrowing and returning library items.\n display_name: Activity\ n labels:\n - key: /customer_id\n description: Identifier of a library customer",
2751 "id": "LogDescriptor",
2752 "properties": {
2753 "name": {
2754 "description": "The name of the log. It must be less than 51 2 characters long and can\ninclude the following characters: upper- and lower-ca se alphanumeric\ncharacters [A-Za-z0-9], and punctuation characters including\ns lash, underscore, hyphen, period [/_-.].",
2755 "type": "string"
2756 },
2757 "description": {
2758 "description": "A human-readable description of this log. Th is information appears in\nthe documentation and can contain details.",
2759 "type": "string"
2760 },
2761 "displayName": {
2762 "description": "The human-readable name for this log. This i nformation appears on\nthe user interface and should be concise.",
2763 "type": "string"
2764 },
2765 "labels": {
2766 "description": "The set of labels that are available to desc ribe a specific log entry.\nRuntime requests that contain labels not specified h ere are\nconsidered invalid.",
2767 "items": {
2768 "$ref": "LabelDescriptor"
2769 },
2770 "type": "array"
2771 }
2772 },
2773 "type": "object"
2774 },
2775 "ConfigFile": {
2776 "description": "Generic specification of a source configuration file ",
2777 "id": "ConfigFile",
2778 "properties": {
2779 "filePath": {
2780 "description": "The file name of the configuration file (ful l or relative path).",
2781 "type": "string"
2782 },
2783 "fileType": {
2784 "description": "The type of configuration file this represen ts.",
2785 "enum": [
2786 "FILE_TYPE_UNSPECIFIED",
2787 "SERVICE_CONFIG_YAML",
2788 "OPEN_API_JSON",
2789 "OPEN_API_YAML",
2790 "FILE_DESCRIPTOR_SET_PROTO"
2791 ],
2792 "enumDescriptions": [
2793 "Unknown file type.",
2794 "YAML-specification of service.",
2795 "OpenAPI specification, serialized in JSON.",
2796 "OpenAPI specification, serialized in YAML.",
2797 "FileDescriptorSet, generated by protoc.\n\nTo generate, use protoc with imports and source info included.\nFor an example test.proto fi le, the following command would put the value\nin a new file named out.pb.\n\n$p rotoc --include_imports --include_source_info test.proto -o out.pb"
2798 ],
2799 "type": "string"
2800 },
2801 "fileContents": {
2802 "description": "The bytes that constitute the file.",
2803 "format": "byte",
2804 "type": "string"
2805 }
2806 },
2807 "type": "object"
2808 },
2809 "MonitoredResourceDescriptor": {
2810 "description": "An object that describes the schema of a MonitoredRe source object using a\ntype name and a set of labels. For example, the monitore d resource\ndescriptor for Google Compute Engine VM instances has a type of\n`\" gce_instance\"` and specifies the use of the labels `\"instance_id\"` and\n`\"zo ne\"` to identify particular VM instances.\n\nDifferent APIs can support differe nt monitored resource types. APIs generally\nprovide a `list` method that return s the monitored resource descriptors used\nby the API.",
2811 "id": "MonitoredResourceDescriptor",
2812 "properties": {
2813 "name": {
2814 "description": "Optional. The resource name of the monitored resource descriptor:\n`\"projects/{project_id}/monitoredResourceDescriptors/{ty pe}\"` where\n{type} is the value of the `type` field in this object and\n{proje ct_id} is a project ID that provides API-specific context for\naccessing the typ e. APIs that do not use project information can use the\nresource name format ` \"monitoredResourceDescriptors/{type}\"`.",
2815 "type": "string"
2816 },
2817 "displayName": {
2818 "description": "Optional. A concise name for the monitored r esource type that might be\ndisplayed in user interfaces. It should be a Title C ased Noun Phrase,\nwithout any article or other determiners. For example,\n`\"Go ogle Cloud SQL Database\"`.",
2819 "type": "string"
2820 },
2821 "description": {
2822 "description": "Optional. A detailed description of the moni tored resource type that might\nbe used in documentation.",
2823 "type": "string"
2824 },
2825 "type": {
2826 "description": "Required. The monitored resource type. For e xample, the type\n`\"cloudsql_database\"` represents databases in Google Cloud S QL.\nThe maximum length of this value is 256 characters.",
2827 "type": "string"
2828 },
2829 "labels": {
2830 "description": "Required. A set of labels used to describe i nstances of this monitored\nresource type. For example, an individual Google Clo ud SQL database is\nidentified by values for the labels `\"database_id\"` and `\ "zone\"`.",
2831 "items": {
2832 "$ref": "LabelDescriptor"
2833 },
2834 "type": "array"
2835 }
2836 },
2837 "type": "object"
2838 },
2839 "CustomErrorRule": {
2840 "description": "A custom error rule.",
2841 "id": "CustomErrorRule",
2842 "properties": {
2843 "isErrorType": {
2844 "description": "Mark this message as possible payload in err or response. Otherwise,\nobjects of this type will be filtered when they appear in error payload.",
2845 "type": "boolean"
2846 },
2847 "selector": {
2848 "description": "Selects messages to which this rule applies. \n\nRefer to selector for syntax details.",
2849 "type": "string"
2850 }
2851 },
2852 "type": "object"
2853 },
2854 "MediaDownload": {
2855 "description": "Do not use this. For media support, add instead\n[][ google.bytestream.RestByteStream] as an API to your\nconfiguration.",
2856 "id": "MediaDownload",
2857 "properties": {
2858 "enabled": {
2859 "description": "Whether download is enabled.",
2860 "type": "boolean"
2861 }
2862 },
2863 "type": "object"
2864 },
2865 "ChangeReport": {
2866 "description": "Change report associated with a particular service c onfiguration.\n\nIt contains a list of ConfigChanges based on the comparison bet ween\ntwo service configurations.",
2867 "id": "ChangeReport",
2868 "properties": {
2869 "configChanges": {
2870 "description": "List of changes between two service configur ations.\nThe changes will be alphabetically sorted based on the identifier\nof e ach change.\nA ConfigChange identifier is a dot separated path to the configurat ion.\nExample: visibility.rules[selector='LibraryService.CreateBook'].restrictio n",
2871 "items": {
2872 "$ref": "ConfigChange"
2873 },
2874 "type": "array"
2875 }
2876 },
2877 "type": "object"
2873 } 2878 }
2874 }, 2879 },
2875 "servicePath": "", 2880 "servicePath": "",
2876 "title": "Google Service Management API", 2881 "title": "Google Service Management API",
2877 "version": "v1" 2882 "version": "v1"
2878 } 2883 }
OLDNEW
« no previous file with comments | « discovery/googleapis/servicecontrol__v1.json ('k') | discovery/googleapis/sheets__v4.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698