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

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

Issue 2936613002: Api-Roll 50: 2017-06-12 (Closed)
Patch Set: Created 3 years, 6 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/serviceuser__v1.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": {
6 "description": "View and manage your data across Google Clou d Platform services"
7 },
8 "https://www.googleapis.com/auth/service.management": { 5 "https://www.googleapis.com/auth/service.management": {
9 "description": "Manage your Google API service configuration " 6 "description": "Manage your Google API service configuration "
10 }, 7 },
11 "https://www.googleapis.com/auth/cloud-platform.read-only": { 8 "https://www.googleapis.com/auth/cloud-platform.read-only": {
12 "description": "View your data across Google Cloud Platform services" 9 "description": "View your data across Google Cloud Platform services"
13 }, 10 },
14 "https://www.googleapis.com/auth/service.management.readonly": { 11 "https://www.googleapis.com/auth/service.management.readonly": {
15 "description": "View your Google API service configuration" 12 "description": "View your Google API service configuration"
13 },
14 "https://www.googleapis.com/auth/cloud-platform": {
15 "description": "View and manage your data across Google Clou d Platform services"
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 "key": {
38 "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.",
39 "location": "query",
40 "type": "string"
41 },
42 "access_token": {
43 "description": "OAuth access token.",
44 "location": "query",
45 "type": "string"
46 },
47 "quotaUser": {
48 "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.",
49 "location": "query",
50 "type": "string"
51 },
52 "pp": {
53 "default": "true",
54 "description": "Pretty-print response.",
55 "location": "query",
56 "type": "boolean"
57 },
58 "oauth_token": {
59 "description": "OAuth 2.0 token for the current user.",
60 "location": "query",
61 "type": "string"
62 },
63 "bearer_token": {
64 "description": "OAuth bearer token.",
65 "location": "query",
66 "type": "string"
67 },
37 "upload_protocol": { 68 "upload_protocol": {
38 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 69 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
39 "location": "query", 70 "location": "query",
40 "type": "string" 71 "type": "string"
41 }, 72 },
42 "prettyPrint": { 73 "prettyPrint": {
43 "default": "true", 74 "default": "true",
44 "description": "Returns response with indentations and line breaks." , 75 "description": "Returns response with indentations and line breaks." ,
45 "location": "query", 76 "location": "query",
46 "type": "boolean" 77 "type": "boolean"
47 }, 78 },
48 "fields": { 79 "fields": {
49 "description": "Selector specifying which fields to include in a par tial response.", 80 "description": "Selector specifying which fields to include in a par tial response.",
50 "location": "query", 81 "location": "query",
51 "type": "string" 82 "type": "string"
52 }, 83 },
53 "uploadType": { 84 "uploadType": {
54 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 85 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
55 "location": "query", 86 "location": "query",
56 "type": "string" 87 "type": "string"
57 }, 88 },
58 "callback": {
59 "description": "JSONP",
60 "location": "query",
61 "type": "string"
62 },
63 "$.xgafv": { 89 "$.xgafv": {
64 "description": "V1 error format.", 90 "description": "V1 error format.",
65 "enum": [ 91 "enum": [
66 "1", 92 "1",
67 "2" 93 "2"
68 ], 94 ],
69 "enumDescriptions": [ 95 "enumDescriptions": [
70 "v1 error format", 96 "v1 error format",
71 "v2 error format" 97 "v2 error format"
72 ], 98 ],
73 "location": "query", 99 "location": "query",
74 "type": "string" 100 "type": "string"
75 }, 101 },
102 "callback": {
103 "description": "JSONP",
104 "location": "query",
105 "type": "string"
106 },
76 "alt": { 107 "alt": {
77 "default": "json", 108 "default": "json",
78 "description": "Data format for response.", 109 "description": "Data format for response.",
79 "enum": [ 110 "enum": [
80 "json", 111 "json",
81 "media", 112 "media",
82 "proto" 113 "proto"
83 ], 114 ],
84 "enumDescriptions": [ 115 "enumDescriptions": [
85 "Responses with Content-Type of application/json", 116 "Responses with Content-Type of application/json",
86 "Media download with context-dependent Content-Type", 117 "Media download with context-dependent Content-Type",
87 "Responses with Content-Type of application/x-protobuf" 118 "Responses with Content-Type of application/x-protobuf"
88 ], 119 ],
89 "location": "query", 120 "location": "query",
90 "type": "string" 121 "type": "string"
91 },
92 "access_token": {
93 "description": "OAuth access token.",
94 "location": "query",
95 "type": "string"
96 },
97 "key": {
98 "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.",
99 "location": "query",
100 "type": "string"
101 },
102 "quotaUser": {
103 "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.",
104 "location": "query",
105 "type": "string"
106 },
107 "pp": {
108 "default": "true",
109 "description": "Pretty-print response.",
110 "location": "query",
111 "type": "boolean"
112 },
113 "bearer_token": {
114 "description": "OAuth bearer token.",
115 "location": "query",
116 "type": "string"
117 },
118 "oauth_token": {
119 "description": "OAuth 2.0 token for the current user.",
120 "location": "query",
121 "type": "string"
122 } 122 }
123 }, 123 },
124 "protocol": "rest", 124 "protocol": "rest",
125 "resources": { 125 "resources": {
126 "services": { 126 "operations": {
127 "methods": { 127 "methods": {
128 "getConfig": { 128 "list": {
129 "description": "Gets a service configuration (version) for a managed service.", 129 "description": "Lists service operations that match the spec ified filter in the request.",
130 "httpMethod": "GET", 130 "httpMethod": "GET",
131 "id": "servicemanagement.services.getConfig", 131 "id": "servicemanagement.operations.list",
132 "parameterOrder": [ 132 "parameterOrder": [],
133 "serviceName"
134 ],
135 "parameters": { 133 "parameters": {
136 "serviceName": { 134 "name": {
137 "description": "The name of the service. See the [o verview](/service-management/overview)\nfor naming requirements. For example: ` example.googleapis.com`.", 135 "description": "Not used.",
138 "location": "path",
139 "required": true,
140 "type": "string"
141 },
142 "configId": {
143 "description": "The id of the service configuration resource.",
144 "location": "query", 136 "location": "query",
145 "type": "string" 137 "type": "string"
146 }, 138 },
147 "view": { 139 "pageToken": {
148 "description": "Specifies which parts of the Service Config should be returned in the\nresponse.", 140 "description": "The standard list page token.",
149 "enum": [ 141 "location": "query",
150 "BASIC", 142 "type": "string"
151 "FULL" 143 },
152 ], 144 "pageSize": {
145 "description": "The maximum number of operations to return. If unspecified, defaults to\n50. The maximum value is 100.",
146 "format": "int32",
147 "location": "query",
148 "type": "integer"
149 },
150 "filter": {
151 "description": "A string for filtering Operations.\n The following filter fields are supported&#58;\n\n * serviceName&#58; Require d. Only `=` operator is allowed.\n * startTime&#58; The time this job was start ed, in ISO 8601 format.\n Allowed operators are `>=`, `>`, `<=`, and `<`.\n * status&#58; Can be `done`, `in_progress`, or `failed`. Allowed\n operators are `=`, and `!=`.\n\n Filter expression supports conjunction (AND) and disjun ction (OR)\n logical operators. However, the serviceName restriction must be at the\n top-level and can only be combined with other restrictions via the AND\n logical operator.\n\n Examples&#58;\n\n * `serviceName={some-service}.google apis.com`\n * `serviceName={some-service}.googleapis.com AND startTime>=\"2017- 02-01\"`\n * `serviceName={some-service}.googleapis.com AND status=done`\n * ` serviceName={some-service}.googleapis.com AND (status=done OR startTime>=\"2017- 02-01\")`",
153 "location": "query", 152 "location": "query",
154 "type": "string" 153 "type": "string"
155 } 154 }
156 }, 155 },
157 "path": "v1/services/{serviceName}/config", 156 "path": "v1/operations",
158 "response": { 157 "response": {
159 "$ref": "Service" 158 "$ref": "ListOperationsResponse"
160 }, 159 },
161 "scopes": [ 160 "scopes": [
162 "https://www.googleapis.com/auth/cloud-platform", 161 "https://www.googleapis.com/auth/cloud-platform",
163 "https://www.googleapis.com/auth/cloud-platform.read-onl y", 162 "https://www.googleapis.com/auth/service.management"
164 "https://www.googleapis.com/auth/service.management",
165 "https://www.googleapis.com/auth/service.management.read only"
166 ] 163 ]
167 }, 164 },
168 "delete": { 165 "get": {
169 "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>", 166 "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.",
170 "httpMethod": "DELETE", 167 "httpMethod": "GET",
171 "id": "servicemanagement.services.delete", 168 "id": "servicemanagement.operations.get",
172 "parameterOrder": [ 169 "parameterOrder": [
173 "serviceName" 170 "name"
174 ], 171 ],
175 "parameters": { 172 "parameters": {
176 "serviceName": { 173 "name": {
177 "description": "The name of the service. See the [o verview](/service-management/overview)\nfor naming requirements. For example: ` example.googleapis.com`.", 174 "description": "The name of the operation resource." ,
178 "location": "path", 175 "location": "path",
176 "pattern": "^operations/.+$",
179 "required": true, 177 "required": true,
180 "type": "string" 178 "type": "string"
181 } 179 }
182 }, 180 },
183 "path": "v1/services/{serviceName}", 181 "path": "v1/{+name}",
184 "response": { 182 "response": {
185 "$ref": "Operation" 183 "$ref": "Operation"
186 }, 184 },
187 "scopes": [ 185 "scopes": [
188 "https://www.googleapis.com/auth/cloud-platform", 186 "https://www.googleapis.com/auth/cloud-platform",
189 "https://www.googleapis.com/auth/service.management" 187 "https://www.googleapis.com/auth/service.management"
190 ] 188 ]
191 }, 189 }
192 "enable": { 190 }
193 "description": "Enables a service for a project, so it can b e used\nfor the project. See\n[Cloud Auth Guide](https://cloud.google.com/docs/a uthentication) for\nmore information.\n\nOperation<response: EnableServiceRespon se>", 191 },
194 "httpMethod": "POST", 192 "services": {
195 "id": "servicemanagement.services.enable", 193 "methods": {
196 "parameterOrder": [ 194 "list": {
197 "serviceName" 195 "description": "Lists managed services.\n\nReturns all publi c services. For authenticated users, also returns all\nservices the calling user has \"servicemanagement.services.get\" permission\nfor.\n\n**BETA:** If the cal ler specifies the `consumer_id`, it returns only the\nservices enabled on the co nsumer. The `consumer_id` must have the format\nof \"project:{PROJECT-ID}\".",
198 ], 196 "httpMethod": "GET",
197 "id": "servicemanagement.services.list",
198 "parameterOrder": [],
199 "parameters": { 199 "parameters": {
200 "serviceName": { 200 "consumerId": {
201 "description": "Name of the service to enable. Speci fying an unknown service name will\ncause the request to fail.", 201 "description": "Include services consumed by the spe cified consumer.\n\nThe Google Service Management implementation accepts the fol lowing\nforms:\n- project:<project_id>",
202 "location": "path", 202 "location": "query",
203 "required": true, 203 "type": "string"
204 },
205 "pageToken": {
206 "description": "Token identifying which result to st art with; returned by a previous list\ncall.",
207 "location": "query",
208 "type": "string"
209 },
210 "pageSize": {
211 "description": "Requested size of the next page of d ata.",
212 "format": "int32",
213 "location": "query",
214 "type": "integer"
215 },
216 "producerProjectId": {
217 "description": "Include services produced by the spe cified project.",
218 "location": "query",
204 "type": "string" 219 "type": "string"
205 } 220 }
206 }, 221 },
207 "path": "v1/services/{serviceName}:enable", 222 "path": "v1/services",
223 "response": {
224 "$ref": "ListServicesResponse"
225 },
226 "scopes": [
227 "https://www.googleapis.com/auth/cloud-platform",
228 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
229 "https://www.googleapis.com/auth/service.management",
230 "https://www.googleapis.com/auth/service.management.read only"
231 ]
232 },
233 "create": {
234 "description": "Creates a new managed service.\nPlease note one producer project can own no more than 20 services.\n\nOperation<response: Ma nagedService>",
235 "httpMethod": "POST",
236 "id": "servicemanagement.services.create",
237 "parameterOrder": [],
238 "parameters": {},
239 "path": "v1/services",
208 "request": { 240 "request": {
209 "$ref": "EnableServiceRequest" 241 "$ref": "ManagedService"
210 }, 242 },
211 "response": { 243 "response": {
212 "$ref": "Operation" 244 "$ref": "Operation"
213 }, 245 },
214 "scopes": [ 246 "scopes": [
215 "https://www.googleapis.com/auth/cloud-platform", 247 "https://www.googleapis.com/auth/cloud-platform",
216 "https://www.googleapis.com/auth/service.management" 248 "https://www.googleapis.com/auth/service.management"
217 ] 249 ]
218 }, 250 },
219 "setIamPolicy": { 251 "generateConfigReport": {
220 "description": "Sets the access control policy on the specif ied resource. Replaces any\nexisting policy.", 252 "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.",
221 "httpMethod": "POST", 253 "httpMethod": "POST",
222 "id": "servicemanagement.services.setIamPolicy", 254 "id": "servicemanagement.services.generateConfigReport",
255 "parameterOrder": [],
256 "parameters": {},
257 "path": "v1/services:generateConfigReport",
258 "request": {
259 "$ref": "GenerateConfigReportRequest"
260 },
261 "response": {
262 "$ref": "GenerateConfigReportResponse"
263 },
264 "scopes": [
265 "https://www.googleapis.com/auth/cloud-platform",
266 "https://www.googleapis.com/auth/service.management"
267 ]
268 },
269 "get": {
270 "description": "Gets a managed service. Authentication is re quired unless the service is\npublic.",
271 "httpMethod": "GET",
272 "id": "servicemanagement.services.get",
273 "parameterOrder": [
274 "serviceName"
275 ],
276 "parameters": {
277 "serviceName": {
278 "description": "The name of the service. See the `S erviceManager` overview for naming\nrequirements. For example: `example.googlea pis.com`.",
279 "location": "path",
280 "required": true,
281 "type": "string"
282 }
283 },
284 "path": "v1/services/{serviceName}",
285 "response": {
286 "$ref": "ManagedService"
287 },
288 "scopes": [
289 "https://www.googleapis.com/auth/cloud-platform",
290 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
291 "https://www.googleapis.com/auth/service.management",
292 "https://www.googleapis.com/auth/service.management.read only"
293 ]
294 },
295 "testIamPermissions": {
296 "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for au thorization checking. This operation\nmay \"fail open\" without warning.",
297 "httpMethod": "POST",
298 "id": "servicemanagement.services.testIamPermissions",
223 "parameterOrder": [ 299 "parameterOrder": [
224 "resource" 300 "resource"
225 ], 301 ],
226 "parameters": { 302 "parameters": {
227 "resource": { 303 "resource": {
228 "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", 304 "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appr opriate value for this field.",
229 "location": "path", 305 "location": "path",
230 "pattern": "^services/[^/]+$", 306 "pattern": "^services/[^/]+$",
231 "required": true, 307 "required": true,
232 "type": "string" 308 "type": "string"
233 } 309 }
234 }, 310 },
235 "path": "v1/{+resource}:setIamPolicy", 311 "path": "v1/{+resource}:testIamPermissions",
236 "request": { 312 "request": {
237 "$ref": "SetIamPolicyRequest" 313 "$ref": "TestIamPermissionsRequest"
238 }, 314 },
239 "response": { 315 "response": {
240 "$ref": "Policy" 316 "$ref": "TestIamPermissionsResponse"
241 }, 317 },
242 "scopes": [ 318 "scopes": [
243 "https://www.googleapis.com/auth/cloud-platform", 319 "https://www.googleapis.com/auth/cloud-platform",
244 "https://www.googleapis.com/auth/service.management"
245 ]
246 },
247 "disable": {
248 "description": "Disables a service for a project, so it can no longer be\nbe used for the project. It prevents accidental usage that may cau se\nunexpected billing charges or security leaks.\n\nOperation<response: Disable ServiceResponse>",
249 "httpMethod": "POST",
250 "id": "servicemanagement.services.disable",
251 "parameterOrder": [
252 "serviceName"
253 ],
254 "parameters": {
255 "serviceName": {
256 "description": "Name of the service to disable. Spec ifying an unknown service name\nwill cause the request to fail.",
257 "location": "path",
258 "required": true,
259 "type": "string"
260 }
261 },
262 "path": "v1/services/{serviceName}:disable",
263 "request": {
264 "$ref": "DisableServiceRequest"
265 },
266 "response": {
267 "$ref": "Operation"
268 },
269 "scopes": [
270 "https://www.googleapis.com/auth/cloud-platform",
271 "https://www.googleapis.com/auth/service.management"
272 ]
273 },
274 "getIamPolicy": {
275 "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.",
276 "httpMethod": "POST",
277 "id": "servicemanagement.services.getIamPolicy",
278 "parameterOrder": [
279 "resource"
280 ],
281 "parameters": {
282 "resource": {
283 "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
284 "location": "path",
285 "pattern": "^services/[^/]+$",
286 "required": true,
287 "type": "string"
288 }
289 },
290 "path": "v1/{+resource}:getIamPolicy",
291 "request": {
292 "$ref": "GetIamPolicyRequest"
293 },
294 "response": {
295 "$ref": "Policy"
296 },
297 "scopes": [
298 "https://www.googleapis.com/auth/cloud-platform",
299 "https://www.googleapis.com/auth/cloud-platform.read-onl y", 320 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
300 "https://www.googleapis.com/auth/service.management", 321 "https://www.googleapis.com/auth/service.management",
301 "https://www.googleapis.com/auth/service.management.read only" 322 "https://www.googleapis.com/auth/service.management.read only"
302 ] 323 ]
303 }, 324 },
304 "undelete": { 325 "getConfig": {
305 "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>", 326 "description": "Gets a service configuration (version) for a managed service.",
306 "httpMethod": "POST", 327 "httpMethod": "GET",
307 "id": "servicemanagement.services.undelete", 328 "id": "servicemanagement.services.getConfig",
308 "parameterOrder": [ 329 "parameterOrder": [
309 "serviceName" 330 "serviceName"
310 ], 331 ],
311 "parameters": { 332 "parameters": {
312 "serviceName": { 333 "serviceName": {
313 "description": "The name of the service. See the [ov erview](/service-management/overview)\nfor naming requirements. For example: `ex ample.googleapis.com`.", 334 "description": "The name of the service. See the [o verview](/service-management/overview)\nfor naming requirements. For example: ` example.googleapis.com`.",
314 "location": "path", 335 "location": "path",
315 "required": true, 336 "required": true,
316 "type": "string" 337 "type": "string"
317 } 338 },
318 }, 339 "configId": {
319 "path": "v1/services/{serviceName}:undelete", 340 "description": "The id of the service configuration resource.",
320 "response": {
321 "$ref": "Operation"
322 },
323 "scopes": [
324 "https://www.googleapis.com/auth/cloud-platform",
325 "https://www.googleapis.com/auth/service.management"
326 ]
327 },
328 "list": {
329 "description": "Lists managed services.\n\nReturns all publi c services. For authenticated users, also returns all\nservices the calling user has \"servicemanagement.services.get\" permission\nfor.\n\n**BETA:** If the cal ler specifies the `consumer_id`, it returns only the\nservices enabled on the co nsumer. The `consumer_id` must have the format\nof \"project:{PROJECT-ID}\".",
330 "httpMethod": "GET",
331 "id": "servicemanagement.services.list",
332 "parameterOrder": [],
333 "parameters": {
334 "consumerId": {
335 "description": "Include services consumed by the spe cified consumer.\n\nThe Google Service Management implementation accepts the fol lowing\nforms:\n- project:<project_id>",
336 "location": "query", 341 "location": "query",
337 "type": "string" 342 "type": "string"
338 }, 343 },
339 "pageToken": { 344 "view": {
340 "description": "Token identifying which result to st art with; returned by a previous list\ncall.", 345 "description": "Specifies which parts of the Service Config should be returned in the\nresponse.",
341 "location": "query", 346 "enum": [
342 "type": "string" 347 "BASIC",
343 }, 348 "FULL"
344 "pageSize": { 349 ],
345 "description": "Requested size of the next page of d ata.",
346 "format": "int32",
347 "location": "query",
348 "type": "integer"
349 },
350 "producerProjectId": {
351 "description": "Include services produced by the spe cified project.",
352 "location": "query", 350 "location": "query",
353 "type": "string" 351 "type": "string"
354 } 352 }
355 }, 353 },
356 "path": "v1/services", 354 "path": "v1/services/{serviceName}/config",
357 "response": { 355 "response": {
358 "$ref": "ListServicesResponse" 356 "$ref": "Service"
359 }, 357 },
360 "scopes": [ 358 "scopes": [
361 "https://www.googleapis.com/auth/cloud-platform", 359 "https://www.googleapis.com/auth/cloud-platform",
362 "https://www.googleapis.com/auth/cloud-platform.read-onl y", 360 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
363 "https://www.googleapis.com/auth/service.management", 361 "https://www.googleapis.com/auth/service.management",
364 "https://www.googleapis.com/auth/service.management.read only" 362 "https://www.googleapis.com/auth/service.management.read only"
365 ] 363 ]
366 }, 364 },
367 "create": { 365 "enable": {
368 "description": "Creates a new managed service.\nPlease note one producer project can own no more than 20 services.\n\nOperation<response: Ma nagedService>", 366 "description": "Enables a service for a project, so it can b e used\nfor the project. See\n[Cloud Auth Guide](https://cloud.google.com/docs/a uthentication) for\nmore information.\n\nOperation<response: EnableServiceRespon se>",
369 "httpMethod": "POST", 367 "httpMethod": "POST",
370 "id": "servicemanagement.services.create", 368 "id": "servicemanagement.services.enable",
371 "parameterOrder": [], 369 "parameterOrder": [
372 "parameters": {}, 370 "serviceName"
373 "path": "v1/services", 371 ],
372 "parameters": {
373 "serviceName": {
374 "description": "Name of the service to enable. Speci fying an unknown service name will\ncause the request to fail.",
375 "location": "path",
376 "required": true,
377 "type": "string"
378 }
379 },
380 "path": "v1/services/{serviceName}:enable",
374 "request": { 381 "request": {
375 "$ref": "ManagedService" 382 "$ref": "EnableServiceRequest"
376 }, 383 },
377 "response": { 384 "response": {
378 "$ref": "Operation" 385 "$ref": "Operation"
379 }, 386 },
380 "scopes": [ 387 "scopes": [
381 "https://www.googleapis.com/auth/cloud-platform", 388 "https://www.googleapis.com/auth/cloud-platform",
382 "https://www.googleapis.com/auth/service.management" 389 "https://www.googleapis.com/auth/service.management"
383 ] 390 ]
384 }, 391 },
385 "generateConfigReport": { 392 "delete": {
386 "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.", 393 "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>",
387 "httpMethod": "POST", 394 "httpMethod": "DELETE",
388 "id": "servicemanagement.services.generateConfigReport", 395 "id": "servicemanagement.services.delete",
389 "parameterOrder": [],
390 "parameters": {},
391 "path": "v1/services:generateConfigReport",
392 "request": {
393 "$ref": "GenerateConfigReportRequest"
394 },
395 "response": {
396 "$ref": "GenerateConfigReportResponse"
397 },
398 "scopes": [
399 "https://www.googleapis.com/auth/cloud-platform",
400 "https://www.googleapis.com/auth/service.management"
401 ]
402 },
403 "get": {
404 "description": "Gets a managed service. Authentication is re quired unless the service is\npublic.",
405 "httpMethod": "GET",
406 "id": "servicemanagement.services.get",
407 "parameterOrder": [ 396 "parameterOrder": [
408 "serviceName" 397 "serviceName"
409 ], 398 ],
410 "parameters": { 399 "parameters": {
411 "serviceName": { 400 "serviceName": {
412 "description": "The name of the service. See the `S erviceManager` overview for naming\nrequirements. For example: `example.googlea pis.com`.", 401 "description": "The name of the service. See the [o verview](/service-management/overview)\nfor naming requirements. For example: ` example.googleapis.com`.",
413 "location": "path", 402 "location": "path",
414 "required": true, 403 "required": true,
415 "type": "string" 404 "type": "string"
416 } 405 }
417 }, 406 },
418 "path": "v1/services/{serviceName}", 407 "path": "v1/services/{serviceName}",
419 "response": { 408 "response": {
420 "$ref": "ManagedService" 409 "$ref": "Operation"
421 }, 410 },
422 "scopes": [ 411 "scopes": [
423 "https://www.googleapis.com/auth/cloud-platform", 412 "https://www.googleapis.com/auth/cloud-platform",
424 "https://www.googleapis.com/auth/cloud-platform.read-onl y", 413 "https://www.googleapis.com/auth/service.management"
425 "https://www.googleapis.com/auth/service.management",
426 "https://www.googleapis.com/auth/service.management.read only"
427 ] 414 ]
428 }, 415 },
429 "testIamPermissions": { 416 "setIamPolicy": {
430 "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for au thorization checking. This operation\nmay \"fail open\" without warning.", 417 "description": "Sets the access control policy on the specif ied resource. Replaces any\nexisting policy.",
431 "httpMethod": "POST", 418 "httpMethod": "POST",
432 "id": "servicemanagement.services.testIamPermissions", 419 "id": "servicemanagement.services.setIamPolicy",
433 "parameterOrder": [ 420 "parameterOrder": [
434 "resource" 421 "resource"
435 ], 422 ],
436 "parameters": { 423 "parameters": {
437 "resource": { 424 "resource": {
438 "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appr opriate value for this field.", 425 "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
439 "location": "path", 426 "location": "path",
440 "pattern": "^services/[^/]+$", 427 "pattern": "^services/[^/]+$",
441 "required": true, 428 "required": true,
442 "type": "string" 429 "type": "string"
443 } 430 }
444 }, 431 },
445 "path": "v1/{+resource}:testIamPermissions", 432 "path": "v1/{+resource}:setIamPolicy",
446 "request": { 433 "request": {
447 "$ref": "TestIamPermissionsRequest" 434 "$ref": "SetIamPolicyRequest"
448 }, 435 },
449 "response": { 436 "response": {
450 "$ref": "TestIamPermissionsResponse" 437 "$ref": "Policy"
451 }, 438 },
452 "scopes": [ 439 "scopes": [
453 "https://www.googleapis.com/auth/cloud-platform", 440 "https://www.googleapis.com/auth/cloud-platform",
441 "https://www.googleapis.com/auth/service.management"
442 ]
443 },
444 "disable": {
445 "description": "Disables a service for a project, so it can no longer be\nbe used for the project. It prevents accidental usage that may cau se\nunexpected billing charges or security leaks.\n\nOperation<response: Disable ServiceResponse>",
446 "httpMethod": "POST",
447 "id": "servicemanagement.services.disable",
448 "parameterOrder": [
449 "serviceName"
450 ],
451 "parameters": {
452 "serviceName": {
453 "description": "Name of the service to disable. Spec ifying an unknown service name\nwill cause the request to fail.",
454 "location": "path",
455 "required": true,
456 "type": "string"
457 }
458 },
459 "path": "v1/services/{serviceName}:disable",
460 "request": {
461 "$ref": "DisableServiceRequest"
462 },
463 "response": {
464 "$ref": "Operation"
465 },
466 "scopes": [
467 "https://www.googleapis.com/auth/cloud-platform",
468 "https://www.googleapis.com/auth/service.management"
469 ]
470 },
471 "getIamPolicy": {
472 "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.",
473 "httpMethod": "POST",
474 "id": "servicemanagement.services.getIamPolicy",
475 "parameterOrder": [
476 "resource"
477 ],
478 "parameters": {
479 "resource": {
480 "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
481 "location": "path",
482 "pattern": "^services/[^/]+$",
483 "required": true,
484 "type": "string"
485 }
486 },
487 "path": "v1/{+resource}:getIamPolicy",
488 "request": {
489 "$ref": "GetIamPolicyRequest"
490 },
491 "response": {
492 "$ref": "Policy"
493 },
494 "scopes": [
495 "https://www.googleapis.com/auth/cloud-platform",
454 "https://www.googleapis.com/auth/cloud-platform.read-onl y", 496 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
455 "https://www.googleapis.com/auth/service.management", 497 "https://www.googleapis.com/auth/service.management",
456 "https://www.googleapis.com/auth/service.management.read only" 498 "https://www.googleapis.com/auth/service.management.read only"
457 ] 499 ]
500 },
501 "undelete": {
502 "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>",
503 "httpMethod": "POST",
504 "id": "servicemanagement.services.undelete",
505 "parameterOrder": [
506 "serviceName"
507 ],
508 "parameters": {
509 "serviceName": {
510 "description": "The name of the service. See the [ov erview](/service-management/overview)\nfor naming requirements. For example: `ex ample.googleapis.com`.",
511 "location": "path",
512 "required": true,
513 "type": "string"
514 }
515 },
516 "path": "v1/services/{serviceName}:undelete",
517 "response": {
518 "$ref": "Operation"
519 },
520 "scopes": [
521 "https://www.googleapis.com/auth/cloud-platform",
522 "https://www.googleapis.com/auth/service.management"
523 ]
458 } 524 }
459 }, 525 },
460 "resources": { 526 "resources": {
461 "configs": { 527 "configs": {
462 "methods": { 528 "methods": {
463 "create": { 529 "create": {
464 "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.", 530 "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.",
465 "httpMethod": "POST", 531 "httpMethod": "POST",
466 "id": "servicemanagement.services.configs.create", 532 "id": "servicemanagement.services.configs.create",
467 "parameterOrder": [ 533 "parameterOrder": [
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 }, 619 },
554 "get": { 620 "get": {
555 "description": "Gets a service configuration (versio n) for a managed service.", 621 "description": "Gets a service configuration (versio n) for a managed service.",
556 "httpMethod": "GET", 622 "httpMethod": "GET",
557 "id": "servicemanagement.services.configs.get", 623 "id": "servicemanagement.services.configs.get",
558 "parameterOrder": [ 624 "parameterOrder": [
559 "serviceName", 625 "serviceName",
560 "configId" 626 "configId"
561 ], 627 ],
562 "parameters": { 628 "parameters": {
629 "view": {
630 "description": "Specifies which parts of the Service Config should be returned in the\nresponse.",
631 "enum": [
632 "BASIC",
633 "FULL"
634 ],
635 "location": "query",
636 "type": "string"
637 },
563 "serviceName": { 638 "serviceName": {
564 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.", 639 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.",
565 "location": "path", 640 "location": "path",
566 "required": true, 641 "required": true,
567 "type": "string" 642 "type": "string"
568 }, 643 },
569 "configId": { 644 "configId": {
570 "description": "The id of the service config uration resource.", 645 "description": "The id of the service config uration resource.",
571 "location": "path", 646 "location": "path",
572 "required": true, 647 "required": true,
573 "type": "string" 648 "type": "string"
574 },
575 "view": {
576 "description": "Specifies which parts of the Service Config should be returned in the\nresponse.",
577 "enum": [
578 "BASIC",
579 "FULL"
580 ],
581 "location": "query",
582 "type": "string"
583 } 649 }
584 }, 650 },
585 "path": "v1/services/{serviceName}/configs/{configId }", 651 "path": "v1/services/{serviceName}/configs/{configId }",
586 "response": { 652 "response": {
587 "$ref": "Service" 653 "$ref": "Service"
588 }, 654 },
589 "scopes": [ 655 "scopes": [
590 "https://www.googleapis.com/auth/cloud-platform" , 656 "https://www.googleapis.com/auth/cloud-platform" ,
591 "https://www.googleapis.com/auth/cloud-platform. read-only", 657 "https://www.googleapis.com/auth/cloud-platform. read-only",
592 "https://www.googleapis.com/auth/service.managem ent", 658 "https://www.googleapis.com/auth/service.managem ent",
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 "https://www.googleapis.com/auth/cloud-platform" , 748 "https://www.googleapis.com/auth/cloud-platform" ,
683 "https://www.googleapis.com/auth/cloud-platform. read-only", 749 "https://www.googleapis.com/auth/cloud-platform. read-only",
684 "https://www.googleapis.com/auth/service.managem ent", 750 "https://www.googleapis.com/auth/service.managem ent",
685 "https://www.googleapis.com/auth/service.managem ent.readonly" 751 "https://www.googleapis.com/auth/service.managem ent.readonly"
686 ] 752 ]
687 } 753 }
688 } 754 }
689 }, 755 },
690 "rollouts": { 756 "rollouts": {
691 "methods": { 757 "methods": {
692 "create": {
693 "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>",
694 "httpMethod": "POST",
695 "id": "servicemanagement.services.rollouts.create",
696 "parameterOrder": [
697 "serviceName"
698 ],
699 "parameters": {
700 "serviceName": {
701 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.",
702 "location": "path",
703 "required": true,
704 "type": "string"
705 }
706 },
707 "path": "v1/services/{serviceName}/rollouts",
708 "request": {
709 "$ref": "Rollout"
710 },
711 "response": {
712 "$ref": "Operation"
713 },
714 "scopes": [
715 "https://www.googleapis.com/auth/cloud-platform" ,
716 "https://www.googleapis.com/auth/service.managem ent"
717 ]
718 },
719 "list": { 758 "list": {
720 "description": "Lists the history of the service con figuration rollouts for a managed\nservice, from the newest to the oldest.", 759 "description": "Lists the history of the service con figuration rollouts for a managed\nservice, from the newest to the oldest.",
721 "httpMethod": "GET", 760 "httpMethod": "GET",
722 "id": "servicemanagement.services.rollouts.list", 761 "id": "servicemanagement.services.rollouts.list",
723 "parameterOrder": [ 762 "parameterOrder": [
724 "serviceName" 763 "serviceName"
725 ], 764 ],
726 "parameters": { 765 "parameters": {
727 "serviceName": {
728 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.",
729 "location": "path",
730 "required": true,
731 "type": "string"
732 },
733 "pageToken": { 766 "pageToken": {
734 "description": "The token of the page to ret rieve.", 767 "description": "The token of the page to ret rieve.",
735 "location": "query", 768 "location": "query",
736 "type": "string" 769 "type": "string"
737 }, 770 },
738 "pageSize": { 771 "pageSize": {
739 "description": "The max number of items to i nclude in the response list.", 772 "description": "The max number of items to i nclude in the response list.",
740 "format": "int32", 773 "format": "int32",
741 "location": "query", 774 "location": "query",
742 "type": "integer" 775 "type": "integer"
743 }, 776 },
744 "filter": { 777 "filter": {
745 "description": "Use `filter` to return subse t of rollouts.\nThe following filters are supported:\n -- To limit the results to only those in\n [status](google.api.servicemanagement.v1.RolloutStatus) ' SUCCESS',\n use filter='status=SUCCESS'\n -- To limit the results to those in\n [status](google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED'\n or 'FAILED', use filter='status=CANCELLED OR status=FAILED'", 778 "description": "Use `filter` to return subse t of rollouts.\nThe following filters are supported:\n -- To limit the results to only those in\n [status](google.api.servicemanagement.v1.RolloutStatus) ' SUCCESS',\n use filter='status=SUCCESS'\n -- To limit the results to those in\n [status](google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED'\n or 'FAILED', use filter='status=CANCELLED OR status=FAILED'",
746 "location": "query", 779 "location": "query",
747 "type": "string" 780 "type": "string"
781 },
782 "serviceName": {
783 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.",
784 "location": "path",
785 "required": true,
786 "type": "string"
748 } 787 }
749 }, 788 },
750 "path": "v1/services/{serviceName}/rollouts", 789 "path": "v1/services/{serviceName}/rollouts",
751 "response": { 790 "response": {
752 "$ref": "ListServiceRolloutsResponse" 791 "$ref": "ListServiceRolloutsResponse"
753 }, 792 },
754 "scopes": [ 793 "scopes": [
755 "https://www.googleapis.com/auth/cloud-platform" , 794 "https://www.googleapis.com/auth/cloud-platform" ,
756 "https://www.googleapis.com/auth/cloud-platform. read-only", 795 "https://www.googleapis.com/auth/cloud-platform. read-only",
757 "https://www.googleapis.com/auth/service.managem ent", 796 "https://www.googleapis.com/auth/service.managem ent",
(...skipping 25 matching lines...) Expand all
783 "path": "v1/services/{serviceName}/rollouts/{rollout Id}", 822 "path": "v1/services/{serviceName}/rollouts/{rollout Id}",
784 "response": { 823 "response": {
785 "$ref": "Rollout" 824 "$ref": "Rollout"
786 }, 825 },
787 "scopes": [ 826 "scopes": [
788 "https://www.googleapis.com/auth/cloud-platform" , 827 "https://www.googleapis.com/auth/cloud-platform" ,
789 "https://www.googleapis.com/auth/cloud-platform. read-only", 828 "https://www.googleapis.com/auth/cloud-platform. read-only",
790 "https://www.googleapis.com/auth/service.managem ent", 829 "https://www.googleapis.com/auth/service.managem ent",
791 "https://www.googleapis.com/auth/service.managem ent.readonly" 830 "https://www.googleapis.com/auth/service.managem ent.readonly"
792 ] 831 ]
832 },
833 "create": {
834 "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>",
835 "httpMethod": "POST",
836 "id": "servicemanagement.services.rollouts.create",
837 "parameterOrder": [
838 "serviceName"
839 ],
840 "parameters": {
841 "serviceName": {
842 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.",
843 "location": "path",
844 "required": true,
845 "type": "string"
846 }
847 },
848 "path": "v1/services/{serviceName}/rollouts",
849 "request": {
850 "$ref": "Rollout"
851 },
852 "response": {
853 "$ref": "Operation"
854 },
855 "scopes": [
856 "https://www.googleapis.com/auth/cloud-platform" ,
857 "https://www.googleapis.com/auth/service.managem ent"
858 ]
793 } 859 }
794 } 860 }
795 } 861 }
796 } 862 }
797 },
798 "operations": {
799 "methods": {
800 "list": {
801 "description": "Lists service operations that match the spec ified filter in the request.",
802 "httpMethod": "GET",
803 "id": "servicemanagement.operations.list",
804 "parameterOrder": [],
805 "parameters": {
806 "name": {
807 "description": "Not used.",
808 "location": "query",
809 "type": "string"
810 },
811 "pageToken": {
812 "description": "The standard list page token.",
813 "location": "query",
814 "type": "string"
815 },
816 "pageSize": {
817 "description": "The maximum number of operations to return. If unspecified, defaults to\n50. The maximum value is 100.",
818 "format": "int32",
819 "location": "query",
820 "type": "integer"
821 },
822 "filter": {
823 "description": "A string for filtering Operations.\n The following filter fields are supported&#58;\n\n * serviceName&#58; Require d. Only `=` operator is allowed.\n * startTime&#58; The time this job was start ed, in ISO 8601 format.\n Allowed operators are `>=`, `>`, `<=`, and `<`.\n * status&#58; Can be `done`, `in_progress`, or `failed`. Allowed\n operators are `=`, and `!=`.\n\n Filter expression supports conjunction (AND) and disjun ction (OR)\n logical operators. However, the serviceName restriction must be at the\n top-level and can only be combined with other restrictions via the AND\n logical operator.\n\n Examples&#58;\n\n * `serviceName={some-service}.google apis.com`\n * `serviceName={some-service}.googleapis.com AND startTime>=\"2017- 02-01\"`\n * `serviceName={some-service}.googleapis.com AND status=done`\n * ` serviceName={some-service}.googleapis.com AND (status=done OR startTime>=\"2017- 02-01\")`",
824 "location": "query",
825 "type": "string"
826 }
827 },
828 "path": "v1/operations",
829 "response": {
830 "$ref": "ListOperationsResponse"
831 },
832 "scopes": [
833 "https://www.googleapis.com/auth/cloud-platform",
834 "https://www.googleapis.com/auth/service.management"
835 ]
836 },
837 "get": {
838 "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.",
839 "httpMethod": "GET",
840 "id": "servicemanagement.operations.get",
841 "parameterOrder": [
842 "name"
843 ],
844 "parameters": {
845 "name": {
846 "description": "The name of the operation resource." ,
847 "location": "path",
848 "pattern": "^operations/.+$",
849 "required": true,
850 "type": "string"
851 }
852 },
853 "path": "v1/{+name}",
854 "response": {
855 "$ref": "Operation"
856 },
857 "scopes": [
858 "https://www.googleapis.com/auth/cloud-platform",
859 "https://www.googleapis.com/auth/service.management"
860 ]
861 }
862 }
863 } 863 }
864 }, 864 },
865 "revision": "20170512", 865 "revision": "20170602",
866 "rootUrl": "https://servicemanagement.googleapis.com/", 866 "rootUrl": "https://servicemanagement.googleapis.com/",
867 "schemas": { 867 "schemas": {
868 "QuotaLimit": { 868 "Advice": {
869 "description": "`QuotaLimit` defines a specific limit that applies o ver a specified duration\nfor a limit type. There can be at most one limit for a duration and limit\ntype combination defined within a `QuotaGroup`.", 869 "description": "Generated advice about this change, used for providi ng more\ninformation about how a change will affect the existing service.",
870 "id": "QuotaLimit", 870 "id": "Advice",
871 "properties": { 871 "properties": {
872 "unit": { 872 "description": {
873 "description": "Specify the unit of the quota limit. It uses the same syntax as\nMetric.unit. The supported unit kinds are determined by the quota\nbackend system.\n\nThe [Google Service Control](https://cloud.google.com /service-control)\nsupports the following unit components:\n* One of the time in tevals:\n * \"/min\" for quota every minute.\n * \"/d\" for quota every 24 h ours, starting 00:00 US Pacific Time.\n * Otherwise the quota won't be reset by time, such as storage limit.\n* One and only one of the granted containers:\n * \"/{organization}\" quota for an organization.\n * \"/{project}\" quota for a project.\n * \"/{folder}\" quota for a folder.\n * \"/{resource}\" quota for a universal resource.\n* Zero or more quota segmentation dimension. Not all comb os are valid.\n * \"/{region}\" quota for every region. Not to be used with tim e intervals.\n * Otherwise the resources granted on the target is not segmented .\n * \"/{zone}\" quota for every zone. Not to be used with time intervals.\n * Otherwise the resources granted on the target is not segmented.\n * \"/{resou rce}\" quota for a resource associated with a project or org.\n\nHere are some e xamples:\n* \"1/min/{project}\" for quota per minute per project.\n* \"1/min/{us er}\" for quota per minute per user.\n* \"1/min/{organization}\" for quota per m inute per organization.\n\nNote: the order of unit components is insignificant.\ nThe \"1\" at the beginning is required to follow the metric unit syntax.\n\nUse d by metric-based quotas only.", 873 "description": "Useful description for why this advice was a pplied and what actions should\nbe taken to mitigate any implied risks.",
874 "type": "string" 874 "type": "string"
875 }, 875 }
876 "maxLimit": { 876 },
877 "description": "Maximum number of tokens that can be consume d during the specified\nduration. Client application developers can override the default limit up\nto this maximum. If specified, this value cannot be set to a value less\nthan the default limit. If not specified, it is set to the default l imit.\n\nTo allow clients to apply overrides with no upper bound, set this to -1 ,\nindicating unlimited maximum quota.\n\nUsed by group-based quotas only.", 877 "type": "object"
878 "format": "int64", 878 },
879 "type": "string" 879 "ManagedService": {
880 "description": "The full representation of a Service that is managed by\nGoogle Service Management.",
881 "id": "ManagedService",
882 "properties": {
883 "serviceName": {
884 "description": "The name of the service. See the [overview]( /service-management/overview)\nfor naming requirements.",
885 "type": "string"
886 },
887 "producerProjectId": {
888 "description": "ID of the project that produces and owns thi s service.",
889 "type": "string"
890 }
891 },
892 "type": "object"
893 },
894 "UsageRule": {
895 "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",
896 "id": "UsageRule",
897 "properties": {
898 "selector": {
899 "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.",
900 "type": "string"
901 },
902 "allowUnregisteredCalls": {
903 "description": "True, if the method allows unregistered call s; false otherwise.",
904 "type": "boolean"
905 }
906 },
907 "type": "object"
908 },
909 "AuthRequirement": {
910 "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).",
911 "id": "AuthRequirement",
912 "properties": {
913 "audiences": {
914 "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",
915 "type": "string"
916 },
917 "providerId": {
918 "description": "id from authentication provider.\n\nExample: \n\n provider_id: bookstore_auth",
919 "type": "string"
920 }
921 },
922 "type": "object"
923 },
924 "TrafficPercentStrategy": {
925 "description": "Strategy that specifies how clients of Google Servic e Controller want to\nsend traffic to use different config versions. This is gen erally\nused by API proxy to split traffic based on your configured precentage f or\neach config version.\n\nOne example of how to gradually rollout a new servic e configuration using\nthis\nstrategy:\nDay 1\n\n Rollout {\n id: \"exam ple.googleapis.com/rollout_20160206\"\n traffic_percent_strategy {\n percentages: {\n \"example.googleapis.com/20160201\": 70.00\n \"example.googleapis.com/20160206\": 30.00\n }\n }\n }\n\nDay 2\ n\n Rollout {\n id: \"example.googleapis.com/rollout_20160207\"\n t raffic_percent_strategy: {\n percentages: {\n \"example.googleap is.com/20160206\": 100.00\n }\n }\n }",
926 "id": "TrafficPercentStrategy",
927 "properties": {
928 "percentages": {
929 "additionalProperties": {
930 "format": "double",
931 "type": "number"
932 },
933 "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.",
934 "type": "object"
935 }
936 },
937 "type": "object"
938 },
939 "Documentation": {
940 "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.",
941 "id": "Documentation",
942 "properties": {
943 "summary": {
944 "description": "A short summary of what the service does. Ca n only be provided by\nplain text.",
945 "type": "string"
946 },
947 "documentationRootUrl": {
948 "description": "The URL to the root of documentation.",
949 "type": "string"
950 },
951 "rules": {
952 "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.",
953 "items": {
954 "$ref": "DocumentationRule"
955 },
956 "type": "array"
957 },
958 "overview": {
959 "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.",
960 "type": "string"
961 },
962 "pages": {
963 "description": "The top level pages for the documentation se t.",
964 "items": {
965 "$ref": "Page"
966 },
967 "type": "array"
968 }
969 },
970 "type": "object"
971 },
972 "Condition": {
973 "description": "A condition to be met.",
974 "id": "Condition",
975 "properties": {
976 "value": {
977 "description": "DEPRECATED. Use 'values' instead.",
978 "type": "string"
979 },
980 "sys": {
981 "description": "Trusted attributes supplied by any service t hat owns resources and uses\nthe IAM system for access control.",
982 "enum": [
983 "NO_ATTR",
984 "REGION",
985 "SERVICE",
986 "NAME",
987 "IP"
988 ],
989 "enumDescriptions": [
990 "Default non-attribute type",
991 "Region of the resource",
992 "Service name",
993 "Resource name",
994 "IP address of the caller"
995 ],
996 "type": "string"
997 },
998 "iam": {
999 "description": "Trusted attributes supplied by the IAM syste m.",
1000 "enum": [
1001 "NO_ATTR",
1002 "AUTHORITY",
1003 "ATTRIBUTION",
1004 "APPROVER",
1005 "JUSTIFICATION_TYPE"
1006 ],
1007 "enumDescriptions": [
1008 "Default non-attribute.",
1009 "Either principal or (if present) authority selector.",
1010 "The principal (even if an authority selector is present ), which\nmust only be used for attribution, not authorization.",
1011 "An approver (distinct from the requester) that has auth orized this\nrequest.\nWhen used with IN, the condition indicates that one of th e approvers\nassociated with the request matches the specified principal, or is a\nmember of the specified group. Approvers can only grant additional\naccess, a nd are thus only used in a strictly positive context\n(e.g. ALLOW/IN or DENY/NOT _IN).",
1012 "What types of justifications have been supplied with th is request.\nString values should match enum names from tech.iam.JustificationTy pe,\ne.g. \"MANUAL_STRING\". It is not permitted to grant access based on\nthe * absence* of a justification, so justification conditions can only\nbe used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).\n\nMultiple justifications , e.g., a Buganizer ID and a manually-entered\nreason, are normal and supported. "
1013 ],
1014 "type": "string"
1015 },
1016 "values": {
1017 "description": "The objects of the condition. This is mutual ly exclusive with 'value'.",
1018 "items": {
1019 "type": "string"
1020 },
1021 "type": "array"
1022 },
1023 "op": {
1024 "description": "An operator to apply the subject with.",
1025 "enum": [
1026 "NO_OP",
1027 "EQUALS",
1028 "NOT_EQUALS",
1029 "IN",
1030 "NOT_IN",
1031 "DISCHARGED"
1032 ],
1033 "enumDescriptions": [
1034 "Default no-op.",
1035 "DEPRECATED. Use IN instead.",
1036 "DEPRECATED. Use NOT_IN instead.",
1037 "The condition is true if the subject (or any element of it if it is\na set) matches any of the supplied values.",
1038 "The condition is true if the subject (or every element of it if it is\na set) matches none of the supplied values.",
1039 "Subject is discharged"
1040 ],
1041 "type": "string"
1042 },
1043 "svc": {
1044 "description": "Trusted attributes discharged by the service .",
1045 "type": "string"
1046 }
1047 },
1048 "type": "object"
1049 },
1050 "AuditLogConfig": {
1051 "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.",
1052 "id": "AuditLogConfig",
1053 "properties": {
1054 "exemptedMembers": {
1055 "description": "Specifies the identities that do not cause l ogging for this type of\npermission.\nFollows the same format of Binding.members .",
1056 "items": {
1057 "type": "string"
1058 },
1059 "type": "array"
1060 },
1061 "logType": {
1062 "description": "The log type that this config enables.",
1063 "enum": [
1064 "LOG_TYPE_UNSPECIFIED",
1065 "ADMIN_READ",
1066 "DATA_WRITE",
1067 "DATA_READ"
1068 ],
1069 "enumDescriptions": [
1070 "Default case. Should never be this.",
1071 "Admin reads. Example: CloudIAM getIamPolicy",
1072 "Data writes. Example: CloudSQL Users create",
1073 "Data reads. Example: CloudSQL Users list"
1074 ],
1075 "type": "string"
1076 }
1077 },
1078 "type": "object"
1079 },
1080 "ConfigSource": {
1081 "description": "Represents a source file which is used to generate t he service configuration\ndefined by `google.api.Service`.",
1082 "id": "ConfigSource",
1083 "properties": {
1084 "files": {
1085 "description": "Set of source configuration files that are u sed to generate a service\nconfiguration (`google.api.Service`).",
1086 "items": {
1087 "$ref": "ConfigFile"
1088 },
1089 "type": "array"
1090 },
1091 "id": {
1092 "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.",
1093 "type": "string"
1094 }
1095 },
1096 "type": "object"
1097 },
1098 "AuthenticationRule": {
1099 "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.",
1100 "id": "AuthenticationRule",
1101 "properties": {
1102 "oauth": {
1103 "$ref": "OAuthRequirements",
1104 "description": "The requirements for OAuth credentials."
1105 },
1106 "customAuth": {
1107 "$ref": "CustomAuthRequirements",
1108 "description": "Configuration for custom authentication."
1109 },
1110 "requirements": {
1111 "description": "Requirements for additional authentication p roviders.",
1112 "items": {
1113 "$ref": "AuthRequirement"
1114 },
1115 "type": "array"
1116 },
1117 "selector": {
1118 "description": "Selects the methods to which this rule appli es.\n\nRefer to selector for syntax details.",
1119 "type": "string"
1120 },
1121 "allowWithoutCredential": {
1122 "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.",
1123 "type": "boolean"
1124 }
1125 },
1126 "type": "object"
1127 },
1128 "BackendRule": {
1129 "description": "A backend rule provides configuration for an individ ual API element.",
1130 "id": "BackendRule",
1131 "properties": {
1132 "address": {
1133 "description": "The address of the API backend.",
1134 "type": "string"
1135 },
1136 "selector": {
1137 "description": "Selects the methods to which this rule appli es.\n\nRefer to selector for syntax details.",
1138 "type": "string"
1139 },
1140 "deadline": {
1141 "description": "The number of seconds to wait for a response from a request. The\ndefault depends on the deployment context.",
1142 "format": "double",
1143 "type": "number"
1144 },
1145 "minDeadline": {
1146 "description": "Minimum deadline in seconds needed for this method. Calls having deadline\nvalue lower than this will be rejected.",
1147 "format": "double",
1148 "type": "number"
1149 }
1150 },
1151 "type": "object"
1152 },
1153 "Policy": {
1154 "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).",
1155 "id": "Policy",
1156 "properties": {
1157 "auditConfigs": {
1158 "description": "Specifies cloud audit logging configuration for this policy.",
1159 "items": {
1160 "$ref": "AuditConfig"
1161 },
1162 "type": "array"
1163 },
1164 "bindings": {
1165 "description": "Associates a list of `members` to a `role`.\ n`bindings` with no members will result in an error.",
1166 "items": {
1167 "$ref": "Binding"
1168 },
1169 "type": "array"
1170 },
1171 "etag": {
1172 "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.",
1173 "format": "byte",
1174 "type": "string"
1175 },
1176 "iamOwned": {
1177 "type": "boolean"
1178 },
1179 "rules": {
1180 "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.",
1181 "items": {
1182 "$ref": "Rule"
1183 },
1184 "type": "array"
1185 },
1186 "version": {
1187 "description": "Version of the `Policy`. The default version is 0.",
1188 "format": "int32",
1189 "type": "integer"
1190 }
1191 },
1192 "type": "object"
1193 },
1194 "UndeleteServiceResponse": {
1195 "description": "Response message for UndeleteService method.",
1196 "id": "UndeleteServiceResponse",
1197 "properties": {
1198 "service": {
1199 "$ref": "ManagedService",
1200 "description": "Revived service resource."
1201 }
1202 },
1203 "type": "object"
1204 },
1205 "Api": {
1206 "description": "Api is a light-weight descriptor for a protocol buff er service.",
1207 "id": "Api",
1208 "properties": {
1209 "methods": {
1210 "description": "The methods of this api, in unspecified orde r.",
1211 "items": {
1212 "$ref": "Method"
1213 },
1214 "type": "array"
880 }, 1215 },
881 "name": { 1216 "name": {
882 "description": "Name of the quota limit. The name is used to refer to the limit when\noverriding the default limit on per-consumer basis.\n\ nFor group-based quota limits, the name must be unique within the quota\ngroup. If a name is not provided, it will be generated from the limit_by\nand duration fields.\n\nFor metric-based quota limits, the name must be provided, and it must be\nunique within the service. The name can only include alphanumeric\ncharacte rs as well as '-'.\n\nThe maximum length of the limit name is 64 characters.\n\n The name of a limit is used as a unique identifier for this limit.\nTherefore, o nce a limit has been put into use, its name should be\nimmutable. You can use th e display_name field to provide a user-friendly\nname for the limit. The display name can be evolved over time without\naffecting the identity of the limit.", 1217 "description": "The fully qualified name of this api, includ ing package name\nfollowed by the api's simple name.",
883 "type": "string" 1218 "type": "string"
884 }, 1219 },
885 "freeTier": { 1220 "sourceContext": {
886 "description": "Free tier value displayed in the Developers Console for this limit.\nThe free tier is the number of tokens that will be subt racted from the\nbilled amount when billing is enabled.\nThis field can only be set on a limit with duration \"1d\", in a billable\ngroup; it is invalid on any other limit. If this field is not set, it\ndefaults to 0, indicating that there is no free tier for this service.\n\nUsed by group-based quotas only.", 1221 "$ref": "SourceContext",
887 "format": "int64", 1222 "description": "Source context for the protocol buffer servi ce represented by this\nmessage."
888 "type": "string"
889 },
890 "duration": {
891 "description": "Duration of this limit in textual notation. Example: \"100s\", \"24h\", \"1d\".\nFor duration longer than a day, only multip le of days is supported. We\nsupport only \"100s\" and \"1d\" for now. Additiona l support will be added in\nthe future. \"0\" indicates indefinite duration.\n\n Used by group-based quotas only.",
892 "type": "string"
893 },
894 "defaultLimit": {
895 "description": "Default number of tokens that can be consume d during the specified\nduration. This is the number of tokens assigned when a c lient\napplication developer activates the service for his/her project.\n\nSpeci fying a value of 0 will block all requests. This can be used if you\nare provisi oning quota to selected consumers and blocking others.\nSimilarly, a value of -1 will indicate an unlimited quota. No other\nnegative values are allowed.\n\nUse d by group-based quotas only.",
896 "format": "int64",
897 "type": "string"
898 },
899 "metric": {
900 "description": "The name of the metric this quota limit appl ies to. The quota limits with\nthe same metric will be checked together during r untime. The metric must be\ndefined within the service config.\n\nUsed by metric -based quotas only.",
901 "type": "string"
902 },
903 "displayName": {
904 "description": "User-visible display name for this limit.\nO ptional. If not set, the UI will provide a default display name based on\nthe qu ota configuration. This field can be used to override the default\ndisplay name generated from the configuration.",
905 "type": "string"
906 },
907 "description": {
908 "description": "Optional. User-visible, extended description for this quota limit.\nShould be used only when more context is needed to under stand this limit\nthan provided by the limit's display name (see: `display_name` ).",
909 "type": "string"
910 },
911 "values": {
912 "additionalProperties": {
913 "format": "int64",
914 "type": "string"
915 },
916 "description": "Tiered limit values. Also allows for regiona l or zone overrides for these\nvalues if \"/{region}\" or \"/{zone}\" is specifi ed in the unit field.\n\nCurrently supported tiers from low to high:\nVERY_LOW, LOW, STANDARD, HIGH, VERY_HIGH\n\nTo apply different limit values for users acco rding to their tiers, specify\nthe values for the tiers you want to differentiat e. For example:\n{LOW:100, STANDARD:500, HIGH:1000, VERY_HIGH:5000}\n\nThe limit value for each tier is optional except for the tier STANDARD.\nThe limit value for an unspecified tier falls to the value of its next\ntier towards tier STANDA RD. For the above example, the limit value for tier\nSTANDARD is 500.\n\nTo appl y the same limit value for all users, just specify limit value for\ntier STANDAR D. For example: {STANDARD:500}.\n\nTo apply a regional overide for a tier, add a map entry with key\n\"<TIER>/<region>\", where <region> is a region name. Simil arly, for a zone\noverride, add a map entry with key \"<TIER>/{zone}\".\nFurther , a wildcard can be used at the end of a zone name in order to\nspecify zone lev el overrides. For example:\nLOW: 10, STANDARD: 50, HIGH: 100,\nLOW/us-central1: 20, STANDARD/us-central1: 60, HIGH/us-central1: 200,\nLOW/us-central1-*: 10, STA NDARD/us-central1-*: 20, HIGH/us-central1-*: 80\n\nThe regional overrides tier s et for each region must be the same as\nthe tier set for default limit values. S ame rule applies for zone overrides\ntier as well.\n\nUsed by metric-based quota s only.",
917 "type": "object"
918 }
919 },
920 "type": "object"
921 },
922 "Method": {
923 "description": "Method represents a method of an api.",
924 "id": "Method",
925 "properties": {
926 "responseTypeUrl": {
927 "description": "The URL of the output message type.",
928 "type": "string"
929 },
930 "options": {
931 "description": "Any metadata attached to the method.",
932 "items": {
933 "$ref": "Option"
934 },
935 "type": "array"
936 },
937 "responseStreaming": {
938 "description": "If true, the response is streamed.",
939 "type": "boolean"
940 },
941 "name": {
942 "description": "The simple name of this method.",
943 "type": "string"
944 },
945 "requestTypeUrl": {
946 "description": "A URL of the input message type.",
947 "type": "string"
948 },
949 "requestStreaming": {
950 "description": "If true, the request is streamed.",
951 "type": "boolean"
952 }, 1223 },
953 "syntax": { 1224 "syntax": {
954 "description": "The source syntax of this method.", 1225 "description": "The source syntax of the service.",
955 "enum": [ 1226 "enum": [
956 "SYNTAX_PROTO2", 1227 "SYNTAX_PROTO2",
957 "SYNTAX_PROTO3" 1228 "SYNTAX_PROTO3"
958 ],
959 "enumDescriptions": [
960 "Syntax `proto2`.",
961 "Syntax `proto3`."
962 ],
963 "type": "string"
964 }
965 },
966 "type": "object"
967 },
968 "ListServiceRolloutsResponse": {
969 "description": "Response message for ListServiceRollouts method.",
970 "id": "ListServiceRolloutsResponse",
971 "properties": {
972 "nextPageToken": {
973 "description": "The token of the next page of results.",
974 "type": "string"
975 },
976 "rollouts": {
977 "description": "The list of rollout resources.",
978 "items": {
979 "$ref": "Rollout"
980 },
981 "type": "array"
982 }
983 },
984 "type": "object"
985 },
986 "ConfigRef": {
987 "description": "Represents a service configuration with its name and id.",
988 "id": "ConfigRef",
989 "properties": {
990 "name": {
991 "description": "Resource name of a service config. It must h ave the following\nformat: \"services/{service name}/configs/{config id}\".",
992 "type": "string"
993 }
994 },
995 "type": "object"
996 },
997 "Mixin": {
998 "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 }",
999 "id": "Mixin",
1000 "properties": {
1001 "name": {
1002 "description": "The fully qualified name of the API which is included.",
1003 "type": "string"
1004 },
1005 "root": {
1006 "description": "If non-empty specifies a path under which in herited HTTP paths\nare rooted.",
1007 "type": "string"
1008 }
1009 },
1010 "type": "object"
1011 },
1012 "FlowOperationMetadata": {
1013 "description": "The metadata associated with a long running operatio n resource.",
1014 "id": "FlowOperationMetadata",
1015 "properties": {
1016 "startTime": {
1017 "description": "The start time of the operation.",
1018 "format": "google-datetime",
1019 "type": "string"
1020 },
1021 "flowName": {
1022 "description": "The name of the top-level flow corresponding to this operation.\nMust be equal to the \"name\" field for a FlowName enum.",
1023 "type": "string"
1024 },
1025 "resourceNames": {
1026 "description": "The full name of the resources that this flo w is directly associated with.",
1027 "items": {
1028 "type": "string"
1029 },
1030 "type": "array"
1031 },
1032 "cancelState": {
1033 "description": "The state of the operation with respect to c ancellation.",
1034 "enum": [
1035 "RUNNING",
1036 "UNCANCELLABLE",
1037 "CANCELLED"
1038 ],
1039 "enumDescriptions": [
1040 "Default state, cancellable but not cancelled.",
1041 "The operation has proceeded past the point of no return and cannot\nbe cancelled.",
1042 "The operation has been cancelled, work should cease\nan d any needed rollback steps executed."
1043 ],
1044 "type": "string"
1045 },
1046 "deadline": {
1047 "description": "Deadline for the flow to complete, to preven t orphaned Operations.\n\nIf the flow has not completed by this time, it may be terminated by\nthe engine, or force-failed by Operation lookup.\n\nNote that thi s is not a hard deadline after which the Flow will\ndefinitely be failed, rather it is a deadline after which it is reasonable\nto suspect a problem and other p arts of the system may kill operation\nto ensure we don't have orphans.\nsee als o: go/prevent-orphaned-operations",
1048 "format": "google-datetime",
1049 "type": "string"
1050 }
1051 },
1052 "type": "object"
1053 },
1054 "CustomError": {
1055 "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",
1056 "id": "CustomError",
1057 "properties": {
1058 "rules": {
1059 "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.",
1060 "items": {
1061 "$ref": "CustomErrorRule"
1062 },
1063 "type": "array"
1064 },
1065 "types": {
1066 "description": "The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.",
1067 "items": {
1068 "type": "string"
1069 },
1070 "type": "array"
1071 }
1072 },
1073 "type": "object"
1074 },
1075 "CounterOptions": {
1076 "description": "Options for counters",
1077 "id": "CounterOptions",
1078 "properties": {
1079 "metric": {
1080 "description": "The metric to update.",
1081 "type": "string"
1082 },
1083 "field": {
1084 "description": "The field value to attribute.",
1085 "type": "string"
1086 }
1087 },
1088 "type": "object"
1089 },
1090 "Http": {
1091 "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.",
1092 "id": "Http",
1093 "properties": {
1094 "fullyDecodeReservedExpansion": {
1095 "description": "When set to true, URL path parmeters will be fully URI-decoded except in\ncases of single segment matches in reserved expans ion, where \"%2F\" will be\nleft encoded.\n\nThe default behavior is to not deco de RFC 6570 reserved characters in multi\nsegment matches.",
1096 "type": "boolean"
1097 },
1098 "rules": {
1099 "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.",
1100 "items": {
1101 "$ref": "HttpRule"
1102 },
1103 "type": "array"
1104 }
1105 },
1106 "type": "object"
1107 },
1108 "SourceInfo": {
1109 "description": "Source information used to create a Service Config",
1110 "id": "SourceInfo",
1111 "properties": {
1112 "sourceFiles": {
1113 "description": "All files used during config generation.",
1114 "items": {
1115 "additionalProperties": {
1116 "description": "Properties of the object. Contains f ield @type with type URL.",
1117 "type": "any"
1118 },
1119 "type": "object"
1120 },
1121 "type": "array"
1122 }
1123 },
1124 "type": "object"
1125 },
1126 "Control": {
1127 "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.",
1128 "id": "Control",
1129 "properties": {
1130 "environment": {
1131 "description": "The service control environment to use. If e mpty, no control plane\nfeature (like quota and billing) will be enabled.",
1132 "type": "string"
1133 }
1134 },
1135 "type": "object"
1136 },
1137 "SystemParameter": {
1138 "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.",
1139 "id": "SystemParameter",
1140 "properties": {
1141 "name": {
1142 "description": "Define the name of the parameter, such as \" api_key\" . It is case sensitive.",
1143 "type": "string"
1144 },
1145 "urlQueryParameter": {
1146 "description": "Define the URL query parameter name to use f or the parameter. It is case\nsensitive.",
1147 "type": "string"
1148 },
1149 "httpHeader": {
1150 "description": "Define the HTTP header name to use for the p arameter. It is case\ninsensitive.",
1151 "type": "string"
1152 }
1153 },
1154 "type": "object"
1155 },
1156 "Field": {
1157 "description": "A single field of a message type.",
1158 "id": "Field",
1159 "properties": {
1160 "oneofIndex": {
1161 "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.",
1162 "format": "int32",
1163 "type": "integer"
1164 },
1165 "packed": {
1166 "description": "Whether to use alternative packed wire repre sentation.",
1167 "type": "boolean"
1168 },
1169 "cardinality": {
1170 "description": "The field cardinality.",
1171 "enum": [
1172 "CARDINALITY_UNKNOWN",
1173 "CARDINALITY_OPTIONAL",
1174 "CARDINALITY_REQUIRED",
1175 "CARDINALITY_REPEATED"
1176 ],
1177 "enumDescriptions": [
1178 "For fields with unknown cardinality.",
1179 "For optional fields.",
1180 "For required fields. Proto2 syntax only.",
1181 "For repeated fields."
1182 ],
1183 "type": "string"
1184 },
1185 "defaultValue": {
1186 "description": "The string value of the default value of thi s field. Proto2 syntax only.",
1187 "type": "string"
1188 },
1189 "name": {
1190 "description": "The field name.",
1191 "type": "string"
1192 },
1193 "typeUrl": {
1194 "description": "The field type URL, without the scheme, for message or enumeration\ntypes. Example: `\"type.googleapis.com/google.protobuf.T imestamp\"`.",
1195 "type": "string"
1196 },
1197 "number": {
1198 "description": "The field number.",
1199 "format": "int32",
1200 "type": "integer"
1201 },
1202 "kind": {
1203 "description": "The field type.",
1204 "enum": [
1205 "TYPE_UNKNOWN",
1206 "TYPE_DOUBLE",
1207 "TYPE_FLOAT",
1208 "TYPE_INT64",
1209 "TYPE_UINT64",
1210 "TYPE_INT32",
1211 "TYPE_FIXED64",
1212 "TYPE_FIXED32",
1213 "TYPE_BOOL",
1214 "TYPE_STRING",
1215 "TYPE_GROUP",
1216 "TYPE_MESSAGE",
1217 "TYPE_BYTES",
1218 "TYPE_UINT32",
1219 "TYPE_ENUM",
1220 "TYPE_SFIXED32",
1221 "TYPE_SFIXED64",
1222 "TYPE_SINT32",
1223 "TYPE_SINT64"
1224 ],
1225 "enumDescriptions": [
1226 "Field type unknown.",
1227 "Field type double.",
1228 "Field type float.",
1229 "Field type int64.",
1230 "Field type uint64.",
1231 "Field type int32.",
1232 "Field type fixed64.",
1233 "Field type fixed32.",
1234 "Field type bool.",
1235 "Field type string.",
1236 "Field type group. Proto2 syntax only, and deprecated.",
1237 "Field type message.",
1238 "Field type bytes.",
1239 "Field type uint32.",
1240 "Field type enum.",
1241 "Field type sfixed32.",
1242 "Field type sfixed64.",
1243 "Field type sint32.",
1244 "Field type sint64."
1245 ],
1246 "type": "string"
1247 },
1248 "jsonName": {
1249 "description": "The field JSON name.",
1250 "type": "string"
1251 },
1252 "options": {
1253 "description": "The protocol buffer options.",
1254 "items": {
1255 "$ref": "Option"
1256 },
1257 "type": "array"
1258 }
1259 },
1260 "type": "object"
1261 },
1262 "Monitoring": {
1263 "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",
1264 "id": "Monitoring",
1265 "properties": {
1266 "consumerDestinations": {
1267 "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.",
1268 "items": {
1269 "$ref": "MonitoringDestination"
1270 },
1271 "type": "array"
1272 },
1273 "producerDestinations": {
1274 "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.",
1275 "items": {
1276 "$ref": "MonitoringDestination"
1277 },
1278 "type": "array"
1279 }
1280 },
1281 "type": "object"
1282 },
1283 "TestIamPermissionsRequest": {
1284 "description": "Request message for `TestIamPermissions` method.",
1285 "id": "TestIamPermissionsRequest",
1286 "properties": {
1287 "permissions": {
1288 "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).",
1289 "items": {
1290 "type": "string"
1291 },
1292 "type": "array"
1293 }
1294 },
1295 "type": "object"
1296 },
1297 "Enum": {
1298 "description": "Enum type definition.",
1299 "id": "Enum",
1300 "properties": {
1301 "name": {
1302 "description": "Enum type name.",
1303 "type": "string"
1304 },
1305 "enumvalue": {
1306 "description": "Enum value definitions.",
1307 "items": {
1308 "$ref": "EnumValue"
1309 },
1310 "type": "array"
1311 },
1312 "options": {
1313 "description": "Protocol buffer options.",
1314 "items": {
1315 "$ref": "Option"
1316 },
1317 "type": "array"
1318 },
1319 "sourceContext": {
1320 "$ref": "SourceContext",
1321 "description": "The source context."
1322 },
1323 "syntax": {
1324 "description": "The source syntax.",
1325 "enum": [
1326 "SYNTAX_PROTO2",
1327 "SYNTAX_PROTO3"
1328 ], 1229 ],
1329 "enumDescriptions": [ 1230 "enumDescriptions": [
1330 "Syntax `proto2`.", 1231 "Syntax `proto2`.",
1331 "Syntax `proto3`." 1232 "Syntax `proto3`."
1332 ], 1233 ],
1333 "type": "string" 1234 "type": "string"
1235 },
1236 "version": {
1237 "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",
1238 "type": "string"
1239 },
1240 "mixins": {
1241 "description": "Included APIs. See Mixin.",
1242 "items": {
1243 "$ref": "Mixin"
1244 },
1245 "type": "array"
1246 },
1247 "options": {
1248 "description": "Any metadata attached to the API.",
1249 "items": {
1250 "$ref": "Option"
1251 },
1252 "type": "array"
1253 }
1254 },
1255 "type": "object"
1256 },
1257 "MetricRule": {
1258 "description": "Bind API methods to metrics. Binding a method to a m etric causes that\nmetric's configured quota behaviors to apply to the method ca ll.",
1259 "id": "MetricRule",
1260 "properties": {
1261 "selector": {
1262 "description": "Selects the methods to which this rule appli es.\n\nRefer to selector for syntax details.",
1263 "type": "string"
1264 },
1265 "metricCosts": {
1266 "additionalProperties": {
1267 "format": "int64",
1268 "type": "string"
1269 },
1270 "description": "Metrics to update when the selected methods are called, and the associated\ncost applied to each metric.\n\nThe key of the m ap is the metric name, and the values are the amount\nincreased for the metric a gainst which the quota limits are defined.\nThe value must not be negative.",
1271 "type": "object"
1272 }
1273 },
1274 "type": "object"
1275 },
1276 "DataAccessOptions": {
1277 "description": "Write a Data Access (Gin) log",
1278 "id": "DataAccessOptions",
1279 "properties": {},
1280 "type": "object"
1281 },
1282 "Authentication": {
1283 "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",
1284 "id": "Authentication",
1285 "properties": {
1286 "rules": {
1287 "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.",
1288 "items": {
1289 "$ref": "AuthenticationRule"
1290 },
1291 "type": "array"
1292 },
1293 "providers": {
1294 "description": "Defines a set of authentication providers th at a service supports.",
1295 "items": {
1296 "$ref": "AuthProvider"
1297 },
1298 "type": "array"
1299 }
1300 },
1301 "type": "object"
1302 },
1303 "Operation": {
1304 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.",
1305 "id": "Operation",
1306 "properties": {
1307 "done": {
1308 "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.",
1309 "type": "boolean"
1310 },
1311 "response": {
1312 "additionalProperties": {
1313 "description": "Properties of the object. Contains field @type with type URL.",
1314 "type": "any"
1315 },
1316 "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`.",
1317 "type": "object"
1318 },
1319 "name": {
1320 "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` .",
1321 "type": "string"
1322 },
1323 "error": {
1324 "$ref": "Status",
1325 "description": "The error result of the operation in case of failure or cancellation."
1326 },
1327 "metadata": {
1328 "additionalProperties": {
1329 "description": "Properties of the object. Contains field @type with type URL.",
1330 "type": "any"
1331 },
1332 "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. ",
1333 "type": "object"
1334 }
1335 },
1336 "type": "object"
1337 },
1338 "Page": {
1339 "description": "Represents a documentation page. A page can contain subpages to represent\nnested documentation set structure.",
1340 "id": "Page",
1341 "properties": {
1342 "content": {
1343 "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.",
1344 "type": "string"
1345 },
1346 "subpages": {
1347 "description": "Subpages of this page. The order of subpages specified here will be\nhonored in the generated docset.",
1348 "items": {
1349 "$ref": "Page"
1350 },
1351 "type": "array"
1352 },
1353 "name": {
1354 "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`.",
1355 "type": "string"
1356 }
1357 },
1358 "type": "object"
1359 },
1360 "Status": {
1361 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Lang uage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mess age is\nexposed in different client libraries and different wire protocols, it c an be\nmapped differently. For example, it will likely be mapped to some excepti ons\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n \nThe error model and the `Status` message can be used in a variety of\nenvironm ents, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n - Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step m ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\ n- Asynchronous operations. If an API call embeds asynchronous operation\n re sults in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are store d in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
1362 "id": "Status",
1363 "properties": {
1364 "code": {
1365 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
1366 "format": "int32",
1367 "type": "integer"
1368 },
1369 "message": {
1370 "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.",
1371 "type": "string"
1372 },
1373 "details": {
1374 "description": "A list of messages that carry the error deta ils. There will be a\ncommon set of message types for APIs to use.",
1375 "items": {
1376 "additionalProperties": {
1377 "description": "Properties of the object. Contains f ield @type with type URL.",
1378 "type": "any"
1379 },
1380 "type": "object"
1381 },
1382 "type": "array"
1383 }
1384 },
1385 "type": "object"
1386 },
1387 "Binding": {
1388 "description": "Associates `members` with a `role`.",
1389 "id": "Binding",
1390 "properties": {
1391 "condition": {
1392 "$ref": "Expr",
1393 "description": "The condition that is associated with this b inding.\nNOTE: an unsatisfied condition will not allow user access via current\n binding. Different bindings, including their conditions, are examined\nindepende ntly.\nThis field is GOOGLE_INTERNAL."
1394 },
1395 "members": {
1396 "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\n* `domain:{domain}`: A Google Apps domain name that repre sents all the\n users of that domain. For example, `google.com` or `example.co m`.\n\n",
1397 "items": {
1398 "type": "string"
1399 },
1400 "type": "array"
1401 },
1402 "role": {
1403 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
1404 "type": "string"
1405 }
1406 },
1407 "type": "object"
1408 },
1409 "AuthProvider": {
1410 "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).",
1411 "id": "AuthProvider",
1412 "properties": {
1413 "audiences": {
1414 "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",
1415 "type": "string"
1416 },
1417 "id": {
1418 "description": "The unique identifier of the auth provider. It will be referred to by\n`AuthRequirement.provider_id`.\n\nExample: \"bookstor e_auth\".",
1419 "type": "string"
1420 },
1421 "issuer": {
1422 "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",
1423 "type": "string"
1424 },
1425 "jwksUri": {
1426 "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",
1427 "type": "string"
1428 }
1429 },
1430 "type": "object"
1431 },
1432 "Service": {
1433 "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",
1434 "id": "Service",
1435 "properties": {
1436 "monitoring": {
1437 "$ref": "Monitoring",
1438 "description": "Monitoring configuration."
1439 },
1440 "producerProjectId": {
1441 "description": "The Google project that owns this service.",
1442 "type": "string"
1443 },
1444 "systemTypes": {
1445 "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.",
1446 "items": {
1447 "$ref": "Type"
1448 },
1449 "type": "array"
1450 },
1451 "visibility": {
1452 "$ref": "Visibility",
1453 "description": "API visibility configuration."
1454 },
1455 "quota": {
1456 "$ref": "Quota",
1457 "description": "Quota configuration."
1458 },
1459 "name": {
1460 "description": "The DNS address at which this service is ava ilable,\ne.g. `calendar.googleapis.com`.",
1461 "type": "string"
1462 },
1463 "customError": {
1464 "$ref": "CustomError",
1465 "description": "Custom error configuration."
1466 },
1467 "title": {
1468 "description": "The product title for this service.",
1469 "type": "string"
1470 },
1471 "endpoints": {
1472 "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.",
1473 "items": {
1474 "$ref": "Endpoint"
1475 },
1476 "type": "array"
1477 },
1478 "logs": {
1479 "description": "Defines the logs used by this service.",
1480 "items": {
1481 "$ref": "LogDescriptor"
1482 },
1483 "type": "array"
1484 },
1485 "apis": {
1486 "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.",
1487 "items": {
1488 "$ref": "Api"
1489 },
1490 "type": "array"
1491 },
1492 "types": {
1493 "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",
1494 "items": {
1495 "$ref": "Type"
1496 },
1497 "type": "array"
1498 },
1499 "sourceInfo": {
1500 "$ref": "SourceInfo",
1501 "description": "Output only. The source information for this configuration if available."
1502 },
1503 "http": {
1504 "$ref": "Http",
1505 "description": "HTTP configuration."
1506 },
1507 "backend": {
1508 "$ref": "Backend",
1509 "description": "API backend configuration."
1510 },
1511 "systemParameters": {
1512 "$ref": "SystemParameters",
1513 "description": "System parameter configuration."
1514 },
1515 "documentation": {
1516 "$ref": "Documentation",
1517 "description": "Additional API documentation."
1518 },
1519 "logging": {
1520 "$ref": "Logging",
1521 "description": "Logging configuration."
1522 },
1523 "monitoredResources": {
1524 "description": "Defines the monitored resources used by this service. This is required\nby the Service.monitoring and Service.logging config urations.",
1525 "items": {
1526 "$ref": "MonitoredResourceDescriptor"
1527 },
1528 "type": "array"
1529 },
1530 "enums": {
1531 "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",
1532 "items": {
1533 "$ref": "Enum"
1534 },
1535 "type": "array"
1536 },
1537 "context": {
1538 "$ref": "Context",
1539 "description": "Context configuration."
1540 },
1541 "id": {
1542 "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.",
1543 "type": "string"
1544 },
1545 "usage": {
1546 "$ref": "Usage",
1547 "description": "Configuration controlling usage of this serv ice."
1548 },
1549 "metrics": {
1550 "description": "Defines the metrics used by this service.",
1551 "items": {
1552 "$ref": "MetricDescriptor"
1553 },
1554 "type": "array"
1555 },
1556 "authentication": {
1557 "$ref": "Authentication",
1558 "description": "Auth configuration."
1559 },
1560 "experimental": {
1561 "$ref": "Experimental",
1562 "description": "Experimental configuration."
1563 },
1564 "control": {
1565 "$ref": "Control",
1566 "description": "Configuration for the service control plane. "
1567 },
1568 "configVersion": {
1569 "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`.",
1570 "format": "uint32",
1571 "type": "integer"
1572 }
1573 },
1574 "type": "object"
1575 },
1576 "EnumValue": {
1577 "description": "Enum value definition.",
1578 "id": "EnumValue",
1579 "properties": {
1580 "name": {
1581 "description": "Enum value name.",
1582 "type": "string"
1583 },
1584 "options": {
1585 "description": "Protocol buffer options.",
1586 "items": {
1587 "$ref": "Option"
1588 },
1589 "type": "array"
1590 },
1591 "number": {
1592 "description": "Enum value number.",
1593 "format": "int32",
1594 "type": "integer"
1595 }
1596 },
1597 "type": "object"
1598 },
1599 "ListOperationsResponse": {
1600 "description": "The response message for Operations.ListOperations." ,
1601 "id": "ListOperationsResponse",
1602 "properties": {
1603 "operations": {
1604 "description": "A list of operations that matches the specif ied filter in the request.",
1605 "items": {
1606 "$ref": "Operation"
1607 },
1608 "type": "array"
1609 },
1610 "nextPageToken": {
1611 "description": "The standard List next-page token.",
1612 "type": "string"
1613 }
1614 },
1615 "type": "object"
1616 },
1617 "CustomHttpPattern": {
1618 "description": "A custom pattern is used for defining custom HTTP ve rb.",
1619 "id": "CustomHttpPattern",
1620 "properties": {
1621 "kind": {
1622 "description": "The name of this custom HTTP verb.",
1623 "type": "string"
1624 },
1625 "path": {
1626 "description": "The path matched by this custom verb.",
1627 "type": "string"
1628 }
1629 },
1630 "type": "object"
1631 },
1632 "OperationMetadata": {
1633 "description": "The metadata associated with a long running operatio n resource.",
1634 "id": "OperationMetadata",
1635 "properties": {
1636 "progressPercentage": {
1637 "description": "Percentage of completion of this operation, ranging from 0 to 100.",
1638 "format": "int32",
1639 "type": "integer"
1640 },
1641 "startTime": {
1642 "description": "The start time of the operation.",
1643 "format": "google-datetime",
1644 "type": "string"
1645 },
1646 "resourceNames": {
1647 "description": "The full name of the resources that this ope ration is directly\nassociated with.",
1648 "items": {
1649 "type": "string"
1650 },
1651 "type": "array"
1652 },
1653 "steps": {
1654 "description": "Detailed status information for each step. T he order is undetermined.",
1655 "items": {
1656 "$ref": "Step"
1657 },
1658 "type": "array"
1659 }
1660 },
1661 "type": "object"
1662 },
1663 "SystemParameterRule": {
1664 "description": "Define a system parameter rule mapping system parame ter definitions to\nmethods.",
1665 "id": "SystemParameterRule",
1666 "properties": {
1667 "parameters": {
1668 "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.",
1669 "items": {
1670 "$ref": "SystemParameter"
1671 },
1672 "type": "array"
1673 },
1674 "selector": {
1675 "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.",
1676 "type": "string"
1677 }
1678 },
1679 "type": "object"
1680 },
1681 "HttpRule": {
1682 "description": "`HttpRule` defines the mapping of an RPC method to o ne or more HTTP\nREST API methods. The mapping specifies how different portions of the RPC\nrequest message are mapped to URL path, URL query parameters, and\nH TTP request body. The mapping is typically specified as an\n`google.api.http` an notation on the RPC method,\nsee \"google/api/annotations.proto\" for details.\n \nThe mapping consists of a field specifying the path template and\nmethod kind. The path template can refer to fields in the request\nmessage, as in the examp le below which describes a REST GET\noperation on a resource collection of messa ges:\n\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) retur ns (Message) {\n option (google.api.http).get = \"/v1/messages/{message_i d}/{sub.subfield}\";\n }\n }\n message GetMessageRequest {\n mes sage SubMessage {\n string subfield = 1;\n }\n string message_i d = 1; // mapped to the URL\n SubMessage sub = 2; // `sub.subfield` is u rl-mapped\n }\n message Message {\n string text = 1; // content of th e resource\n }\n\nThe same http annotation can alternatively be expressed ins ide the\n`GRPC API Configuration` YAML file.\n\n http:\n rules:\n - selector: <proto_package_name>.Messaging.GetMessage\n get: /v1/messa ges/{message_id}/{sub.subfield}\n\nThis definition enables an automatic, bidrect ional mapping of HTTP\nJSON to RPC. Example:\n\nHTTP | RPC\n-----|-----\n`GET /v 1/messages/123456/foo` | `GetMessage(message_id: \"123456\" sub: SubMessage(sub field: \"foo\"))`\n\nIn general, not only fields but also field paths can be ref erenced\nfrom a path pattern. Fields mapped to the path pattern cannot be\nrepea ted and must have a primitive (non-message) type.\n\nAny fields in the request m essage which are not bound by the path\npattern automatically become (optional) HTTP query\nparameters. Assume the following definition of the request message:\ n\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (M essage) {\n option (google.api.http).get = \"/v1/messages/{message_id}\"; \n }\n }\n message GetMessageRequest {\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 s ub = 3; // `sub.subfield` becomes a parameter\n }\n\n\nThis enables a HTTP JSON to RPC mapping as below:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123 456?revision=2&sub.subfield=foo` | `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))`\n\nNote that fields which are mapped to H TTP parameters must have a\nprimitive type or a repeated primitive type. Message types are not\nallowed. In the case of a repeated type, the parameter can be\nr epeated in the URL, as in `...?param=A&param=B`.\n\nFor HTTP method kinds which allow a request body, the `body` field\nspecifies the mapping. Consider a REST u pdate method on the\nmessage resource collection:\n\n\n service Messaging {\n rpc UpdateMessage(UpdateMessageRequest) returns (Message) {\n optio n (google.api.http) = {\n put: \"/v1/messages/{message_id}\"\n body: \"message\"\n };\n }\n }\n message UpdateMessageRequest {\n string message_id = 1; // mapped 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(message_id: \"123456\" message { text: \ "Hi!\" })`\n\nThe special name `*` can be used in the body mapping to define tha t\nevery field not bound by the path template should be mapped to the\nrequest b ody. This enables the following alternative definition of\nthe update method:\n \n service Messaging {\n rpc UpdateMessage(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 HT TP JSON to RPC mapping is enabled:\n\nHTTP | RPC\n-----|-----\n`PUT /v1/messages /123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" text: \"H i!\")`\n\nNote that when using `*` in the body mapping, it is not possible to\nh ave HTTP parameters, as all fields not bound by the path end in\nthe body. This makes this option more rarely used in practice of\ndefining REST APIs. The commo n usage of `*` is in custom methods\nwhich don't use the URL at all for transfer ring data.\n\nIt is possible to define multiple HTTP methods for one RPC by usin g\nthe `additional_bindings` option. Example:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.ap i.http) = {\n get: \"/v1/messages/{message_id}\"\n additional_ bindings {\n get: \"/v1/users/{user_id}/messages/{message_id}\"\n }\n };\n }\n }\n message GetMessageRequest {\n stri ng message_id = 1;\n string user_id = 2;\n }\n\n\nThis enables the follo wing two alternative HTTP JSON to RPC\nmappings:\n\nHTTP | RPC\n-----|-----\n`GE T /v1/messages/123456` | `GetMessage(message_id: \"123456\")`\n`GET /v1/users/me /messages/123456` | `GetMessage(user_id: \"me\" message_id: \"123456\")`\n\n# Ru les for HTTP mapping\n\nThe rules for mapping HTTP path, query parameters, and b ody fields\nto the request message are as follows:\n\n1. The `body` field specif ies either `*` or a field path, or is\n omitted. If omitted, it indicates ther e is no HTTP request body.\n2. Leaf fields (recursive expansion of nested messag es in the\n request) can be classified into three types:\n (a) Matched in t he URL template.\n (b) Covered by body (if body is `*`, everything except (a) fields;\n else everything under the body field)\n (c) All other field s.\n3. URL query parameters found in the HTTP request are mapped to (c) fields.\ n4. Any body sent with an HTTP request can contain only (b) fields.\n\nThe synta x of the path template is as follows:\n\n Template = \"/\" Segments [ Verb ] ;\n Segments = Segment { \"/\" Segment } ;\n Segment = \"*\" | \"**\" | L ITERAL | Variable ;\n Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ;\n FieldPath = IDENT { \".\" IDENT } ;\n Verb = \":\" LITERAL ;\n\nThe s yntax `*` matches a single path segment. The syntax `**` matches zero\nor more p ath segments, which must be the last part of the path except the\n`Verb`. The sy ntax `LITERAL` matches literal text in the path.\n\nThe syntax `Variable` matche s part of the URL path as specified by its\ntemplate. A variable template must n ot contain other variables. If a variable\nmatches a single path segment, its te mplate may be omitted, e.g. `{var}`\nis equivalent to `{var=*}`.\n\nIf a variabl e contains exactly one path segment, such as `\"{var}\"` or\n`\"{var=*}\"`, when such a variable is expanded into a URL path, all characters\nexcept `[-_.~0-9a- zA-Z]` are percent-encoded. Such variables show up in the\nDiscovery Document as `{var}`.\n\nIf a variable contains one or more path segments, such as `\"{var=f oo/*}\"`\nor `\"{var=**}\"`, when such a variable is expanded into a URL path, a ll\ncharacters except `[-_.~/0-9a-zA-Z]` are percent-encoded. Such variables\nsh ow up in the Discovery Document as `{+var}`.\n\nNOTE: While the single segment v ariable matches the semantics of\n[RFC 6570](https://tools.ietf.org/html/rfc6570 ) Section 3.2.2\nSimple String Expansion, the multi segment variable **does not* * match\nRFC 6570 Reserved Expansion. The reason is that the Reserved Expansion\ ndoes not expand special characters like `?` and `#`, which would lead\nto inval id URLs.\n\nNOTE: the field paths in variables and in the `body` must not refer to\nrepeated fields or map fields.",
1683 "id": "HttpRule",
1684 "properties": {
1685 "get": {
1686 "description": "Used for listing and getting information abo ut resources.",
1687 "type": "string"
1688 },
1689 "patch": {
1690 "description": "Used for updating a resource.",
1691 "type": "string"
1692 },
1693 "put": {
1694 "description": "Used for updating a resource.",
1695 "type": "string"
1696 },
1697 "delete": {
1698 "description": "Used for deleting a resource.",
1699 "type": "string"
1700 },
1701 "body": {
1702 "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.",
1703 "type": "string"
1704 },
1705 "post": {
1706 "description": "Used for creating a resource.",
1707 "type": "string"
1708 },
1709 "mediaDownload": {
1710 "$ref": "MediaDownload",
1711 "description": "Use this only for Scotty Requests. Do not us e this for bytestream methods.\nFor media support, add instead [][google.bytestr eam.RestByteStream] as an\nAPI to your configuration."
1712 },
1713 "restMethodName": {
1714 "description": "Optional. The rest method name is by default derived from the URL\npattern. If specified, this field overrides the default m ethod name.\nExample:\n\n rpc CreateResource(CreateResourceRequest)\n returns (CreateResourceResponse) {\n option (google.api.http) = {\n post: \"/v1/resources\",\n body: \"resource\",\n rest_method_name: \"insert\"\n };\n }\n\nThis method has the automatically derived rest m ethod name \"create\", but\n for backwards compatability with apiary, it is spec ified as insert.",
1715 "type": "string"
1716 },
1717 "additionalBindings": {
1718 "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).",
1719 "items": {
1720 "$ref": "HttpRule"
1721 },
1722 "type": "array"
1723 },
1724 "responseBody": {
1725 "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.",
1726 "type": "string"
1727 },
1728 "restCollection": {
1729 "description": "Optional. The REST collection name is by def ault derived from the URL\npattern. If specified, this field overrides the defau lt collection name.\nExample:\n\n rpc AddressesAggregatedList(AddressesAggreg atedListRequest)\n returns (AddressesAggregatedListResponse) {\n opt ion (google.api.http) = {\n get: \"/v1/projects/{project_id}/aggregated/a ddresses\"\n rest_collection: \"projects.addresses\"\n };\n }\n\n This method has the automatically derived collection name\n\"projects.aggregated \". Because, semantically, this rpc is actually an\noperation on the \"projects. addresses\" collection, the `rest_collection`\nfield is configured to override t he derived collection name.",
1730 "type": "string"
1731 },
1732 "mediaUpload": {
1733 "$ref": "MediaUpload",
1734 "description": "Use this only for Scotty Requests. Do not us e this for media support using\nBytestream, add instead\n[][google.bytestream.Re stByteStream] as an API to your\nconfiguration for Bytestream methods."
1735 },
1736 "selector": {
1737 "description": "Selects methods to which this rule applies.\ n\nRefer to selector for syntax details.",
1738 "type": "string"
1739 },
1740 "custom": {
1741 "$ref": "CustomHttpPattern",
1742 "description": "The custom pattern is used for specifying an HTTP method that is not\nincluded in the `pattern` field, such as HEAD, or \"*\ " to leave the\nHTTP method unspecified for this rule. The wild-card rule is use ful\nfor services that provide content to Web (HTML) clients."
1743 }
1744 },
1745 "type": "object"
1746 },
1747 "VisibilityRule": {
1748 "description": "A visibility rule provides visibility configuration for an individual API\nelement.",
1749 "id": "VisibilityRule",
1750 "properties": {
1751 "restriction": {
1752 "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.",
1753 "type": "string"
1754 },
1755 "selector": {
1756 "description": "Selects methods, messages, fields, enums, et c. to which this rule applies.\n\nRefer to selector for syntax details.",
1757 "type": "string"
1758 }
1759 },
1760 "type": "object"
1761 },
1762 "MonitoringDestination": {
1763 "description": "Configuration of a specific monitoring destination ( the producer project\nor the consumer project).",
1764 "id": "MonitoringDestination",
1765 "properties": {
1766 "monitoredResource": {
1767 "description": "The monitored resource type. The type must b e defined in\nService.monitored_resources section.",
1768 "type": "string"
1769 },
1770 "metrics": {
1771 "description": "Names of the metrics to report to this monit oring destination.\nEach name must be defined in Service.metrics section.",
1772 "items": {
1773 "type": "string"
1774 },
1775 "type": "array"
1776 }
1777 },
1778 "type": "object"
1779 },
1780 "Visibility": {
1781 "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.",
1782 "id": "Visibility",
1783 "properties": {
1784 "rules": {
1785 "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.",
1786 "items": {
1787 "$ref": "VisibilityRule"
1788 },
1789 "type": "array"
1790 }
1791 },
1792 "type": "object"
1793 },
1794 "SystemParameters": {
1795 "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.",
1796 "id": "SystemParameters",
1797 "properties": {
1798 "rules": {
1799 "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.",
1800 "items": {
1801 "$ref": "SystemParameterRule"
1802 },
1803 "type": "array"
1804 }
1805 },
1806 "type": "object"
1807 },
1808 "ConfigChange": {
1809 "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.",
1810 "id": "ConfigChange",
1811 "properties": {
1812 "newValue": {
1813 "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.",
1814 "type": "string"
1815 },
1816 "changeType": {
1817 "description": "The type for this change, either ADDED, REMO VED, or MODIFIED.",
1818 "enum": [
1819 "CHANGE_TYPE_UNSPECIFIED",
1820 "ADDED",
1821 "REMOVED",
1822 "MODIFIED"
1823 ],
1824 "enumDescriptions": [
1825 "No value was provided.",
1826 "The changed object exists in the 'new' service configur ation, but not\nin the 'old' service configuration.",
1827 "The changed object exists in the 'old' service configur ation, but not\nin the 'new' service configuration.",
1828 "The changed object exists in both service configuration s, but its value\nis different."
1829 ],
1830 "type": "string"
1831 },
1832 "element": {
1833 "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]",
1834 "type": "string"
1835 },
1836 "oldValue": {
1837 "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.",
1838 "type": "string"
1839 },
1840 "advices": {
1841 "description": "Collection of advice provided for this chang e, useful for determining the\npossible impact of this change.",
1842 "items": {
1843 "$ref": "Advice"
1844 },
1845 "type": "array"
1846 }
1847 },
1848 "type": "object"
1849 },
1850 "Quota": {
1851 "description": "Quota configuration helps to achieve fairness and bu dgeting in service\nusage.\n\nThe quota configuration works this way:\n- The ser vice configuration defines a set of metrics.\n- For API calls, the quota.metric_ rules maps methods to metrics with\n corresponding costs.\n- The quota.limits d efines limits on the metrics, which will be used for\n quota checks at runtime. \n\nAn example quota configuration in yaml format:\n\n quota:\n\n - name: apiWriteQpsPerProject\n metric: library.googleapis.com/write_calls\n unit: \"1/min/{project}\" # rate limit for consumer projects\n values:\n STANDARD: 10000\n\n\n # The metric rules bind all methods to the re ad_calls metric,\n # except for the UpdateBook and DeleteBook methods. These two methods\n # are mapped to the write_calls metric, with the UpdateBook m ethod\n # consuming at twice rate as the DeleteBook method.\n metric_rul es:\n - selector: \"*\"\n metric_costs:\n library.googleapis.c om/read_calls: 1\n - selector: google.example.library.v1.LibraryService.Upda teBook\n metric_costs:\n library.googleapis.com/write_calls: 2\n - selector: google.example.library.v1.LibraryService.DeleteBook\n metri c_costs:\n library.googleapis.com/write_calls: 1\n\n Corresponding Metri c definition:\n\n metrics:\n - name: library.googleapis.com/read_calls\n display_name: Read requests\n metric_kind: DELTA\n value_type : INT64\n\n - name: library.googleapis.com/write_calls\n display_name: Write requests\n metric_kind: DELTA\n value_type: INT64",
1852 "id": "Quota",
1853 "properties": {
1854 "limits": {
1855 "description": "List of `QuotaLimit` definitions for the ser vice.",
1856 "items": {
1857 "$ref": "QuotaLimit"
1858 },
1859 "type": "array"
1860 },
1861 "metricRules": {
1862 "description": "List of `MetricRule` definitions, each one m apping a selected method to one\nor more metrics.",
1863 "items": {
1864 "$ref": "MetricRule"
1865 },
1866 "type": "array"
1867 }
1868 },
1869 "type": "object"
1870 },
1871 "Rollout": {
1872 "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.",
1873 "id": "Rollout",
1874 "properties": {
1875 "serviceName": {
1876 "description": "The name of the service associated with this Rollout.",
1877 "type": "string"
1878 },
1879 "trafficPercentStrategy": {
1880 "$ref": "TrafficPercentStrategy",
1881 "description": "Google Service Control selects service confi gurations based on\ntraffic percentage."
1882 },
1883 "createdBy": {
1884 "description": "The user who created the Rollout. Readonly." ,
1885 "type": "string"
1886 },
1887 "rolloutId": {
1888 "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'",
1889 "type": "string"
1890 },
1891 "deleteServiceStrategy": {
1892 "$ref": "DeleteServiceStrategy",
1893 "description": "The strategy associated with a rollout to de lete a `ManagedService`.\nReadonly."
1894 },
1895 "createTime": {
1896 "description": "Creation time of the rollout. Readonly.",
1897 "format": "google-datetime",
1898 "type": "string"
1899 },
1900 "status": {
1901 "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.",
1902 "enum": [
1903 "ROLLOUT_STATUS_UNSPECIFIED",
1904 "IN_PROGRESS",
1905 "SUCCESS",
1906 "CANCELLED",
1907 "FAILED",
1908 "PENDING",
1909 "FAILED_ROLLED_BACK"
1910 ],
1911 "enumDescriptions": [
1912 "No status specified.",
1913 "The Rollout is in progress.",
1914 "The Rollout has completed successfully.",
1915 "The Rollout has been cancelled. This can happen if you have overlapping\nRollout pushes, and the previous ones will be cancelled.",
1916 "The Rollout has failed and the rollback attempt has fai led too.",
1917 "The Rollout has not started yet and is pending for exec ution.",
1918 "The Rollout has failed and rolled back to the previous successful\nRollout."
1919 ],
1920 "type": "string"
1921 }
1922 },
1923 "type": "object"
1924 },
1925 "GenerateConfigReportRequest": {
1926 "description": "Request message for GenerateConfigReport method.",
1927 "id": "GenerateConfigReportRequest",
1928 "properties": {
1929 "oldConfig": {
1930 "additionalProperties": {
1931 "description": "Properties of the object. Contains field @type with type URL.",
1932 "type": "any"
1933 },
1934 "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",
1935 "type": "object"
1936 },
1937 "newConfig": {
1938 "additionalProperties": {
1939 "description": "Properties of the object. Contains field @type with type URL.",
1940 "type": "any"
1941 },
1942 "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",
1943 "type": "object"
1944 }
1945 },
1946 "type": "object"
1947 },
1948 "SetIamPolicyRequest": {
1949 "description": "Request message for `SetIamPolicy` method.",
1950 "id": "SetIamPolicyRequest",
1951 "properties": {
1952 "updateMask": {
1953 "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, the\nfollowing default mask is used:\npaths: \"bindings, etag\ "\nThis field is only used by Cloud IAM.",
1954 "format": "google-fieldmask",
1955 "type": "string"
1956 },
1957 "policy": {
1958 "$ref": "Policy",
1959 "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."
1960 }
1961 },
1962 "type": "object"
1963 },
1964 "DeleteServiceStrategy": {
1965 "description": "Strategy used to delete a service. This strategy is a placeholder only\nused by the system generated rollout to delete a service.",
1966 "id": "DeleteServiceStrategy",
1967 "properties": {},
1968 "type": "object"
1969 },
1970 "Step": {
1971 "description": "Represents the status of one operation step.",
1972 "id": "Step",
1973 "properties": {
1974 "status": {
1975 "description": "The status code.",
1976 "enum": [
1977 "STATUS_UNSPECIFIED",
1978 "DONE",
1979 "NOT_STARTED",
1980 "IN_PROGRESS",
1981 "FAILED",
1982 "CANCELLED"
1983 ],
1984 "enumDescriptions": [
1985 "Unspecifed code.",
1986 "The operation or step has completed without errors.",
1987 "The operation or step has not started yet.",
1988 "The operation or step is in progress.",
1989 "The operation or step has completed with errors. If the operation is\nrollbackable, the rollback completed with errors too.",
1990 "The operation or step has completed with cancellation."
1991 ],
1992 "type": "string"
1993 },
1994 "description": {
1995 "description": "The short description of the step.",
1996 "type": "string"
1997 }
1998 },
1999 "type": "object"
2000 },
2001 "LoggingDestination": {
2002 "description": "Configuration of a specific logging destination (the producer project\nor the consumer project).",
2003 "id": "LoggingDestination",
2004 "properties": {
2005 "logs": {
2006 "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 \"/\".",
2007 "items": {
2008 "type": "string"
2009 },
2010 "type": "array"
2011 },
2012 "monitoredResource": {
2013 "description": "The monitored resource type. The type must b e defined in the\nService.monitored_resources section.",
2014 "type": "string"
2015 }
2016 },
2017 "type": "object"
2018 },
2019 "Option": {
2020 "description": "A protocol buffer option, which can be attached to a message, field,\nenumeration, etc.",
2021 "id": "Option",
2022 "properties": {
2023 "value": {
2024 "additionalProperties": {
2025 "description": "Properties of the object. Contains field @type with type URL.",
2026 "type": "any"
2027 },
2028 "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.",
2029 "type": "object"
2030 },
2031 "name": {
2032 "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\"`.",
2033 "type": "string"
2034 }
2035 },
2036 "type": "object"
2037 },
2038 "Logging": {
2039 "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",
2040 "id": "Logging",
2041 "properties": {
2042 "consumerDestinations": {
2043 "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.",
2044 "items": {
2045 "$ref": "LoggingDestination"
2046 },
2047 "type": "array"
2048 },
2049 "producerDestinations": {
2050 "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.",
2051 "items": {
2052 "$ref": "LoggingDestination"
2053 },
2054 "type": "array"
2055 }
2056 },
2057 "type": "object"
2058 },
2059 "QuotaLimit": {
2060 "description": "`QuotaLimit` defines a specific limit that applies o ver a specified duration\nfor a limit type. There can be at most one limit for a duration and limit\ntype combination defined within a `QuotaGroup`.",
2061 "id": "QuotaLimit",
2062 "properties": {
2063 "unit": {
2064 "description": "Specify the unit of the quota limit. It uses the same syntax as\nMetric.unit. The supported unit kinds are determined by the quota\nbackend system.\n\nThe [Google Service Control](https://cloud.google.com /service-control)\nsupports the following unit components:\n* One of the time in tevals:\n * \"/min\" for quota every minute.\n * \"/d\" for quota every 24 h ours, starting 00:00 US Pacific Time.\n * Otherwise the quota won't be reset by time, such as storage limit.\n* One and only one of the granted containers:\n * \"/{project}\" quota for a project\n\nHere are some examples:\n* \"1/min/{proj ect}\" for quota per minute per project.\n\nNote: the order of unit components i s insignificant.\nThe \"1\" at the beginning is required to follow the metric un it syntax.\n\nUsed by metric-based quotas only.",
2065 "type": "string"
2066 },
2067 "maxLimit": {
2068 "description": "Maximum number of tokens that can be consume d during the specified\nduration. Client application developers can override the default limit up\nto this maximum. If specified, this value cannot be set to a value less\nthan the default limit. If not specified, it is set to the default l imit.\n\nTo allow clients to apply overrides with no upper bound, set this to -1 ,\nindicating unlimited maximum quota.\n\nUsed by group-based quotas only.",
2069 "format": "int64",
2070 "type": "string"
2071 },
2072 "name": {
2073 "description": "Name of the quota limit. The name is used to refer to the limit when\noverriding the default limit on per-consumer basis.\n\ nFor metric-based quota limits, the name must be provided, and it must be\nuniqu e within the service. The name can only include alphanumeric\ncharacters as well as '-'.\n\nThe maximum length of the limit name is 64 characters.\n\nThe name o f a limit is used as a unique identifier for this limit.\nTherefore, once a limi t has been put into use, its name should be\nimmutable. You can use the display_ name field to provide a user-friendly\nname for the limit. The display name can be evolved over time without\naffecting the identity of the limit.",
2074 "type": "string"
2075 },
2076 "duration": {
2077 "description": "Duration of this limit in textual notation. Example: \"100s\", \"24h\", \"1d\".\nFor duration longer than a day, only multip le of days is supported. We\nsupport only \"100s\" and \"1d\" for now. Additiona l support will be added in\nthe future. \"0\" indicates indefinite duration.\n\n Used by group-based quotas only.",
2078 "type": "string"
2079 },
2080 "freeTier": {
2081 "description": "Free tier value displayed in the Developers Console for this limit.\nThe free tier is the number of tokens that will be subt racted from the\nbilled amount when billing is enabled.\nThis field can only be set on a limit with duration \"1d\", in a billable\ngroup; it is invalid on any other limit. If this field is not set, it\ndefaults to 0, indicating that there is no free tier for this service.\n\nUsed by group-based quotas only.",
2082 "format": "int64",
2083 "type": "string"
2084 },
2085 "defaultLimit": {
2086 "description": "Default number of tokens that can be consume d during the specified\nduration. This is the number of tokens assigned when a c lient\napplication developer activates the service for his/her project.\n\nSpeci fying a value of 0 will block all requests. This can be used if you\nare provisi oning quota to selected consumers and blocking others.\nSimilarly, a value of -1 will indicate an unlimited quota. No other\nnegative values are allowed.\n\nUse d by group-based quotas only.",
2087 "format": "int64",
2088 "type": "string"
2089 },
2090 "description": {
2091 "description": "Optional. User-visible, extended description for this quota limit.\nShould be used only when more context is needed to under stand this limit\nthan provided by the limit's display name (see: `display_name` ).",
2092 "type": "string"
2093 },
2094 "metric": {
2095 "description": "The name of the metric this quota limit appl ies to. The quota limits with\nthe same metric will be checked together during r untime. The metric must be\ndefined within the service config.\n\nUsed by metric -based quotas only.",
2096 "type": "string"
2097 },
2098 "displayName": {
2099 "description": "User-visible display name for this limit.\nO ptional. If not set, the UI will provide a default display name based on\nthe qu ota configuration. This field can be used to override the default\ndisplay name generated from the configuration.",
2100 "type": "string"
2101 },
2102 "values": {
2103 "additionalProperties": {
2104 "format": "int64",
2105 "type": "string"
2106 },
2107 "description": "Tiered limit values, currently only STANDARD is supported.",
2108 "type": "object"
2109 }
2110 },
2111 "type": "object"
2112 },
2113 "Method": {
2114 "description": "Method represents a method of an api.",
2115 "id": "Method",
2116 "properties": {
2117 "responseTypeUrl": {
2118 "description": "The URL of the output message type.",
2119 "type": "string"
2120 },
2121 "options": {
2122 "description": "Any metadata attached to the method.",
2123 "items": {
2124 "$ref": "Option"
2125 },
2126 "type": "array"
2127 },
2128 "responseStreaming": {
2129 "description": "If true, the response is streamed.",
2130 "type": "boolean"
2131 },
2132 "name": {
2133 "description": "The simple name of this method.",
2134 "type": "string"
2135 },
2136 "requestTypeUrl": {
2137 "description": "A URL of the input message type.",
2138 "type": "string"
2139 },
2140 "requestStreaming": {
2141 "description": "If true, the request is streamed.",
2142 "type": "boolean"
2143 },
2144 "syntax": {
2145 "description": "The source syntax of this method.",
2146 "enum": [
2147 "SYNTAX_PROTO2",
2148 "SYNTAX_PROTO3"
2149 ],
2150 "enumDescriptions": [
2151 "Syntax `proto2`.",
2152 "Syntax `proto3`."
2153 ],
2154 "type": "string"
2155 }
2156 },
2157 "type": "object"
2158 },
2159 "ListServiceRolloutsResponse": {
2160 "description": "Response message for ListServiceRollouts method.",
2161 "id": "ListServiceRolloutsResponse",
2162 "properties": {
2163 "rollouts": {
2164 "description": "The list of rollout resources.",
2165 "items": {
2166 "$ref": "Rollout"
2167 },
2168 "type": "array"
2169 },
2170 "nextPageToken": {
2171 "description": "The token of the next page of results.",
2172 "type": "string"
2173 }
2174 },
2175 "type": "object"
2176 },
2177 "ConfigRef": {
2178 "description": "Represents a service configuration with its name and id.",
2179 "id": "ConfigRef",
2180 "properties": {
2181 "name": {
2182 "description": "Resource name of a service config. It must h ave the following\nformat: \"services/{service name}/configs/{config id}\".",
2183 "type": "string"
2184 }
2185 },
2186 "type": "object"
2187 },
2188 "Mixin": {
2189 "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 }",
2190 "id": "Mixin",
2191 "properties": {
2192 "name": {
2193 "description": "The fully qualified name of the API which is included.",
2194 "type": "string"
2195 },
2196 "root": {
2197 "description": "If non-empty specifies a path under which in herited HTTP paths\nare rooted.",
2198 "type": "string"
2199 }
2200 },
2201 "type": "object"
2202 },
2203 "FlowOperationMetadata": {
2204 "description": "The metadata associated with a long running operatio n resource.",
2205 "id": "FlowOperationMetadata",
2206 "properties": {
2207 "cancelState": {
2208 "description": "The state of the operation with respect to c ancellation.",
2209 "enum": [
2210 "RUNNING",
2211 "UNCANCELLABLE",
2212 "CANCELLED"
2213 ],
2214 "enumDescriptions": [
2215 "Default state, cancellable but not cancelled.",
2216 "The operation has proceeded past the point of no return and cannot\nbe cancelled.",
2217 "The operation has been cancelled, work should cease\nan d any needed rollback steps executed."
2218 ],
2219 "type": "string"
2220 },
2221 "deadline": {
2222 "description": "Deadline for the flow to complete, to preven t orphaned Operations.\n\nIf the flow has not completed by this time, it may be terminated by\nthe engine, or force-failed by Operation lookup.\n\nNote that thi s is not a hard deadline after which the Flow will\ndefinitely be failed, rather it is a deadline after which it is reasonable\nto suspect a problem and other p arts of the system may kill operation\nto ensure we don't have orphans.\nsee als o: go/prevent-orphaned-operations",
2223 "format": "google-datetime",
2224 "type": "string"
2225 },
2226 "startTime": {
2227 "description": "The start time of the operation.",
2228 "format": "google-datetime",
2229 "type": "string"
2230 },
2231 "flowName": {
2232 "description": "The name of the top-level flow corresponding to this operation.\nMust be equal to the \"name\" field for a FlowName enum.",
2233 "type": "string"
2234 },
2235 "resourceNames": {
2236 "description": "The full name of the resources that this flo w is directly associated with.",
2237 "items": {
2238 "type": "string"
2239 },
2240 "type": "array"
2241 }
2242 },
2243 "type": "object"
2244 },
2245 "CustomError": {
2246 "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",
2247 "id": "CustomError",
2248 "properties": {
2249 "types": {
2250 "description": "The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.",
2251 "items": {
2252 "type": "string"
2253 },
2254 "type": "array"
2255 },
2256 "rules": {
2257 "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.",
2258 "items": {
2259 "$ref": "CustomErrorRule"
2260 },
2261 "type": "array"
2262 }
2263 },
2264 "type": "object"
2265 },
2266 "CounterOptions": {
2267 "description": "Options for counters",
2268 "id": "CounterOptions",
2269 "properties": {
2270 "metric": {
2271 "description": "The metric to update.",
2272 "type": "string"
2273 },
2274 "field": {
2275 "description": "The field value to attribute.",
2276 "type": "string"
2277 }
2278 },
2279 "type": "object"
2280 },
2281 "Http": {
2282 "description": "Defines the HTTP configuration for an API service. I t contains a list of\nHttpRule, each specifying the mapping of an RPC method\nto one or more HTTP REST API methods.",
2283 "id": "Http",
2284 "properties": {
2285 "rules": {
2286 "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.",
2287 "items": {
2288 "$ref": "HttpRule"
2289 },
2290 "type": "array"
2291 },
2292 "fullyDecodeReservedExpansion": {
2293 "description": "When set to true, URL path parmeters will be fully URI-decoded except in\ncases of single segment matches in reserved expans ion, where \"%2F\" will be\nleft encoded.\n\nThe default behavior is to not deco de RFC 6570 reserved characters in multi\nsegment matches.",
2294 "type": "boolean"
2295 }
2296 },
2297 "type": "object"
2298 },
2299 "SourceInfo": {
2300 "description": "Source information used to create a Service Config",
2301 "id": "SourceInfo",
2302 "properties": {
2303 "sourceFiles": {
2304 "description": "All files used during config generation.",
2305 "items": {
2306 "additionalProperties": {
2307 "description": "Properties of the object. Contains f ield @type with type URL.",
2308 "type": "any"
2309 },
2310 "type": "object"
2311 },
2312 "type": "array"
2313 }
2314 },
2315 "type": "object"
2316 },
2317 "Control": {
2318 "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.",
2319 "id": "Control",
2320 "properties": {
2321 "environment": {
2322 "description": "The service control environment to use. If e mpty, no control plane\nfeature (like quota and billing) will be enabled.",
2323 "type": "string"
2324 }
2325 },
2326 "type": "object"
2327 },
2328 "SystemParameter": {
2329 "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.",
2330 "id": "SystemParameter",
2331 "properties": {
2332 "name": {
2333 "description": "Define the name of the parameter, such as \" api_key\" . It is case sensitive.",
2334 "type": "string"
2335 },
2336 "urlQueryParameter": {
2337 "description": "Define the URL query parameter name to use f or the parameter. It is case\nsensitive.",
2338 "type": "string"
2339 },
2340 "httpHeader": {
2341 "description": "Define the HTTP header name to use for the p arameter. It is case\ninsensitive.",
2342 "type": "string"
2343 }
2344 },
2345 "type": "object"
2346 },
2347 "Monitoring": {
2348 "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",
2349 "id": "Monitoring",
2350 "properties": {
2351 "consumerDestinations": {
2352 "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.",
2353 "items": {
2354 "$ref": "MonitoringDestination"
2355 },
2356 "type": "array"
2357 },
2358 "producerDestinations": {
2359 "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.",
2360 "items": {
2361 "$ref": "MonitoringDestination"
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 "typeUrl": {
2373 "description": "The field type URL, without the scheme, for message or enumeration\ntypes. Example: `\"type.googleapis.com/google.protobuf.T imestamp\"`.",
2374 "type": "string"
2375 },
2376 "number": {
2377 "description": "The field number.",
2378 "format": "int32",
2379 "type": "integer"
2380 },
2381 "kind": {
2382 "description": "The field type.",
2383 "enum": [
2384 "TYPE_UNKNOWN",
2385 "TYPE_DOUBLE",
2386 "TYPE_FLOAT",
2387 "TYPE_INT64",
2388 "TYPE_UINT64",
2389 "TYPE_INT32",
2390 "TYPE_FIXED64",
2391 "TYPE_FIXED32",
2392 "TYPE_BOOL",
2393 "TYPE_STRING",
2394 "TYPE_GROUP",
2395 "TYPE_MESSAGE",
2396 "TYPE_BYTES",
2397 "TYPE_UINT32",
2398 "TYPE_ENUM",
2399 "TYPE_SFIXED32",
2400 "TYPE_SFIXED64",
2401 "TYPE_SINT32",
2402 "TYPE_SINT64"
2403 ],
2404 "enumDescriptions": [
2405 "Field type unknown.",
2406 "Field type double.",
2407 "Field type float.",
2408 "Field type int64.",
2409 "Field type uint64.",
2410 "Field type int32.",
2411 "Field type fixed64.",
2412 "Field type fixed32.",
2413 "Field type bool.",
2414 "Field type string.",
2415 "Field type group. Proto2 syntax only, and deprecated.",
2416 "Field type message.",
2417 "Field type bytes.",
2418 "Field type uint32.",
2419 "Field type enum.",
2420 "Field type sfixed32.",
2421 "Field type sfixed64.",
2422 "Field type sint32.",
2423 "Field type sint64."
2424 ],
2425 "type": "string"
2426 },
2427 "jsonName": {
2428 "description": "The field JSON name.",
2429 "type": "string"
2430 },
2431 "options": {
2432 "description": "The protocol buffer options.",
2433 "items": {
2434 "$ref": "Option"
2435 },
2436 "type": "array"
2437 },
2438 "oneofIndex": {
2439 "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.",
2440 "format": "int32",
2441 "type": "integer"
2442 },
2443 "cardinality": {
2444 "description": "The field cardinality.",
2445 "enum": [
2446 "CARDINALITY_UNKNOWN",
2447 "CARDINALITY_OPTIONAL",
2448 "CARDINALITY_REQUIRED",
2449 "CARDINALITY_REPEATED"
2450 ],
2451 "enumDescriptions": [
2452 "For fields with unknown cardinality.",
2453 "For optional fields.",
2454 "For required fields. Proto2 syntax only.",
2455 "For repeated fields."
2456 ],
2457 "type": "string"
2458 },
2459 "packed": {
2460 "description": "Whether to use alternative packed wire repre sentation.",
2461 "type": "boolean"
2462 },
2463 "defaultValue": {
2464 "description": "The string value of the default value of thi s field. Proto2 syntax only.",
2465 "type": "string"
2466 },
2467 "name": {
2468 "description": "The field name.",
2469 "type": "string"
2470 }
2471 },
2472 "type": "object"
2473 },
2474 "TestIamPermissionsRequest": {
2475 "description": "Request message for `TestIamPermissions` method.",
2476 "id": "TestIamPermissionsRequest",
2477 "properties": {
2478 "permissions": {
2479 "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).",
2480 "items": {
2481 "type": "string"
2482 },
2483 "type": "array"
2484 }
2485 },
2486 "type": "object"
2487 },
2488 "Enum": {
2489 "description": "Enum type definition.",
2490 "id": "Enum",
2491 "properties": {
2492 "name": {
2493 "description": "Enum type name.",
2494 "type": "string"
2495 },
2496 "enumvalue": {
2497 "description": "Enum value definitions.",
2498 "items": {
2499 "$ref": "EnumValue"
2500 },
2501 "type": "array"
2502 },
2503 "options": {
2504 "description": "Protocol buffer options.",
2505 "items": {
2506 "$ref": "Option"
2507 },
2508 "type": "array"
2509 },
2510 "sourceContext": {
2511 "$ref": "SourceContext",
2512 "description": "The source context."
2513 },
2514 "syntax": {
2515 "description": "The source syntax.",
2516 "enum": [
2517 "SYNTAX_PROTO2",
2518 "SYNTAX_PROTO3"
2519 ],
2520 "enumDescriptions": [
2521 "Syntax `proto2`.",
2522 "Syntax `proto3`."
2523 ],
2524 "type": "string"
2525 }
2526 },
2527 "type": "object"
2528 },
2529 "EnableServiceRequest": {
2530 "description": "Request message for EnableService method.",
2531 "id": "EnableServiceRequest",
2532 "properties": {
2533 "consumerId": {
2534 "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.",
2535 "type": "string"
2536 }
2537 },
2538 "type": "object"
2539 },
2540 "Diagnostic": {
2541 "description": "Represents a diagnostic message (error or warning)",
2542 "id": "Diagnostic",
2543 "properties": {
2544 "location": {
2545 "description": "File name and line number of the error or wa rning.",
2546 "type": "string"
2547 },
2548 "kind": {
2549 "description": "The kind of diagnostic information provided. ",
2550 "enum": [
2551 "WARNING",
2552 "ERROR"
2553 ],
2554 "enumDescriptions": [
2555 "Warnings and errors",
2556 "Only errors"
2557 ],
2558 "type": "string"
2559 },
2560 "message": {
2561 "description": "Message describing the error or warning.",
2562 "type": "string"
1334 } 2563 }
1335 }, 2564 },
1336 "type": "object" 2565 "type": "object"
1337 }, 2566 },
1338 "LabelDescriptor": { 2567 "LabelDescriptor": {
1339 "description": "A description of a label.", 2568 "description": "A description of a label.",
1340 "id": "LabelDescriptor", 2569 "id": "LabelDescriptor",
1341 "properties": { 2570 "properties": {
1342 "key": { 2571 "key": {
1343 "description": "The label key.", 2572 "description": "The label key.",
(...skipping 13 matching lines...) Expand all
1357 "enumDescriptions": [ 2586 "enumDescriptions": [
1358 "A variable-length string. This is the default.", 2587 "A variable-length string. This is the default.",
1359 "Boolean; true or false.", 2588 "Boolean; true or false.",
1360 "A 64-bit signed integer." 2589 "A 64-bit signed integer."
1361 ], 2590 ],
1362 "type": "string" 2591 "type": "string"
1363 } 2592 }
1364 }, 2593 },
1365 "type": "object" 2594 "type": "object"
1366 }, 2595 },
1367 "Diagnostic": {
1368 "description": "Represents a diagnostic message (error or warning)",
1369 "id": "Diagnostic",
1370 "properties": {
1371 "message": {
1372 "description": "Message describing the error or warning.",
1373 "type": "string"
1374 },
1375 "location": {
1376 "description": "File name and line number of the error or wa rning.",
1377 "type": "string"
1378 },
1379 "kind": {
1380 "description": "The kind of diagnostic information provided. ",
1381 "enum": [
1382 "WARNING",
1383 "ERROR"
1384 ],
1385 "enumDescriptions": [
1386 "Warnings and errors",
1387 "Only errors"
1388 ],
1389 "type": "string"
1390 }
1391 },
1392 "type": "object"
1393 },
1394 "EnableServiceRequest": {
1395 "description": "Request message for EnableService method.",
1396 "id": "EnableServiceRequest",
1397 "properties": {
1398 "consumerId": {
1399 "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.",
1400 "type": "string"
1401 }
1402 },
1403 "type": "object"
1404 },
1405 "Type": { 2596 "Type": {
1406 "description": "A protocol buffer message type.", 2597 "description": "A protocol buffer message type.",
1407 "id": "Type", 2598 "id": "Type",
1408 "properties": { 2599 "properties": {
2600 "options": {
2601 "description": "The protocol buffer options.",
2602 "items": {
2603 "$ref": "Option"
2604 },
2605 "type": "array"
2606 },
1409 "fields": { 2607 "fields": {
1410 "description": "The list of fields.", 2608 "description": "The list of fields.",
1411 "items": { 2609 "items": {
1412 "$ref": "Field" 2610 "$ref": "Field"
1413 }, 2611 },
1414 "type": "array" 2612 "type": "array"
1415 }, 2613 },
1416 "name": { 2614 "name": {
1417 "description": "The fully qualified message name.", 2615 "description": "The fully qualified message name.",
1418 "type": "string" 2616 "type": "string"
1419 }, 2617 },
1420 "oneofs": { 2618 "oneofs": {
1421 "description": "The list of types appearing in `oneof` defin itions in this type.", 2619 "description": "The list of types appearing in `oneof` defin itions in this type.",
1422 "items": { 2620 "items": {
1423 "type": "string" 2621 "type": "string"
1424 }, 2622 },
1425 "type": "array" 2623 "type": "array"
1426 }, 2624 },
1427 "sourceContext": {
1428 "$ref": "SourceContext",
1429 "description": "The source context."
1430 },
1431 "syntax": { 2625 "syntax": {
1432 "description": "The source syntax.", 2626 "description": "The source syntax.",
1433 "enum": [ 2627 "enum": [
1434 "SYNTAX_PROTO2", 2628 "SYNTAX_PROTO2",
1435 "SYNTAX_PROTO3" 2629 "SYNTAX_PROTO3"
1436 ], 2630 ],
1437 "enumDescriptions": [ 2631 "enumDescriptions": [
1438 "Syntax `proto2`.", 2632 "Syntax `proto2`.",
1439 "Syntax `proto3`." 2633 "Syntax `proto3`."
1440 ], 2634 ],
1441 "type": "string" 2635 "type": "string"
1442 }, 2636 },
1443 "options": { 2637 "sourceContext": {
1444 "description": "The protocol buffer options.", 2638 "$ref": "SourceContext",
1445 "items": { 2639 "description": "The source context."
1446 "$ref": "Option"
1447 },
1448 "type": "array"
1449 } 2640 }
1450 }, 2641 },
1451 "type": "object" 2642 "type": "object"
1452 }, 2643 },
1453 "GenerateConfigReportResponse": { 2644 "GenerateConfigReportResponse": {
1454 "description": "Response message for GenerateConfigReport method.", 2645 "description": "Response message for GenerateConfigReport method.",
1455 "id": "GenerateConfigReportResponse", 2646 "id": "GenerateConfigReportResponse",
1456 "properties": { 2647 "properties": {
2648 "diagnostics": {
2649 "description": "Errors / Linter warnings associated with the service definition this\nreport\nbelongs to.",
2650 "items": {
2651 "$ref": "Diagnostic"
2652 },
2653 "type": "array"
2654 },
1457 "serviceName": { 2655 "serviceName": {
1458 "description": "Name of the service this report belongs to." , 2656 "description": "Name of the service this report belongs to." ,
1459 "type": "string" 2657 "type": "string"
1460 }, 2658 },
1461 "changeReports": { 2659 "changeReports": {
1462 "description": "list of ChangeReport, each corresponding to comparison between two\nservice configurations.", 2660 "description": "list of ChangeReport, each corresponding to comparison between two\nservice configurations.",
1463 "items": { 2661 "items": {
1464 "$ref": "ChangeReport" 2662 "$ref": "ChangeReport"
1465 }, 2663 },
1466 "type": "array" 2664 "type": "array"
1467 }, 2665 },
1468 "id": { 2666 "id": {
1469 "description": "ID of the service configuration this report belongs to.", 2667 "description": "ID of the service configuration this report belongs to.",
1470 "type": "string" 2668 "type": "string"
1471 },
1472 "diagnostics": {
1473 "description": "Errors / Linter warnings associated with the service definition this\nreport\nbelongs to.",
1474 "items": {
1475 "$ref": "Diagnostic"
1476 },
1477 "type": "array"
1478 } 2669 }
1479 }, 2670 },
1480 "type": "object" 2671 "type": "object"
1481 }, 2672 },
1482 "ListServiceConfigsResponse": { 2673 "ListServiceConfigsResponse": {
1483 "description": "Response message for ListServiceConfigs method.", 2674 "description": "Response message for ListServiceConfigs method.",
1484 "id": "ListServiceConfigsResponse", 2675 "id": "ListServiceConfigsResponse",
1485 "properties": { 2676 "properties": {
1486 "serviceConfigs": { 2677 "serviceConfigs": {
1487 "description": "The list of service configuration resources. ", 2678 "description": "The list of service configuration resources. ",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1519 }, 2710 },
1520 "type": "array" 2711 "type": "array"
1521 } 2712 }
1522 }, 2713 },
1523 "type": "object" 2714 "type": "object"
1524 }, 2715 },
1525 "AuditConfig": { 2716 "AuditConfig": {
1526 "description": "Specifies the audit configuration for a service.\nTh e configuration determines which permission types are logged, and what\nidentiti es, if any, are exempted from logging.\nAn AuditConfig must have one or more Aud itLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_t ypes\nspecified in each AuditConfig are enabled, and the exempted_members in eac h\nAuditConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices \"\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 \"lo g_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice.googleapis.com\"\n \"audit_log_config s\": [\n {\n \"log_type\": \"DATA_READ\",\n } ,\n {\n \"log_type\": \"DATA_WRITE\",\n \"e xempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor fooservice, this pol icy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@g mail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.", 2717 "description": "Specifies the audit configuration for a service.\nTh e configuration determines which permission types are logged, and what\nidentiti es, if any, are exempted from logging.\nAn AuditConfig must have one or more Aud itLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_t ypes\nspecified in each AuditConfig are enabled, and the exempted_members in eac h\nAuditConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices \"\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 \"lo g_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice.googleapis.com\"\n \"audit_log_config s\": [\n {\n \"log_type\": \"DATA_READ\",\n } ,\n {\n \"log_type\": \"DATA_WRITE\",\n \"e xempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor fooservice, this pol icy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@g mail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.",
1527 "id": "AuditConfig", 2718 "id": "AuditConfig",
1528 "properties": { 2719 "properties": {
1529 "exemptedMembers": {
1530 "items": {
1531 "type": "string"
1532 },
1533 "type": "array"
1534 },
1535 "service": { 2720 "service": {
1536 "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com `.\n`allServices` is a special value that covers all services.", 2721 "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com `.\n`allServices` is a special value that covers all services.",
1537 "type": "string" 2722 "type": "string"
1538 }, 2723 },
1539 "auditLogConfigs": { 2724 "auditLogConfigs": {
1540 "description": "The configuration for logging of each type o f permission.\nNext ID: 4", 2725 "description": "The configuration for logging of each type o f permission.\nNext ID: 4",
1541 "items": { 2726 "items": {
1542 "$ref": "AuditLogConfig" 2727 "$ref": "AuditLogConfig"
1543 }, 2728 },
1544 "type": "array" 2729 "type": "array"
2730 },
2731 "exemptedMembers": {
2732 "items": {
2733 "type": "string"
2734 },
2735 "type": "array"
1545 } 2736 }
1546 }, 2737 },
1547 "type": "object" 2738 "type": "object"
1548 }, 2739 },
1549 "SubmitConfigSourceRequest": { 2740 "SubmitConfigSourceRequest": {
1550 "description": "Request message for SubmitConfigSource method.", 2741 "description": "Request message for SubmitConfigSource method.",
1551 "id": "SubmitConfigSourceRequest", 2742 "id": "SubmitConfigSourceRequest",
1552 "properties": { 2743 "properties": {
2744 "validateOnly": {
2745 "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.",
2746 "type": "boolean"
2747 },
1553 "configSource": { 2748 "configSource": {
1554 "$ref": "ConfigSource", 2749 "$ref": "ConfigSource",
1555 "description": "The source configuration for the service." 2750 "description": "The source configuration for the service."
1556 },
1557 "validateOnly": {
1558 "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.",
1559 "type": "boolean"
1560 } 2751 }
1561 }, 2752 },
1562 "type": "object" 2753 "type": "object"
1563 }, 2754 },
1564 "DocumentationRule": { 2755 "DocumentationRule": {
1565 "description": "A documentation rule provides information about indi vidual API elements.", 2756 "description": "A documentation rule provides information about indi vidual API elements.",
1566 "id": "DocumentationRule", 2757 "id": "DocumentationRule",
1567 "properties": { 2758 "properties": {
2759 "deprecationDescription": {
2760 "description": "Deprecation description of the selected elem ent(s). It can be provided if an\nelement is marked as `deprecated`.",
2761 "type": "string"
2762 },
2763 "selector": {
2764 "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.",
2765 "type": "string"
2766 },
1568 "description": { 2767 "description": {
1569 "description": "Description of the selected API(s).", 2768 "description": "Description of the selected API(s).",
1570 "type": "string" 2769 "type": "string"
1571 },
1572 "deprecationDescription": {
1573 "description": "Deprecation description of the selected elem ent(s). It can be provided if an\nelement is marked as `deprecated`.",
1574 "type": "string"
1575 },
1576 "selector": {
1577 "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.",
1578 "type": "string"
1579 } 2770 }
1580 }, 2771 },
1581 "type": "object" 2772 "type": "object"
1582 }, 2773 },
1583 "AuthorizationConfig": { 2774 "AuthorizationConfig": {
1584 "description": "Configuration of authorization.\n\nThis section dete rmines the authorization provider, if unspecified, then no\nauthorization check will be done.\n\nExample:\n\n experimental:\n authorization:\n pr ovider: firebaserules.googleapis.com", 2775 "description": "Configuration of authorization.\n\nThis section dete rmines the authorization provider, if unspecified, then no\nauthorization check will be done.\n\nExample:\n\n experimental:\n authorization:\n pr ovider: firebaserules.googleapis.com",
1585 "id": "AuthorizationConfig", 2776 "id": "AuthorizationConfig",
1586 "properties": { 2777 "properties": {
1587 "provider": { 2778 "provider": {
1588 "description": "The name of the authorization provider, such as\nfirebaserules.googleapis.com.", 2779 "description": "The name of the authorization provider, such as\nfirebaserules.googleapis.com.",
1589 "type": "string" 2780 "type": "string"
1590 } 2781 }
1591 }, 2782 },
1592 "type": "object" 2783 "type": "object"
1593 }, 2784 },
1594 "ContextRule": { 2785 "ContextRule": {
1595 "description": "A context rule provides information about the contex t for an individual API\nelement.", 2786 "description": "A context rule provides information about the contex t for an individual API\nelement.",
1596 "id": "ContextRule", 2787 "id": "ContextRule",
1597 "properties": { 2788 "properties": {
2789 "provided": {
2790 "description": "A list of full type names of provided contex ts.",
2791 "items": {
2792 "type": "string"
2793 },
2794 "type": "array"
2795 },
1598 "requested": { 2796 "requested": {
1599 "description": "A list of full type names of requested conte xts.", 2797 "description": "A list of full type names of requested conte xts.",
1600 "items": { 2798 "items": {
1601 "type": "string" 2799 "type": "string"
1602 }, 2800 },
1603 "type": "array" 2801 "type": "array"
1604 }, 2802 },
1605 "selector": { 2803 "selector": {
1606 "description": "Selects the methods to which this rule appli es.\n\nRefer to selector for syntax details.", 2804 "description": "Selects the methods to which this rule appli es.\n\nRefer to selector for syntax details.",
1607 "type": "string" 2805 "type": "string"
1608 },
1609 "provided": {
1610 "description": "A list of full type names of provided contex ts.",
1611 "items": {
1612 "type": "string"
1613 },
1614 "type": "array"
1615 } 2806 }
1616 }, 2807 },
1617 "type": "object" 2808 "type": "object"
1618 }, 2809 },
1619 "CloudAuditOptions": { 2810 "CloudAuditOptions": {
1620 "description": "Write a Cloud Audit log", 2811 "description": "Write a Cloud Audit log",
1621 "id": "CloudAuditOptions", 2812 "id": "CloudAuditOptions",
1622 "properties": { 2813 "properties": {
1623 "logName": { 2814 "logName": {
1624 "description": "The log_name to populate in the Cloud Audit Record.", 2815 "description": "The log_name to populate in the Cloud Audit Record.",
1625 "enum": [ 2816 "enum": [
1626 "UNSPECIFIED_LOG_NAME", 2817 "UNSPECIFIED_LOG_NAME",
1627 "ADMIN_ACTIVITY", 2818 "ADMIN_ACTIVITY",
1628 "DATA_ACCESS" 2819 "DATA_ACCESS"
1629 ], 2820 ],
1630 "enumDescriptions": [ 2821 "enumDescriptions": [
1631 "Default. Should not be used.", 2822 "Default. Should not be used.",
1632 "Corresponds to \"cloudaudit.googleapis.com/activity\"", 2823 "Corresponds to \"cloudaudit.googleapis.com/activity\"",
1633 "Corresponds to \"cloudaudit.googleapis.com/data_access\ "" 2824 "Corresponds to \"cloudaudit.googleapis.com/data_access\ ""
1634 ], 2825 ],
1635 "type": "string" 2826 "type": "string"
1636 } 2827 }
1637 }, 2828 },
1638 "type": "object" 2829 "type": "object"
1639 }, 2830 },
1640 "SourceContext": {
1641 "description": "`SourceContext` represents information about the sou rce of a\nprotobuf element, like the file in which it is defined.",
1642 "id": "SourceContext",
1643 "properties": {
1644 "fileName": {
1645 "description": "The path-qualified name of the .proto file t hat contained the associated\nprotobuf element. For example: `\"google/protobuf /source_context.proto\"`.",
1646 "type": "string"
1647 }
1648 },
1649 "type": "object"
1650 },
1651 "MetricDescriptor": { 2831 "MetricDescriptor": {
1652 "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.", 2832 "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.",
1653 "id": "MetricDescriptor", 2833 "id": "MetricDescriptor",
1654 "properties": { 2834 "properties": {
2835 "metricKind": {
2836 "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.",
2837 "enum": [
2838 "METRIC_KIND_UNSPECIFIED",
2839 "GAUGE",
2840 "DELTA",
2841 "CUMULATIVE"
2842 ],
2843 "enumDescriptions": [
2844 "Do not use this default value.",
2845 "An instantaneous measurement of a value.",
2846 "The change in a value during a time interval.",
2847 "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."
2848 ],
2849 "type": "string"
2850 },
2851 "description": {
2852 "description": "A detailed description of the metric, which can be used in documentation.",
2853 "type": "string"
2854 },
2855 "displayName": {
2856 "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\".",
2857 "type": "string"
2858 },
2859 "unit": {
2860 "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 '}'.",
2861 "type": "string"
2862 },
2863 "labels": {
2864 "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.",
2865 "items": {
2866 "$ref": "LabelDescriptor"
2867 },
2868 "type": "array"
2869 },
1655 "name": { 2870 "name": {
1656 "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\"", 2871 "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\"",
1657 "type": "string" 2872 "type": "string"
1658 }, 2873 },
1659 "type": { 2874 "type": {
1660 "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\"", 2875 "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\"",
1661 "type": "string" 2876 "type": "string"
1662 }, 2877 },
1663 "valueType": { 2878 "valueType": {
1664 "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.", 2879 "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.",
1665 "enum": [ 2880 "enum": [
1666 "VALUE_TYPE_UNSPECIFIED", 2881 "VALUE_TYPE_UNSPECIFIED",
1667 "BOOL", 2882 "BOOL",
1668 "INT64", 2883 "INT64",
1669 "DOUBLE", 2884 "DOUBLE",
1670 "STRING", 2885 "STRING",
1671 "DISTRIBUTION", 2886 "DISTRIBUTION",
1672 "MONEY" 2887 "MONEY"
1673 ], 2888 ],
1674 "enumDescriptions": [ 2889 "enumDescriptions": [
1675 "Do not use this default value.", 2890 "Do not use this default value.",
1676 "The value is a boolean.\nThis value type can be used on ly if the metric kind is `GAUGE`.", 2891 "The value is a boolean.\nThis value type can be used on ly if the metric kind is `GAUGE`.",
1677 "The value is a signed 64-bit integer.", 2892 "The value is a signed 64-bit integer.",
1678 "The value is a double precision floating point number." , 2893 "The value is a double precision floating point number." ,
1679 "The value is a text string.\nThis value type can be use d only if the metric kind is `GAUGE`.", 2894 "The value is a text string.\nThis value type can be use d only if the metric kind is `GAUGE`.",
1680 "The value is a `Distribution`.", 2895 "The value is a `Distribution`.",
1681 "The value is money." 2896 "The value is money."
1682 ], 2897 ],
1683 "type": "string" 2898 "type": "string"
1684 }, 2899 }
1685 "metricKind": { 2900 },
1686 "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.", 2901 "type": "object"
1687 "enum": [ 2902 },
1688 "METRIC_KIND_UNSPECIFIED", 2903 "SourceContext": {
1689 "GAUGE", 2904 "description": "`SourceContext` represents information about the sou rce of a\nprotobuf element, like the file in which it is defined.",
1690 "DELTA", 2905 "id": "SourceContext",
1691 "CUMULATIVE" 2906 "properties": {
1692 ], 2907 "fileName": {
1693 "enumDescriptions": [ 2908 "description": "The path-qualified name of the .proto file t hat contained the associated\nprotobuf element. For example: `\"google/protobuf /source_context.proto\"`.",
1694 "Do not use this default value.", 2909 "type": "string"
1695 "An instantaneous measurement of a value.", 2910 }
1696 "The change in a value during a time interval.", 2911 },
1697 "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." 2912 "type": "object"
1698 ], 2913 },
1699 "type": "string" 2914 "Expr": {
1700 }, 2915 "description": "Represents an expression text. Example:\n\n title : \"User account presence\"\n description: \"Determines whether the request h as a user account\"\n expression: \"size(request.user) > 0\"",
1701 "displayName": { 2916 "id": "Expr",
1702 "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\".", 2917 "properties": {
1703 "type": "string"
1704 },
1705 "description": { 2918 "description": {
1706 "description": "A detailed description of the metric, which can be used in documentation.", 2919 "description": "An optional description of the expression. T his is a longer text which\ndescribes the expression, e.g. when hovered over it in a UI.",
1707 "type": "string" 2920 "type": "string"
1708 }, 2921 },
1709 "unit": { 2922 "expression": {
1710 "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 '}'.", 2923 "description": "Textual representation of an expression in\n [Common Expression Language](http://go/api-expr) syntax.\n\nThe application cont ext of the containing message determines which\nwell-known feature set of CEL is supported.",
1711 "type": "string" 2924 "type": "string"
1712 }, 2925 },
1713 "labels": { 2926 "title": {
1714 "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.", 2927 "description": "An optional title for the expression, i.e. a short string describing\nits purpose. This can be used e.g. in UIs which allow to enter the\nexpression.",
1715 "items": { 2928 "type": "string"
1716 "$ref": "LabelDescriptor" 2929 },
1717 }, 2930 "location": {
1718 "type": "array" 2931 "description": "An optional string indicating the location o f the expression for error\nreporting, e.g. a file name and a position in the fi le.",
2932 "type": "string"
1719 } 2933 }
1720 }, 2934 },
1721 "type": "object" 2935 "type": "object"
1722 }, 2936 },
1723 "ListServicesResponse": { 2937 "ListServicesResponse": {
1724 "description": "Response message for `ListServices` method.", 2938 "description": "Response message for `ListServices` method.",
1725 "id": "ListServicesResponse", 2939 "id": "ListServicesResponse",
1726 "properties": { 2940 "properties": {
1727 "services": { 2941 "services": {
1728 "description": "The returned services will only have the nam e field set.", 2942 "description": "The returned services will only have the nam e field set.",
(...skipping 20 matching lines...) Expand all
1749 }, 2963 },
1750 "type": "array" 2964 "type": "array"
1751 }, 2965 },
1752 "apis": { 2966 "apis": {
1753 "description": "The list of APIs served by this endpoint.\n\ nIf no APIs are specified this translates to \"all APIs\" exported by the\nservi ce, as defined in the top-level service configuration.", 2967 "description": "The list of APIs served by this endpoint.\n\ nIf no APIs are specified this translates to \"all APIs\" exported by the\nservi ce, as defined in the top-level service configuration.",
1754 "items": { 2968 "items": {
1755 "type": "string" 2969 "type": "string"
1756 }, 2970 },
1757 "type": "array" 2971 "type": "array"
1758 }, 2972 },
1759 "aliases": {
1760 "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.",
1761 "items": {
1762 "type": "string"
1763 },
1764 "type": "array"
1765 },
1766 "allowCors": { 2973 "allowCors": {
1767 "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.", 2974 "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.",
1768 "type": "boolean" 2975 "type": "boolean"
1769 }, 2976 },
2977 "aliases": {
2978 "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.",
2979 "items": {
2980 "type": "string"
2981 },
2982 "type": "array"
2983 },
1770 "target": { 2984 "target": {
1771 "description": "The specification of an Internet routable ad dress of API frontend that will\nhandle requests to this [API Endpoint](https:// cloud.google.com/apis/design/glossary).\nIt should be either a valid IPv4 addres s or a fully-qualified domain name.\nFor example, \"8.8.8.8\" or \"myservice.app spot.com\".", 2985 "description": "The specification of an Internet routable ad dress of API frontend that will\nhandle requests to this [API Endpoint](https:// cloud.google.com/apis/design/glossary).\nIt should be either a valid IPv4 addres s or a fully-qualified domain name.\nFor example, \"8.8.8.8\" or \"myservice.app spot.com\".",
1772 "type": "string" 2986 "type": "string"
1773 }, 2987 },
1774 "name": { 2988 "name": {
1775 "description": "The canonical name of this endpoint.", 2989 "description": "The canonical name of this endpoint.",
1776 "type": "string" 2990 "type": "string"
1777 } 2991 }
1778 }, 2992 },
1779 "type": "object" 2993 "type": "object"
1780 }, 2994 },
1781 "OAuthRequirements": { 2995 "OAuthRequirements": {
1782 "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.", 2996 "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.",
1783 "id": "OAuthRequirements", 2997 "id": "OAuthRequirements",
1784 "properties": { 2998 "properties": {
1785 "canonicalScopes": { 2999 "canonicalScopes": {
1786 "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 ", 3000 "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 ",
1787 "type": "string" 3001 "type": "string"
1788 } 3002 }
1789 }, 3003 },
1790 "type": "object" 3004 "type": "object"
1791 }, 3005 },
1792 "Usage": { 3006 "TestIamPermissionsResponse": {
1793 "description": "Configuration controlling usage of a service.", 3007 "description": "Response message for `TestIamPermissions` method.",
1794 "id": "Usage", 3008 "id": "TestIamPermissionsResponse",
1795 "properties": { 3009 "properties": {
1796 "producerNotificationChannel": { 3010 "permissions": {
1797 "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.", 3011 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is\nallowed.",
1798 "type": "string"
1799 },
1800 "rules": {
1801 "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.",
1802 "items": {
1803 "$ref": "UsageRule"
1804 },
1805 "type": "array"
1806 },
1807 "requirements": {
1808 "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'.",
1809 "items": { 3012 "items": {
1810 "type": "string" 3013 "type": "string"
1811 }, 3014 },
1812 "type": "array" 3015 "type": "array"
1813 } 3016 }
1814 }, 3017 },
1815 "type": "object" 3018 "type": "object"
1816 }, 3019 },
1817 "GetIamPolicyRequest": { 3020 "GetIamPolicyRequest": {
1818 "description": "Request message for `GetIamPolicy` method.", 3021 "description": "Request message for `GetIamPolicy` method.",
1819 "id": "GetIamPolicyRequest", 3022 "id": "GetIamPolicyRequest",
1820 "properties": {}, 3023 "properties": {},
1821 "type": "object" 3024 "type": "object"
1822 }, 3025 },
1823 "TestIamPermissionsResponse": { 3026 "Usage": {
1824 "description": "Response message for `TestIamPermissions` method.", 3027 "description": "Configuration controlling usage of a service.",
1825 "id": "TestIamPermissionsResponse", 3028 "id": "Usage",
1826 "properties": { 3029 "properties": {
1827 "permissions": { 3030 "requirements": {
1828 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is\nallowed.", 3031 "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'.",
1829 "items": { 3032 "items": {
1830 "type": "string" 3033 "type": "string"
3034 },
3035 "type": "array"
3036 },
3037 "producerNotificationChannel": {
3038 "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.",
3039 "type": "string"
3040 },
3041 "rules": {
3042 "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.",
3043 "items": {
3044 "$ref": "UsageRule"
1831 }, 3045 },
1832 "type": "array" 3046 "type": "array"
1833 } 3047 }
1834 }, 3048 },
1835 "type": "object" 3049 "type": "object"
1836 }, 3050 },
1837 "Context": { 3051 "Context": {
1838 "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`.", 3052 "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`.",
1839 "id": "Context", 3053 "id": "Context",
1840 "properties": { 3054 "properties": {
1841 "rules": { 3055 "rules": {
1842 "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.", 3056 "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.",
1843 "items": { 3057 "items": {
1844 "$ref": "ContextRule" 3058 "$ref": "ContextRule"
1845 }, 3059 },
1846 "type": "array" 3060 "type": "array"
1847 } 3061 }
1848 }, 3062 },
1849 "type": "object" 3063 "type": "object"
1850 }, 3064 },
1851 "Rule": { 3065 "Rule": {
1852 "description": "A rule to be applied in a Policy.", 3066 "description": "A rule to be applied in a Policy.",
1853 "id": "Rule", 3067 "id": "Rule",
1854 "properties": { 3068 "properties": {
1855 "logConfig": {
1856 "description": "The config returned to callers of tech.iam.I AM.CheckPolicy for any entries\nthat match the LOG action.",
1857 "items": {
1858 "$ref": "LogConfig"
1859 },
1860 "type": "array"
1861 },
1862 "in": {
1863 "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.",
1864 "items": {
1865 "type": "string"
1866 },
1867 "type": "array"
1868 },
1869 "permissions": { 3069 "permissions": {
1870 "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.", 3070 "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.",
1871 "items": { 3071 "items": {
1872 "type": "string" 3072 "type": "string"
1873 }, 3073 },
1874 "type": "array" 3074 "type": "array"
1875 }, 3075 },
1876 "action": { 3076 "action": {
1877 "description": "Required", 3077 "description": "Required",
1878 "enum": [ 3078 "enum": [
(...skipping 24 matching lines...) Expand all
1903 "description": { 3103 "description": {
1904 "description": "Human-readable description of the rule.", 3104 "description": "Human-readable description of the rule.",
1905 "type": "string" 3105 "type": "string"
1906 }, 3106 },
1907 "conditions": { 3107 "conditions": {
1908 "description": "Additional restrictions that must be met", 3108 "description": "Additional restrictions that must be met",
1909 "items": { 3109 "items": {
1910 "$ref": "Condition" 3110 "$ref": "Condition"
1911 }, 3111 },
1912 "type": "array" 3112 "type": "array"
1913 } 3113 },
1914 }, 3114 "logConfig": {
1915 "type": "object" 3115 "description": "The config returned to callers of tech.iam.I AM.CheckPolicy for any entries\nthat match the LOG action.",
1916 }, 3116 "items": {
1917 "LogConfig": { 3117 "$ref": "LogConfig"
1918 "description": "Specifies what kind of log the caller must write", 3118 },
1919 "id": "LogConfig", 3119 "type": "array"
1920 "properties": { 3120 },
1921 "cloudAudit": { 3121 "in": {
1922 "$ref": "CloudAuditOptions", 3122 "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.",
1923 "description": "Cloud audit options." 3123 "items": {
1924 }, 3124 "type": "string"
1925 "counter": { 3125 },
1926 "$ref": "CounterOptions",
1927 "description": "Counter options."
1928 },
1929 "dataAccess": {
1930 "$ref": "DataAccessOptions",
1931 "description": "Data access options."
1932 }
1933 },
1934 "type": "object"
1935 },
1936 "LogDescriptor": {
1937 "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",
1938 "id": "LogDescriptor",
1939 "properties": {
1940 "name": {
1941 "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 [/_-.].",
1942 "type": "string"
1943 },
1944 "description": {
1945 "description": "A human-readable description of this log. Th is information appears in\nthe documentation and can contain details.",
1946 "type": "string"
1947 },
1948 "displayName": {
1949 "description": "The human-readable name for this log. This i nformation appears on\nthe user interface and should be concise.",
1950 "type": "string"
1951 },
1952 "labels": {
1953 "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.",
1954 "items": {
1955 "$ref": "LabelDescriptor"
1956 },
1957 "type": "array"
1958 }
1959 },
1960 "type": "object"
1961 },
1962 "ConfigFile": {
1963 "description": "Generic specification of a source configuration file ",
1964 "id": "ConfigFile",
1965 "properties": {
1966 "fileType": {
1967 "description": "The type of configuration file this represen ts.",
1968 "enum": [
1969 "FILE_TYPE_UNSPECIFIED",
1970 "SERVICE_CONFIG_YAML",
1971 "OPEN_API_JSON",
1972 "OPEN_API_YAML",
1973 "FILE_DESCRIPTOR_SET_PROTO"
1974 ],
1975 "enumDescriptions": [
1976 "Unknown file type.",
1977 "YAML-specification of service.",
1978 "OpenAPI specification, serialized in JSON.",
1979 "OpenAPI specification, serialized in YAML.",
1980 "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"
1981 ],
1982 "type": "string"
1983 },
1984 "fileContents": {
1985 "description": "The bytes that constitute the file.",
1986 "format": "byte",
1987 "type": "string"
1988 },
1989 "filePath": {
1990 "description": "The file name of the configuration file (ful l or relative path).",
1991 "type": "string"
1992 }
1993 },
1994 "type": "object"
1995 },
1996 "MonitoredResourceDescriptor": {
1997 "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.",
1998 "id": "MonitoredResourceDescriptor",
1999 "properties": {
2000 "name": {
2001 "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}\"`.",
2002 "type": "string"
2003 },
2004 "displayName": {
2005 "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\"`.",
2006 "type": "string"
2007 },
2008 "description": {
2009 "description": "Optional. A detailed description of the moni tored resource type that might\nbe used in documentation.",
2010 "type": "string"
2011 },
2012 "type": {
2013 "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.",
2014 "type": "string"
2015 },
2016 "labels": {
2017 "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\"`.",
2018 "items": {
2019 "$ref": "LabelDescriptor"
2020 },
2021 "type": "array"
2022 }
2023 },
2024 "type": "object"
2025 },
2026 "CustomErrorRule": {
2027 "description": "A custom error rule.",
2028 "id": "CustomErrorRule",
2029 "properties": {
2030 "isErrorType": {
2031 "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.",
2032 "type": "boolean"
2033 },
2034 "selector": {
2035 "description": "Selects messages to which this rule applies. \n\nRefer to selector for syntax details.",
2036 "type": "string"
2037 }
2038 },
2039 "type": "object"
2040 },
2041 "CustomAuthRequirements": {
2042 "description": "Configuration for a custom authentication provider." ,
2043 "id": "CustomAuthRequirements",
2044 "properties": {
2045 "provider": {
2046 "description": "A configuration string containing connection information for the\nauthentication provider, typically formatted as a SmartSer vice string\n(go/smartservice).",
2047 "type": "string"
2048 }
2049 },
2050 "type": "object"
2051 },
2052 "MediaDownload": {
2053 "description": "Defines the Media configuration for a service in cas e of a download.\nUse this only for Scotty Requests. Do not use this for media s upport using\nBytestream, add instead [][google.bytestream.RestByteStream] as an API to\nyour configuration for Bytestream methods.",
2054 "id": "MediaDownload",
2055 "properties": {
2056 "enabled": {
2057 "description": "Whether download is enabled.",
2058 "type": "boolean"
2059 },
2060 "downloadService": {
2061 "description": "DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED.\n\nSpecify name of the download service if one is used for download.",
2062 "type": "string"
2063 },
2064 "completeNotification": {
2065 "description": "A boolean that determines whether a notifica tion for the completion of a\ndownload should be sent to the backend.",
2066 "type": "boolean"
2067 },
2068 "dropzone": {
2069 "description": "Name of the Scotty dropzone to use for the c urrent API.",
2070 "type": "string"
2071 },
2072 "maxDirectDownloadSize": {
2073 "description": "Optional maximum acceptable size for direct download.\nThe size is specified in bytes.",
2074 "format": "int64",
2075 "type": "string"
2076 },
2077 "useDirectDownload": {
2078 "description": "A boolean that determines if direct download from ESF should be used for\ndownload of this media.",
2079 "type": "boolean"
2080 }
2081 },
2082 "type": "object"
2083 },
2084 "ChangeReport": {
2085 "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.",
2086 "id": "ChangeReport",
2087 "properties": {
2088 "configChanges": {
2089 "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",
2090 "items": {
2091 "$ref": "ConfigChange"
2092 },
2093 "type": "array"
2094 }
2095 },
2096 "type": "object"
2097 },
2098 "DisableServiceRequest": {
2099 "description": "Request message for DisableService method.",
2100 "id": "DisableServiceRequest",
2101 "properties": {
2102 "consumerId": {
2103 "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.",
2104 "type": "string"
2105 }
2106 },
2107 "type": "object"
2108 },
2109 "SubmitConfigSourceResponse": {
2110 "description": "Response message for SubmitConfigSource method.",
2111 "id": "SubmitConfigSourceResponse",
2112 "properties": {
2113 "serviceConfig": {
2114 "$ref": "Service",
2115 "description": "The generated service configuration."
2116 }
2117 },
2118 "type": "object"
2119 },
2120 "MediaUpload": {
2121 "description": "Defines the Media configuration for a service in cas e of an upload.\nUse this only for Scotty Requests. Do not use this for media su pport using\nBytestream, add instead [][google.bytestream.RestByteStream] as an API to\nyour configuration for Bytestream methods.",
2122 "id": "MediaUpload",
2123 "properties": {
2124 "mimeTypes": {
2125 "description": "An array of mimetype patterns. Esf will only accept uploads that match one\nof the given patterns.",
2126 "items": {
2127 "type": "string"
2128 },
2129 "type": "array"
2130 },
2131 "maxSize": {
2132 "description": "Optional maximum acceptable size for an uplo ad.\nThe size is specified in bytes.",
2133 "format": "int64",
2134 "type": "string"
2135 },
2136 "enabled": {
2137 "description": "Whether upload is enabled.",
2138 "type": "boolean"
2139 },
2140 "progressNotification": {
2141 "description": "Whether to receive a notification for progre ss changes of media upload.",
2142 "type": "boolean"
2143 },
2144 "completeNotification": {
2145 "description": "A boolean that determines whether a notifica tion for the completion of an\nupload should be sent to the backend. These notif ications will not be seen\nby the client and will not consume quota.",
2146 "type": "boolean"
2147 },
2148 "dropzone": {
2149 "description": "Name of the Scotty dropzone to use for the c urrent API.",
2150 "type": "string"
2151 },
2152 "startNotification": {
2153 "description": "Whether to receive a notification on the sta rt of media upload.",
2154 "type": "boolean"
2155 },
2156 "uploadService": {
2157 "description": "DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED.\n\nSpecify name of the upload service if one is used for up load.",
2158 "type": "string"
2159 }
2160 },
2161 "type": "object"
2162 },
2163 "Advice": {
2164 "description": "Generated advice about this change, used for providi ng more\ninformation about how a change will affect the existing service.",
2165 "id": "Advice",
2166 "properties": {
2167 "description": {
2168 "description": "Useful description for why this advice was a pplied and what actions should\nbe taken to mitigate any implied risks.",
2169 "type": "string"
2170 }
2171 },
2172 "type": "object"
2173 },
2174 "ManagedService": {
2175 "description": "The full representation of a Service that is managed by\nGoogle Service Management.",
2176 "id": "ManagedService",
2177 "properties": {
2178 "serviceName": {
2179 "description": "The name of the service. See the [overview]( /service-management/overview)\nfor naming requirements.",
2180 "type": "string"
2181 },
2182 "producerProjectId": {
2183 "description": "ID of the project that produces and owns thi s service.",
2184 "type": "string"
2185 }
2186 },
2187 "type": "object"
2188 },
2189 "UsageRule": {
2190 "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",
2191 "id": "UsageRule",
2192 "properties": {
2193 "selector": {
2194 "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.",
2195 "type": "string"
2196 },
2197 "allowUnregisteredCalls": {
2198 "description": "True, if the method allows unregistered call s; false otherwise.",
2199 "type": "boolean"
2200 }
2201 },
2202 "type": "object"
2203 },
2204 "AuthRequirement": {
2205 "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).",
2206 "id": "AuthRequirement",
2207 "properties": {
2208 "audiences": {
2209 "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",
2210 "type": "string"
2211 },
2212 "providerId": {
2213 "description": "id from authentication provider.\n\nExample: \n\n provider_id: bookstore_auth",
2214 "type": "string"
2215 }
2216 },
2217 "type": "object"
2218 },
2219 "TrafficPercentStrategy": {
2220 "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 }",
2221 "id": "TrafficPercentStrategy",
2222 "properties": {
2223 "percentages": {
2224 "additionalProperties": {
2225 "format": "double",
2226 "type": "number"
2227 },
2228 "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.",
2229 "type": "object"
2230 }
2231 },
2232 "type": "object"
2233 },
2234 "Condition": {
2235 "description": "A condition to be met.",
2236 "id": "Condition",
2237 "properties": {
2238 "op": {
2239 "description": "An operator to apply the subject with.",
2240 "enum": [
2241 "NO_OP",
2242 "EQUALS",
2243 "NOT_EQUALS",
2244 "IN",
2245 "NOT_IN",
2246 "DISCHARGED"
2247 ],
2248 "enumDescriptions": [
2249 "Default no-op.",
2250 "DEPRECATED. Use IN instead.",
2251 "DEPRECATED. Use NOT_IN instead.",
2252 "The condition is true if the subject (or any element of it if it is\na set) matches any of the supplied values.",
2253 "The condition is true if the subject (or every element of it if it is\na set) matches none of the supplied values.",
2254 "Subject is discharged"
2255 ],
2256 "type": "string"
2257 },
2258 "svc": {
2259 "description": "Trusted attributes discharged by the service .",
2260 "type": "string"
2261 },
2262 "value": {
2263 "description": "DEPRECATED. Use 'values' instead.",
2264 "type": "string"
2265 },
2266 "sys": {
2267 "description": "Trusted attributes supplied by any service t hat owns resources and uses\nthe IAM system for access control.",
2268 "enum": [
2269 "NO_ATTR",
2270 "REGION",
2271 "SERVICE",
2272 "NAME",
2273 "IP"
2274 ],
2275 "enumDescriptions": [
2276 "Default non-attribute type",
2277 "Region of the resource",
2278 "Service name",
2279 "Resource name",
2280 "IP address of the caller"
2281 ],
2282 "type": "string"
2283 },
2284 "values": {
2285 "description": "The objects of the condition. This is mutual ly exclusive with 'value'.",
2286 "items": {
2287 "type": "string"
2288 },
2289 "type": "array"
2290 },
2291 "iam": {
2292 "description": "Trusted attributes supplied by the IAM syste m.",
2293 "enum": [
2294 "NO_ATTR",
2295 "AUTHORITY",
2296 "ATTRIBUTION",
2297 "APPROVER",
2298 "JUSTIFICATION_TYPE"
2299 ],
2300 "enumDescriptions": [
2301 "Default non-attribute.",
2302 "Either principal or (if present) authority selector.",
2303 "The principal (even if an authority selector is present ), which\nmust only be used for attribution, not authorization.",
2304 "An approver (distinct from the requester) that has auth orized this\nrequest.\nWhen used with IN, the condition indicates that one of th e approvers\nassociated with the request matches the specified principal, or is a\nmember of the specified group. Approvers can only grant additional\naccess, a nd are thus only used in a strictly positive context\n(e.g. ALLOW/IN or DENY/NOT _IN).\nSee: go/rpc-security-policy-dynamicauth.",
2305 "What types of justifications have been supplied with th is request.\nString values should match enum names from tech.iam.JustificationTy pe,\ne.g. \"MANUAL_STRING\". It is not permitted to grant access based on\nthe * absence* of a justification, so justification conditions can only\nbe used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).\n\nMultiple justifications , e.g., a Buganizer ID and a manually-entered\nreason, are normal and supported. "
2306 ],
2307 "type": "string"
2308 }
2309 },
2310 "type": "object"
2311 },
2312 "Documentation": {
2313 "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.",
2314 "id": "Documentation",
2315 "properties": {
2316 "summary": {
2317 "description": "A short summary of what the service does. Ca n only be provided by\nplain text.",
2318 "type": "string"
2319 },
2320 "documentationRootUrl": {
2321 "description": "The URL to the root of documentation.",
2322 "type": "string"
2323 },
2324 "rules": {
2325 "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.",
2326 "items": {
2327 "$ref": "DocumentationRule"
2328 },
2329 "type": "array"
2330 },
2331 "overview": {
2332 "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.",
2333 "type": "string"
2334 },
2335 "pages": {
2336 "description": "The top level pages for the documentation se t.",
2337 "items": {
2338 "$ref": "Page"
2339 },
2340 "type": "array"
2341 }
2342 },
2343 "type": "object"
2344 },
2345 "AuditLogConfig": {
2346 "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.",
2347 "id": "AuditLogConfig",
2348 "properties": {
2349 "exemptedMembers": {
2350 "description": "Specifies the identities that do not cause l ogging for this type of\npermission.\nFollows the same format of Binding.members .",
2351 "items": {
2352 "type": "string"
2353 },
2354 "type": "array"
2355 },
2356 "logType": {
2357 "description": "The log type that this config enables.",
2358 "enum": [
2359 "LOG_TYPE_UNSPECIFIED",
2360 "ADMIN_READ",
2361 "DATA_WRITE",
2362 "DATA_READ"
2363 ],
2364 "enumDescriptions": [
2365 "Default case. Should never be this.",
2366 "Admin reads. Example: CloudIAM getIamPolicy",
2367 "Data writes. Example: CloudSQL Users create",
2368 "Data reads. Example: CloudSQL Users list"
2369 ],
2370 "type": "string"
2371 }
2372 },
2373 "type": "object"
2374 },
2375 "ConfigSource": {
2376 "description": "Represents a source file which is used to generate t he service configuration\ndefined by `google.api.Service`.",
2377 "id": "ConfigSource",
2378 "properties": {
2379 "files": {
2380 "description": "Set of source configuration files that are u sed to generate a service\nconfiguration (`google.api.Service`).",
2381 "items": {
2382 "$ref": "ConfigFile"
2383 },
2384 "type": "array"
2385 },
2386 "id": {
2387 "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.",
2388 "type": "string"
2389 }
2390 },
2391 "type": "object"
2392 },
2393 "AuthenticationRule": {
2394 "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.",
2395 "id": "AuthenticationRule",
2396 "properties": {
2397 "selector": {
2398 "description": "Selects the methods to which this rule appli es.\n\nRefer to selector for syntax details.",
2399 "type": "string"
2400 },
2401 "allowWithoutCredential": {
2402 "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.",
2403 "type": "boolean"
2404 },
2405 "oauth": {
2406 "$ref": "OAuthRequirements",
2407 "description": "The requirements for OAuth credentials."
2408 },
2409 "customAuth": {
2410 "$ref": "CustomAuthRequirements",
2411 "description": "Configuration for custom authentication."
2412 },
2413 "requirements": {
2414 "description": "Requirements for additional authentication p roviders.",
2415 "items": {
2416 "$ref": "AuthRequirement"
2417 },
2418 "type": "array"
2419 }
2420 },
2421 "type": "object"
2422 },
2423 "BackendRule": {
2424 "description": "A backend rule provides configuration for an individ ual API element.",
2425 "id": "BackendRule",
2426 "properties": {
2427 "minDeadline": {
2428 "description": "Minimum deadline in seconds needed for this method. Calls having deadline\nvalue lower than this will be rejected.",
2429 "format": "double",
2430 "type": "number"
2431 },
2432 "address": {
2433 "description": "The address of the API backend.",
2434 "type": "string"
2435 },
2436 "selector": {
2437 "description": "Selects the methods to which this rule appli es.\n\nRefer to selector for syntax details.",
2438 "type": "string"
2439 },
2440 "deadline": {
2441 "description": "The number of seconds to wait for a response from a request. The\ndefault depends on the deployment context.",
2442 "format": "double",
2443 "type": "number"
2444 }
2445 },
2446 "type": "object"
2447 },
2448 "Policy": {
2449 "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).",
2450 "id": "Policy",
2451 "properties": {
2452 "version": {
2453 "description": "Version of the `Policy`. The default version is 0.",
2454 "format": "int32",
2455 "type": "integer"
2456 },
2457 "auditConfigs": {
2458 "description": "Specifies cloud audit logging configuration for this policy.",
2459 "items": {
2460 "$ref": "AuditConfig"
2461 },
2462 "type": "array"
2463 },
2464 "bindings": {
2465 "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.",
2466 "items": {
2467 "$ref": "Binding"
2468 },
2469 "type": "array"
2470 },
2471 "etag": {
2472 "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.",
2473 "format": "byte",
2474 "type": "string"
2475 },
2476 "iamOwned": {
2477 "type": "boolean"
2478 },
2479 "rules": {
2480 "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.",
2481 "items": {
2482 "$ref": "Rule"
2483 },
2484 "type": "array"
2485 }
2486 },
2487 "type": "object"
2488 },
2489 "UndeleteServiceResponse": {
2490 "description": "Response message for UndeleteService method.",
2491 "id": "UndeleteServiceResponse",
2492 "properties": {
2493 "service": {
2494 "$ref": "ManagedService",
2495 "description": "Revived service resource."
2496 }
2497 },
2498 "type": "object"
2499 },
2500 "Api": {
2501 "description": "Api is a light-weight descriptor for a protocol buff er service.",
2502 "id": "Api",
2503 "properties": {
2504 "options": {
2505 "description": "Any metadata attached to the API.",
2506 "items": {
2507 "$ref": "Option"
2508 },
2509 "type": "array"
2510 },
2511 "methods": {
2512 "description": "The methods of this api, in unspecified orde r.",
2513 "items": {
2514 "$ref": "Method"
2515 },
2516 "type": "array"
2517 },
2518 "name": {
2519 "description": "The fully qualified name of this api, includ ing package name\nfollowed by the api's simple name.",
2520 "type": "string"
2521 },
2522 "syntax": {
2523 "description": "The source syntax of the service.",
2524 "enum": [
2525 "SYNTAX_PROTO2",
2526 "SYNTAX_PROTO3"
2527 ],
2528 "enumDescriptions": [
2529 "Syntax `proto2`.",
2530 "Syntax `proto3`."
2531 ],
2532 "type": "string"
2533 },
2534 "sourceContext": {
2535 "$ref": "SourceContext",
2536 "description": "Source context for the protocol buffer servi ce represented by this\nmessage."
2537 },
2538 "version": {
2539 "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",
2540 "type": "string"
2541 },
2542 "mixins": {
2543 "description": "Included APIs. See Mixin.",
2544 "items": {
2545 "$ref": "Mixin"
2546 },
2547 "type": "array"
2548 }
2549 },
2550 "type": "object"
2551 },
2552 "MetricRule": {
2553 "description": "Bind API methods to metrics. Binding a method to a m etric causes that\nmetric's configured quota, billing, and monitoring behaviors to apply to the\nmethod call.\n\nUsed by metric-based quotas only.",
2554 "id": "MetricRule",
2555 "properties": {
2556 "selector": {
2557 "description": "Selects the methods to which this rule appli es.\n\nRefer to selector for syntax details.",
2558 "type": "string"
2559 },
2560 "metricCosts": {
2561 "additionalProperties": {
2562 "format": "int64",
2563 "type": "string"
2564 },
2565 "description": "Metrics to update when the selected methods are called, and the associated\ncost applied to each metric.\n\nThe key of the m ap is the metric name, and the values are the amount\nincreased for the metric a gainst which the quota limits are defined.\nThe value must not be negative.",
2566 "type": "object"
2567 }
2568 },
2569 "type": "object"
2570 },
2571 "DataAccessOptions": {
2572 "description": "Write a Data Access (Gin) log",
2573 "id": "DataAccessOptions",
2574 "properties": {},
2575 "type": "object"
2576 },
2577 "Authentication": {
2578 "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",
2579 "id": "Authentication",
2580 "properties": {
2581 "rules": {
2582 "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.",
2583 "items": {
2584 "$ref": "AuthenticationRule"
2585 },
2586 "type": "array"
2587 },
2588 "providers": {
2589 "description": "Defines a set of authentication providers th at a service supports.",
2590 "items": {
2591 "$ref": "AuthProvider"
2592 },
2593 "type": "array"
2594 }
2595 },
2596 "type": "object"
2597 },
2598 "Operation": {
2599 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.",
2600 "id": "Operation",
2601 "properties": {
2602 "response": {
2603 "additionalProperties": {
2604 "description": "Properties of the object. Contains field @type with type URL.",
2605 "type": "any"
2606 },
2607 "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`.",
2608 "type": "object"
2609 },
2610 "name": {
2611 "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` .",
2612 "type": "string"
2613 },
2614 "error": {
2615 "$ref": "Status",
2616 "description": "The error result of the operation in case of failure or cancellation."
2617 },
2618 "metadata": {
2619 "additionalProperties": {
2620 "description": "Properties of the object. Contains field @type with type URL.",
2621 "type": "any"
2622 },
2623 "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. ",
2624 "type": "object"
2625 },
2626 "done": {
2627 "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.",
2628 "type": "boolean"
2629 }
2630 },
2631 "type": "object"
2632 },
2633 "Page": {
2634 "description": "Represents a documentation page. A page can contain subpages to represent\nnested documentation set structure.",
2635 "id": "Page",
2636 "properties": {
2637 "name": {
2638 "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`.",
2639 "type": "string"
2640 },
2641 "content": {
2642 "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.",
2643 "type": "string"
2644 },
2645 "subpages": {
2646 "description": "Subpages of this page. The order of subpages specified here will be\nhonored in the generated docset.",
2647 "items": {
2648 "$ref": "Page"
2649 },
2650 "type": "array"
2651 }
2652 },
2653 "type": "object"
2654 },
2655 "Status": {
2656 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Lang uage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mess age is\nexposed in different client libraries and different wire protocols, it c an be\nmapped differently. For example, it will likely be mapped to some excepti ons\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n \nThe error model and the `Status` message can be used in a variety of\nenvironm ents, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n - Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step m ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\ n- Asynchronous operations. If an API call embeds asynchronous operation\n re sults in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are store d in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
2657 "id": "Status",
2658 "properties": {
2659 "message": {
2660 "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.",
2661 "type": "string"
2662 },
2663 "details": {
2664 "description": "A list of messages that carry the error deta ils. There will be a\ncommon set of message types for APIs to use.",
2665 "items": {
2666 "additionalProperties": {
2667 "description": "Properties of the object. Contains f ield @type with type URL.",
2668 "type": "any"
2669 },
2670 "type": "object"
2671 },
2672 "type": "array"
2673 },
2674 "code": {
2675 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
2676 "format": "int32",
2677 "type": "integer"
2678 }
2679 },
2680 "type": "object"
2681 },
2682 "Binding": {
2683 "description": "Associates `members` with a `role`.",
2684 "id": "Binding",
2685 "properties": {
2686 "members": {
2687 "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\n* `domain:{domain}`: A Google Apps domain name that repre sents all the\n users of that domain. For example, `google.com` or `example.co m`.\n\n",
2688 "items": {
2689 "type": "string"
2690 },
2691 "type": "array"
2692 },
2693 "role": {
2694 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
2695 "type": "string"
2696 }
2697 },
2698 "type": "object"
2699 },
2700 "AuthProvider": {
2701 "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).",
2702 "id": "AuthProvider",
2703 "properties": {
2704 "jwksUri": {
2705 "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",
2706 "type": "string"
2707 },
2708 "audiences": {
2709 "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",
2710 "type": "string"
2711 },
2712 "id": {
2713 "description": "The unique identifier of the auth provider. It will be referred to by\n`AuthRequirement.provider_id`.\n\nExample: \"bookstor e_auth\".",
2714 "type": "string"
2715 },
2716 "issuer": {
2717 "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",
2718 "type": "string"
2719 }
2720 },
2721 "type": "object"
2722 },
2723 "EnumValue": {
2724 "description": "Enum value definition.",
2725 "id": "EnumValue",
2726 "properties": {
2727 "name": {
2728 "description": "Enum value name.",
2729 "type": "string"
2730 },
2731 "options": {
2732 "description": "Protocol buffer options.",
2733 "items": {
2734 "$ref": "Option"
2735 },
2736 "type": "array"
2737 },
2738 "number": {
2739 "description": "Enum value number.",
2740 "format": "int32",
2741 "type": "integer"
2742 }
2743 },
2744 "type": "object"
2745 },
2746 "Service": {
2747 "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",
2748 "id": "Service",
2749 "properties": {
2750 "customError": {
2751 "$ref": "CustomError",
2752 "description": "Custom error configuration."
2753 },
2754 "title": {
2755 "description": "The product title associated with this servi ce.",
2756 "type": "string"
2757 },
2758 "endpoints": {
2759 "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.",
2760 "items": {
2761 "$ref": "Endpoint"
2762 },
2763 "type": "array"
2764 },
2765 "logs": {
2766 "description": "Defines the logs used by this service.",
2767 "items": {
2768 "$ref": "LogDescriptor"
2769 },
2770 "type": "array"
2771 },
2772 "apis": {
2773 "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.",
2774 "items": {
2775 "$ref": "Api"
2776 },
2777 "type": "array"
2778 },
2779 "types": {
2780 "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",
2781 "items": {
2782 "$ref": "Type"
2783 },
2784 "type": "array"
2785 },
2786 "sourceInfo": {
2787 "$ref": "SourceInfo",
2788 "description": "Output only. The source information for this configuration if available."
2789 },
2790 "http": {
2791 "$ref": "Http",
2792 "description": "HTTP configuration."
2793 },
2794 "backend": {
2795 "$ref": "Backend",
2796 "description": "API backend configuration."
2797 },
2798 "systemParameters": {
2799 "$ref": "SystemParameters",
2800 "description": "System parameter configuration."
2801 },
2802 "documentation": {
2803 "$ref": "Documentation",
2804 "description": "Additional API documentation."
2805 },
2806 "logging": {
2807 "$ref": "Logging",
2808 "description": "Logging configuration."
2809 },
2810 "monitoredResources": {
2811 "description": "Defines the monitored resources used by this service. This is required\nby the Service.monitoring and Service.logging config urations.",
2812 "items": {
2813 "$ref": "MonitoredResourceDescriptor"
2814 },
2815 "type": "array"
2816 },
2817 "context": {
2818 "$ref": "Context",
2819 "description": "Context configuration."
2820 },
2821 "enums": {
2822 "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",
2823 "items": {
2824 "$ref": "Enum"
2825 },
2826 "type": "array"
2827 },
2828 "id": {
2829 "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.",
2830 "type": "string"
2831 },
2832 "usage": {
2833 "$ref": "Usage",
2834 "description": "Configuration controlling usage of this serv ice."
2835 },
2836 "metrics": {
2837 "description": "Defines the metrics used by this service.",
2838 "items": {
2839 "$ref": "MetricDescriptor"
2840 },
2841 "type": "array"
2842 },
2843 "authentication": {
2844 "$ref": "Authentication",
2845 "description": "Auth configuration."
2846 },
2847 "experimental": {
2848 "$ref": "Experimental",
2849 "description": "Experimental configuration."
2850 },
2851 "control": {
2852 "$ref": "Control",
2853 "description": "Configuration for the service control plane. "
2854 },
2855 "configVersion": {
2856 "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`.",
2857 "format": "uint32",
2858 "type": "integer"
2859 },
2860 "monitoring": {
2861 "$ref": "Monitoring",
2862 "description": "Monitoring configuration."
2863 },
2864 "systemTypes": {
2865 "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.",
2866 "items": {
2867 "$ref": "Type"
2868 },
2869 "type": "array"
2870 },
2871 "producerProjectId": {
2872 "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.",
2873 "type": "string"
2874 },
2875 "visibility": {
2876 "$ref": "Visibility",
2877 "description": "API visibility configuration."
2878 },
2879 "quota": {
2880 "$ref": "Quota",
2881 "description": "Quota configuration."
2882 },
2883 "name": {
2884 "description": "The DNS address at which this service is ava ilable,\ne.g. `calendar.googleapis.com`.",
2885 "type": "string"
2886 }
2887 },
2888 "type": "object"
2889 },
2890 "ListOperationsResponse": {
2891 "description": "The response message for Operations.ListOperations." ,
2892 "id": "ListOperationsResponse",
2893 "properties": {
2894 "nextPageToken": {
2895 "description": "The standard List next-page token.",
2896 "type": "string"
2897 },
2898 "operations": {
2899 "description": "A list of operations that matches the specif ied filter in the request.",
2900 "items": {
2901 "$ref": "Operation"
2902 },
2903 "type": "array"
2904 }
2905 },
2906 "type": "object"
2907 },
2908 "CustomHttpPattern": {
2909 "description": "A custom pattern is used for defining custom HTTP ve rb.",
2910 "id": "CustomHttpPattern",
2911 "properties": {
2912 "path": {
2913 "description": "The path matched by this custom verb.",
2914 "type": "string"
2915 },
2916 "kind": {
2917 "description": "The name of this custom HTTP verb.",
2918 "type": "string"
2919 }
2920 },
2921 "type": "object"
2922 },
2923 "OperationMetadata": {
2924 "description": "The metadata associated with a long running operatio n resource.",
2925 "id": "OperationMetadata",
2926 "properties": {
2927 "startTime": {
2928 "description": "The start time of the operation.",
2929 "format": "google-datetime",
2930 "type": "string"
2931 },
2932 "resourceNames": {
2933 "description": "The full name of the resources that this ope ration is directly\nassociated with.",
2934 "items": {
2935 "type": "string"
2936 },
2937 "type": "array"
2938 },
2939 "steps": {
2940 "description": "Detailed status information for each step. T he order is undetermined.",
2941 "items": {
2942 "$ref": "Step"
2943 },
2944 "type": "array"
2945 },
2946 "progressPercentage": {
2947 "description": "Percentage of completion of this operation, ranging from 0 to 100.",
2948 "format": "int32",
2949 "type": "integer"
2950 }
2951 },
2952 "type": "object"
2953 },
2954 "SystemParameterRule": {
2955 "description": "Define a system parameter rule mapping system parame ter definitions to\nmethods.",
2956 "id": "SystemParameterRule",
2957 "properties": {
2958 "selector": {
2959 "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.",
2960 "type": "string"
2961 },
2962 "parameters": {
2963 "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.",
2964 "items": {
2965 "$ref": "SystemParameter"
2966 },
2967 "type": "array"
2968 }
2969 },
2970 "type": "object"
2971 },
2972 "HttpRule": {
2973 "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.",
2974 "id": "HttpRule",
2975 "properties": {
2976 "put": {
2977 "description": "Used for updating a resource.",
2978 "type": "string"
2979 },
2980 "delete": {
2981 "description": "Used for deleting a resource.",
2982 "type": "string"
2983 },
2984 "body": {
2985 "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.",
2986 "type": "string"
2987 },
2988 "mediaDownload": {
2989 "$ref": "MediaDownload",
2990 "description": "Use this only for Scotty Requests. Do not us e this for bytestream methods.\nFor media support, add instead [][google.bytestr eam.RestByteStream] as an\nAPI to your configuration."
2991 },
2992 "post": {
2993 "description": "Used for creating a resource.",
2994 "type": "string"
2995 },
2996 "additionalBindings": {
2997 "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).",
2998 "items": {
2999 "$ref": "HttpRule"
3000 },
3001 "type": "array"
3002 },
3003 "responseBody": {
3004 "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.",
3005 "type": "string"
3006 },
3007 "restCollection": {
3008 "description": "Optional. The REST collection name is by def ault derived from the URL\npattern. If specified, this field overrides the defau lt collection name.\nExample:\n\n rpc AddressesAggregatedList(AddressesAggreg atedListRequest)\n returns (AddressesAggregatedListResponse) {\n opt ion (google.api.http) = {\n get: \"/v1/projects/{project_id}/aggregated/a ddresses\"\n rest_collection: \"projects.addresses\"\n };\n }\n\n This method has the automatically derived collection name\n\"projects.aggregated \". Because, semantically, this rpc is actually an\noperation on the \"projects. addresses\" collection, the `rest_collection`\nfield is configured to override t he derived collection name.",
3009 "type": "string"
3010 },
3011 "mediaUpload": {
3012 "$ref": "MediaUpload",
3013 "description": "Use this only for Scotty Requests. Do not us e this for media support using\nBytestream, add instead\n[][google.bytestream.Re stByteStream] as an API to your\nconfiguration for Bytestream methods."
3014 },
3015 "selector": {
3016 "description": "Selects methods to which this rule applies.\ n\nRefer to selector for syntax details.",
3017 "type": "string"
3018 },
3019 "custom": {
3020 "$ref": "CustomHttpPattern",
3021 "description": "Custom pattern is used for defining custom v erbs."
3022 },
3023 "get": {
3024 "description": "Used for listing and getting information abo ut resources.",
3025 "type": "string"
3026 },
3027 "patch": {
3028 "description": "Used for updating a resource.",
3029 "type": "string"
3030 }
3031 },
3032 "type": "object"
3033 },
3034 "VisibilityRule": {
3035 "description": "A visibility rule provides visibility configuration for an individual API\nelement.",
3036 "id": "VisibilityRule",
3037 "properties": {
3038 "restriction": {
3039 "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.",
3040 "type": "string"
3041 },
3042 "selector": {
3043 "description": "Selects methods, messages, fields, enums, et c. to which this rule applies.\n\nRefer to selector for syntax details.",
3044 "type": "string"
3045 }
3046 },
3047 "type": "object"
3048 },
3049 "MonitoringDestination": {
3050 "description": "Configuration of a specific monitoring destination ( the producer project\nor the consumer project).",
3051 "id": "MonitoringDestination",
3052 "properties": {
3053 "monitoredResource": {
3054 "description": "The monitored resource type. The type must b e defined in\nService.monitored_resources section.",
3055 "type": "string"
3056 },
3057 "metrics": {
3058 "description": "Names of the metrics to report to this monit oring destination.\nEach name must be defined in Service.metrics section.",
3059 "items": {
3060 "type": "string"
3061 },
3062 "type": "array" 3126 "type": "array"
3063 } 3127 }
3064 }, 3128 },
3065 "type": "object" 3129 "type": "object"
3066 }, 3130 },
3067 "Visibility": { 3131 "LogConfig": {
3068 "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.", 3132 "description": "Specifies what kind of log the caller must write",
3069 "id": "Visibility", 3133 "id": "LogConfig",
3070 "properties": { 3134 "properties": {
3071 "rules": { 3135 "cloudAudit": {
3072 "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.", 3136 "$ref": "CloudAuditOptions",
3073 "items": { 3137 "description": "Cloud audit options."
3074 "$ref": "VisibilityRule" 3138 },
3075 }, 3139 "counter": {
3076 "type": "array" 3140 "$ref": "CounterOptions",
3077 } 3141 "description": "Counter options."
3078 }, 3142 },
3079 "type": "object" 3143 "dataAccess": {
3080 }, 3144 "$ref": "DataAccessOptions",
3081 "SystemParameters": { 3145 "description": "Data access options."
3082 "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.", 3146 }
3083 "id": "SystemParameters", 3147 },
3084 "properties": { 3148 "type": "object"
3085 "rules": { 3149 },
3086 "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.", 3150 "LogDescriptor": {
3087 "items": { 3151 "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",
3088 "$ref": "SystemParameterRule" 3152 "id": "LogDescriptor",
3089 }, 3153 "properties": {
3090 "type": "array" 3154 "labels": {
3091 } 3155 "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.",
3092 }, 3156 "items": {
3093 "type": "object" 3157 "$ref": "LabelDescriptor"
3094 }, 3158 },
3095 "ConfigChange": { 3159 "type": "array"
3096 "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.", 3160 },
3097 "id": "ConfigChange", 3161 "name": {
3098 "properties": { 3162 "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 [/_-.].",
3099 "newValue": { 3163 "type": "string"
3100 "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.", 3164 },
3101 "type": "string" 3165 "description": {
3102 }, 3166 "description": "A human-readable description of this log. Th is information appears in\nthe documentation and can contain details.",
3103 "changeType": { 3167 "type": "string"
3104 "description": "The type for this change, either ADDED, REMO VED, or MODIFIED.", 3168 },
3169 "displayName": {
3170 "description": "The human-readable name for this log. This i nformation appears on\nthe user interface and should be concise.",
3171 "type": "string"
3172 }
3173 },
3174 "type": "object"
3175 },
3176 "ConfigFile": {
3177 "description": "Generic specification of a source configuration file ",
3178 "id": "ConfigFile",
3179 "properties": {
3180 "filePath": {
3181 "description": "The file name of the configuration file (ful l or relative path).",
3182 "type": "string"
3183 },
3184 "fileType": {
3185 "description": "The type of configuration file this represen ts.",
3105 "enum": [ 3186 "enum": [
3106 "CHANGE_TYPE_UNSPECIFIED", 3187 "FILE_TYPE_UNSPECIFIED",
3107 "ADDED", 3188 "SERVICE_CONFIG_YAML",
3108 "REMOVED", 3189 "OPEN_API_JSON",
3109 "MODIFIED" 3190 "OPEN_API_YAML",
3191 "FILE_DESCRIPTOR_SET_PROTO"
3110 ], 3192 ],
3111 "enumDescriptions": [ 3193 "enumDescriptions": [
3112 "No value was provided.", 3194 "Unknown file type.",
3113 "The changed object exists in the 'new' service configur ation, but not\nin the 'old' service configuration.", 3195 "YAML-specification of service.",
3114 "The changed object exists in the 'old' service configur ation, but not\nin the 'new' service configuration.", 3196 "OpenAPI specification, serialized in JSON.",
3115 "The changed object exists in both service configuration s, but its value\nis different." 3197 "OpenAPI specification, serialized in YAML.",
3198 "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"
3116 ], 3199 ],
3117 "type": "string" 3200 "type": "string"
3118 }, 3201 },
3119 "element": { 3202 "fileContents": {
3120 "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]", 3203 "description": "The bytes that constitute the file.",
3121 "type": "string" 3204 "format": "byte",
3122 }, 3205 "type": "string"
3123 "oldValue": { 3206 }
3124 "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.", 3207 },
3125 "type": "string" 3208 "type": "object"
3126 }, 3209 },
3127 "advices": { 3210 "MonitoredResourceDescriptor": {
3128 "description": "Collection of advice provided for this chang e, useful for determining the\npossible impact of this change.", 3211 "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.",
3129 "items": { 3212 "id": "MonitoredResourceDescriptor",
3130 "$ref": "Advice" 3213 "properties": {
3131 }, 3214 "displayName": {
3132 "type": "array" 3215 "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\"`.",
3133 } 3216 "type": "string"
3134 }, 3217 },
3135 "type": "object"
3136 },
3137 "Quota": {
3138 "description": "Quota configuration helps to achieve fairness and bu dgeting in service\nusage.\n\nThe quota configuration works this way:\n- The ser vice configuration defines a set of metrics.\n- For API calls, the quota.metric_ rules maps methods to metrics with\n corresponding costs.\n- The quota.limits d efines limits on the metrics, which will be used for\n quota checks at runtime. \n\nAn example quota configuration in yaml format:\n\n quota:\n\n - name: apiWriteQpsPerProject\n metric: library.googleapis.com/write_calls\n unit: \"1/min/{project}\" # rate limit for consumer projects\n values:\n STANDARD: 10000\n\n\n # The metric rules bind all methods to the re ad_calls metric,\n # except for the UpdateBook and DeleteBook methods. These two methods\n # are mapped to the write_calls metric, with the UpdateBook m ethod\n # consuming at twice rate as the DeleteBook method.\n metric_rul es:\n - selector: \"*\"\n metric_costs:\n library.googleapis.c om/read_calls: 1\n - selector: google.example.library.v1.LibraryService.Upda teBook\n metric_costs:\n library.googleapis.com/write_calls: 2\n - selector: google.example.library.v1.LibraryService.DeleteBook\n metri c_costs:\n library.googleapis.com/write_calls: 1\n\n Corresponding Metri c definition:\n\n metrics:\n - name: library.googleapis.com/read_calls\n display_name: Read requests\n metric_kind: DELTA\n value_type : INT64\n\n - name: library.googleapis.com/write_calls\n display_name: Write requests\n metric_kind: DELTA\n value_type: INT64",
3139 "id": "Quota",
3140 "properties": {
3141 "metricRules": {
3142 "description": "List of `MetricRule` definitions, each one m apping a selected method to one\nor more metrics.\n\nUsed by metric-based quotas only.",
3143 "items": {
3144 "$ref": "MetricRule"
3145 },
3146 "type": "array"
3147 },
3148 "limits": {
3149 "description": "List of `QuotaLimit` definitions for the ser vice.\n\nUsed by metric-based quotas only.",
3150 "items": {
3151 "$ref": "QuotaLimit"
3152 },
3153 "type": "array"
3154 }
3155 },
3156 "type": "object"
3157 },
3158 "Rollout": {
3159 "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.",
3160 "id": "Rollout",
3161 "properties": {
3162 "deleteServiceStrategy": {
3163 "$ref": "DeleteServiceStrategy",
3164 "description": "The strategy associated with a rollout to de lete a `ManagedService`.\nReadonly."
3165 },
3166 "createTime": {
3167 "description": "Creation time of the rollout. Readonly.",
3168 "format": "google-datetime",
3169 "type": "string"
3170 },
3171 "status": {
3172 "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.",
3173 "enum": [
3174 "ROLLOUT_STATUS_UNSPECIFIED",
3175 "IN_PROGRESS",
3176 "SUCCESS",
3177 "CANCELLED",
3178 "FAILED",
3179 "PENDING",
3180 "FAILED_ROLLED_BACK"
3181 ],
3182 "enumDescriptions": [
3183 "No status specified.",
3184 "The Rollout is in progress.",
3185 "The Rollout has completed successfully.",
3186 "The Rollout has been cancelled. This can happen if you have overlapping\nRollout pushes, and the previous ones will be cancelled.",
3187 "The Rollout has failed and the rollback attempt has fai led too.",
3188 "The Rollout has not started yet and is pending for exec ution.",
3189 "The Rollout has failed and rolled back to the previous successful\nRollout."
3190 ],
3191 "type": "string"
3192 },
3193 "serviceName": {
3194 "description": "The name of the service associated with this Rollout.",
3195 "type": "string"
3196 },
3197 "trafficPercentStrategy": {
3198 "$ref": "TrafficPercentStrategy",
3199 "description": "Google Service Control selects service confi gurations based on\ntraffic percentage."
3200 },
3201 "createdBy": {
3202 "description": "The user who created the Rollout. Readonly." ,
3203 "type": "string"
3204 },
3205 "rolloutId": {
3206 "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'",
3207 "type": "string"
3208 }
3209 },
3210 "type": "object"
3211 },
3212 "GenerateConfigReportRequest": {
3213 "description": "Request message for GenerateConfigReport method.",
3214 "id": "GenerateConfigReportRequest",
3215 "properties": {
3216 "newConfig": {
3217 "additionalProperties": {
3218 "description": "Properties of the object. Contains field @type with type URL.",
3219 "type": "any"
3220 },
3221 "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",
3222 "type": "object"
3223 },
3224 "oldConfig": {
3225 "additionalProperties": {
3226 "description": "Properties of the object. Contains field @type with type URL.",
3227 "type": "any"
3228 },
3229 "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",
3230 "type": "object"
3231 }
3232 },
3233 "type": "object"
3234 },
3235 "SetIamPolicyRequest": {
3236 "description": "Request message for `SetIamPolicy` method.",
3237 "id": "SetIamPolicyRequest",
3238 "properties": {
3239 "policy": {
3240 "$ref": "Policy",
3241 "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."
3242 },
3243 "updateMask": {
3244 "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, the\nfollowing default mask is used:\npaths: \"bindings, etag\ "\nThis field is only used by Cloud IAM.",
3245 "format": "google-fieldmask",
3246 "type": "string"
3247 }
3248 },
3249 "type": "object"
3250 },
3251 "DeleteServiceStrategy": {
3252 "description": "Strategy used to delete a service. This strategy is a placeholder only\nused by the system generated rollout to delete a service.",
3253 "id": "DeleteServiceStrategy",
3254 "properties": {},
3255 "type": "object"
3256 },
3257 "Step": {
3258 "description": "Represents the status of one operation step.",
3259 "id": "Step",
3260 "properties": {
3261 "description": { 3218 "description": {
3262 "description": "The short description of the step.", 3219 "description": "Optional. A detailed description of the moni tored resource type that might\nbe used in documentation.",
3263 "type": "string" 3220 "type": "string"
3264 }, 3221 },
3265 "status": { 3222 "type": {
3266 "description": "The status code.", 3223 "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.",
3267 "enum": [ 3224 "type": "string"
3268 "STATUS_UNSPECIFIED", 3225 },
3269 "DONE", 3226 "labels": {
3270 "NOT_STARTED", 3227 "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\"`.",
3271 "IN_PROGRESS", 3228 "items": {
3272 "FAILED", 3229 "$ref": "LabelDescriptor"
3273 "CANCELLED" 3230 },
3274 ], 3231 "type": "array"
3275 "enumDescriptions": [ 3232 },
3276 "Unspecifed code.", 3233 "name": {
3277 "The operation or step has completed without errors.", 3234 "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}\"`.",
3278 "The operation or step has not started yet.", 3235 "type": "string"
3279 "The operation or step is in progress.", 3236 }
3280 "The operation or step has completed with errors. If the operation is\nrollbackable, the rollback completed with errors too.", 3237 },
3281 "The operation or step has completed with cancellation." 3238 "type": "object"
3282 ], 3239 },
3283 "type": "string" 3240 "CustomErrorRule": {
3284 } 3241 "description": "A custom error rule.",
3285 }, 3242 "id": "CustomErrorRule",
3286 "type": "object" 3243 "properties": {
3287 }, 3244 "isErrorType": {
3288 "LoggingDestination": { 3245 "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.",
3289 "description": "Configuration of a specific logging destination (the producer project\nor the consumer project).", 3246 "type": "boolean"
3290 "id": "LoggingDestination", 3247 },
3291 "properties": { 3248 "selector": {
3292 "logs": { 3249 "description": "Selects messages to which this rule applies. \n\nRefer to selector for syntax details.",
3293 "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 \"/\".", 3250 "type": "string"
3251 }
3252 },
3253 "type": "object"
3254 },
3255 "MediaDownload": {
3256 "description": "Defines the Media configuration for a service in cas e of a download.\nUse this only for Scotty Requests. Do not use this for media s upport using\nBytestream, add instead [][google.bytestream.RestByteStream] as an API to\nyour configuration for Bytestream methods.",
3257 "id": "MediaDownload",
3258 "properties": {
3259 "enabled": {
3260 "description": "Whether download is enabled.",
3261 "type": "boolean"
3262 },
3263 "downloadService": {
3264 "description": "DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED.\n\nSpecify name of the download service if one is used for download.",
3265 "type": "string"
3266 },
3267 "completeNotification": {
3268 "description": "A boolean that determines whether a notifica tion for the completion of a\ndownload should be sent to the backend.",
3269 "type": "boolean"
3270 },
3271 "dropzone": {
3272 "description": "Name of the Scotty dropzone to use for the c urrent API.",
3273 "type": "string"
3274 },
3275 "maxDirectDownloadSize": {
3276 "description": "Optional maximum acceptable size for direct download.\nThe size is specified in bytes.",
3277 "format": "int64",
3278 "type": "string"
3279 },
3280 "useDirectDownload": {
3281 "description": "A boolean that determines if direct download from ESF should be used for\ndownload of this media.",
3282 "type": "boolean"
3283 }
3284 },
3285 "type": "object"
3286 },
3287 "CustomAuthRequirements": {
3288 "description": "Configuration for a custom authentication provider." ,
3289 "id": "CustomAuthRequirements",
3290 "properties": {
3291 "provider": {
3292 "description": "A configuration string containing connection information for the\nauthentication provider, typically formatted as a SmartSer vice string\n(go/smartservice).",
3293 "type": "string"
3294 }
3295 },
3296 "type": "object"
3297 },
3298 "ChangeReport": {
3299 "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.",
3300 "id": "ChangeReport",
3301 "properties": {
3302 "configChanges": {
3303 "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",
3304 "items": {
3305 "$ref": "ConfigChange"
3306 },
3307 "type": "array"
3308 }
3309 },
3310 "type": "object"
3311 },
3312 "DisableServiceRequest": {
3313 "description": "Request message for DisableService method.",
3314 "id": "DisableServiceRequest",
3315 "properties": {
3316 "consumerId": {
3317 "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.",
3318 "type": "string"
3319 }
3320 },
3321 "type": "object"
3322 },
3323 "SubmitConfigSourceResponse": {
3324 "description": "Response message for SubmitConfigSource method.",
3325 "id": "SubmitConfigSourceResponse",
3326 "properties": {
3327 "serviceConfig": {
3328 "$ref": "Service",
3329 "description": "The generated service configuration."
3330 }
3331 },
3332 "type": "object"
3333 },
3334 "MediaUpload": {
3335 "description": "Defines the Media configuration for a service in cas e of an upload.\nUse this only for Scotty Requests. Do not use this for media su pport using\nBytestream, add instead [][google.bytestream.RestByteStream] as an API to\nyour configuration for Bytestream methods.",
3336 "id": "MediaUpload",
3337 "properties": {
3338 "dropzone": {
3339 "description": "Name of the Scotty dropzone to use for the c urrent API.",
3340 "type": "string"
3341 },
3342 "startNotification": {
3343 "description": "Whether to receive a notification on the sta rt of media upload.",
3344 "type": "boolean"
3345 },
3346 "uploadService": {
3347 "description": "DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED.\n\nSpecify name of the upload service if one is used for up load.",
3348 "type": "string"
3349 },
3350 "maxSize": {
3351 "description": "Optional maximum acceptable size for an uplo ad.\nThe size is specified in bytes.",
3352 "format": "int64",
3353 "type": "string"
3354 },
3355 "mimeTypes": {
3356 "description": "An array of mimetype patterns. Esf will only accept uploads that match one\nof the given patterns.",
3294 "items": { 3357 "items": {
3295 "type": "string" 3358 "type": "string"
3296 }, 3359 },
3297 "type": "array" 3360 "type": "array"
3298 }, 3361 },
3299 "monitoredResource": { 3362 "enabled": {
3300 "description": "The monitored resource type. The type must b e defined in the\nService.monitored_resources section.", 3363 "description": "Whether upload is enabled.",
3301 "type": "string" 3364 "type": "boolean"
3302 } 3365 },
3303 }, 3366 "progressNotification": {
3304 "type": "object" 3367 "description": "Whether to receive a notification for progre ss changes of media upload.",
3305 }, 3368 "type": "boolean"
3306 "Option": { 3369 },
3307 "description": "A protocol buffer option, which can be attached to a message, field,\nenumeration, etc.", 3370 "completeNotification": {
3308 "id": "Option", 3371 "description": "A boolean that determines whether a notifica tion for the completion of an\nupload should be sent to the backend. These notif ications will not be seen\nby the client and will not consume quota.",
3309 "properties": { 3372 "type": "boolean"
3310 "value": { 3373 }
3311 "additionalProperties": { 3374 },
3312 "description": "Properties of the object. Contains field @type with type URL.", 3375 "type": "object"
3313 "type": "any"
3314 },
3315 "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.",
3316 "type": "object"
3317 },
3318 "name": {
3319 "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\"`.",
3320 "type": "string"
3321 }
3322 },
3323 "type": "object"
3324 },
3325 "Logging": {
3326 "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",
3327 "id": "Logging",
3328 "properties": {
3329 "consumerDestinations": {
3330 "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.",
3331 "items": {
3332 "$ref": "LoggingDestination"
3333 },
3334 "type": "array"
3335 },
3336 "producerDestinations": {
3337 "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.",
3338 "items": {
3339 "$ref": "LoggingDestination"
3340 },
3341 "type": "array"
3342 }
3343 },
3344 "type": "object"
3345 } 3376 }
3346 }, 3377 },
3347 "servicePath": "", 3378 "servicePath": "",
3348 "title": "Google Service Management API", 3379 "title": "Google Service Management API",
3349 "version": "v1" 3380 "version": "v1"
3350 } 3381 }
OLDNEW
« no previous file with comments | « discovery/googleapis/servicecontrol__v1.json ('k') | discovery/googleapis/serviceuser__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698