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

Side by Side Diff: discovery/googleapis_beta/logging__v2beta1.json

Issue 2779563003: Api-roll 47: 2017-03-27 (Closed)
Patch Set: Created 3 years, 9 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
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform.read-only": { 5 "https://www.googleapis.com/auth/cloud-platform.read-only": {
6 "description": "View your data across Google Cloud Platform services" 6 "description": "View your data across Google Cloud Platform services"
7 }, 7 },
8 "https://www.googleapis.com/auth/logging.admin": { 8 "https://www.googleapis.com/auth/logging.admin": {
9 "description": "Administrate log data for your projects" 9 "description": "Administrate log data for your projects"
10 }, 10 },
(...skipping 19 matching lines...) Expand all
30 "icons": { 30 "icons": {
31 "x16": "http://www.google.com/images/icons/product/search-16.gif", 31 "x16": "http://www.google.com/images/icons/product/search-16.gif",
32 "x32": "http://www.google.com/images/icons/product/search-32.gif" 32 "x32": "http://www.google.com/images/icons/product/search-32.gif"
33 }, 33 },
34 "id": "logging:v2beta1", 34 "id": "logging:v2beta1",
35 "kind": "discovery#restDescription", 35 "kind": "discovery#restDescription",
36 "name": "logging", 36 "name": "logging",
37 "ownerDomain": "google.com", 37 "ownerDomain": "google.com",
38 "ownerName": "Google", 38 "ownerName": "Google",
39 "parameters": { 39 "parameters": {
40 "access_token": {
41 "description": "OAuth access token.",
42 "location": "query",
43 "type": "string"
44 },
45 "key": {
46 "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.",
47 "location": "query",
48 "type": "string"
49 },
40 "quotaUser": { 50 "quotaUser": {
41 "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.", 51 "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.",
42 "location": "query", 52 "location": "query",
43 "type": "string" 53 "type": "string"
44 }, 54 },
45 "pp": { 55 "pp": {
46 "default": "true", 56 "default": "true",
47 "description": "Pretty-print response.", 57 "description": "Pretty-print response.",
48 "location": "query", 58 "location": "query",
49 "type": "boolean" 59 "type": "boolean"
(...skipping 12 matching lines...) Expand all
62 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 72 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
63 "location": "query", 73 "location": "query",
64 "type": "string" 74 "type": "string"
65 }, 75 },
66 "prettyPrint": { 76 "prettyPrint": {
67 "default": "true", 77 "default": "true",
68 "description": "Returns response with indentations and line breaks." , 78 "description": "Returns response with indentations and line breaks." ,
69 "location": "query", 79 "location": "query",
70 "type": "boolean" 80 "type": "boolean"
71 }, 81 },
82 "uploadType": {
83 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
84 "location": "query",
85 "type": "string"
86 },
72 "fields": { 87 "fields": {
73 "description": "Selector specifying which fields to include in a par tial response.", 88 "description": "Selector specifying which fields to include in a par tial response.",
74 "location": "query", 89 "location": "query",
75 "type": "string" 90 "type": "string"
76 }, 91 },
77 "uploadType": {
78 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
79 "location": "query",
80 "type": "string"
81 },
82 "callback": { 92 "callback": {
83 "description": "JSONP", 93 "description": "JSONP",
84 "location": "query", 94 "location": "query",
85 "type": "string" 95 "type": "string"
86 }, 96 },
87 "$.xgafv": { 97 "$.xgafv": {
88 "description": "V1 error format.", 98 "description": "V1 error format.",
89 "enum": [ 99 "enum": [
90 "1", 100 "1",
91 "2" 101 "2"
(...skipping 13 matching lines...) Expand all
105 "media", 115 "media",
106 "proto" 116 "proto"
107 ], 117 ],
108 "enumDescriptions": [ 118 "enumDescriptions": [
109 "Responses with Content-Type of application/json", 119 "Responses with Content-Type of application/json",
110 "Media download with context-dependent Content-Type", 120 "Media download with context-dependent Content-Type",
111 "Responses with Content-Type of application/x-protobuf" 121 "Responses with Content-Type of application/x-protobuf"
112 ], 122 ],
113 "location": "query", 123 "location": "query",
114 "type": "string" 124 "type": "string"
115 },
116 "access_token": {
117 "description": "OAuth access token.",
118 "location": "query",
119 "type": "string"
120 },
121 "key": {
122 "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.",
123 "location": "query",
124 "type": "string"
125 } 125 }
126 }, 126 },
127 "protocol": "rest", 127 "protocol": "rest",
128 "resources": { 128 "resources": {
129 "organizations": { 129 "organizations": {
130 "resources": { 130 "resources": {
131 "logs": { 131 "logs": {
132 "methods": { 132 "methods": {
133 "delete": {
134 "description": "Deletes all the log entries in a log . The log reappears if it receives new entries. Log entries written shortly befo re the delete operation might not be deleted.",
135 "httpMethod": "DELETE",
136 "id": "logging.organizations.logs.delete",
137 "parameterOrder": [
138 "logName"
139 ],
140 "parameters": {
141 "logName": {
142 "description": "Required. The resource name of the log to delete:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/ [ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[ LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/1234567890/ logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information abou t log names, see LogEntry.",
143 "location": "path",
144 "pattern": "^organizations/[^/]+/logs/[^/]+$ ",
145 "required": true,
146 "type": "string"
147 }
148 },
149 "path": "v2beta1/{+logName}",
150 "response": {
151 "$ref": "Empty"
152 },
153 "scopes": [
154 "https://www.googleapis.com/auth/cloud-platform" ,
155 "https://www.googleapis.com/auth/logging.admin"
156 ]
157 },
158 "list": { 133 "list": {
159 "description": "Lists the logs in projects, organiza tions, folders, or billing accounts. Only logs that have entries are listed.", 134 "description": "Lists the logs in projects, organiza tions, folders, or billing accounts. Only logs that have entries are listed.",
160 "httpMethod": "GET", 135 "httpMethod": "GET",
161 "id": "logging.organizations.logs.list", 136 "id": "logging.organizations.logs.list",
162 "parameterOrder": [ 137 "parameterOrder": [
163 "parent" 138 "parent"
164 ], 139 ],
165 "parameters": { 140 "parameters": {
166 "pageToken": { 141 "pageToken": {
167 "description": "Optional. If present, then r etrieve the next batch of results from the preceding call to this method. pageTo ken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", 142 "description": "Optional. If present, then r etrieve the next batch of results from the preceding call to this method. pageTo ken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
(...skipping 17 matching lines...) Expand all
185 "path": "v2beta1/{+parent}/logs", 160 "path": "v2beta1/{+parent}/logs",
186 "response": { 161 "response": {
187 "$ref": "ListLogsResponse" 162 "$ref": "ListLogsResponse"
188 }, 163 },
189 "scopes": [ 164 "scopes": [
190 "https://www.googleapis.com/auth/cloud-platform" , 165 "https://www.googleapis.com/auth/cloud-platform" ,
191 "https://www.googleapis.com/auth/cloud-platform. read-only", 166 "https://www.googleapis.com/auth/cloud-platform. read-only",
192 "https://www.googleapis.com/auth/logging.admin", 167 "https://www.googleapis.com/auth/logging.admin",
193 "https://www.googleapis.com/auth/logging.read" 168 "https://www.googleapis.com/auth/logging.read"
194 ] 169 ]
170 },
171 "delete": {
172 "description": "Deletes all the log entries in a log . The log reappears if it receives new entries. Log entries written shortly befo re the delete operation might not be deleted.",
173 "httpMethod": "DELETE",
174 "id": "logging.organizations.logs.delete",
175 "parameterOrder": [
176 "logName"
177 ],
178 "parameters": {
179 "logName": {
180 "description": "Required. The resource name of the log to delete:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/ [ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[ LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/1234567890/ logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information abou t log names, see LogEntry.",
181 "location": "path",
182 "pattern": "^organizations/[^/]+/logs/[^/]+$ ",
183 "required": true,
184 "type": "string"
185 }
186 },
187 "path": "v2beta1/{+logName}",
188 "response": {
189 "$ref": "Empty"
190 },
191 "scopes": [
192 "https://www.googleapis.com/auth/cloud-platform" ,
193 "https://www.googleapis.com/auth/logging.admin"
194 ]
195 } 195 }
196 } 196 }
197 } 197 }
198 } 198 }
199 }, 199 },
200 "entries": { 200 "entries": {
201 "methods": { 201 "methods": {
202 "write": {
203 "description": "Writes log entries to Stackdriver Logging. A ll log entries are written by this method.",
204 "httpMethod": "POST",
205 "id": "logging.entries.write",
206 "parameterOrder": [],
207 "parameters": {},
208 "path": "v2beta1/entries:write",
209 "request": {
210 "$ref": "WriteLogEntriesRequest"
211 },
212 "response": {
213 "$ref": "WriteLogEntriesResponse"
214 },
215 "scopes": [
216 "https://www.googleapis.com/auth/cloud-platform",
217 "https://www.googleapis.com/auth/logging.admin",
218 "https://www.googleapis.com/auth/logging.write"
219 ]
220 },
221 "list": { 202 "list": {
222 "description": "Lists log entries. Use this method to retrie ve log entries from Stackdriver Logging. For ways to export log entries, see Exp orting Logs.", 203 "description": "Lists log entries. Use this method to retrie ve log entries from Stackdriver Logging. For ways to export log entries, see Exp orting Logs.",
223 "httpMethod": "POST", 204 "httpMethod": "POST",
224 "id": "logging.entries.list", 205 "id": "logging.entries.list",
225 "parameterOrder": [], 206 "parameterOrder": [],
226 "parameters": {}, 207 "parameters": {},
227 "path": "v2beta1/entries:list", 208 "path": "v2beta1/entries:list",
228 "request": { 209 "request": {
229 "$ref": "ListLogEntriesRequest" 210 "$ref": "ListLogEntriesRequest"
230 }, 211 },
231 "response": { 212 "response": {
232 "$ref": "ListLogEntriesResponse" 213 "$ref": "ListLogEntriesResponse"
233 }, 214 },
234 "scopes": [ 215 "scopes": [
235 "https://www.googleapis.com/auth/cloud-platform", 216 "https://www.googleapis.com/auth/cloud-platform",
236 "https://www.googleapis.com/auth/cloud-platform.read-onl y", 217 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
237 "https://www.googleapis.com/auth/logging.admin", 218 "https://www.googleapis.com/auth/logging.admin",
238 "https://www.googleapis.com/auth/logging.read" 219 "https://www.googleapis.com/auth/logging.read"
239 ] 220 ]
221 },
222 "write": {
223 "description": "Writes log entries to Stackdriver Logging.",
224 "httpMethod": "POST",
225 "id": "logging.entries.write",
226 "parameterOrder": [],
227 "parameters": {},
228 "path": "v2beta1/entries:write",
229 "request": {
230 "$ref": "WriteLogEntriesRequest"
231 },
232 "response": {
233 "$ref": "WriteLogEntriesResponse"
234 },
235 "scopes": [
236 "https://www.googleapis.com/auth/cloud-platform",
237 "https://www.googleapis.com/auth/logging.admin",
238 "https://www.googleapis.com/auth/logging.write"
239 ]
240 } 240 }
241 } 241 }
242 }, 242 },
243 "projects": { 243 "projects": {
244 "resources": { 244 "resources": {
245 "metrics": { 245 "metrics": {
246 "methods": { 246 "methods": {
247 "delete": {
248 "description": "Deletes a logs-based metric.",
249 "httpMethod": "DELETE",
250 "id": "logging.projects.metrics.delete",
251 "parameterOrder": [
252 "metricName"
253 ],
254 "parameters": {
255 "metricName": {
256 "description": "The resource name of the met ric to delete:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\n",
257 "location": "path",
258 "pattern": "^projects/[^/]+/metrics/[^/]+$",
259 "required": true,
260 "type": "string"
261 }
262 },
263 "path": "v2beta1/{+metricName}",
264 "response": {
265 "$ref": "Empty"
266 },
267 "scopes": [
268 "https://www.googleapis.com/auth/cloud-platform" ,
269 "https://www.googleapis.com/auth/logging.admin",
270 "https://www.googleapis.com/auth/logging.write"
271 ]
272 },
247 "list": { 273 "list": {
248 "description": "Lists logs-based metrics.", 274 "description": "Lists logs-based metrics.",
249 "httpMethod": "GET", 275 "httpMethod": "GET",
250 "id": "logging.projects.metrics.list", 276 "id": "logging.projects.metrics.list",
251 "parameterOrder": [ 277 "parameterOrder": [
252 "parent" 278 "parent"
253 ], 279 ],
254 "parameters": { 280 "parameters": {
255 "pageToken": {
256 "description": "Optional. If present, then r etrieve the next batch of results from the preceding call to this method. pageTo ken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
257 "location": "query",
258 "type": "string"
259 },
260 "pageSize": { 281 "pageSize": {
261 "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The pr esence of nextPageToken in the response indicates that more results might be ava ilable.", 282 "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The pr esence of nextPageToken in the response indicates that more results might be ava ilable.",
262 "format": "int32", 283 "format": "int32",
263 "location": "query", 284 "location": "query",
264 "type": "integer" 285 "type": "integer"
265 }, 286 },
266 "parent": { 287 "parent": {
267 "description": "Required. The name of the pr oject containing the metrics:\n\"projects/[PROJECT_ID]\"\n", 288 "description": "Required. The name of the pr oject containing the metrics:\n\"projects/[PROJECT_ID]\"\n",
268 "location": "path", 289 "location": "path",
269 "pattern": "^projects/[^/]+$", 290 "pattern": "^projects/[^/]+$",
270 "required": true, 291 "required": true,
271 "type": "string" 292 "type": "string"
293 },
294 "pageToken": {
295 "description": "Optional. If present, then r etrieve the next batch of results from the preceding call to this method. pageTo ken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
296 "location": "query",
297 "type": "string"
272 } 298 }
273 }, 299 },
274 "path": "v2beta1/{+parent}/metrics", 300 "path": "v2beta1/{+parent}/metrics",
275 "response": { 301 "response": {
276 "$ref": "ListLogMetricsResponse" 302 "$ref": "ListLogMetricsResponse"
277 }, 303 },
278 "scopes": [ 304 "scopes": [
279 "https://www.googleapis.com/auth/cloud-platform" , 305 "https://www.googleapis.com/auth/cloud-platform" ,
280 "https://www.googleapis.com/auth/cloud-platform. read-only", 306 "https://www.googleapis.com/auth/cloud-platform. read-only",
281 "https://www.googleapis.com/auth/logging.admin", 307 "https://www.googleapis.com/auth/logging.admin",
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 "$ref": "LogMetric" 385 "$ref": "LogMetric"
360 }, 386 },
361 "response": { 387 "response": {
362 "$ref": "LogMetric" 388 "$ref": "LogMetric"
363 }, 389 },
364 "scopes": [ 390 "scopes": [
365 "https://www.googleapis.com/auth/cloud-platform" , 391 "https://www.googleapis.com/auth/cloud-platform" ,
366 "https://www.googleapis.com/auth/logging.admin", 392 "https://www.googleapis.com/auth/logging.admin",
367 "https://www.googleapis.com/auth/logging.write" 393 "https://www.googleapis.com/auth/logging.write"
368 ] 394 ]
369 },
370 "delete": {
371 "description": "Deletes a logs-based metric.",
372 "httpMethod": "DELETE",
373 "id": "logging.projects.metrics.delete",
374 "parameterOrder": [
375 "metricName"
376 ],
377 "parameters": {
378 "metricName": {
379 "description": "The resource name of the met ric to delete:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\n",
380 "location": "path",
381 "pattern": "^projects/[^/]+/metrics/[^/]+$",
382 "required": true,
383 "type": "string"
384 }
385 },
386 "path": "v2beta1/{+metricName}",
387 "response": {
388 "$ref": "Empty"
389 },
390 "scopes": [
391 "https://www.googleapis.com/auth/cloud-platform" ,
392 "https://www.googleapis.com/auth/logging.admin",
393 "https://www.googleapis.com/auth/logging.write"
394 ]
395 } 395 }
396 } 396 }
397 }, 397 },
398 "logs": { 398 "logs": {
399 "methods": { 399 "methods": {
400 "delete": {
401 "description": "Deletes all the log entries in a log . The log reappears if it receives new entries. Log entries written shortly befo re the delete operation might not be deleted.",
402 "httpMethod": "DELETE",
403 "id": "logging.projects.logs.delete",
404 "parameterOrder": [
405 "logName"
406 ],
407 "parameters": {
408 "logName": {
409 "description": "Required. The resource name of the log to delete:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/ [ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[ LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/1234567890/ logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information abou t log names, see LogEntry.",
410 "location": "path",
411 "pattern": "^projects/[^/]+/logs/[^/]+$",
412 "required": true,
413 "type": "string"
414 }
415 },
416 "path": "v2beta1/{+logName}",
417 "response": {
418 "$ref": "Empty"
419 },
420 "scopes": [
421 "https://www.googleapis.com/auth/cloud-platform" ,
422 "https://www.googleapis.com/auth/logging.admin"
423 ]
424 },
400 "list": { 425 "list": {
401 "description": "Lists the logs in projects, organiza tions, folders, or billing accounts. Only logs that have entries are listed.", 426 "description": "Lists the logs in projects, organiza tions, folders, or billing accounts. Only logs that have entries are listed.",
402 "httpMethod": "GET", 427 "httpMethod": "GET",
403 "id": "logging.projects.logs.list", 428 "id": "logging.projects.logs.list",
404 "parameterOrder": [ 429 "parameterOrder": [
405 "parent" 430 "parent"
406 ], 431 ],
407 "parameters": { 432 "parameters": {
408 "parent": {
409 "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID ]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n",
410 "location": "path",
411 "pattern": "^projects/[^/]+$",
412 "required": true,
413 "type": "string"
414 },
415 "pageToken": { 433 "pageToken": {
416 "description": "Optional. If present, then r etrieve the next batch of results from the preceding call to this method. pageTo ken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", 434 "description": "Optional. If present, then r etrieve the next batch of results from the preceding call to this method. pageTo ken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
417 "location": "query", 435 "location": "query",
418 "type": "string" 436 "type": "string"
419 }, 437 },
420 "pageSize": { 438 "pageSize": {
421 "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The pr esence of nextPageToken in the response indicates that more results might be ava ilable.", 439 "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The pr esence of nextPageToken in the response indicates that more results might be ava ilable.",
422 "format": "int32", 440 "format": "int32",
423 "location": "query", 441 "location": "query",
424 "type": "integer" 442 "type": "integer"
443 },
444 "parent": {
445 "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID ]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\n",
446 "location": "path",
447 "pattern": "^projects/[^/]+$",
448 "required": true,
449 "type": "string"
425 } 450 }
426 }, 451 },
427 "path": "v2beta1/{+parent}/logs", 452 "path": "v2beta1/{+parent}/logs",
428 "response": { 453 "response": {
429 "$ref": "ListLogsResponse" 454 "$ref": "ListLogsResponse"
430 }, 455 },
431 "scopes": [ 456 "scopes": [
432 "https://www.googleapis.com/auth/cloud-platform" , 457 "https://www.googleapis.com/auth/cloud-platform" ,
433 "https://www.googleapis.com/auth/cloud-platform. read-only", 458 "https://www.googleapis.com/auth/cloud-platform. read-only",
434 "https://www.googleapis.com/auth/logging.admin", 459 "https://www.googleapis.com/auth/logging.admin",
435 "https://www.googleapis.com/auth/logging.read" 460 "https://www.googleapis.com/auth/logging.read"
436 ] 461 ]
437 },
438 "delete": {
439 "description": "Deletes all the log entries in a log . The log reappears if it receives new entries. Log entries written shortly befo re the delete operation might not be deleted.",
440 "httpMethod": "DELETE",
441 "id": "logging.projects.logs.delete",
442 "parameterOrder": [
443 "logName"
444 ],
445 "parameters": {
446 "logName": {
447 "description": "Required. The resource name of the log to delete:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/ [ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[ LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"projects/my-project-id/logs/syslog\", \"organizations/1234567890/ logs/cloudresourcemanager.googleapis.com%2Factivity\". For more information abou t log names, see LogEntry.",
448 "location": "path",
449 "pattern": "^projects/[^/]+/logs/[^/]+$",
450 "required": true,
451 "type": "string"
452 }
453 },
454 "path": "v2beta1/{+logName}",
455 "response": {
456 "$ref": "Empty"
457 },
458 "scopes": [
459 "https://www.googleapis.com/auth/cloud-platform" ,
460 "https://www.googleapis.com/auth/logging.admin"
461 ]
462 } 462 }
463 } 463 }
464 }, 464 },
465 "sinks": { 465 "sinks": {
466 "methods": { 466 "methods": {
467 "list": { 467 "list": {
468 "description": "Lists sinks.", 468 "description": "Lists sinks.",
469 "httpMethod": "GET", 469 "httpMethod": "GET",
470 "id": "logging.projects.sinks.list", 470 "id": "logging.projects.sinks.list",
471 "parameterOrder": [ 471 "parameterOrder": [
472 "parent" 472 "parent"
473 ], 473 ],
474 "parameters": { 474 "parameters": {
475 "parent": {
476 "description": "Required. The parent resourc e whose sinks are to be listed:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORG ANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID] \"\n",
477 "location": "path",
478 "pattern": "^projects/[^/]+$",
479 "required": true,
480 "type": "string"
481 },
482 "pageToken": { 475 "pageToken": {
483 "description": "Optional. If present, then r etrieve the next batch of results from the preceding call to this method. pageTo ken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.", 476 "description": "Optional. If present, then r etrieve the next batch of results from the preceding call to this method. pageTo ken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.",
484 "location": "query", 477 "location": "query",
485 "type": "string" 478 "type": "string"
486 }, 479 },
487 "pageSize": { 480 "pageSize": {
488 "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The pr esence of nextPageToken in the response indicates that more results might be ava ilable.", 481 "description": "Optional. The maximum number of results to return from this request. Non-positive values are ignored. The pr esence of nextPageToken in the response indicates that more results might be ava ilable.",
489 "format": "int32", 482 "format": "int32",
490 "location": "query", 483 "location": "query",
491 "type": "integer" 484 "type": "integer"
485 },
486 "parent": {
487 "description": "Required. The parent resourc e whose sinks are to be listed:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORG ANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID] \"\n",
488 "location": "path",
489 "pattern": "^projects/[^/]+$",
490 "required": true,
491 "type": "string"
492 } 492 }
493 }, 493 },
494 "path": "v2beta1/{+parent}/sinks", 494 "path": "v2beta1/{+parent}/sinks",
495 "response": { 495 "response": {
496 "$ref": "ListSinksResponse" 496 "$ref": "ListSinksResponse"
497 }, 497 },
498 "scopes": [ 498 "scopes": [
499 "https://www.googleapis.com/auth/cloud-platform" , 499 "https://www.googleapis.com/auth/cloud-platform" ,
500 "https://www.googleapis.com/auth/cloud-platform. read-only", 500 "https://www.googleapis.com/auth/cloud-platform. read-only",
501 "https://www.googleapis.com/auth/logging.admin", 501 "https://www.googleapis.com/auth/logging.admin",
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 ] 563 ]
564 }, 564 },
565 "create": { 565 "create": {
566 "description": "Creates a sink that exports specifie d log entries to a destination. The export of newly-ingested log entries begins immediately, unless the current time is outside the sink's start and end times o r the sink's writer_identity is not permitted to write to the destination. A sin k can export log entries only from the resource owning the sink.", 566 "description": "Creates a sink that exports specifie d log entries to a destination. The export of newly-ingested log entries begins immediately, unless the current time is outside the sink's start and end times o r the sink's writer_identity is not permitted to write to the destination. A sin k can export log entries only from the resource owning the sink.",
567 "httpMethod": "POST", 567 "httpMethod": "POST",
568 "id": "logging.projects.sinks.create", 568 "id": "logging.projects.sinks.create",
569 "parameterOrder": [ 569 "parameterOrder": [
570 "parent" 570 "parent"
571 ], 571 ],
572 "parameters": { 572 "parameters": {
573 "uniqueWriterIdentity": {
574 "description": "Optional. Determines the kin d of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value r eturned as writer_identity is the same group or service account used by Stackdri ver Logging before the addition of writer identities to this API. The sink's des tination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only fo r exports from the new sink. For more information, see writer_identity in LogSin k.",
575 "location": "query",
576 "type": "boolean"
577 },
573 "parent": { 578 "parent": {
574 "description": "Required. The resource in wh ich to create the sink:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATIO N_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\nExam ples: \"projects/my-logging-project\", \"organizations/123456789\".", 579 "description": "Required. The resource in wh ich to create the sink:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATIO N_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FOLDER_ID]\"\nExam ples: \"projects/my-logging-project\", \"organizations/123456789\".",
575 "location": "path", 580 "location": "path",
576 "pattern": "^projects/[^/]+$", 581 "pattern": "^projects/[^/]+$",
577 "required": true, 582 "required": true,
578 "type": "string" 583 "type": "string"
579 },
580 "uniqueWriterIdentity": {
581 "description": "Optional. Determines the kin d of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value r eturned as writer_identity is the same group or service account used by Stackdri ver Logging before the addition of writer identities to this API. The sink's des tination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only fo r exports from the new sink. For more information, see writer_identity in LogSin k.",
582 "location": "query",
583 "type": "boolean"
584 } 584 }
585 }, 585 },
586 "path": "v2beta1/{+parent}/sinks", 586 "path": "v2beta1/{+parent}/sinks",
587 "request": { 587 "request": {
588 "$ref": "LogSink" 588 "$ref": "LogSink"
589 }, 589 },
590 "response": { 590 "response": {
591 "$ref": "LogSink" 591 "$ref": "LogSink"
592 }, 592 },
593 "scopes": [ 593 "scopes": [
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 "scopes": [ 722 "scopes": [
723 "https://www.googleapis.com/auth/cloud-platform", 723 "https://www.googleapis.com/auth/cloud-platform",
724 "https://www.googleapis.com/auth/cloud-platform.read-onl y", 724 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
725 "https://www.googleapis.com/auth/logging.admin", 725 "https://www.googleapis.com/auth/logging.admin",
726 "https://www.googleapis.com/auth/logging.read" 726 "https://www.googleapis.com/auth/logging.read"
727 ] 727 ]
728 } 728 }
729 } 729 }
730 } 730 }
731 }, 731 },
732 "revision": "20170228", 732 "revision": "20170320",
733 "rootUrl": "https://logging.googleapis.com/", 733 "rootUrl": "https://logging.googleapis.com/",
734 "schemas": { 734 "schemas": {
735 "MonitoredResource": {
736 "description": "An object representing a resource that can be used f or monitoring, logging, billing, or other purposes. Examples include virtual mac hine instances, databases, and storage devices such as disks. The type field ide ntifies a MonitoredResourceDescriptor object that describes the resource's schem a. Information in the labels field identifies the actual resource and its attrib utes according to the schema. For example, a particular Compute Engine VM instan ce could be represented by the following object, because the MonitoredResourceDe scriptor for \"gce_instance\" has labels \"instance_id\" and \"zone\":\n{ \"type \": \"gce_instance\",\n \"labels\": { \"instance_id\": \"12345678901234\",\n \"zone\": \"us-central1-a\" }}\n",
737 "id": "MonitoredResource",
738 "properties": {
739 "labels": {
740 "additionalProperties": {
741 "type": "string"
742 },
743 "description": "Required. Values for all of the labels liste d in the associated monitored resource descriptor. For example, Cloud SQL databa ses use the labels \"database_id\" and \"zone\".",
744 "type": "object"
745 },
746 "type": {
747 "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For exa mple, the type of a Cloud SQL database is \"cloudsql_database\".",
748 "type": "string"
749 }
750 },
751 "type": "object"
752 },
753 "LogSink": {
754 "description": "Describes a sink used to export log entries to one o f the following destinations in any project: a Cloud Storage bucket, a BigQuery dataset, or a Cloud Pub/Sub topic. A logs filter controls which log entries are exported. The sink must be created within a project, organization, billing accou nt, or folder.",
755 "id": "LogSink",
756 "properties": {
757 "filter": {
758 "description": "Optional. An advanced logs filter. The only exported log entries are those that are in the resource owning the sink and that match the filter. The filter must use the log entry format specified by the out put_version_format parameter. For example, in the v2 format:\nlogName=\"projects /[PROJECT_ID]/logs/[LOG_ID]\" AND severity>=ERROR\n",
759 "type": "string"
760 },
761 "destination": {
762 "description": "Required. The export destination:\n\"storage .googleapis.com/[GCS_BUCKET]\"\n\"bigquery.googleapis.com/projects/[PROJECT_ID]/ datasets/[DATASET]\"\n\"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPI C_ID]\"\nThe sink's writer_identity, set when the sink is created, must have per mission to write to the destination or else the log entries are not exported. Fo r more information, see Exporting Logs With Sinks.",
763 "type": "string"
764 },
765 "endTime": {
766 "description": "Optional. The time at which this sink will s top exporting log entries. Log entries are exported only if their timestamp is e arlier than the end time. If this field is not supplied, there is no end time. I f both a start time and an end time are provided, then the end time must be late r than the start time.",
767 "format": "google-datetime",
768 "type": "string"
769 },
770 "writerIdentity": {
771 "description": "Output only. An IAM identity—a service account or group—under which Stackdriver Logging writes the exported log entries to the sink's destination. This field is set by sinks.create and sinks.u pdate, based on the setting of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from thi s sink will fail. For more information, see Granting access for a resource. Cons ult the destination service's documentation to determine the appropriate IAM rol es to assign to the identity.",
772 "type": "string"
773 },
774 "startTime": {
775 "description": "Optional. The time at which this sink will b egin exporting log entries. Log entries are exported only if their timestamp is not earlier than the start time. The default value of this field is the time the sink is created or updated.",
776 "format": "google-datetime",
777 "type": "string"
778 },
779 "outputVersionFormat": {
780 "description": "Optional. The log entry format to use for th is sink's exported log entries. The v2 format is used by default. The v1 format is deprecated and should be used only as part of a migration effort to v2. See M igration to the v2 API.",
781 "enum": [
782 "VERSION_FORMAT_UNSPECIFIED",
783 "V2",
784 "V1"
785 ],
786 "enumDescriptions": [
787 "An unspecified format version that will default to V2." ,
788 "LogEntry version 2 format.",
789 "LogEntry version 1 format."
790 ],
791 "type": "string"
792 },
793 "name": {
794 "description": "Required. The client-assigned sink identifie r, unique within the project. Example: \"my-syslog-errors-to-pubsub\". Sink iden tifiers are limited to 100 characters and can include only the following charact ers: upper and lower-case alphanumeric characters, underscores, hyphens, and per iods.",
795 "type": "string"
796 }
797 },
798 "type": "object"
799 },
800 "WriteLogEntriesRequest": {
801 "description": "The parameters to WriteLogEntries.",
802 "id": "WriteLogEntriesRequest",
803 "properties": {
804 "logName": {
805 "description": "Optional. A default log resource name that i s assigned to all log entries in entries that do not specify a value for log_nam e:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/l ogs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folder s/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"proj ects/my-project-id/logs/syslog\" or \"organizations/1234567890/logs/cloudresourc emanager.googleapis.com%2Factivity\". For more information about log names, see LogEntry.",
806 "type": "string"
807 },
808 "entries": {
809 "description": "Required. The log entries to write. Values s upplied for the fields log_name, resource, and labels in this entries.write requ est are added to those log entries that do not provide their own values for the fields.To improve throughput and to avoid exceeding the quota limit for calls to entries.write, you should write multiple log entries at once rather than callin g this method for each individual log entry.",
810 "items": {
811 "$ref": "LogEntry"
812 },
813 "type": "array"
814 },
815 "partialSuccess": {
816 "description": "Optional. Whether valid entries should be wr itten even if some other entries fail due to INVALID_ARGUMENT or PERMISSION_DENI ED errors. If any entry is not written, the response status will be the error as sociated with one of the failed entries and include error details in the form of WriteLogEntriesPartialErrors.",
817 "type": "boolean"
818 },
819 "labels": {
820 "additionalProperties": {
821 "type": "string"
822 },
823 "description": "Optional. Default labels that are added to t he labels field of all log entries in entries. If a log entry already has a labe l with the same key as a label in this parameter, then the log entry's label is not changed. See LogEntry.",
824 "type": "object"
825 },
826 "resource": {
827 "$ref": "MonitoredResource",
828 "description": "Optional. A default monitored resource objec t that is assigned to all log entries in entries that do not specify a value for resource. Example:\n{ \"type\": \"gce_instance\",\n \"labels\": {\n \"zone\ ": \"us-central1-a\", \"instance_id\": \"00000000000000000000\" }}\nSee LogEntry ."
829 }
830 },
831 "type": "object"
832 },
833 "ListLogsResponse": { 735 "ListLogsResponse": {
834 "description": "Result returned from ListLogs.", 736 "description": "Result returned from ListLogs.",
835 "id": "ListLogsResponse", 737 "id": "ListLogsResponse",
836 "properties": { 738 "properties": {
837 "logNames": { 739 "logNames": {
838 "description": "A list of log names. For example, \"projects /my-project/syslog\" or \"organizations/123/cloudresourcemanager.googleapis.com% 2Factivity\".", 740 "description": "A list of log names. For example, \"projects /my-project/syslog\" or \"organizations/123/cloudresourcemanager.googleapis.com% 2Factivity\".",
839 "items": { 741 "items": {
840 "type": "string" 742 "type": "string"
841 }, 743 },
842 "type": "array" 744 "type": "array"
(...skipping 20 matching lines...) Expand all
863 "description": "If there might be more results than appear i n this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.", 765 "description": "If there might be more results than appear i n this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.",
864 "type": "string" 766 "type": "string"
865 } 767 }
866 }, 768 },
867 "type": "object" 769 "type": "object"
868 }, 770 },
869 "HttpRequest": { 771 "HttpRequest": {
870 "description": "A common proto for logging HTTP requests. Only conta ins semantics defined by the HTTP specification. Product-specific logging inform ation MUST be defined in a separate message.", 772 "description": "A common proto for logging HTTP requests. Only conta ins semantics defined by the HTTP specification. Product-specific logging inform ation MUST be defined in a separate message.",
871 "id": "HttpRequest", 773 "id": "HttpRequest",
872 "properties": { 774 "properties": {
873 "userAgent": {
874 "description": "The user agent sent by the client. Example: \"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)\"." ,
875 "type": "string"
876 },
877 "latency": {
878 "description": "The request processing latency on the server , from the time the request was received until the response was sent.",
879 "format": "google-duration",
880 "type": "string"
881 },
882 "cacheFillBytes": {
883 "description": "The number of HTTP response bytes inserted i nto cache. Set only when a cache fill was attempted.",
884 "format": "int64",
885 "type": "string"
886 },
887 "requestMethod": {
888 "description": "The request method. Examples: \"GET\", \"HEA D\", \"PUT\", \"POST\".",
889 "type": "string"
890 },
891 "responseSize": {
892 "description": "The size of the HTTP response message sent b ack to the client, in bytes, including the response headers and the response bod y.",
893 "format": "int64",
894 "type": "string"
895 },
896 "requestSize": {
897 "description": "The size of the HTTP request message in byte s, including the request headers and the request body.",
898 "format": "int64",
899 "type": "string"
900 },
901 "requestUrl": { 775 "requestUrl": {
902 "description": "The scheme (http, https), the host name, the path and the query portion of the URL that was requested. Example: \"http://exa mple.com/some/info?color=red\".", 776 "description": "The scheme (http, https), the host name, the path and the query portion of the URL that was requested. Example: \"http://exa mple.com/some/info?color=red\".",
903 "type": "string" 777 "type": "string"
904 }, 778 },
905 "remoteIp": { 779 "remoteIp": {
906 "description": "The IP address (IPv4 or IPv6) of the client that issued the HTTP request. Examples: \"192.168.1.1\", \"FE80::0202:B3FF:FE1E: 8329\".", 780 "description": "The IP address (IPv4 or IPv6) of the client that issued the HTTP request. Examples: \"192.168.1.1\", \"FE80::0202:B3FF:FE1E: 8329\".",
907 "type": "string" 781 "type": "string"
908 }, 782 },
909 "serverIp": { 783 "serverIp": {
910 "description": "The IP address (IPv4 or IPv6) of the origin server that the request was sent to.", 784 "description": "The IP address (IPv4 or IPv6) of the origin server that the request was sent to.",
(...skipping 12 matching lines...) Expand all
923 "type": "boolean" 797 "type": "boolean"
924 }, 798 },
925 "status": { 799 "status": {
926 "description": "The response code indicating the status of r esponse. Examples: 200, 404.", 800 "description": "The response code indicating the status of r esponse. Examples: 200, 404.",
927 "format": "int32", 801 "format": "int32",
928 "type": "integer" 802 "type": "integer"
929 }, 803 },
930 "referer": { 804 "referer": {
931 "description": "The referer URL of the request, as defined i n HTTP/1.1 Header Field Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616 -sec14.html).", 805 "description": "The referer URL of the request, as defined i n HTTP/1.1 Header Field Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616 -sec14.html).",
932 "type": "string" 806 "type": "string"
807 },
808 "latency": {
809 "description": "The request processing latency on the server , from the time the request was received until the response was sent.",
810 "format": "google-duration",
811 "type": "string"
812 },
813 "userAgent": {
814 "description": "The user agent sent by the client. Example: \"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)\"." ,
815 "type": "string"
816 },
817 "cacheFillBytes": {
818 "description": "The number of HTTP response bytes inserted i nto cache. Set only when a cache fill was attempted.",
819 "format": "int64",
820 "type": "string"
821 },
822 "requestMethod": {
823 "description": "The request method. Examples: \"GET\", \"HEA D\", \"PUT\", \"POST\".",
824 "type": "string"
825 },
826 "responseSize": {
827 "description": "The size of the HTTP response message sent b ack to the client, in bytes, including the response headers and the response bod y.",
828 "format": "int64",
829 "type": "string"
830 },
831 "requestSize": {
832 "description": "The size of the HTTP request message in byte s, including the request headers and the request body.",
833 "format": "int64",
834 "type": "string"
933 } 835 }
934 }, 836 },
935 "type": "object" 837 "type": "object"
936 }, 838 },
937 "LabelDescriptor": { 839 "LabelDescriptor": {
938 "description": "A description of a label.", 840 "description": "A description of a label.",
939 "id": "LabelDescriptor", 841 "id": "LabelDescriptor",
940 "properties": { 842 "properties": {
941 "key": { 843 "key": {
942 "description": "The label key.", 844 "description": "The label key.",
(...skipping 17 matching lines...) Expand all
960 ], 862 ],
961 "type": "string" 863 "type": "string"
962 } 864 }
963 }, 865 },
964 "type": "object" 866 "type": "object"
965 }, 867 },
966 "MonitoredResourceDescriptor": { 868 "MonitoredResourceDescriptor": {
967 "description": "An object that describes the schema of a MonitoredRe source object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of \"gce_i nstance\" and specifies the use of the labels \"instance_id\" and \"zone\" to id entify particular VM instances.Different APIs can support different monitored re source types. APIs generally provide a list method that returns the monitored re source descriptors used by the API.", 869 "description": "An object that describes the schema of a MonitoredRe source object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of \"gce_i nstance\" and specifies the use of the labels \"instance_id\" and \"zone\" to id entify particular VM instances.Different APIs can support different monitored re source types. APIs generally provide a list method that returns the monitored re source descriptors used by the API.",
968 "id": "MonitoredResourceDescriptor", 870 "id": "MonitoredResourceDescriptor",
969 "properties": { 871 "properties": {
872 "labels": {
873 "description": "Required. A set of labels used to describe i nstances of this monitored resource type. For example, an individual Google Clou d SQL database is identified by values for the labels \"database_id\" and \"zone \".",
874 "items": {
875 "$ref": "LabelDescriptor"
876 },
877 "type": "array"
878 },
970 "name": { 879 "name": {
971 "description": "Optional. The resource name of the monitored resource descriptor: \"projects/{project_id}/monitoredResourceDescriptors/{type }\" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format \"monitored ResourceDescriptors/{type}\".", 880 "description": "Optional. The resource name of the monitored resource descriptor: \"projects/{project_id}/monitoredResourceDescriptors/{type }\" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format \"monitored ResourceDescriptors/{type}\".",
972 "type": "string" 881 "type": "string"
973 }, 882 },
974 "displayName": { 883 "displayName": {
975 "description": "Optional. A concise name for the monitored r esource type that might be displayed in user interfaces. It should be a Title Ca sed Noun Phrase, without any article or other determiners. For example, \"Google Cloud SQL Database\".", 884 "description": "Optional. A concise name for the monitored r esource type that might be displayed in user interfaces. It should be a Title Ca sed Noun Phrase, without any article or other determiners. For example, \"Google Cloud SQL Database\".",
976 "type": "string" 885 "type": "string"
977 }, 886 },
978 "description": { 887 "description": {
979 "description": "Optional. A detailed description of the moni tored resource type that might be used in documentation.", 888 "description": "Optional. A detailed description of the moni tored resource type that might be used in documentation.",
980 "type": "string" 889 "type": "string"
981 }, 890 },
982 "type": { 891 "type": {
983 "description": "Required. The monitored resource type. For e xample, the type \"cloudsql_database\" represents databases in Google Cloud SQL. The maximum length of this value is 256 characters.", 892 "description": "Required. The monitored resource type. For e xample, the type \"cloudsql_database\" represents databases in Google Cloud SQL. The maximum length of this value is 256 characters.",
984 "type": "string" 893 "type": "string"
985 },
986 "labels": {
987 "description": "Required. A set of labels used to describe i nstances of this monitored resource type. For example, an individual Google Clou d SQL database is identified by values for the labels \"database_id\" and \"zone \".",
988 "items": {
989 "$ref": "LabelDescriptor"
990 },
991 "type": "array"
992 } 894 }
993 }, 895 },
994 "type": "object" 896 "type": "object"
995 }, 897 },
996 "LogEntrySourceLocation": { 898 "LogEntrySourceLocation": {
997 "description": "Additional information about the source code locatio n that produced the log entry.", 899 "description": "Additional information about the source code locatio n that produced the log entry.",
998 "id": "LogEntrySourceLocation", 900 "id": "LogEntrySourceLocation",
999 "properties": { 901 "properties": {
1000 "line": {
1001 "description": "Optional. Line within the source file. 1-bas ed; 0 indicates no line number available.",
1002 "format": "int64",
1003 "type": "string"
1004 },
1005 "file": { 902 "file": {
1006 "description": "Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.", 903 "description": "Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.",
1007 "type": "string" 904 "type": "string"
1008 }, 905 },
1009 "function": { 906 "function": {
1010 "description": "Optional. Human-readable name of the functio n or method being invoked, with optional context such as the class or package na me. This information may be used in contexts such as the logs viewer, where a fi le and line number are less meaningful. The format can vary by language. For exa mple: qual.if.ied.Class.method (Java), dir/package.func (Go), function (Python). ", 907 "description": "Optional. Human-readable name of the functio n or method being invoked, with optional context such as the class or package na me. This information may be used in contexts such as the logs viewer, where a fi le and line number are less meaningful. The format can vary by language. For exa mple: qual.if.ied.Class.method (Java), dir/package.func (Go), function (Python). ",
1011 "type": "string" 908 "type": "string"
909 },
910 "line": {
911 "description": "Optional. Line within the source file. 1-bas ed; 0 indicates no line number available.",
912 "format": "int64",
913 "type": "string"
1012 } 914 }
1013 }, 915 },
1014 "type": "object" 916 "type": "object"
1015 }, 917 },
1016 "ListLogEntriesResponse": { 918 "ListLogEntriesResponse": {
1017 "description": "Result returned from ListLogEntries.", 919 "description": "Result returned from ListLogEntries.",
1018 "id": "ListLogEntriesResponse", 920 "id": "ListLogEntriesResponse",
1019 "properties": { 921 "properties": {
922 "nextPageToken": {
923 "description": "If there might be more results than those ap pearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.I f a value for next_page_token appears and the entries field is empty, it means t hat the search found no log entries so far but it did not have time to search al l the possible log entries. Retry the method with this value for page_token to c ontinue the search. Alternatively, consider speeding up the search by changing y our filter to specify a single log name or resource type, or to narrow the time range of the search.",
924 "type": "string"
925 },
1020 "entries": { 926 "entries": {
1021 "description": "A list of log entries.", 927 "description": "A list of log entries.",
1022 "items": { 928 "items": {
1023 "$ref": "LogEntry" 929 "$ref": "LogEntry"
1024 }, 930 },
1025 "type": "array" 931 "type": "array"
1026 },
1027 "nextPageToken": {
1028 "description": "If there might be more results than those ap pearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.I f a value for next_page_token appears and the entries field is empty, it means t hat the search found no log entries so far but it did not have time to search al l the possible log entries. Retry the method with this value for page_token to c ontinue the search. Alternatively, consider speeding up the search by changing y our filter to specify a single log name or resource type, or to narrow the time range of the search.",
1029 "type": "string"
1030 } 932 }
1031 }, 933 },
1032 "type": "object" 934 "type": "object"
1033 }, 935 },
1034 "LogLine": { 936 "LogLine": {
1035 "description": "Application log line emitted while processing a requ est.", 937 "description": "Application log line emitted while processing a requ est.",
1036 "id": "LogLine", 938 "id": "LogLine",
1037 "properties": { 939 "properties": {
1038 "severity": { 940 "severity": {
1039 "description": "Severity of this log entry.", 941 "description": "Severity of this log entry.",
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 "description": "If there might be more results than appear i n this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.", 994 "description": "If there might be more results than appear i n this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.",
1093 "type": "string" 995 "type": "string"
1094 } 996 }
1095 }, 997 },
1096 "type": "object" 998 "type": "object"
1097 }, 999 },
1098 "LogEntry": { 1000 "LogEntry": {
1099 "description": "An individual entry in a log.", 1001 "description": "An individual entry in a log.",
1100 "id": "LogEntry", 1002 "id": "LogEntry",
1101 "properties": { 1003 "properties": {
1102 "textPayload": {
1103 "description": "The log entry payload, represented as a Unic ode string (UTF-8).",
1104 "type": "string"
1105 },
1106 "protoPayload": {
1107 "additionalProperties": {
1108 "description": "Properties of the object. Contains field @type with type URL.",
1109 "type": "any"
1110 },
1111 "description": "The log entry payload, represented as a prot ocol buffer. Some Google Cloud Platform services use this field for their log en try payloads.",
1112 "type": "object"
1113 },
1114 "trace": {
1115 "description": "Optional. Resource name of the trace associa ted with the log entry, if any. If it contains a relative resource name, the nam e is assumed to be relative to //tracing.googleapis.com. Example: projects/my-pr ojectid/traces/06796866738c859f2f19b7cfb3214824",
1116 "type": "string"
1117 },
1118 "labels": { 1004 "labels": {
1119 "additionalProperties": { 1005 "additionalProperties": {
1120 "type": "string" 1006 "type": "string"
1121 }, 1007 },
1122 "description": "Optional. A set of user-defined (key, value) data that provides additional information about the log entry.", 1008 "description": "Optional. A set of user-defined (key, value) data that provides additional information about the log entry.",
1123 "type": "object" 1009 "type": "object"
1124 }, 1010 },
1011 "trace": {
1012 "description": "Optional. Resource name of the trace associa ted with the log entry, if any. If it contains a relative resource name, the nam e is assumed to be relative to //tracing.googleapis.com. Example: projects/my-pr ojectid/traces/06796866738c859f2f19b7cfb3214824",
1013 "type": "string"
1014 },
1125 "severity": { 1015 "severity": {
1126 "description": "Optional. The severity of the log entry. The default value is LogSeverity.DEFAULT.", 1016 "description": "Optional. The severity of the log entry. The default value is LogSeverity.DEFAULT.",
1127 "enum": [ 1017 "enum": [
1128 "DEFAULT", 1018 "DEFAULT",
1129 "DEBUG", 1019 "DEBUG",
1130 "INFO", 1020 "INFO",
1131 "NOTICE", 1021 "NOTICE",
1132 "WARNING", 1022 "WARNING",
1133 "ERROR", 1023 "ERROR",
1134 "CRITICAL", 1024 "CRITICAL",
(...skipping 11 matching lines...) Expand all
1146 "(700) A person must take an action immediately.", 1036 "(700) A person must take an action immediately.",
1147 "(800) One or more systems are unusable." 1037 "(800) One or more systems are unusable."
1148 ], 1038 ],
1149 "type": "string" 1039 "type": "string"
1150 }, 1040 },
1151 "sourceLocation": { 1041 "sourceLocation": {
1152 "$ref": "LogEntrySourceLocation", 1042 "$ref": "LogEntrySourceLocation",
1153 "description": "Optional. Source code location information a ssociated with the log entry, if any." 1043 "description": "Optional. Source code location information a ssociated with the log entry, if any."
1154 }, 1044 },
1155 "timestamp": { 1045 "timestamp": {
1156 "description": "Optional. The time the event described by th e log entry occurred. If omitted, Stackdriver Logging will use the time the log entry is received.", 1046 "description": "Optional. The time the event described by th e log entry occurred. If omitted in a new log entry, Stackdriver Logging will in sert the time the log entry is received. Stackdriver Logging might reject log en tries whose time stamps are more than a couple of hours in the future. Log entri es with time stamps in the past are accepted.",
1157 "format": "google-datetime", 1047 "format": "google-datetime",
1158 "type": "string" 1048 "type": "string"
1159 }, 1049 },
1160 "logName": { 1050 "logName": {
1161 "description": "Required. The resource name of the log to wh ich this log entry belongs:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organiza tions/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/ logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-enc oded within log_name. Example: \"organizations/1234567890/logs/cloudresourcemana ger.googleapis.com%2Factivity\". [LOG_ID] must be less than 512 characters long and can only include the following characters: upper and lower case alphanumeric characters, forward-slash, underscore, hyphen, and period.For backward compatib ility, if log_name begins with a forward-slash, such as /projects/..., then the log entry is ingested as usual but the forward-slash is removed. Listing the log entry will not show the leading slash and filtering for a log name with a leadi ng slash will never return any results.", 1051 "description": "Required. The resource name of the log to wh ich this log entry belongs:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organiza tions/[ORGANIZATION_ID]/logs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/ logs/[LOG_ID]\"\n\"folders/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-enc oded within log_name. Example: \"organizations/1234567890/logs/cloudresourcemana ger.googleapis.com%2Factivity\". [LOG_ID] must be less than 512 characters long and can only include the following characters: upper and lower case alphanumeric characters, forward-slash, underscore, hyphen, and period.For backward compatib ility, if log_name begins with a forward-slash, such as /projects/..., then the log entry is ingested as usual but the forward-slash is removed. Listing the log entry will not show the leading slash and filtering for a log name with a leadi ng slash will never return any results.",
1162 "type": "string" 1052 "type": "string"
1163 }, 1053 },
1054 "resource": {
1055 "$ref": "MonitoredResource",
1056 "description": "Required. The monitored resource associated with this log entry. Example: a log entry that reports a database error would be associated with the monitored resource designating the particular database that reported the error."
1057 },
1164 "httpRequest": { 1058 "httpRequest": {
1165 "$ref": "HttpRequest", 1059 "$ref": "HttpRequest",
1166 "description": "Optional. Information about the HTTP request associated with this log entry, if applicable." 1060 "description": "Optional. Information about the HTTP request associated with this log entry, if applicable."
1167 }, 1061 },
1168 "resource": {
1169 "$ref": "MonitoredResource",
1170 "description": "Required. The monitored resource associated with this log entry. Example: a log entry that reports a database error would be associated with the monitored resource designating the particular database that reported the error."
1171 },
1172 "jsonPayload": { 1062 "jsonPayload": {
1173 "additionalProperties": { 1063 "additionalProperties": {
1174 "description": "Properties of the object.", 1064 "description": "Properties of the object.",
1175 "type": "any" 1065 "type": "any"
1176 }, 1066 },
1177 "description": "The log entry payload, represented as a stru cture that is expressed as a JSON object.", 1067 "description": "The log entry payload, represented as a stru cture that is expressed as a JSON object.",
1178 "type": "object" 1068 "type": "object"
1179 }, 1069 },
1070 "insertId": {
1071 "description": "Optional. A unique identifier for the log en try. If you provide a value, then Stackdriver Logging considers other log entrie s in the same project, with the same timestamp, and with the same insert_id to b e duplicates which can be removed. If omitted in new log entries, then Stackdriv er Logging will insert its own unique identifier. The insert_id is used to order log entries that have the same timestamp value.",
1072 "type": "string"
1073 },
1180 "operation": { 1074 "operation": {
1181 "$ref": "LogEntryOperation", 1075 "$ref": "LogEntryOperation",
1182 "description": "Optional. Information about an operation ass ociated with the log entry, if applicable." 1076 "description": "Optional. Information about an operation ass ociated with the log entry, if applicable."
1183 }, 1077 },
1184 "insertId": { 1078 "textPayload": {
1185 "description": "Optional. A unique ID for the log entry. If you provide this field, the logging service considers other log entries in the s ame project with the same ID as duplicates which can be removed. If omitted, Sta ckdriver Logging will generate a unique ID for this log entry.", 1079 "description": "The log entry payload, represented as a Unic ode string (UTF-8).",
1186 "type": "string" 1080 "type": "string"
1081 },
1082 "protoPayload": {
1083 "additionalProperties": {
1084 "description": "Properties of the object. Contains field @type with type URL.",
1085 "type": "any"
1086 },
1087 "description": "The log entry payload, represented as a prot ocol buffer. Some Google Cloud Platform services use this field for their log en try payloads.",
1088 "type": "object"
1187 } 1089 }
1188 }, 1090 },
1189 "type": "object" 1091 "type": "object"
1190 }, 1092 },
1191 "Empty": { 1093 "Empty": {
1192 "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:\nservice Fo o {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe J SON representation for Empty is empty JSON object {}.", 1094 "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:\nservice Fo o {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe J SON representation for Empty is empty JSON object {}.",
1193 "id": "Empty", 1095 "id": "Empty",
1194 "properties": {}, 1096 "properties": {},
1195 "type": "object" 1097 "type": "object"
1196 }, 1098 },
(...skipping 14 matching lines...) Expand all
1211 "format": "int64", 1113 "format": "int64",
1212 "type": "string" 1114 "type": "string"
1213 } 1115 }
1214 }, 1116 },
1215 "type": "object" 1117 "type": "object"
1216 }, 1118 },
1217 "ListLogEntriesRequest": { 1119 "ListLogEntriesRequest": {
1218 "description": "The parameters to ListLogEntries.", 1120 "description": "The parameters to ListLogEntries.",
1219 "id": "ListLogEntriesRequest", 1121 "id": "ListLogEntriesRequest",
1220 "properties": { 1122 "properties": {
1123 "pageSize": {
1124 "description": "Optional. The maximum number of results to r eturn from this request. Non-positive values are ignored. The presence of next_p age_token in the response indicates that more results might be available.",
1125 "format": "int32",
1126 "type": "integer"
1127 },
1221 "orderBy": { 1128 "orderBy": {
1222 "description": "Optional. How the results should be sorted. Presently, the only permitted values are \"timestamp asc\" (default) and \"times tamp desc\". The first option returns entries in order of increasing values of L ogEntry.timestamp (oldest first), and the second option returns entries in order of decreasing timestamps (newest first). Entries with equal timestamps are retu rned in order of LogEntry.insertId.", 1129 "description": "Optional. How the results should be sorted. Presently, the only permitted values are \"timestamp asc\" (default) and \"times tamp desc\". The first option returns entries in order of increasing values of L ogEntry.timestamp (oldest first), and the second option returns entries in order of decreasing timestamps (newest first). Entries with equal timestamps are retu rned in order of their insert_id values.",
1223 "type": "string" 1130 "type": "string"
1224 }, 1131 },
1225 "resourceNames": { 1132 "resourceNames": {
1226 "description": "Required. Names of one or more parent resour ces from which to retrieve log entries:\n\"projects/[PROJECT_ID]\"\n\"organizati ons/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FO LDER_ID]\"\nProjects listed in the project_ids field are added to this list.", 1133 "description": "Required. Names of one or more parent resour ces from which to retrieve log entries:\n\"projects/[PROJECT_ID]\"\n\"organizati ons/[ORGANIZATION_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]\"\n\"folders/[FO LDER_ID]\"\nProjects listed in the project_ids field are added to this list.",
1227 "items": { 1134 "items": {
1228 "type": "string" 1135 "type": "string"
1229 }, 1136 },
1230 "type": "array" 1137 "type": "array"
1231 }, 1138 },
1232 "filter": {
1233 "description": "Optional. A filter that chooses which log en tries to return. See Advanced Logs Filters. Only log entries that match the filt er are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource _names will cause the filter to return no results. The maximum length of the fil ter is 20000 characters.",
1234 "type": "string"
1235 },
1236 "projectIds": { 1139 "projectIds": {
1237 "description": "Deprecated. Use resource_names instead. One or more project identifiers or project numbers from which to retrieve log entrie s. Example: \"my-project-1A\". If present, these project identifiers are convert ed to resource name format and added to the list of resources in resource_names. ", 1140 "description": "Deprecated. Use resource_names instead. One or more project identifiers or project numbers from which to retrieve log entrie s. Example: \"my-project-1A\". If present, these project identifiers are convert ed to resource name format and added to the list of resources in resource_names. ",
1238 "items": { 1141 "items": {
1239 "type": "string" 1142 "type": "string"
1240 }, 1143 },
1241 "type": "array" 1144 "type": "array"
1242 }, 1145 },
1243 "pageToken": { 1146 "filter": {
1244 "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method pa rameters should be identical to those in the previous call.", 1147 "description": "Optional. A filter that chooses which log en tries to return. See Advanced Logs Filters. Only log entries that match the filt er are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that is not listed in resource _names will cause the filter to return no results. The maximum length of the fil ter is 20000 characters.",
1245 "type": "string" 1148 "type": "string"
1246 }, 1149 },
1247 "pageSize": { 1150 "pageToken": {
1248 "description": "Optional. The maximum number of results to r eturn from this request. Non-positive values are ignored. The presence of nextPa geToken in the response indicates that more results might be available.", 1151 "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. page_token must be the value of next_page_token from the previous response. The values of other method parameters should be identical to those in the previous call.",
1249 "format": "int32", 1152 "type": "string"
1250 "type": "integer"
1251 } 1153 }
1252 }, 1154 },
1253 "type": "object" 1155 "type": "object"
1254 }, 1156 },
1255 "RequestLog": { 1157 "RequestLog": {
1256 "description": "Complete log information about a single HTTP request to an App Engine application.", 1158 "description": "Complete log information about a single HTTP request to an App Engine application.",
1257 "id": "RequestLog", 1159 "id": "RequestLog",
1258 "properties": { 1160 "properties": {
1259 "line": {
1260 "description": "A list of log lines emitted by the applicati on while serving this request.",
1261 "items": {
1262 "$ref": "LogLine"
1263 },
1264 "type": "array"
1265 },
1266 "taskQueueName": {
1267 "description": "Queue name of the request, in the case of an offline request.",
1268 "type": "string"
1269 },
1270 "referrer": {
1271 "description": "Referrer URL of request.",
1272 "type": "string"
1273 },
1274 "requestId": {
1275 "description": "Globally unique identifier for a request, wh ich is based on the request start time. Request IDs for requests which started l ater will compare greater as strings than those for requests which started earli er.",
1276 "type": "string"
1277 },
1278 "nickname": {
1279 "description": "The logged-in user who made the request.Most likely, this is the part of the user's email before the @ sign. The field value is the same for different requests from the same user, but different users can have similar names. This information is also available to the application via th e App Engine Users API.This field will be populated starting with App Engine 1.9 .21.",
1280 "type": "string"
1281 },
1282 "status": {
1283 "description": "HTTP response status code. Example: 200, 404 .",
1284 "format": "int32",
1285 "type": "integer"
1286 },
1287 "pendingTime": {
1288 "description": "Time this request spent in the pending reque st queue.",
1289 "format": "google-duration",
1290 "type": "string"
1291 },
1292 "resource": {
1293 "description": "Contains the path and query portion of the U RL that was requested. For example, if the URL was \"http://example.com/app?name =val\", the resource would be \"/app?name=val\". The fragment identifier, which is identified by the # character, is not included.",
1294 "type": "string"
1295 },
1296 "taskName": {
1297 "description": "Task name of the request, in the case of an offline request.",
1298 "type": "string"
1299 },
1300 "urlMapEntry": {
1301 "description": "File or class that handled the request.",
1302 "type": "string"
1303 },
1304 "instanceIndex": {
1305 "description": "If the instance processing this request belo ngs to a manually scaled module, then this is the 0-based index of the instance. Otherwise, this value is -1.",
1306 "format": "int32",
1307 "type": "integer"
1308 },
1309 "finished": {
1310 "description": "Whether this request is finished or active." ,
1311 "type": "boolean"
1312 },
1313 "host": {
1314 "description": "Internet host and port number of the resourc e being requested.",
1315 "type": "string"
1316 },
1317 "httpVersion": {
1318 "description": "HTTP version of request. Example: \"HTTP/1.1 \".",
1319 "type": "string"
1320 },
1321 "startTime": {
1322 "description": "Time when the request started.",
1323 "format": "google-datetime",
1324 "type": "string"
1325 },
1326 "latency": { 1161 "latency": {
1327 "description": "Latency of the request.", 1162 "description": "Latency of the request.",
1328 "format": "google-duration", 1163 "format": "google-duration",
1329 "type": "string" 1164 "type": "string"
1330 }, 1165 },
1331 "ip": { 1166 "ip": {
1332 "description": "Origin IP address.", 1167 "description": "Origin IP address.",
1333 "type": "string" 1168 "type": "string"
1334 }, 1169 },
1335 "appId": { 1170 "appId": {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
1391 "type": "array" 1226 "type": "array"
1392 }, 1227 },
1393 "responseSize": { 1228 "responseSize": {
1394 "description": "Size in bytes sent back to client by request .", 1229 "description": "Size in bytes sent back to client by request .",
1395 "format": "int64", 1230 "format": "int64",
1396 "type": "string" 1231 "type": "string"
1397 }, 1232 },
1398 "traceId": { 1233 "traceId": {
1399 "description": "Stackdriver Trace identifier for this reques t.", 1234 "description": "Stackdriver Trace identifier for this reques t.",
1400 "type": "string" 1235 "type": "string"
1236 },
1237 "line": {
1238 "description": "A list of log lines emitted by the applicati on while serving this request.",
1239 "items": {
1240 "$ref": "LogLine"
1241 },
1242 "type": "array"
1243 },
1244 "referrer": {
1245 "description": "Referrer URL of request.",
1246 "type": "string"
1247 },
1248 "taskQueueName": {
1249 "description": "Queue name of the request, in the case of an offline request.",
1250 "type": "string"
1251 },
1252 "requestId": {
1253 "description": "Globally unique identifier for a request, wh ich is based on the request start time. Request IDs for requests which started l ater will compare greater as strings than those for requests which started earli er.",
1254 "type": "string"
1255 },
1256 "nickname": {
1257 "description": "The logged-in user who made the request.Most likely, this is the part of the user's email before the @ sign. The field value is the same for different requests from the same user, but different users can have similar names. This information is also available to the application via th e App Engine Users API.This field will be populated starting with App Engine 1.9 .21.",
1258 "type": "string"
1259 },
1260 "pendingTime": {
1261 "description": "Time this request spent in the pending reque st queue.",
1262 "format": "google-duration",
1263 "type": "string"
1264 },
1265 "resource": {
1266 "description": "Contains the path and query portion of the U RL that was requested. For example, if the URL was \"http://example.com/app?name =val\", the resource would be \"/app?name=val\". The fragment identifier, which is identified by the # character, is not included.",
1267 "type": "string"
1268 },
1269 "status": {
1270 "description": "HTTP response status code. Example: 200, 404 .",
1271 "format": "int32",
1272 "type": "integer"
1273 },
1274 "taskName": {
1275 "description": "Task name of the request, in the case of an offline request.",
1276 "type": "string"
1277 },
1278 "urlMapEntry": {
1279 "description": "File or class that handled the request.",
1280 "type": "string"
1281 },
1282 "instanceIndex": {
1283 "description": "If the instance processing this request belo ngs to a manually scaled module, then this is the 0-based index of the instance. Otherwise, this value is -1.",
1284 "format": "int32",
1285 "type": "integer"
1286 },
1287 "finished": {
1288 "description": "Whether this request is finished or active." ,
1289 "type": "boolean"
1290 },
1291 "host": {
1292 "description": "Internet host and port number of the resourc e being requested.",
1293 "type": "string"
1294 },
1295 "httpVersion": {
1296 "description": "HTTP version of request. Example: \"HTTP/1.1 \".",
1297 "type": "string"
1298 },
1299 "startTime": {
1300 "description": "Time when the request started.",
1301 "format": "google-datetime",
1302 "type": "string"
1401 } 1303 }
1402 }, 1304 },
1403 "type": "object" 1305 "type": "object"
1404 }, 1306 },
1405 "ListMonitoredResourceDescriptorsResponse": { 1307 "ListMonitoredResourceDescriptorsResponse": {
1406 "description": "Result returned from ListMonitoredResourceDescriptor s.", 1308 "description": "Result returned from ListMonitoredResourceDescriptor s.",
1407 "id": "ListMonitoredResourceDescriptorsResponse", 1309 "id": "ListMonitoredResourceDescriptorsResponse",
1408 "properties": { 1310 "properties": {
1409 "nextPageToken": {
1410 "description": "If there might be more results than those ap pearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken." ,
1411 "type": "string"
1412 },
1413 "resourceDescriptors": { 1311 "resourceDescriptors": {
1414 "description": "A list of resource descriptors.", 1312 "description": "A list of resource descriptors.",
1415 "items": { 1313 "items": {
1416 "$ref": "MonitoredResourceDescriptor" 1314 "$ref": "MonitoredResourceDescriptor"
1417 }, 1315 },
1418 "type": "array" 1316 "type": "array"
1317 },
1318 "nextPageToken": {
1319 "description": "If there might be more results than those ap pearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken." ,
1320 "type": "string"
1419 } 1321 }
1420 }, 1322 },
1421 "type": "object" 1323 "type": "object"
1422 }, 1324 },
1423 "SourceReference": { 1325 "SourceReference": {
1424 "description": "A reference to a particular snapshot of the source t ree used to build and deploy an application.", 1326 "description": "A reference to a particular snapshot of the source t ree used to build and deploy an application.",
1425 "id": "SourceReference", 1327 "id": "SourceReference",
1426 "properties": { 1328 "properties": {
1427 "repository": { 1329 "repository": {
1428 "description": "Optional. A URI string identifying the repos itory. Example: \"https://github.com/GoogleCloudPlatform/kubernetes.git\"", 1330 "description": "Optional. A URI string identifying the repos itory. Example: \"https://github.com/GoogleCloudPlatform/kubernetes.git\"",
1429 "type": "string" 1331 "type": "string"
1430 }, 1332 },
1431 "revisionId": { 1333 "revisionId": {
1432 "description": "The canonical and persistent identifier of t he deployed revision. Example (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b\ "", 1334 "description": "The canonical and persistent identifier of t he deployed revision. Example (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b\ "",
1433 "type": "string" 1335 "type": "string"
1434 } 1336 }
1435 }, 1337 },
1436 "type": "object" 1338 "type": "object"
1437 }, 1339 },
1438 "WriteLogEntriesResponse": {
1439 "description": "Result returned from WriteLogEntries. empty",
1440 "id": "WriteLogEntriesResponse",
1441 "properties": {},
1442 "type": "object"
1443 },
1444 "LogMetric": { 1340 "LogMetric": {
1445 "description": "Describes a logs-based metric. The value of the metr ic is the number of log entries that match a logs filter in a given time interva l.", 1341 "description": "Describes a logs-based metric. The value of the metr ic is the number of log entries that match a logs filter in a given time interva l.",
1446 "id": "LogMetric", 1342 "id": "LogMetric",
1447 "properties": { 1343 "properties": {
1448 "filter": { 1344 "filter": {
1449 "description": "Required. An advanced logs filter which is u sed to match log entries. Example:\n\"resource.type=gae_app AND severity>=ERROR\ "\nThe maximum length of the filter is 20000 characters.", 1345 "description": "Required. An advanced logs filter which is u sed to match log entries. Example:\n\"resource.type=gae_app AND severity>=ERROR\ "\nThe maximum length of the filter is 20000 characters.",
1450 "type": "string" 1346 "type": "string"
1451 }, 1347 },
1452 "name": { 1348 "name": {
1453 "description": "Required. The client-assigned metric identif ier. Examples: \"error_count\", \"nginx/requests\".Metric identifiers are limite d to 100 characters and can include only the following characters: A-Z, a-z, 0-9 , and the special characters _-.,+!*',()%/. The forward-slash character (/) deno tes a hierarchy of name pieces, and it cannot be the first character of the name .The metric identifier in this field must not be URL-encoded (https://en.wikiped ia.org/wiki/Percent-encoding). However, when the metric identifier appears as th e [METRIC_ID] part of a metric_name API parameter, then the metric identifier mu st be URL-encoded. Example: \"projects/my-project/metrics/nginx%2Frequests\".", 1349 "description": "Required. The client-assigned metric identif ier. Examples: \"error_count\", \"nginx/requests\".Metric identifiers are limite d to 100 characters and can include only the following characters: A-Z, a-z, 0-9 , and the special characters _-.,+!*',()%/. The forward-slash character (/) deno tes a hierarchy of name pieces, and it cannot be the first character of the name .The metric identifier in this field must not be URL-encoded (https://en.wikiped ia.org/wiki/Percent-encoding). However, when the metric identifier appears as th e [METRIC_ID] part of a metric_name API parameter, then the metric identifier mu st be URL-encoded. Example: \"projects/my-project/metrics/nginx%2Frequests\".",
(...skipping 15 matching lines...) Expand all
1469 ], 1365 ],
1470 "type": "string" 1366 "type": "string"
1471 } 1367 }
1472 }, 1368 },
1473 "type": "object" 1369 "type": "object"
1474 }, 1370 },
1475 "LogEntryOperation": { 1371 "LogEntryOperation": {
1476 "description": "Additional information about a potentially long-runn ing operation with which a log entry is associated.", 1372 "description": "Additional information about a potentially long-runn ing operation with which a log entry is associated.",
1477 "id": "LogEntryOperation", 1373 "id": "LogEntryOperation",
1478 "properties": { 1374 "properties": {
1375 "producer": {
1376 "description": "Optional. An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for produce r: \"MyDivision.MyBigCompany.com\", \"github.com/MyProject/MyApplication\".",
1377 "type": "string"
1378 },
1379 "first": {
1380 "description": "Optional. Set this to True if this is the fi rst log entry in the operation.",
1381 "type": "boolean"
1382 },
1479 "last": { 1383 "last": {
1480 "description": "Optional. Set this to True if this is the la st log entry in the operation.", 1384 "description": "Optional. Set this to True if this is the la st log entry in the operation.",
1481 "type": "boolean" 1385 "type": "boolean"
1482 }, 1386 },
1483 "id": { 1387 "id": {
1484 "description": "Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operati on.", 1388 "description": "Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operati on.",
1485 "type": "string" 1389 "type": "string"
1486 },
1487 "producer": {
1488 "description": "Optional. An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for produce r: \"MyDivision.MyBigCompany.com\", \"github.com/MyProject/MyApplication\".",
1489 "type": "string"
1490 },
1491 "first": {
1492 "description": "Optional. Set this to True if this is the fi rst log entry in the operation.",
1493 "type": "boolean"
1494 } 1390 }
1495 }, 1391 },
1496 "type": "object" 1392 "type": "object"
1393 },
1394 "WriteLogEntriesResponse": {
1395 "description": "Result returned from WriteLogEntries. empty",
1396 "id": "WriteLogEntriesResponse",
1397 "properties": {},
1398 "type": "object"
1399 },
1400 "MonitoredResource": {
1401 "description": "An object representing a resource that can be used f or monitoring, logging, billing, or other purposes. Examples include virtual mac hine instances, databases, and storage devices such as disks. The type field ide ntifies a MonitoredResourceDescriptor object that describes the resource's schem a. Information in the labels field identifies the actual resource and its attrib utes according to the schema. For example, a particular Compute Engine VM instan ce could be represented by the following object, because the MonitoredResourceDe scriptor for \"gce_instance\" has labels \"instance_id\" and \"zone\":\n{ \"type \": \"gce_instance\",\n \"labels\": { \"instance_id\": \"12345678901234\",\n \"zone\": \"us-central1-a\" }}\n",
1402 "id": "MonitoredResource",
1403 "properties": {
1404 "labels": {
1405 "additionalProperties": {
1406 "type": "string"
1407 },
1408 "description": "Required. Values for all of the labels liste d in the associated monitored resource descriptor. For example, Cloud SQL databa ses use the labels \"database_id\" and \"zone\".",
1409 "type": "object"
1410 },
1411 "type": {
1412 "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For exa mple, the type of a Cloud SQL database is \"cloudsql_database\".",
1413 "type": "string"
1414 }
1415 },
1416 "type": "object"
1417 },
1418 "LogSink": {
1419 "description": "Describes a sink used to export log entries to one o f the following destinations in any project: a Cloud Storage bucket, a BigQuery dataset, or a Cloud Pub/Sub topic. A logs filter controls which log entries are exported. The sink must be created within a project, organization, billing accou nt, or folder.",
1420 "id": "LogSink",
1421 "properties": {
1422 "name": {
1423 "description": "Required. The client-assigned sink identifie r, unique within the project. Example: \"my-syslog-errors-to-pubsub\". Sink iden tifiers are limited to 100 characters and can include only the following charact ers: upper and lower-case alphanumeric characters, underscores, hyphens, and per iods.",
1424 "type": "string"
1425 },
1426 "destination": {
1427 "description": "Required. The export destination:\n\"storage .googleapis.com/[GCS_BUCKET]\"\n\"bigquery.googleapis.com/projects/[PROJECT_ID]/ datasets/[DATASET]\"\n\"pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPI C_ID]\"\nThe sink's writer_identity, set when the sink is created, must have per mission to write to the destination or else the log entries are not exported. Fo r more information, see Exporting Logs With Sinks.",
1428 "type": "string"
1429 },
1430 "filter": {
1431 "description": "Optional. An advanced logs filter. The only exported log entries are those that are in the resource owning the sink and that match the filter. The filter must use the log entry format specified by the out put_version_format parameter. For example, in the v2 format:\nlogName=\"projects /[PROJECT_ID]/logs/[LOG_ID]\" AND severity>=ERROR\n",
1432 "type": "string"
1433 },
1434 "endTime": {
1435 "description": "Optional. The time at which this sink will s top exporting log entries. Log entries are exported only if their timestamp is e arlier than the end time. If this field is not supplied, there is no end time. I f both a start time and an end time are provided, then the end time must be late r than the start time.",
1436 "format": "google-datetime",
1437 "type": "string"
1438 },
1439 "writerIdentity": {
1440 "description": "Output only. An IAM identity—a service account or group—under which Stackdriver Logging writes the exported log entries to the sink's destination. This field is set by sinks.create and sinks.u pdate, based on the setting of unique_writer_identity in those methods.Until you grant this identity write-access to the destination, log entry exports from thi s sink will fail. For more information, see Granting access for a resource. Cons ult the destination service's documentation to determine the appropriate IAM rol es to assign to the identity.",
1441 "type": "string"
1442 },
1443 "startTime": {
1444 "description": "Optional. The time at which this sink will b egin exporting log entries. Log entries are exported only if their timestamp is not earlier than the start time. The default value of this field is the time the sink is created or updated.",
1445 "format": "google-datetime",
1446 "type": "string"
1447 },
1448 "outputVersionFormat": {
1449 "description": "Optional. The log entry format to use for th is sink's exported log entries. The v2 format is used by default. The v1 format is deprecated and should be used only as part of a migration effort to v2. See M igration to the v2 API.",
1450 "enum": [
1451 "VERSION_FORMAT_UNSPECIFIED",
1452 "V2",
1453 "V1"
1454 ],
1455 "enumDescriptions": [
1456 "An unspecified format version that will default to V2." ,
1457 "LogEntry version 2 format.",
1458 "LogEntry version 1 format."
1459 ],
1460 "type": "string"
1461 }
1462 },
1463 "type": "object"
1464 },
1465 "WriteLogEntriesRequest": {
1466 "description": "The parameters to WriteLogEntries.",
1467 "id": "WriteLogEntriesRequest",
1468 "properties": {
1469 "logName": {
1470 "description": "Optional. A default log resource name that i s assigned to all log entries in entries that do not specify a value for log_nam e:\n\"projects/[PROJECT_ID]/logs/[LOG_ID]\"\n\"organizations/[ORGANIZATION_ID]/l ogs/[LOG_ID]\"\n\"billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]\"\n\"folder s/[FOLDER_ID]/logs/[LOG_ID]\"\n[LOG_ID] must be URL-encoded. For example, \"proj ects/my-project-id/logs/syslog\" or \"organizations/1234567890/logs/cloudresourc emanager.googleapis.com%2Factivity\". For more information about log names, see LogEntry.",
1471 "type": "string"
1472 },
1473 "entries": {
1474 "description": "Required. The log entries to write. Values s upplied for the fields log_name, resource, and labels in this entries.write requ est are inserted into those log entries in this list that do not provide their o wn values.Stackdriver Logging also creates and inserts values for timestamp and insert_id if the entries do not provide them. The created insert_id for the N'th entry in this list will be greater than earlier entries and less than later ent ries. Otherwise, the order of log entries in this list does not matter.To improv e throughput and to avoid exceeding the quota limit for calls to entries.write, you should write multiple log entries at once rather than calling this method fo r each individual log entry.",
1475 "items": {
1476 "$ref": "LogEntry"
1477 },
1478 "type": "array"
1479 },
1480 "partialSuccess": {
1481 "description": "Optional. Whether valid entries should be wr itten even if some other entries fail due to INVALID_ARGUMENT or PERMISSION_DENI ED errors. If any entry is not written, then the response status is the error as sociated with one of the failed entries and the response includes error details keyed by the entries' zero-based index in the entries.write method.",
1482 "type": "boolean"
1483 },
1484 "labels": {
1485 "additionalProperties": {
1486 "type": "string"
1487 },
1488 "description": "Optional. Default labels that are added to t he labels field of all log entries in entries. If a log entry already has a labe l with the same key as a label in this parameter, then the log entry's label is not changed. See LogEntry.",
1489 "type": "object"
1490 },
1491 "resource": {
1492 "$ref": "MonitoredResource",
1493 "description": "Optional. A default monitored resource objec t that is assigned to all log entries in entries that do not specify a value for resource. Example:\n{ \"type\": \"gce_instance\",\n \"labels\": {\n \"zone\ ": \"us-central1-a\", \"instance_id\": \"00000000000000000000\" }}\nSee LogEntry ."
1494 }
1495 },
1496 "type": "object"
1497 } 1497 }
1498 }, 1498 },
1499 "servicePath": "", 1499 "servicePath": "",
1500 "title": "Stackdriver Logging API", 1500 "title": "Stackdriver Logging API",
1501 "version": "v2beta1" 1501 "version": "v2beta1"
1502 } 1502 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/language__v1beta1.json ('k') | discovery/googleapis_beta/ml__v1beta1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698