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

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

Issue 2571553005: Api-roll 43: 2016-12-13 (Closed)
Patch Set: Created 4 years 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": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 }, 7 },
8 "https://www.googleapis.com/auth/cloud-platform.read-only": { 8 "https://www.googleapis.com/auth/cloud-platform.read-only": {
9 "description": "View your data across Google Cloud Platform services" 9 "description": "View your data across Google Cloud Platform services"
10 }, 10 },
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 "methods": { 132 "methods": {
133 "update": { 133 "update": {
134 "description": "Creates or updates a logs-based metr ic.", 134 "description": "Creates or updates a logs-based metr ic.",
135 "httpMethod": "PUT", 135 "httpMethod": "PUT",
136 "id": "logging.projects.metrics.update", 136 "id": "logging.projects.metrics.update",
137 "parameterOrder": [ 137 "parameterOrder": [
138 "metricName" 138 "metricName"
139 ], 139 ],
140 "parameters": { 140 "parameters": {
141 "metricName": { 141 "metricName": {
142 "description": "The resource name of the met ric to update.\nExample: `\"projects/my-project-id/metrics/my-metric-id\"`.\n\nT he updated metric must be provided in the request and have the\nsame identifier that is specified in `metricName`.\nIf the metric does not exist, it is created. ", 142 "description": "The resource name of the met ric to update:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\nThe updated metri c must be provided in the request and it's name field must be the same as [METRI C_ID] If the metric does not exist in [PROJECT_ID], then a new metric is created .",
143 "location": "path", 143 "location": "path",
144 "pattern": "^projects/[^/]+/metrics/[^/]+$", 144 "pattern": "^projects/[^/]+/metrics/[^/]+$",
145 "required": true, 145 "required": true,
146 "type": "string" 146 "type": "string"
147 } 147 }
148 }, 148 },
149 "path": "v2beta1/{+metricName}", 149 "path": "v2beta1/{+metricName}",
150 "request": { 150 "request": {
151 "$ref": "LogMetric" 151 "$ref": "LogMetric"
152 }, 152 },
153 "response": { 153 "response": {
154 "$ref": "LogMetric" 154 "$ref": "LogMetric"
155 }, 155 },
156 "scopes": [ 156 "scopes": [
157 "https://www.googleapis.com/auth/cloud-platform" , 157 "https://www.googleapis.com/auth/cloud-platform" ,
158 "https://www.googleapis.com/auth/logging.admin", 158 "https://www.googleapis.com/auth/logging.admin",
159 "https://www.googleapis.com/auth/logging.write" 159 "https://www.googleapis.com/auth/logging.write"
160 ] 160 ]
161 }, 161 },
162 "get": { 162 "get": {
163 "description": "Gets a logs-based metric.", 163 "description": "Gets a logs-based metric.",
164 "httpMethod": "GET", 164 "httpMethod": "GET",
165 "id": "logging.projects.metrics.get", 165 "id": "logging.projects.metrics.get",
166 "parameterOrder": [ 166 "parameterOrder": [
167 "metricName" 167 "metricName"
168 ], 168 ],
169 "parameters": { 169 "parameters": {
170 "metricName": { 170 "metricName": {
171 "description": "The resource name of the des ired metric.\nExample: `\"projects/my-project-id/metrics/my-metric-id\"`.", 171 "description": "The resource name of the des ired metric:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\n",
172 "location": "path", 172 "location": "path",
173 "pattern": "^projects/[^/]+/metrics/[^/]+$", 173 "pattern": "^projects/[^/]+/metrics/[^/]+$",
174 "required": true, 174 "required": true,
175 "type": "string" 175 "type": "string"
176 } 176 }
177 }, 177 },
178 "path": "v2beta1/{+metricName}", 178 "path": "v2beta1/{+metricName}",
179 "response": { 179 "response": {
180 "$ref": "LogMetric" 180 "$ref": "LogMetric"
181 }, 181 },
182 "scopes": [ 182 "scopes": [
183 "https://www.googleapis.com/auth/cloud-platform" , 183 "https://www.googleapis.com/auth/cloud-platform" ,
184 "https://www.googleapis.com/auth/cloud-platform. read-only", 184 "https://www.googleapis.com/auth/cloud-platform. read-only",
185 "https://www.googleapis.com/auth/logging.admin", 185 "https://www.googleapis.com/auth/logging.admin",
186 "https://www.googleapis.com/auth/logging.read" 186 "https://www.googleapis.com/auth/logging.read"
187 ] 187 ]
188 }, 188 },
189 "create": { 189 "create": {
190 "description": "Creates a logs-based metric.", 190 "description": "Creates a logs-based metric.",
191 "httpMethod": "POST", 191 "httpMethod": "POST",
192 "id": "logging.projects.metrics.create", 192 "id": "logging.projects.metrics.create",
193 "parameterOrder": [ 193 "parameterOrder": [
194 "parent" 194 "parent"
195 ], 195 ],
196 "parameters": { 196 "parameters": {
197 "parent": { 197 "parent": {
198 "description": "The resource name of the pro ject in which to create the metric.\nExample: `\"projects/my-project-id\"`.\n\nT he new metric must be provided in the request.", 198 "description": "The resource name of the pro ject in which to create the metric:\n\"projects/[PROJECT_ID]\"\nThe new metric m ust be provided in the request.",
199 "location": "path", 199 "location": "path",
200 "pattern": "^projects/[^/]+$", 200 "pattern": "^projects/[^/]+$",
201 "required": true, 201 "required": true,
202 "type": "string" 202 "type": "string"
203 } 203 }
204 }, 204 },
205 "path": "v2beta1/{+parent}/metrics", 205 "path": "v2beta1/{+parent}/metrics",
206 "request": { 206 "request": {
207 "$ref": "LogMetric" 207 "$ref": "LogMetric"
208 }, 208 },
209 "response": { 209 "response": {
210 "$ref": "LogMetric" 210 "$ref": "LogMetric"
211 }, 211 },
212 "scopes": [ 212 "scopes": [
213 "https://www.googleapis.com/auth/cloud-platform" , 213 "https://www.googleapis.com/auth/cloud-platform" ,
214 "https://www.googleapis.com/auth/logging.admin", 214 "https://www.googleapis.com/auth/logging.admin",
215 "https://www.googleapis.com/auth/logging.write" 215 "https://www.googleapis.com/auth/logging.write"
216 ] 216 ]
217 }, 217 },
218 "list": { 218 "list": {
219 "description": "Lists logs-based metrics.", 219 "description": "Lists logs-based metrics.",
220 "httpMethod": "GET", 220 "httpMethod": "GET",
221 "id": "logging.projects.metrics.list", 221 "id": "logging.projects.metrics.list",
222 "parameterOrder": [ 222 "parameterOrder": [
223 "parent" 223 "parent"
224 ], 224 ],
225 "parameters": { 225 "parameters": {
226 "pageSize": { 226 "pageSize": {
227 "description": "Optional. The maximum number of results to return from this request.\nNon-positive values are ignored. The presence of `nextPageToken` in the\nresponse indicates that more results might b e available.", 227 "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.",
228 "format": "int32", 228 "format": "int32",
229 "location": "query", 229 "location": "query",
230 "type": "integer" 230 "type": "integer"
231 }, 231 },
232 "parent": { 232 "parent": {
233 "description": "Required. The resource name containing the metrics.\nExample: `\"projects/my-project-id\"`.", 233 "description": "Required. The name of the pr oject containing the metrics:\n\"projects/[PROJECT_ID]\"\n",
234 "location": "path", 234 "location": "path",
235 "pattern": "^projects/[^/]+$", 235 "pattern": "^projects/[^/]+$",
236 "required": true, 236 "required": true,
237 "type": "string" 237 "type": "string"
238 }, 238 },
239 "pageToken": { 239 "pageToken": {
240 "description": "Optional. If present, then r etrieve the next batch of results from the\npreceding call to this method. `pag eToken` must be the value of\n`nextPageToken` from the previous response. The v alues of other method\nparameters should be identical to those in the previous c all.", 240 "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.",
241 "location": "query", 241 "location": "query",
242 "type": "string" 242 "type": "string"
243 } 243 }
244 }, 244 },
245 "path": "v2beta1/{+parent}/metrics", 245 "path": "v2beta1/{+parent}/metrics",
246 "response": { 246 "response": {
247 "$ref": "ListLogMetricsResponse" 247 "$ref": "ListLogMetricsResponse"
248 }, 248 },
249 "scopes": [ 249 "scopes": [
250 "https://www.googleapis.com/auth/cloud-platform" , 250 "https://www.googleapis.com/auth/cloud-platform" ,
251 "https://www.googleapis.com/auth/cloud-platform. read-only", 251 "https://www.googleapis.com/auth/cloud-platform. read-only",
252 "https://www.googleapis.com/auth/logging.admin", 252 "https://www.googleapis.com/auth/logging.admin",
253 "https://www.googleapis.com/auth/logging.read" 253 "https://www.googleapis.com/auth/logging.read"
254 ] 254 ]
255 }, 255 },
256 "delete": { 256 "delete": {
257 "description": "Deletes a logs-based metric.", 257 "description": "Deletes a logs-based metric.",
258 "httpMethod": "DELETE", 258 "httpMethod": "DELETE",
259 "id": "logging.projects.metrics.delete", 259 "id": "logging.projects.metrics.delete",
260 "parameterOrder": [ 260 "parameterOrder": [
261 "metricName" 261 "metricName"
262 ], 262 ],
263 "parameters": { 263 "parameters": {
264 "metricName": { 264 "metricName": {
265 "description": "The resource name of the met ric to delete.\nExample: `\"projects/my-project-id/metrics/my-metric-id\"`.", 265 "description": "The resource name of the met ric to delete:\n\"projects/[PROJECT_ID]/metrics/[METRIC_ID]\"\n",
266 "location": "path", 266 "location": "path",
267 "pattern": "^projects/[^/]+/metrics/[^/]+$", 267 "pattern": "^projects/[^/]+/metrics/[^/]+$",
268 "required": true, 268 "required": true,
269 "type": "string" 269 "type": "string"
270 } 270 }
271 }, 271 },
272 "path": "v2beta1/{+metricName}", 272 "path": "v2beta1/{+metricName}",
273 "response": { 273 "response": {
274 "$ref": "Empty" 274 "$ref": "Empty"
275 }, 275 },
276 "scopes": [ 276 "scopes": [
277 "https://www.googleapis.com/auth/cloud-platform" , 277 "https://www.googleapis.com/auth/cloud-platform" ,
278 "https://www.googleapis.com/auth/logging.admin", 278 "https://www.googleapis.com/auth/logging.admin",
279 "https://www.googleapis.com/auth/logging.write" 279 "https://www.googleapis.com/auth/logging.write"
280 ] 280 ]
281 } 281 }
282 } 282 }
283 }, 283 },
284 "logs": { 284 "logs": {
285 "methods": { 285 "methods": {
286 "list": {
287 "description": "Lists the logs in projects or organi zations. Only logs that have entries are listed.",
288 "httpMethod": "GET",
289 "id": "logging.projects.logs.list",
290 "parameterOrder": [
291 "parent"
292 ],
293 "parameters": {
294 "pageSize": {
295 "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.",
296 "format": "int32",
297 "location": "query",
298 "type": "integer"
299 },
300 "parent": {
301 "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID ]\"\n",
302 "location": "path",
303 "pattern": "^projects/[^/]+$",
304 "required": true,
305 "type": "string"
306 },
307 "pageToken": {
308 "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.",
309 "location": "query",
310 "type": "string"
311 }
312 },
313 "path": "v2beta1/{+parent}/logs",
314 "response": {
315 "$ref": "ListLogsResponse"
316 },
317 "scopes": [
318 "https://www.googleapis.com/auth/cloud-platform" ,
319 "https://www.googleapis.com/auth/cloud-platform. read-only",
320 "https://www.googleapis.com/auth/logging.admin",
321 "https://www.googleapis.com/auth/logging.read"
322 ]
323 },
286 "delete": { 324 "delete": {
287 "description": "Deletes a log and all its log entrie s.\nThe log will reappear if it receives new entries.", 325 "description": "Deletes all the log entries in a log . The log reappears if it receives new entries.",
288 "httpMethod": "DELETE", 326 "httpMethod": "DELETE",
289 "id": "logging.projects.logs.delete", 327 "id": "logging.projects.logs.delete",
290 "parameterOrder": [ 328 "parameterOrder": [
291 "logName" 329 "logName"
292 ], 330 ],
293 "parameters": { 331 "parameters": {
294 "logName": { 332 "logName": {
295 "description": "Required. The resource name of the log to delete. Example:\n`\"projects/my-project/logs/syslog\"`.", 333 "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[LOG_ID] must be URL-encoded. For example, \" projects/my-project-id/logs/syslog\", \"organizations/1234567890/logs/cloudresou rcemanager.googleapis.com%2Factivity\". For more information about log names, se e LogEntry.",
296 "location": "path", 334 "location": "path",
297 "pattern": "^projects/[^/]+/logs/[^/]+$", 335 "pattern": "^projects/[^/]+/logs/[^/]+$",
298 "required": true, 336 "required": true,
299 "type": "string" 337 "type": "string"
300 } 338 }
301 }, 339 },
302 "path": "v2beta1/{+logName}", 340 "path": "v2beta1/{+logName}",
303 "response": { 341 "response": {
304 "$ref": "Empty" 342 "$ref": "Empty"
305 }, 343 },
306 "scopes": [ 344 "scopes": [
307 "https://www.googleapis.com/auth/cloud-platform" , 345 "https://www.googleapis.com/auth/cloud-platform" ,
308 "https://www.googleapis.com/auth/logging.admin" 346 "https://www.googleapis.com/auth/logging.admin"
309 ] 347 ]
310 } 348 }
311 } 349 }
312 }, 350 },
313 "sinks": { 351 "sinks": {
314 "methods": { 352 "methods": {
315 "update": { 353 "update": {
316 "description": "Updates or creates a sink.", 354 "description": "Updates a sink. If the named sink do esn't exist, then this method is identical to sinks.create. If the named sink do es exist, then this method replaces the following fields in the existing sink wi th values from the new sink: destination, filter, output_version_format, start_t ime, and end_time. The updated filter might also have a new writer_identity; see the unique_writer_identity field.",
317 "httpMethod": "PUT", 355 "httpMethod": "PUT",
318 "id": "logging.projects.sinks.update", 356 "id": "logging.projects.sinks.update",
319 "parameterOrder": [ 357 "parameterOrder": [
320 "sinkName" 358 "sinkName"
321 ], 359 ],
322 "parameters": { 360 "parameters": {
323 "sinkName": { 361 "sinkName": {
324 "description": "Required. The resource name of the sink to update, including the parent\nresource and the sink identifier. If the sink does not exist, this method\ncreates the sink. Example: `\"projects /my-project-id/sinks/my-sink-id\"`.", 362 "description": "Required. The full resource name of the sink to update, including the parent resource and the sink identifie r:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID] /sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my-sink-id\".",
325 "location": "path", 363 "location": "path",
326 "pattern": "^projects/[^/]+/sinks/[^/]+$", 364 "pattern": "^projects/[^/]+/sinks/[^/]+$",
327 "required": true, 365 "required": true,
328 "type": "string" 366 "type": "string"
329 }, 367 },
330 "uniqueWriterIdentity": { 368 "uniqueWriterIdentity": {
331 "description": "Optional. Whether the sink w ill have a dedicated service account returned\nin the sink's writer_identity. Se t this field to be true to export\nlogs from one project to a different project. This field is ignored for\nnon-project sinks (e.g. organization sinks) because those sinks are\nrequired to have dedicated service accounts.", 369 "description": "Optional. See sinks.create f or a description of this field. When updating a sink, the effect of this field o n the value of writer_identity in the updated sink depends on both the old and n ew values of this field:\nIf the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity.\nIf the ol d value was false and the new value is true, then writer_identity is changed to a unique service account.\nIt is an error if the old value was true and the new value is false.",
332 "location": "query", 370 "location": "query",
333 "type": "boolean" 371 "type": "boolean"
334 } 372 }
335 }, 373 },
336 "path": "v2beta1/{+sinkName}", 374 "path": "v2beta1/{+sinkName}",
337 "request": { 375 "request": {
338 "$ref": "LogSink" 376 "$ref": "LogSink"
339 }, 377 },
340 "response": { 378 "response": {
341 "$ref": "LogSink" 379 "$ref": "LogSink"
342 }, 380 },
343 "scopes": [ 381 "scopes": [
344 "https://www.googleapis.com/auth/cloud-platform" , 382 "https://www.googleapis.com/auth/cloud-platform" ,
345 "https://www.googleapis.com/auth/logging.admin" 383 "https://www.googleapis.com/auth/logging.admin"
346 ] 384 ]
347 }, 385 },
348 "get": { 386 "get": {
349 "description": "Gets a sink.", 387 "description": "Gets a sink.",
350 "httpMethod": "GET", 388 "httpMethod": "GET",
351 "id": "logging.projects.sinks.get", 389 "id": "logging.projects.sinks.get",
352 "parameterOrder": [ 390 "parameterOrder": [
353 "sinkName" 391 "sinkName"
354 ], 392 ],
355 "parameters": { 393 "parameters": {
356 "sinkName": { 394 "sinkName": {
357 "description": "Required. The resource name of the sink to return.\nExample: `\"projects/my-project-id/sinks/my-sink-id\"`." , 395 "description": "Required. The parent resourc e name of the sink:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/ [ORGANIZATION_ID]/sinks/[SINK_ID]\"\nExample: \"projects/my-project-id/sinks/my- sink-id\".",
358 "location": "path", 396 "location": "path",
359 "pattern": "^projects/[^/]+/sinks/[^/]+$", 397 "pattern": "^projects/[^/]+/sinks/[^/]+$",
360 "required": true, 398 "required": true,
361 "type": "string" 399 "type": "string"
362 } 400 }
363 }, 401 },
364 "path": "v2beta1/{+sinkName}", 402 "path": "v2beta1/{+sinkName}",
365 "response": { 403 "response": {
366 "$ref": "LogSink" 404 "$ref": "LogSink"
367 }, 405 },
368 "scopes": [ 406 "scopes": [
369 "https://www.googleapis.com/auth/cloud-platform" , 407 "https://www.googleapis.com/auth/cloud-platform" ,
370 "https://www.googleapis.com/auth/cloud-platform. read-only", 408 "https://www.googleapis.com/auth/cloud-platform. read-only",
371 "https://www.googleapis.com/auth/logging.admin", 409 "https://www.googleapis.com/auth/logging.admin",
372 "https://www.googleapis.com/auth/logging.read" 410 "https://www.googleapis.com/auth/logging.read"
373 ] 411 ]
374 }, 412 },
375 "create": { 413 "create": {
376 "description": "Creates a sink.", 414 "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.",
377 "httpMethod": "POST", 415 "httpMethod": "POST",
378 "id": "logging.projects.sinks.create", 416 "id": "logging.projects.sinks.create",
379 "parameterOrder": [ 417 "parameterOrder": [
380 "parent" 418 "parent"
381 ], 419 ],
382 "parameters": { 420 "parameters": {
383 "uniqueWriterIdentity": { 421 "uniqueWriterIdentity": {
384 "description": "Optional. Whether the sink w ill have a dedicated service account returned\nin the sink's writer_identity. Se t this field to be true to export\nlogs from one project to a different project. This field is ignored for\nnon-project sinks (e.g. organization sinks) because those sinks are\nrequired to have dedicated service accounts.", 422 "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 cloud-logs@google.com, the same identity used befo re the addition of writer identities to this API. The sink's destination 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 for exports from t he new sink. For more information, see writer_identity in LogSink.",
385 "location": "query", 423 "location": "query",
386 "type": "boolean" 424 "type": "boolean"
387 }, 425 },
388 "parent": { 426 "parent": {
389 "description": "Required. The resource in wh ich to create the sink.\nExample: `\"projects/my-project-id\"`.\nThe new sink mu st be provided in the request.", 427 "description": "Required. The resource in wh ich to create the sink:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATIO N_ID]\"\nExamples: \"projects/my-logging-project\", \"organizations/123456789\". ",
390 "location": "path", 428 "location": "path",
391 "pattern": "^projects/[^/]+$", 429 "pattern": "^projects/[^/]+$",
392 "required": true, 430 "required": true,
393 "type": "string" 431 "type": "string"
394 } 432 }
395 }, 433 },
396 "path": "v2beta1/{+parent}/sinks", 434 "path": "v2beta1/{+parent}/sinks",
397 "request": { 435 "request": {
398 "$ref": "LogSink" 436 "$ref": "LogSink"
399 }, 437 },
400 "response": { 438 "response": {
401 "$ref": "LogSink" 439 "$ref": "LogSink"
402 }, 440 },
403 "scopes": [ 441 "scopes": [
404 "https://www.googleapis.com/auth/cloud-platform" , 442 "https://www.googleapis.com/auth/cloud-platform" ,
405 "https://www.googleapis.com/auth/logging.admin" 443 "https://www.googleapis.com/auth/logging.admin"
406 ] 444 ]
407 }, 445 },
408 "list": { 446 "list": {
409 "description": "Lists sinks.", 447 "description": "Lists sinks.",
410 "httpMethod": "GET", 448 "httpMethod": "GET",
411 "id": "logging.projects.sinks.list", 449 "id": "logging.projects.sinks.list",
412 "parameterOrder": [ 450 "parameterOrder": [
413 "parent" 451 "parent"
414 ], 452 ],
415 "parameters": { 453 "parameters": {
416 "pageSize": { 454 "pageSize": {
417 "description": "Optional. The maximum number of results to return from this request.\nNon-positive values are ignored. The presence of `nextPageToken` in the\nresponse indicates that more results might b e available.", 455 "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.",
418 "format": "int32", 456 "format": "int32",
419 "location": "query", 457 "location": "query",
420 "type": "integer" 458 "type": "integer"
421 }, 459 },
422 "parent": { 460 "parent": {
423 "description": "Required. The resource name where this sink was created.\nExample: `\"projects/my-logging-project\"`.", 461 "description": "Required. The parent resourc e whose sinks are to be listed. Examples: \"projects/my-logging-project\", \"org anizations/123456789\".",
424 "location": "path", 462 "location": "path",
425 "pattern": "^projects/[^/]+$", 463 "pattern": "^projects/[^/]+$",
426 "required": true, 464 "required": true,
427 "type": "string" 465 "type": "string"
428 }, 466 },
429 "pageToken": { 467 "pageToken": {
430 "description": "Optional. If present, then r etrieve the next batch of results from the\npreceding call to this method. `pag eToken` must be the value of\n`nextPageToken` from the previous response. The v alues of other method\nparameters should be identical to those in the previous c all.", 468 "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.",
431 "location": "query", 469 "location": "query",
432 "type": "string" 470 "type": "string"
433 } 471 }
434 }, 472 },
435 "path": "v2beta1/{+parent}/sinks", 473 "path": "v2beta1/{+parent}/sinks",
436 "response": { 474 "response": {
437 "$ref": "ListSinksResponse" 475 "$ref": "ListSinksResponse"
438 }, 476 },
439 "scopes": [ 477 "scopes": [
440 "https://www.googleapis.com/auth/cloud-platform" , 478 "https://www.googleapis.com/auth/cloud-platform" ,
441 "https://www.googleapis.com/auth/cloud-platform. read-only", 479 "https://www.googleapis.com/auth/cloud-platform. read-only",
442 "https://www.googleapis.com/auth/logging.admin", 480 "https://www.googleapis.com/auth/logging.admin",
443 "https://www.googleapis.com/auth/logging.read" 481 "https://www.googleapis.com/auth/logging.read"
444 ] 482 ]
445 }, 483 },
446 "delete": { 484 "delete": {
447 "description": "Deletes a sink.", 485 "description": "Deletes a sink. If the sink has a un ique writer_identity, then that service account is also deleted.",
448 "httpMethod": "DELETE", 486 "httpMethod": "DELETE",
449 "id": "logging.projects.sinks.delete", 487 "id": "logging.projects.sinks.delete",
450 "parameterOrder": [ 488 "parameterOrder": [
451 "sinkName" 489 "sinkName"
452 ], 490 ],
453 "parameters": { 491 "parameters": {
454 "sinkName": { 492 "sinkName": {
455 "description": "Required. The resource name of the sink to delete, including the parent\nresource and the sink identifier. Example:\n`\"projects/my-project-id/sinks/my-sink-id\"`. It is an error if the sink\ndoes not exist.", 493 "description": "Required. The full resource name of the sink to delete, including the parent resource and the sink identifie r:\n\"projects/[PROJECT_ID]/sinks/[SINK_ID]\"\n\"organizations/[ORGANIZATION_ID] /sinks/[SINK_ID]\"\nIt is an error if the sink does not exist. Example: \"projec ts/my-project-id/sinks/my-sink-id\". It is an error if the sink does not exist." ,
456 "location": "path", 494 "location": "path",
457 "pattern": "^projects/[^/]+/sinks/[^/]+$", 495 "pattern": "^projects/[^/]+/sinks/[^/]+$",
458 "required": true, 496 "required": true,
459 "type": "string" 497 "type": "string"
460 } 498 }
461 }, 499 },
462 "path": "v2beta1/{+sinkName}", 500 "path": "v2beta1/{+sinkName}",
463 "response": { 501 "response": {
464 "$ref": "Empty" 502 "$ref": "Empty"
465 }, 503 },
466 "scopes": [ 504 "scopes": [
467 "https://www.googleapis.com/auth/cloud-platform" , 505 "https://www.googleapis.com/auth/cloud-platform" ,
468 "https://www.googleapis.com/auth/logging.admin" 506 "https://www.googleapis.com/auth/logging.admin"
469 ] 507 ]
470 } 508 }
471 } 509 }
472 } 510 }
473 } 511 }
474 }, 512 },
475 "organizations": { 513 "organizations": {
476 "resources": { 514 "resources": {
477 "logs": { 515 "logs": {
478 "methods": { 516 "methods": {
517 "list": {
518 "description": "Lists the logs in projects or organi zations. Only logs that have entries are listed.",
519 "httpMethod": "GET",
520 "id": "logging.organizations.logs.list",
521 "parameterOrder": [
522 "parent"
523 ],
524 "parameters": {
525 "pageSize": {
526 "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.",
527 "format": "int32",
528 "location": "query",
529 "type": "integer"
530 },
531 "parent": {
532 "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID ]\"\n",
533 "location": "path",
534 "pattern": "^organizations/[^/]+$",
535 "required": true,
536 "type": "string"
537 },
538 "pageToken": {
539 "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.",
540 "location": "query",
541 "type": "string"
542 }
543 },
544 "path": "v2beta1/{+parent}/logs",
545 "response": {
546 "$ref": "ListLogsResponse"
547 },
548 "scopes": [
549 "https://www.googleapis.com/auth/cloud-platform" ,
550 "https://www.googleapis.com/auth/cloud-platform. read-only",
551 "https://www.googleapis.com/auth/logging.admin",
552 "https://www.googleapis.com/auth/logging.read"
553 ]
554 },
479 "delete": { 555 "delete": {
480 "description": "Deletes a log and all its log entrie s.\nThe log will reappear if it receives new entries.", 556 "description": "Deletes all the log entries in a log . The log reappears if it receives new entries.",
481 "httpMethod": "DELETE", 557 "httpMethod": "DELETE",
482 "id": "logging.organizations.logs.delete", 558 "id": "logging.organizations.logs.delete",
483 "parameterOrder": [ 559 "parameterOrder": [
484 "logName" 560 "logName"
485 ], 561 ],
486 "parameters": { 562 "parameters": {
487 "logName": { 563 "logName": {
488 "description": "Required. The resource name of the log to delete. Example:\n`\"projects/my-project/logs/syslog\"`.", 564 "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[LOG_ID] must be URL-encoded. For example, \" projects/my-project-id/logs/syslog\", \"organizations/1234567890/logs/cloudresou rcemanager.googleapis.com%2Factivity\". For more information about log names, se e LogEntry.",
489 "location": "path", 565 "location": "path",
490 "pattern": "^organizations/[^/]+/logs/[^/]+$ ", 566 "pattern": "^organizations/[^/]+/logs/[^/]+$ ",
491 "required": true, 567 "required": true,
492 "type": "string" 568 "type": "string"
493 } 569 }
494 }, 570 },
495 "path": "v2beta1/{+logName}", 571 "path": "v2beta1/{+logName}",
496 "response": { 572 "response": {
497 "$ref": "Empty" 573 "$ref": "Empty"
498 }, 574 },
499 "scopes": [ 575 "scopes": [
500 "https://www.googleapis.com/auth/cloud-platform" , 576 "https://www.googleapis.com/auth/cloud-platform" ,
501 "https://www.googleapis.com/auth/logging.admin" 577 "https://www.googleapis.com/auth/logging.admin"
502 ] 578 ]
503 } 579 }
504 } 580 }
505 } 581 }
506 } 582 }
507 }, 583 },
508 "entries": { 584 "entries": {
509 "methods": { 585 "methods": {
510 "write": { 586 "write": {
511 "description": "Writes log entries to Stackdriver Logging. All log entries are\nwritten by this method.", 587 "description": "Writes log entries to Stackdriver Logging. A ll log entries are written by this method.",
512 "httpMethod": "POST", 588 "httpMethod": "POST",
513 "id": "logging.entries.write", 589 "id": "logging.entries.write",
514 "parameterOrder": [], 590 "parameterOrder": [],
515 "parameters": {}, 591 "parameters": {},
516 "path": "v2beta1/entries:write", 592 "path": "v2beta1/entries:write",
517 "request": { 593 "request": {
518 "$ref": "WriteLogEntriesRequest" 594 "$ref": "WriteLogEntriesRequest"
519 }, 595 },
520 "response": { 596 "response": {
521 "$ref": "WriteLogEntriesResponse" 597 "$ref": "WriteLogEntriesResponse"
522 }, 598 },
523 "scopes": [ 599 "scopes": [
524 "https://www.googleapis.com/auth/cloud-platform", 600 "https://www.googleapis.com/auth/cloud-platform",
525 "https://www.googleapis.com/auth/logging.admin", 601 "https://www.googleapis.com/auth/logging.admin",
526 "https://www.googleapis.com/auth/logging.write" 602 "https://www.googleapis.com/auth/logging.write"
527 ] 603 ]
528 }, 604 },
529 "list": { 605 "list": {
530 "description": "Lists log entries. Use this method to retri eve log entries from Cloud\nLogging. For ways to export log entries, see\n[Expo rting Logs](/logging/docs/export).", 606 "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.",
531 "httpMethod": "POST", 607 "httpMethod": "POST",
532 "id": "logging.entries.list", 608 "id": "logging.entries.list",
533 "parameterOrder": [], 609 "parameterOrder": [],
534 "parameters": {}, 610 "parameters": {},
535 "path": "v2beta1/entries:list", 611 "path": "v2beta1/entries:list",
536 "request": { 612 "request": {
537 "$ref": "ListLogEntriesRequest" 613 "$ref": "ListLogEntriesRequest"
538 }, 614 },
539 "response": { 615 "response": {
540 "$ref": "ListLogEntriesResponse" 616 "$ref": "ListLogEntriesResponse"
541 }, 617 },
542 "scopes": [ 618 "scopes": [
543 "https://www.googleapis.com/auth/cloud-platform", 619 "https://www.googleapis.com/auth/cloud-platform",
544 "https://www.googleapis.com/auth/cloud-platform.read-onl y", 620 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
545 "https://www.googleapis.com/auth/logging.admin", 621 "https://www.googleapis.com/auth/logging.admin",
546 "https://www.googleapis.com/auth/logging.read" 622 "https://www.googleapis.com/auth/logging.read"
547 ] 623 ]
548 } 624 }
549 } 625 }
550 }, 626 },
551 "monitoredResourceDescriptors": { 627 "monitoredResourceDescriptors": {
552 "methods": { 628 "methods": {
553 "list": { 629 "list": {
554 "description": "Lists the monitored resource descriptors use d by Stackdriver Logging.", 630 "description": "Lists the descriptors for monitored resource types used by Stackdriver Logging.",
555 "httpMethod": "GET", 631 "httpMethod": "GET",
556 "id": "logging.monitoredResourceDescriptors.list", 632 "id": "logging.monitoredResourceDescriptors.list",
557 "parameterOrder": [], 633 "parameterOrder": [],
558 "parameters": { 634 "parameters": {
559 "pageSize": { 635 "pageSize": {
560 "description": "Optional. The maximum number of resu lts to return from this request.\nNon-positive values are ignored. The presence of `nextPageToken` in the\nresponse indicates that more results might be availa ble.", 636 "description": "Optional. The maximum number of resu lts to return from this request. Non-positive values are ignored. The presence o f nextPageToken in the response indicates that more results might be available." ,
561 "format": "int32", 637 "format": "int32",
562 "location": "query", 638 "location": "query",
563 "type": "integer" 639 "type": "integer"
564 }, 640 },
565 "pageToken": { 641 "pageToken": {
566 "description": "Optional. If present, then retrieve the next batch of results from the\npreceding call to this method. `pageToken` must be the value of\n`nextPageToken` from the previous response. The values of other method\nparameters should be identical to those in the previous call.", 642 "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 m ethod parameters should be identical to those in the previous call.",
567 "location": "query", 643 "location": "query",
568 "type": "string" 644 "type": "string"
569 } 645 }
570 }, 646 },
571 "path": "v2beta1/monitoredResourceDescriptors", 647 "path": "v2beta1/monitoredResourceDescriptors",
572 "response": { 648 "response": {
573 "$ref": "ListMonitoredResourceDescriptorsResponse" 649 "$ref": "ListMonitoredResourceDescriptorsResponse"
574 }, 650 },
575 "scopes": [ 651 "scopes": [
576 "https://www.googleapis.com/auth/cloud-platform", 652 "https://www.googleapis.com/auth/cloud-platform",
577 "https://www.googleapis.com/auth/cloud-platform.read-onl y", 653 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
578 "https://www.googleapis.com/auth/logging.admin", 654 "https://www.googleapis.com/auth/logging.admin",
579 "https://www.googleapis.com/auth/logging.read" 655 "https://www.googleapis.com/auth/logging.read"
580 ] 656 ]
581 } 657 }
582 } 658 }
583 }, 659 },
584 "billingAccounts": { 660 "billingAccounts": {
585 "resources": { 661 "resources": {
586 "logs": { 662 "logs": {
587 "methods": { 663 "methods": {
664 "list": {
665 "description": "Lists the logs in projects or organi zations. Only logs that have entries are listed.",
666 "httpMethod": "GET",
667 "id": "logging.billingAccounts.logs.list",
668 "parameterOrder": [
669 "parent"
670 ],
671 "parameters": {
672 "pageSize": {
673 "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.",
674 "format": "int32",
675 "location": "query",
676 "type": "integer"
677 },
678 "parent": {
679 "description": "Required. The resource name that owns the logs:\n\"projects/[PROJECT_ID]\"\n\"organizations/[ORGANIZATION_ID ]\"\n",
680 "location": "path",
681 "pattern": "^billingAccounts/[^/]+$",
682 "required": true,
683 "type": "string"
684 },
685 "pageToken": {
686 "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.",
687 "location": "query",
688 "type": "string"
689 }
690 },
691 "path": "v2beta1/{+parent}/logs",
692 "response": {
693 "$ref": "ListLogsResponse"
694 },
695 "scopes": [
696 "https://www.googleapis.com/auth/cloud-platform" ,
697 "https://www.googleapis.com/auth/cloud-platform. read-only",
698 "https://www.googleapis.com/auth/logging.admin",
699 "https://www.googleapis.com/auth/logging.read"
700 ]
701 },
588 "delete": { 702 "delete": {
589 "description": "Deletes a log and all its log entrie s.\nThe log will reappear if it receives new entries.", 703 "description": "Deletes all the log entries in a log . The log reappears if it receives new entries.",
590 "httpMethod": "DELETE", 704 "httpMethod": "DELETE",
591 "id": "logging.billingAccounts.logs.delete", 705 "id": "logging.billingAccounts.logs.delete",
592 "parameterOrder": [ 706 "parameterOrder": [
593 "logName" 707 "logName"
594 ], 708 ],
595 "parameters": { 709 "parameters": {
596 "logName": { 710 "logName": {
597 "description": "Required. The resource name of the log to delete. Example:\n`\"projects/my-project/logs/syslog\"`.", 711 "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[LOG_ID] must be URL-encoded. For example, \" projects/my-project-id/logs/syslog\", \"organizations/1234567890/logs/cloudresou rcemanager.googleapis.com%2Factivity\". For more information about log names, se e LogEntry.",
598 "location": "path", 712 "location": "path",
599 "pattern": "^billingAccounts/[^/]+/logs/[^/] +$", 713 "pattern": "^billingAccounts/[^/]+/logs/[^/] +$",
600 "required": true, 714 "required": true,
601 "type": "string" 715 "type": "string"
602 } 716 }
603 }, 717 },
604 "path": "v2beta1/{+logName}", 718 "path": "v2beta1/{+logName}",
605 "response": { 719 "response": {
606 "$ref": "Empty" 720 "$ref": "Empty"
607 }, 721 },
608 "scopes": [ 722 "scopes": [
609 "https://www.googleapis.com/auth/cloud-platform" , 723 "https://www.googleapis.com/auth/cloud-platform" ,
610 "https://www.googleapis.com/auth/logging.admin" 724 "https://www.googleapis.com/auth/logging.admin"
611 ] 725 ]
612 } 726 }
613 } 727 }
614 } 728 }
615 } 729 }
616 } 730 }
617 }, 731 },
618 "revision": "20161028", 732 "revision": "20161206",
619 "rootUrl": "https://logging.googleapis.com/", 733 "rootUrl": "https://logging.googleapis.com/",
620 "schemas": { 734 "schemas": {
621 "ListLogEntriesResponse": { 735 "ListLogEntriesResponse": {
622 "description": "Result returned from `ListLogEntries`.", 736 "description": "Result returned from ListLogEntries.",
623 "id": "ListLogEntriesResponse", 737 "id": "ListLogEntriesResponse",
624 "properties": { 738 "properties": {
625 "entries": { 739 "entries": {
626 "description": "A list of log entries.", 740 "description": "A list of log entries.",
627 "items": { 741 "items": {
628 "$ref": "LogEntry" 742 "$ref": "LogEntry"
629 }, 743 },
630 "type": "array" 744 "type": "array"
631 }, 745 },
632 "nextPageToken": { 746 "nextPageToken": {
633 "description": "If there might be more results than appear i n this response, then\n`nextPageToken` is included. To get the next set of resu lts, call this\nmethod again using the value of `nextPageToken` as `pageToken`." , 747 "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.",
634 "type": "string" 748 "type": "string"
635 } 749 }
636 }, 750 },
637 "type": "object" 751 "type": "object"
638 }, 752 },
639 "ListSinksResponse": { 753 "ListSinksResponse": {
640 "description": "Result returned from `ListSinks`.", 754 "description": "Result returned from ListSinks.",
641 "id": "ListSinksResponse", 755 "id": "ListSinksResponse",
642 "properties": { 756 "properties": {
643 "nextPageToken": { 757 "nextPageToken": {
644 "description": "If there might be more results than appear i n this response, then\n`nextPageToken` is included. To get the next set of resu lts, call the same\nmethod again using the value of `nextPageToken` as `pageToke n`.", 758 "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.",
645 "type": "string" 759 "type": "string"
646 }, 760 },
647 "sinks": { 761 "sinks": {
648 "description": "A list of sinks.", 762 "description": "A list of sinks.",
649 "items": { 763 "items": {
650 "$ref": "LogSink" 764 "$ref": "LogSink"
651 }, 765 },
652 "type": "array" 766 "type": "array"
653 } 767 }
654 }, 768 },
655 "type": "object" 769 "type": "object"
656 }, 770 },
657 "SourceLocation": { 771 "SourceLocation": {
658 "description": "Specifies a location in a source code file.", 772 "description": "Specifies a location in a source code file.",
659 "id": "SourceLocation", 773 "id": "SourceLocation",
660 "properties": { 774 "properties": {
661 "file": { 775 "file": {
662 "description": "Source file name. Depending on the runtime e nvironment, this might be a\nsimple name or a fully-qualified name.", 776 "description": "Source file name. Depending on the runtime e nvironment, this might be a simple name or a fully-qualified name.",
663 "type": "string" 777 "type": "string"
664 }, 778 },
665 "functionName": { 779 "functionName": {
666 "description": "Human-readable name of the function or metho d being invoked, with optional\ncontext such as the class or package name. This information is used in\ncontexts such as the logs viewer, where a file and line number are less\nmeaningful. The format can vary by language. For example:\n`qua l.if.ied.Class.method` (Java), `dir/package.func` (Go), `function`\n(Python).", 780 "description": "Human-readable name of the function or metho d being invoked, with optional context such as the class or package name. This i nformation is used in contexts such as the logs viewer, where a file and line nu mber are less meaningful. The format can vary by language. For example: qual.if. ied.Class.method (Java), dir/package.func (Go), function (Python).",
667 "type": "string" 781 "type": "string"
668 }, 782 },
669 "line": { 783 "line": {
670 "description": "Line within the source file.", 784 "description": "Line within the source file.",
671 "format": "int64", 785 "format": "int64",
672 "type": "string" 786 "type": "string"
673 } 787 }
674 }, 788 },
675 "type": "object" 789 "type": "object"
676 }, 790 },
677 "LogSink": { 791 "LogSink": {
678 "description": "Describes a sink used to export log entries outside of Stackdriver Logging.\nA logs filter controls which log entries are exported. Sinks can have a\nstart time and an end time; these can be used to place log en tries from an\nexact time range into a particular destination. If both `start_t ime` and\n`end_time` are present, then `start_time` must be less than `end_time` .", 792 "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 or organization.",
679 "id": "LogSink", 793 "id": "LogSink",
680 "properties": { 794 "properties": {
681 "destination": { 795 "destination": {
682 "description": "Required. The export destination. See\n[Expo rting Logs With Sinks](/logging/docs/api/tasks/exporting-logs).\nExamples:\n\n \"storage.googleapis.com/my-gcs-bucket\"\n \"bigquery.googleapis.com/projec ts/my-project-id/datasets/my-dataset\"\n \"pubsub.googleapis.com/projects/my- project/topics/my-topic\"", 796 "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.",
683 "type": "string" 797 "type": "string"
684 }, 798 },
685 "filter": { 799 "filter": {
686 "description": "Optional. An [advanced logs filter](/logging /docs/view/advanced_filters).\nOnly log entries matching the filter are exported . The filter\nmust be consistent with the log entry format specified by the\n`ou tputVersionFormat` parameter, regardless of the format of the\nlog entry that wa s originally written to Stackdriver Logging.\nExample filter (V2 format):\n\n logName=projects/my-projectid/logs/syslog AND severity>=ERROR", 800 "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",
687 "type": "string" 801 "type": "string"
688 }, 802 },
689 "endTime": { 803 "endTime": {
690 "description": "Optional. Time at which this sink will stop exporting log entries. If this\nvalue is present, then log entries are exported only if `entry.timestamp` <\n`end_time`.", 804 "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.",
691 "format": "google-datetime", 805 "format": "google-datetime",
692 "type": "string" 806 "type": "string"
693 }, 807 },
694 "name": { 808 "name": {
695 "description": "Required. The client-assigned sink identifie r, unique within the\nproject. Example: `\"my-syslog-errors-to-pubsub\"`. Sink identifiers are\nlimited to 1000 characters and can include only the following c haracters:\n`A-Z`, `a-z`, `0-9`, and the special characters `_-.`. The maximum length\nof the name is 100 characters.", 809 "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.",
696 "type": "string" 810 "type": "string"
697 }, 811 },
698 "startTime": { 812 "startTime": {
699 "description": "Optional. The time at which this sink will b egin exporting log entries. If\nthis value is present, then log entries are exp orted only if `start_time`\n<=`entry.timestamp`.", 813 "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.",
700 "format": "google-datetime", 814 "format": "google-datetime",
701 "type": "string" 815 "type": "string"
702 }, 816 },
703 "outputVersionFormat": { 817 "outputVersionFormat": {
704 "description": "Optional. The log entry version to use for t his sink's exported log\nentries. This version does not have to correspond to t he version of the\nlog entry that was written to Stackdriver Logging. If omitted , the\nv2 format is used.", 818 "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.",
705 "enum": [ 819 "enum": [
706 "VERSION_FORMAT_UNSPECIFIED", 820 "VERSION_FORMAT_UNSPECIFIED",
707 "V2", 821 "V2",
708 "V1" 822 "V1"
709 ], 823 ],
710 "enumDescriptions": [ 824 "enumDescriptions": [
711 "An unspecified version format will default to V2.", 825 "An unspecified format version that will default to V2." ,
712 "`LogEntry` version 2 format.", 826 "LogEntry version 2 format.",
713 "`LogEntry` version 1 format." 827 "LogEntry version 1 format."
714 ], 828 ],
715 "type": "string" 829 "type": "string"
716 }, 830 },
717 "writerIdentity": { 831 "writerIdentity": {
718 "description": "Output only. An IAM identity&mdash;a service account or group&mdash;that\nwill write exported log entries to the destination on behalf of Stackdriver\nLogging. You must grant this identity write-access to the destination.\nConsult the destination service's documentation to determine the exact role\nthat must be granted.", 832 "description": "Output only. An IAM identity&mdash;a service account or group&mdash;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.",
833 "type": "string"
834 }
835 },
836 "type": "object"
837 },
838 "ListLogsResponse": {
839 "description": "Result returned from ListLogs.",
840 "id": "ListLogsResponse",
841 "properties": {
842 "logNames": {
843 "description": "A list of log names. For example, \"projects /my-project/syslog\" or \"organizations/123/cloudresourcemanager.googleapis.com% 2Factivity\".",
844 "items": {
845 "type": "string"
846 },
847 "type": "array"
848 },
849 "nextPageToken": {
850 "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." ,
719 "type": "string" 851 "type": "string"
720 } 852 }
721 }, 853 },
722 "type": "object" 854 "type": "object"
723 }, 855 },
724 "LogMetric": { 856 "LogMetric": {
725 "description": "Describes a logs-based metric. The value of the met ric is the\nnumber of log entries that match a logs filter.", 857 "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.",
726 "id": "LogMetric", 858 "id": "LogMetric",
727 "properties": { 859 "properties": {
728 "description": { 860 "description": {
729 "description": "Optional. A description of this metric, whic h is used in documentation.", 861 "description": "Optional. A description of this metric, whic h is used in documentation.",
730 "type": "string" 862 "type": "string"
731 }, 863 },
732 "filter": { 864 "filter": {
733 "description": "Required. An [advanced logs filter](/logging /docs/view/advanced_filters).\nExample: `\"resource.type=gae_app AND severity>=E RROR\"`.", 865 "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.",
734 "type": "string" 866 "type": "string"
735 }, 867 },
736 "name": { 868 "name": {
737 "description": "Required. The client-assigned metric identif ier. Example:\n`\"severe_errors\"`. Metric identifiers are limited to 100\nchar acters and can include only the following characters: `A-Z`,\n`a-z`, `0-9`, and the special characters `_-.,+!*',()%/`. The\nforward-slash character (`/`) deno tes a hierarchy of name pieces,\nand it cannot be the first character of the nam e. The '%' character\nis used to URL encode unsafe and reserved characters and must be\nfollowed by two hexadecimal digits according to RFC 1738.", 869 "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\".",
738 "type": "string" 870 "type": "string"
739 }, 871 },
740 "version": { 872 "version": {
741 "description": "Output only. The API version that created or updated this metric.\nThe version also dictates the syntax of the filter expres sion. When a value\nfor this field is missing, the default value of V2 should be assumed.", 873 "description": "Output only. The API version that created or updated this metric. The version also dictates the syntax of the filter express ion. When a value for this field is missing, the default value of V2 should be a ssumed.",
742 "enum": [ 874 "enum": [
743 "V2", 875 "V2",
744 "V1" 876 "V1"
745 ], 877 ],
746 "enumDescriptions": [ 878 "enumDescriptions": [
747 "Stackdriver Logging API v2.", 879 "Stackdriver Logging API v2.",
748 "Stackdriver Logging API v1." 880 "Stackdriver Logging API v1."
749 ], 881 ],
750 "type": "string" 882 "type": "string"
751 } 883 }
752 }, 884 },
753 "type": "object" 885 "type": "object"
754 }, 886 },
755 "LogEntry": { 887 "LogEntry": {
756 "description": "An individual entry in a log.", 888 "description": "An individual entry in a log.",
757 "id": "LogEntry", 889 "id": "LogEntry",
758 "properties": { 890 "properties": {
759 "textPayload": { 891 "textPayload": {
760 "description": "The log entry payload, represented as a Unic ode string (UTF-8).", 892 "description": "The log entry payload, represented as a Unic ode string (UTF-8).",
761 "type": "string" 893 "type": "string"
762 }, 894 },
763 "httpRequest": { 895 "httpRequest": {
764 "$ref": "HttpRequest", 896 "$ref": "HttpRequest",
765 "description": "Optional. Information about the HTTP request associated with this\nlog entry, if applicable." 897 "description": "Optional. Information about the HTTP request associated with this log entry, if applicable."
898 },
899 "sourceLocation": {
900 "$ref": "LogEntrySourceLocation",
901 "description": "Optional. Source code location information a ssociated with the log entry, if any."
766 }, 902 },
767 "jsonPayload": { 903 "jsonPayload": {
768 "additionalProperties": { 904 "additionalProperties": {
769 "description": "Properties of the object.", 905 "description": "Properties of the object.",
770 "type": "any" 906 "type": "any"
771 }, 907 },
772 "description": "The log entry payload, represented as a stru cture that\nis expressed as a JSON object.", 908 "description": "The log entry payload, represented as a stru cture that is expressed as a JSON object.",
773 "type": "object" 909 "type": "object"
774 }, 910 },
775 "labels": { 911 "labels": {
776 "additionalProperties": { 912 "additionalProperties": {
777 "type": "string" 913 "type": "string"
778 }, 914 },
779 "description": "Optional. A set of user-defined (key, value) data that provides additional\ninformation about the log entry.", 915 "description": "Optional. A set of user-defined (key, value) data that provides additional information about the log entry.",
780 "type": "object" 916 "type": "object"
781 }, 917 },
918 "trace": {
919 "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",
920 "type": "string"
921 },
782 "logName": { 922 "logName": {
783 "description": "Required. The resource name of the log to wh ich this log entry\nbelongs. The format of the name is\n`\"projects/<project-id> /logs/<log-id>\"`. Examples:\n`\"projects/my-projectid/logs/syslog\"`,\n`\"proj ects/my-projectid/logs/library.googleapis.com%2Fbook_log\"`.\n\nThe log ID part of resource name must be less than 512 characters\nlong and can only include the following characters: upper and\nlower case alphanumeric characters: [A-Za-z0-9 ]; and punctuation\ncharacters: forward-slash, underscore, hyphen, and period.\n Forward-slash (`/`) characters in the log ID must be URL-encoded.", 923 "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[LOG_ID] must be URL-encoded within log _name. Example: \"organizations/1234567890/logs/cloudresourcemanager.googleapis. com%2Factivity\". [LOG_ID] must be less than 512 characters long and can only in clude the following characters: upper and lower case alphanumeric characters, fo rward-slash, underscore, hyphen, and period.For backward compatibility, if log_n ame begins with a forward-slash, such as /projects/..., then the log entry is in gested 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 leading slash will n ever return any results.",
784 "type": "string" 924 "type": "string"
785 }, 925 },
786 "severity": { 926 "severity": {
787 "description": "Optional. The severity of the log entry. The default value is\n`LogSeverity.DEFAULT`.", 927 "description": "Optional. The severity of the log entry. The default value is LogSeverity.DEFAULT.",
788 "enum": [ 928 "enum": [
789 "DEFAULT", 929 "DEFAULT",
790 "DEBUG", 930 "DEBUG",
791 "INFO", 931 "INFO",
792 "NOTICE", 932 "NOTICE",
793 "WARNING", 933 "WARNING",
794 "ERROR", 934 "ERROR",
795 "CRITICAL", 935 "CRITICAL",
796 "ALERT", 936 "ALERT",
797 "EMERGENCY" 937 "EMERGENCY"
798 ], 938 ],
799 "enumDescriptions": [ 939 "enumDescriptions": [
800 "(0) The log entry has no assigned severity level.", 940 "(0) The log entry has no assigned severity level.",
801 "(100) Debug or trace information.", 941 "(100) Debug or trace information.",
802 "(200) Routine information, such as ongoing status or pe rformance.", 942 "(200) Routine information, such as ongoing status or pe rformance.",
803 "(300) Normal but significant events, such as start up, shut down, or\na configuration change.", 943 "(300) Normal but significant events, such as start up, shut down, or a configuration change.",
804 "(400) Warning events might cause problems.", 944 "(400) Warning events might cause problems.",
805 "(500) Error events are likely to cause problems.", 945 "(500) Error events are likely to cause problems.",
806 "(600) Critical events cause more severe problems or out ages.", 946 "(600) Critical events cause more severe problems or out ages.",
807 "(700) A person must take an action immediately.", 947 "(700) A person must take an action immediately.",
808 "(800) One or more systems are unusable." 948 "(800) One or more systems are unusable."
809 ], 949 ],
810 "type": "string" 950 "type": "string"
811 }, 951 },
812 "resource": { 952 "resource": {
813 "$ref": "MonitoredResource", 953 "$ref": "MonitoredResource",
814 "description": "Required. The monitored resource associated with this log entry.\nExample: a log entry that reports a database error would b e\nassociated with the monitored resource designating the particular\ndatabase t hat reported the error." 954 "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."
815 }, 955 },
816 "protoPayload": { 956 "protoPayload": {
817 "additionalProperties": { 957 "additionalProperties": {
818 "description": "Properties of the object. Contains field @type with type URL.", 958 "description": "Properties of the object. Contains field @type with type URL.",
819 "type": "any" 959 "type": "any"
820 }, 960 },
821 "description": "The log entry payload, represented as a prot ocol buffer. Some\nGoogle Cloud Platform services use this field for their log\ nentry payloads.", 961 "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.",
822 "type": "object" 962 "type": "object"
823 }, 963 },
824 "timestamp": { 964 "timestamp": {
825 "description": "Optional. The time the event described by th e log entry occurred. If\nomitted, Stackdriver Logging will use the time the lo g entry is received.", 965 "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.",
826 "format": "google-datetime", 966 "format": "google-datetime",
827 "type": "string" 967 "type": "string"
828 }, 968 },
829 "insertId": { 969 "insertId": {
830 "description": "Optional. A unique ID for the log entry. If you provide this\nfield, the logging service considers other log entries in the\ nsame project with the same ID as duplicates which can be removed. If\nomitted, Stackdriver Logging will generate a unique ID for this\nlog entry.", 970 "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.",
831 "type": "string" 971 "type": "string"
832 }, 972 },
833 "operation": { 973 "operation": {
834 "$ref": "LogEntryOperation", 974 "$ref": "LogEntryOperation",
835 "description": "Optional. Information about an operation ass ociated with the log entry, if\napplicable." 975 "description": "Optional. Information about an operation ass ociated with the log entry, if applicable."
836 } 976 }
837 }, 977 },
838 "type": "object" 978 "type": "object"
839 }, 979 },
840 "LogLine": { 980 "LogLine": {
841 "description": "Application log line emitted while processing a requ est.", 981 "description": "Application log line emitted while processing a requ est.",
842 "id": "LogLine", 982 "id": "LogLine",
843 "properties": { 983 "properties": {
844 "time": { 984 "time": {
845 "description": "Approximate time when this log entry was mad e.", 985 "description": "Approximate time when this log entry was mad e.",
(...skipping 10 matching lines...) Expand all
856 "WARNING", 996 "WARNING",
857 "ERROR", 997 "ERROR",
858 "CRITICAL", 998 "CRITICAL",
859 "ALERT", 999 "ALERT",
860 "EMERGENCY" 1000 "EMERGENCY"
861 ], 1001 ],
862 "enumDescriptions": [ 1002 "enumDescriptions": [
863 "(0) The log entry has no assigned severity level.", 1003 "(0) The log entry has no assigned severity level.",
864 "(100) Debug or trace information.", 1004 "(100) Debug or trace information.",
865 "(200) Routine information, such as ongoing status or pe rformance.", 1005 "(200) Routine information, such as ongoing status or pe rformance.",
866 "(300) Normal but significant events, such as start up, shut down, or\na configuration change.", 1006 "(300) Normal but significant events, such as start up, shut down, or a configuration change.",
867 "(400) Warning events might cause problems.", 1007 "(400) Warning events might cause problems.",
868 "(500) Error events are likely to cause problems.", 1008 "(500) Error events are likely to cause problems.",
869 "(600) Critical events cause more severe problems or out ages.", 1009 "(600) Critical events cause more severe problems or out ages.",
870 "(700) A person must take an action immediately.", 1010 "(700) A person must take an action immediately.",
871 "(800) One or more systems are unusable." 1011 "(800) One or more systems are unusable."
872 ], 1012 ],
873 "type": "string" 1013 "type": "string"
874 }, 1014 },
875 "sourceLocation": { 1015 "sourceLocation": {
876 "$ref": "SourceLocation", 1016 "$ref": "SourceLocation",
877 "description": "Where in the source code this log message wa s written." 1017 "description": "Where in the source code this log message wa s written."
878 }, 1018 },
879 "logMessage": { 1019 "logMessage": {
880 "description": "App-provided log message.", 1020 "description": "App-provided log message.",
881 "type": "string" 1021 "type": "string"
882 } 1022 }
883 }, 1023 },
884 "type": "object" 1024 "type": "object"
885 }, 1025 },
886 "SourceReference": { 1026 "SourceReference": {
887 "description": "A reference to a particular snapshot of the source t ree used to build and\ndeploy an application.", 1027 "description": "A reference to a particular snapshot of the source t ree used to build and deploy an application.",
888 "id": "SourceReference", 1028 "id": "SourceReference",
889 "properties": { 1029 "properties": {
890 "repository": { 1030 "repository": {
891 "description": "Optional. A URI string identifying the repos itory.\nExample: \"https://github.com/GoogleCloudPlatform/kubernetes.git\"", 1031 "description": "Optional. A URI string identifying the repos itory. Example: \"https://github.com/GoogleCloudPlatform/kubernetes.git\"",
892 "type": "string" 1032 "type": "string"
893 }, 1033 },
894 "revisionId": { 1034 "revisionId": {
895 "description": "The canonical and persistent identifier of t he deployed revision.\nExample (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b \"", 1035 "description": "The canonical and persistent identifier of t he deployed revision. Example (git): \"0035781c50ec7aa23385dc841529ce8a4b70db1b\ "",
896 "type": "string" 1036 "type": "string"
897 } 1037 }
898 }, 1038 },
899 "type": "object" 1039 "type": "object"
900 }, 1040 },
901 "MonitoredResource": { 1041 "MonitoredResource": {
902 "description": "An object representing a resource that can be used f or monitoring, logging,\nbilling, or other purposes. Examples include virtual ma chine instances,\ndatabases, and storage devices such as disks. The `type` field identifies a\nMonitoredResourceDescriptor object that describes the resource's\ nschema. Information in the `labels` field identifies the actual resource and\ni ts attributes according to the schema. For example, a particular Compute\nEngine VM instance could be represented by the following object, because the\nMonitore dResourceDescriptor for `\"gce_instance\"` has labels\n`\"instance_id\"` and `\" zone\"`:\n\n { \"type\": \"gce_instance\",\n \"labels\": { \"instance_id \": \"12345678901234\",\n \"zone\": \"us-central1-a\" }}", 1042 "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",
903 "id": "MonitoredResource", 1043 "id": "MonitoredResource",
904 "properties": { 1044 "properties": {
905 "labels": { 1045 "labels": {
906 "additionalProperties": { 1046 "additionalProperties": {
907 "type": "string" 1047 "type": "string"
908 }, 1048 },
909 "description": "Required. Values for all of the labels liste d in the associated monitored\nresource descriptor. For example, Cloud SQL datab ases use the labels\n`\"database_id\"` and `\"zone\"`.", 1049 "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\".",
910 "type": "object" 1050 "type": "object"
911 }, 1051 },
912 "type": { 1052 "type": {
913 "description": "Required. The monitored resource type. This field must match\nthe `type` field of a MonitoredResourceDescriptor object. For\ nexample, the type of a Cloud SQL database is `\"cloudsql_database\"`.", 1053 "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\".",
914 "type": "string" 1054 "type": "string"
915 } 1055 }
916 }, 1056 },
917 "type": "object" 1057 "type": "object"
918 }, 1058 },
919 "WriteLogEntriesRequest": { 1059 "WriteLogEntriesRequest": {
920 "description": "The parameters to WriteLogEntries.", 1060 "description": "The parameters to WriteLogEntries.",
921 "id": "WriteLogEntriesRequest", 1061 "id": "WriteLogEntriesRequest",
922 "properties": { 1062 "properties": {
923 "labels": { 1063 "labels": {
924 "additionalProperties": { 1064 "additionalProperties": {
925 "type": "string" 1065 "type": "string"
926 }, 1066 },
927 "description": "Optional. Default labels that are added to t he `labels` field of all log\nentries in `entries`. If a log entry already has a label with the same key\nas a label in this parameter, then the log entry's lab el is not changed.\nSee LogEntry.", 1067 "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.",
928 "type": "object" 1068 "type": "object"
929 }, 1069 },
930 "entries": { 1070 "entries": {
931 "description": "Required. The log entries to write. Values s upplied for the fields\n`log_name`, `resource`, and `labels` in this `entries.wr ite` request are\nadded to those log entries that do not provide their own value s for the\nfields.\n\nTo improve throughput and to avoid exceeding the\n[quota l imit](/logging/quota-policy) for calls to `entries.write`,\nyou should write mul tiple log entries at once rather than\ncalling this method for each individual l og entry.", 1071 "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.",
932 "items": { 1072 "items": {
933 "$ref": "LogEntry" 1073 "$ref": "LogEntry"
934 }, 1074 },
935 "type": "array" 1075 "type": "array"
936 }, 1076 },
937 "logName": { 1077 "logName": {
938 "description": "Optional. A default log resource name that i s assigned to all log entries\nin `entries` that do not specify a value for `log _name`. Example:\n`\"projects/my-project/logs/syslog\"`. See\nLogEntry.", 1078 "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[LOG_ID] must be URL-encoded. For example, \"projects/my-project -id/logs/syslog\" or \"organizations/1234567890/logs/cloudresourcemanager.google apis.com%2Factivity\". For more information about log names, see LogEntry.",
939 "type": "string" 1079 "type": "string"
940 }, 1080 },
941 "partialSuccess": { 1081 "partialSuccess": {
942 "description": "Optional. Whether valid entries should be wr itten even if some other\nentries fail due to INVALID_ARGUMENT or PERMISSION_DEN IED errors. If any\nentry is not written, the response status will be the error associated\nwith one of the failed entries and include error details in the form of\nWriteLogEntriesPartialErrors.", 1082 "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.",
943 "type": "boolean" 1083 "type": "boolean"
944 }, 1084 },
945 "resource": { 1085 "resource": {
946 "$ref": "MonitoredResource", 1086 "$ref": "MonitoredResource",
947 "description": "Optional. A default monitored resource objec t that is assigned to all log\nentries in `entries` that do not specify a value for `resource`. Example:\n\n { \"type\": \"gce_instance\",\n \"labels\": {\n \"zone\": \"us-central1-a\", \"instance_id\": \"00000000000000000000 \" }}\n\nSee LogEntry." 1087 "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 ."
948 } 1088 }
949 }, 1089 },
950 "type": "object" 1090 "type": "object"
951 }, 1091 },
952 "LabelDescriptor": { 1092 "LabelDescriptor": {
953 "description": "A description of a label.", 1093 "description": "A description of a label.",
954 "id": "LabelDescriptor", 1094 "id": "LabelDescriptor",
955 "properties": { 1095 "properties": {
956 "description": { 1096 "description": {
957 "description": "A human-readable description for the label." , 1097 "description": "A human-readable description for the label." ,
(...skipping 25 matching lines...) Expand all
983 "id": "ListLogMetricsResponse", 1123 "id": "ListLogMetricsResponse",
984 "properties": { 1124 "properties": {
985 "metrics": { 1125 "metrics": {
986 "description": "A list of logs-based metrics.", 1126 "description": "A list of logs-based metrics.",
987 "items": { 1127 "items": {
988 "$ref": "LogMetric" 1128 "$ref": "LogMetric"
989 }, 1129 },
990 "type": "array" 1130 "type": "array"
991 }, 1131 },
992 "nextPageToken": { 1132 "nextPageToken": {
993 "description": "If there might be more results than appear i n this response, then\n`nextPageToken` is included. To get the next set of resu lts, call this\nmethod again using the value of `nextPageToken` as `pageToken`." , 1133 "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 "type": "string" 1134 "type": "string"
995 } 1135 }
996 }, 1136 },
997 "type": "object" 1137 "type": "object"
998 }, 1138 },
999 "MonitoredResourceDescriptor": { 1139 "MonitoredResourceDescriptor": {
1000 "description": "An object that describes the schema of a MonitoredRe source object using a\ntype name and a set of labels. For example, the monitore d resource\ndescriptor for Google Compute Engine VM instances has a type of\n`\" gce_instance\"` and specifies the use of the labels `\"instance_id\"` and\n`\"zo ne\"` to identify particular VM instances.\n\nDifferent APIs can support differe nt monitored resource types. APIs generally\nprovide a `list` method that return s the monitored resource descriptors used\nby the API.", 1140 "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.",
1001 "id": "MonitoredResourceDescriptor", 1141 "id": "MonitoredResourceDescriptor",
1002 "properties": { 1142 "properties": {
1003 "displayName": { 1143 "displayName": {
1004 "description": "Optional. A concise name for the monitored r esource type that might be\ndisplayed in user interfaces. It should be a Title C ased Noun Phrase,\nwithout any article or other determiners. For example,\n`\"Go ogle Cloud SQL Database\"`.", 1144 "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\".",
1005 "type": "string" 1145 "type": "string"
1006 }, 1146 },
1007 "description": { 1147 "description": {
1008 "description": "Optional. A detailed description of the moni tored resource type that might\nbe used in documentation.", 1148 "description": "Optional. A detailed description of the moni tored resource type that might be used in documentation.",
1009 "type": "string" 1149 "type": "string"
1010 }, 1150 },
1011 "labels": { 1151 "labels": {
1012 "description": "Required. A set of labels used to describe i nstances of this monitored\nresource type. For example, an individual Google Clo ud SQL database is\nidentified by values for the labels `\"database_id\"` and `\ "zone\"`.", 1152 "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 \".",
1013 "items": { 1153 "items": {
1014 "$ref": "LabelDescriptor" 1154 "$ref": "LabelDescriptor"
1015 }, 1155 },
1016 "type": "array" 1156 "type": "array"
1017 }, 1157 },
1018 "type": { 1158 "type": {
1019 "description": "Required. The monitored resource type. For e xample, the type\n`\"cloudsql_database\"` represents databases in Google Cloud S QL.\nThe maximum length of this value is 256 characters.", 1159 "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.",
1020 "type": "string" 1160 "type": "string"
1021 }, 1161 },
1022 "name": { 1162 "name": {
1023 "description": "Optional. The resource name of the monitored resource descriptor:\n`\"projects/{project_id}/monitoredResourceDescriptors/{ty pe}\"` where\n{type} is the value of the `type` field in this object and\n{proje ct_id} is a project ID that provides API-specific context for\naccessing the typ e. APIs that do not use project information can use the\nresource name format ` \"monitoredResourceDescriptors/{type}\"`.", 1163 "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}\".",
1024 "type": "string" 1164 "type": "string"
1025 } 1165 }
1026 }, 1166 },
1027 "type": "object" 1167 "type": "object"
1028 }, 1168 },
1029 "ListMonitoredResourceDescriptorsResponse": { 1169 "ListMonitoredResourceDescriptorsResponse": {
1030 "description": "Result returned from ListMonitoredResourceDescriptor s.", 1170 "description": "Result returned from ListMonitoredResourceDescriptor s.",
1031 "id": "ListMonitoredResourceDescriptorsResponse", 1171 "id": "ListMonitoredResourceDescriptorsResponse",
1032 "properties": { 1172 "properties": {
1033 "nextPageToken": { 1173 "nextPageToken": {
1034 "description": "If there might be more results than appear i n this response, then\n`nextPageToken` is included. To get the next set of resu lts, call this\nmethod again using the value of `nextPageToken` as `pageToken`." , 1174 "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." ,
1035 "type": "string" 1175 "type": "string"
1036 }, 1176 },
1037 "resourceDescriptors": { 1177 "resourceDescriptors": {
1038 "description": "A list of resource descriptors.", 1178 "description": "A list of resource descriptors.",
1039 "items": { 1179 "items": {
1040 "$ref": "MonitoredResourceDescriptor" 1180 "$ref": "MonitoredResourceDescriptor"
1041 }, 1181 },
1042 "type": "array" 1182 "type": "array"
1043 } 1183 }
1044 }, 1184 },
1045 "type": "object" 1185 "type": "object"
1046 }, 1186 },
1047 "LogEntryOperation": { 1187 "LogEntryOperation": {
1048 "description": "Additional information about a potentially long-runn ing operation with which\na log entry is associated.", 1188 "description": "Additional information about a potentially long-runn ing operation with which a log entry is associated.",
1049 "id": "LogEntryOperation", 1189 "id": "LogEntryOperation",
1050 "properties": { 1190 "properties": {
1051 "producer": { 1191 "producer": {
1052 "description": "Optional. An arbitrary producer identifier. The combination of\n`id` and `producer` must be globally unique. Examples for ` producer`:\n`\"MyDivision.MyBigCompany.com\"`, `\"github.com/MyProject/MyApplica tion\"`.", 1192 "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\".",
1053 "type": "string" 1193 "type": "string"
1054 }, 1194 },
1055 "last": { 1195 "last": {
1056 "description": "Optional. Set this to True if this is the la st log entry in the operation.", 1196 "description": "Optional. Set this to True if this is the la st log entry in the operation.",
1057 "type": "boolean" 1197 "type": "boolean"
1058 }, 1198 },
1059 "first": { 1199 "first": {
1060 "description": "Optional. Set this to True if this is the fi rst log entry in the operation.", 1200 "description": "Optional. Set this to True if this is the fi rst log entry in the operation.",
1061 "type": "boolean" 1201 "type": "boolean"
1062 }, 1202 },
1063 "id": { 1203 "id": {
1064 "description": "Optional. An arbitrary operation identifier. Log entries with the\nsame identifier are assumed to be part of the same operat ion.", 1204 "description": "Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operati on.",
1065 "type": "string" 1205 "type": "string"
1066 } 1206 }
1067 }, 1207 },
1068 "type": "object" 1208 "type": "object"
1069 }, 1209 },
1070 "Empty": { 1210 "Empty": {
1071 "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use i t as the request\nor the response type of an API method. For instance:\n\n se rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty );\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", 1211 "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 {}.",
1072 "id": "Empty", 1212 "id": "Empty",
1073 "properties": {}, 1213 "properties": {},
1074 "type": "object" 1214 "type": "object"
1075 }, 1215 },
1076 "HttpRequest": { 1216 "HttpRequest": {
1077 "description": "A common proto for logging HTTP requests. Only conta ins semantics\ndefined by the HTTP specification. Product-specific logging\ninfo rmation MUST be defined in a separate message.", 1217 "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.",
1078 "id": "HttpRequest", 1218 "id": "HttpRequest",
1079 "properties": { 1219 "properties": {
1080 "cacheLookup": { 1220 "cacheLookup": {
1081 "description": "Whether or not a cache lookup was attempted. ", 1221 "description": "Whether or not a cache lookup was attempted. ",
1082 "type": "boolean" 1222 "type": "boolean"
1083 }, 1223 },
1084 "responseSize": { 1224 "responseSize": {
1085 "description": "The size of the HTTP response message sent b ack to the client, in bytes,\nincluding the response headers and the response bo dy.", 1225 "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.",
1086 "format": "int64", 1226 "format": "int64",
1087 "type": "string" 1227 "type": "string"
1088 }, 1228 },
1089 "status": { 1229 "status": {
1090 "description": "The response code indicating the status of r esponse.\nExamples: 200, 404.", 1230 "description": "The response code indicating the status of r esponse. Examples: 200, 404.",
1091 "format": "int32", 1231 "format": "int32",
1092 "type": "integer" 1232 "type": "integer"
1093 }, 1233 },
1094 "cacheValidatedWithOriginServer": { 1234 "cacheValidatedWithOriginServer": {
1095 "description": "Whether or not the response was validated wi th the origin server before\nbeing served from cache. This field is only meaning ful if `cache_hit` is\nTrue.", 1235 "description": "Whether or not the response was validated wi th the origin server before being served from cache. This field is only meaningf ul if cache_hit is True.",
1096 "type": "boolean" 1236 "type": "boolean"
1097 }, 1237 },
1098 "referer": { 1238 "referer": {
1099 "description": "The referer URL of the request, as defined i n\n[HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc26 16-sec14.html).", 1239 "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).",
1100 "type": "string" 1240 "type": "string"
1101 }, 1241 },
1102 "cacheHit": { 1242 "cacheHit": {
1103 "description": "Whether or not an entity was served from cac he\n(with or without validation).", 1243 "description": "Whether or not an entity was served from cac he (with or without validation).",
1104 "type": "boolean" 1244 "type": "boolean"
1105 }, 1245 },
1106 "requestUrl": { 1246 "requestUrl": {
1107 "description": "The scheme (http, https), the host name, the path and the query\nportion of the URL that was requested.\nExample: `\"http:// example.com/some/info?color=red\"`.", 1247 "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\".",
1108 "type": "string" 1248 "type": "string"
1109 }, 1249 },
1110 "latency": { 1250 "latency": {
1111 "description": "The request processing latency on the server , from the time the request was\nreceived until the response was sent.", 1251 "description": "The request processing latency on the server , from the time the request was received until the response was sent.",
1112 "format": "google-duration", 1252 "format": "google-duration",
1113 "type": "string" 1253 "type": "string"
1114 }, 1254 },
1115 "cacheFillBytes": { 1255 "cacheFillBytes": {
1116 "description": "The number of HTTP response bytes inserted i nto cache. Set only when a\ncache fill was attempted.", 1256 "description": "The number of HTTP response bytes inserted i nto cache. Set only when a cache fill was attempted.",
1117 "format": "int64", 1257 "format": "int64",
1118 "type": "string" 1258 "type": "string"
1119 }, 1259 },
1120 "requestMethod": { 1260 "requestMethod": {
1121 "description": "The request method. Examples: `\"GET\"`, `\" HEAD\"`, `\"PUT\"`, `\"POST\"`.", 1261 "description": "The request method. Examples: \"GET\", \"HEA D\", \"PUT\", \"POST\".",
1122 "type": "string" 1262 "type": "string"
1123 }, 1263 },
1124 "remoteIp": { 1264 "remoteIp": {
1125 "description": "The IP address (IPv4 or IPv6) of the client that issued the HTTP\nrequest. Examples: `\"192.168.1.1\"`, `\"FE80::0202:B3FF:F E1E:8329\"`.", 1265 "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\".",
1126 "type": "string" 1266 "type": "string"
1127 }, 1267 },
1128 "serverIp": { 1268 "serverIp": {
1129 "description": "The IP address (IPv4 or IPv6) of the origin server that the request was\nsent to.", 1269 "description": "The IP address (IPv4 or IPv6) of the origin server that the request was sent to.",
1130 "type": "string" 1270 "type": "string"
1131 }, 1271 },
1132 "userAgent": { 1272 "userAgent": {
1133 "description": "The user agent sent by the client. Example:\ n`\"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)\" `.", 1273 "description": "The user agent sent by the client. Example: \"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)\"." ,
1134 "type": "string" 1274 "type": "string"
1135 }, 1275 },
1136 "requestSize": { 1276 "requestSize": {
1137 "description": "The size of the HTTP request message in byte s, including the request\nheaders and the request body.", 1277 "description": "The size of the HTTP request message in byte s, including the request headers and the request body.",
1138 "format": "int64", 1278 "format": "int64",
1139 "type": "string" 1279 "type": "string"
1140 } 1280 }
1281 },
1282 "type": "object"
1283 },
1284 "LogEntrySourceLocation": {
1285 "description": "Additional information about the source code locatio n that produced the log entry.",
1286 "id": "LogEntrySourceLocation",
1287 "properties": {
1288 "function": {
1289 "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). ",
1290 "type": "string"
1291 },
1292 "file": {
1293 "description": "Optional. Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.",
1294 "type": "string"
1295 },
1296 "line": {
1297 "description": "Optional. Line within the source file. 1-bas ed; 0 indicates no line number available.",
1298 "format": "int64",
1299 "type": "string"
1300 }
1141 }, 1301 },
1142 "type": "object" 1302 "type": "object"
1143 }, 1303 },
1144 "RequestLog": { 1304 "RequestLog": {
1145 "description": "Complete log information about a single HTTP request to an App Engine\napplication.", 1305 "description": "Complete log information about a single HTTP request to an App Engine application.",
1146 "id": "RequestLog", 1306 "id": "RequestLog",
1147 "properties": { 1307 "properties": {
1148 "responseSize": { 1308 "responseSize": {
1149 "description": "Size in bytes sent back to client by request .", 1309 "description": "Size in bytes sent back to client by request .",
1150 "format": "int64", 1310 "format": "int64",
1151 "type": "string" 1311 "type": "string"
1152 }, 1312 },
1153 "requestId": { 1313 "requestId": {
1154 "description": "Globally unique identifier for a request, wh ich is based on the request\nstart time. Request IDs for requests which started later will compare\ngreater as strings than those for requests which started ea rlier.", 1314 "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.",
1155 "type": "string" 1315 "type": "string"
1156 }, 1316 },
1157 "first": { 1317 "first": {
1158 "description": "Whether this is the first RequestLog entry f or this request. If an active\nrequest has several RequestLog entries written t o Cloud Logging, this field\nwill be set for one of them.", 1318 "description": "Whether this is the first RequestLog entry f or this request. If an active request has several RequestLog entries written to Stackdriver Logging, then this field will be set for one of them.",
1159 "type": "boolean" 1319 "type": "boolean"
1160 }, 1320 },
1161 "method": { 1321 "method": {
1162 "description": "Request method. Example: `\"GET\"`, `\"HEAD\ "`, `\"PUT\"`, `\"POST\"`, `\"DELETE\"`.", 1322 "description": "Request method. Example: \"GET\", \"HEAD\", \"PUT\", \"POST\", \"DELETE\".",
1163 "type": "string" 1323 "type": "string"
1164 }, 1324 },
1165 "versionId": { 1325 "versionId": {
1166 "description": "Version of the application that handled this request.", 1326 "description": "Version of the application that handled this request.",
1167 "type": "string" 1327 "type": "string"
1168 }, 1328 },
1169 "status": { 1329 "status": {
1170 "description": "HTTP response status code. Example: 200, 404 .", 1330 "description": "HTTP response status code. Example: 200, 404 .",
1171 "format": "int32", 1331 "format": "int32",
1172 "type": "integer" 1332 "type": "integer"
1173 }, 1333 },
1174 "wasLoadingRequest": { 1334 "wasLoadingRequest": {
1175 "description": "Whether this was a loading request for the i nstance.", 1335 "description": "Whether this was a loading request for the i nstance.",
1176 "type": "boolean" 1336 "type": "boolean"
1177 }, 1337 },
1178 "ip": { 1338 "ip": {
1179 "description": "Origin IP address.", 1339 "description": "Origin IP address.",
1180 "type": "string" 1340 "type": "string"
1181 }, 1341 },
1182 "nickname": { 1342 "nickname": {
1183 "description": "The logged-in user who made the request.\n\n Most likely, this is the part of the user's email before the `@` sign. The\nfie ld value is the same for different requests from the same user, but\ndifferent u sers can have similar names. This information is also\navailable to the applica tion via the App Engine Users API.\n\nThis field will be populated starting with App Engine 1.9.21.", 1343 "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.",
1184 "type": "string" 1344 "type": "string"
1185 }, 1345 },
1186 "taskQueueName": { 1346 "taskQueueName": {
1187 "description": "Queue name of the request, in the case of an offline request.", 1347 "description": "Queue name of the request, in the case of an offline request.",
1188 "type": "string" 1348 "type": "string"
1189 }, 1349 },
1190 "pendingTime": { 1350 "pendingTime": {
1191 "description": "Time this request spent in the pending reque st queue.", 1351 "description": "Time this request spent in the pending reque st queue.",
1192 "format": "google-duration", 1352 "format": "google-duration",
1193 "type": "string" 1353 "type": "string"
1194 }, 1354 },
1195 "instanceIndex": { 1355 "instanceIndex": {
1196 "description": "If the instance processing this request belo ngs to a manually scaled\nmodule, then this is the 0-based index of the instance . Otherwise, this\nvalue is -1.", 1356 "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.",
1197 "format": "int32", 1357 "format": "int32",
1198 "type": "integer" 1358 "type": "integer"
1199 }, 1359 },
1200 "sourceReference": { 1360 "sourceReference": {
1201 "description": "Source code for the application that handled this request. There can be\nmore than one source reference per deployed applica tion if source code is\ndistributed among multiple repositories.", 1361 "description": "Source code for the application that handled this request. There can be more than one source reference per deployed applicat ion if source code is distributed among multiple repositories.",
1202 "items": { 1362 "items": {
1203 "$ref": "SourceReference" 1363 "$ref": "SourceReference"
1204 }, 1364 },
1205 "type": "array" 1365 "type": "array"
1206 }, 1366 },
1207 "moduleId": { 1367 "moduleId": {
1208 "description": "Module of the application that handled this request.", 1368 "description": "Module of the application that handled this request.",
1209 "type": "string" 1369 "type": "string"
1210 }, 1370 },
1211 "host": { 1371 "host": {
(...skipping 24 matching lines...) Expand all
1236 "megaCycles": { 1396 "megaCycles": {
1237 "description": "Number of CPU megacycles used to process req uest.", 1397 "description": "Number of CPU megacycles used to process req uest.",
1238 "format": "int64", 1398 "format": "int64",
1239 "type": "string" 1399 "type": "string"
1240 }, 1400 },
1241 "appId": { 1401 "appId": {
1242 "description": "Application that handled this request.", 1402 "description": "Application that handled this request.",
1243 "type": "string" 1403 "type": "string"
1244 }, 1404 },
1245 "traceId": { 1405 "traceId": {
1246 "description": "Cloud Trace identifier for this request.", 1406 "description": "Stackdriver Trace identifier for this reques t.",
1247 "type": "string" 1407 "type": "string"
1248 }, 1408 },
1249 "taskName": { 1409 "taskName": {
1250 "description": "Task name of the request, in the case of an offline request.", 1410 "description": "Task name of the request, in the case of an offline request.",
1251 "type": "string" 1411 "type": "string"
1252 }, 1412 },
1253 "cost": { 1413 "cost": {
1254 "description": "An indication of the relative cost of servin g this request.", 1414 "description": "An indication of the relative cost of servin g this request.",
1255 "format": "double", 1415 "format": "double",
1256 "type": "number" 1416 "type": "number"
1257 }, 1417 },
1258 "instanceId": { 1418 "instanceId": {
1259 "description": "An identifier for the instance that handled the request.", 1419 "description": "An identifier for the instance that handled the request.",
1260 "type": "string" 1420 "type": "string"
1261 }, 1421 },
1262 "startTime": { 1422 "startTime": {
1263 "description": "Time when the request started.", 1423 "description": "Time when the request started.",
1264 "format": "google-datetime", 1424 "format": "google-datetime",
1265 "type": "string" 1425 "type": "string"
1266 }, 1426 },
1267 "appEngineRelease": { 1427 "appEngineRelease": {
1268 "description": "App Engine release version.", 1428 "description": "App Engine release version.",
1269 "type": "string" 1429 "type": "string"
1270 }, 1430 },
1271 "resource": { 1431 "resource": {
1272 "description": "Contains the path and query portion of the U RL that was requested. For\nexample, if the URL was \"http://example.com/app?nam e=val\", the resource\nwould be \"/app?name=val\". The fragment identifier, whi ch is identified by\nthe `#` character, is not included.", 1432 "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.",
1273 "type": "string" 1433 "type": "string"
1274 }, 1434 },
1275 "httpVersion": { 1435 "httpVersion": {
1276 "description": "HTTP version of request. Example: `\"HTTP/1. 1\"`.", 1436 "description": "HTTP version of request. Example: \"HTTP/1.1 \".",
1277 "type": "string" 1437 "type": "string"
1278 }, 1438 },
1279 "referrer": { 1439 "referrer": {
1280 "description": "Referrer URL of request.", 1440 "description": "Referrer URL of request.",
1281 "type": "string" 1441 "type": "string"
1282 }, 1442 },
1283 "userAgent": { 1443 "userAgent": {
1284 "description": "User agent that made the request.", 1444 "description": "User agent that made the request.",
1285 "type": "string" 1445 "type": "string"
1286 }, 1446 },
1287 "finished": { 1447 "finished": {
1288 "description": "Whether this request is finished or active." , 1448 "description": "Whether this request is finished or active." ,
1289 "type": "boolean" 1449 "type": "boolean"
1290 } 1450 }
1291 }, 1451 },
1292 "type": "object" 1452 "type": "object"
1293 }, 1453 },
1294 "WriteLogEntriesResponse": { 1454 "WriteLogEntriesResponse": {
1295 "description": "Result returned from WriteLogEntries.\nempty", 1455 "description": "Result returned from WriteLogEntries. empty",
1296 "id": "WriteLogEntriesResponse", 1456 "id": "WriteLogEntriesResponse",
1297 "properties": {}, 1457 "properties": {},
1298 "type": "object" 1458 "type": "object"
1299 }, 1459 },
1300 "ListLogEntriesRequest": { 1460 "ListLogEntriesRequest": {
1301 "description": "The parameters to `ListLogEntries`.", 1461 "description": "The parameters to ListLogEntries.",
1302 "id": "ListLogEntriesRequest", 1462 "id": "ListLogEntriesRequest",
1303 "properties": { 1463 "properties": {
1304 "filter": { 1464 "filter": {
1305 "description": "Optional. A filter that chooses which log en tries to return. See [Advanced\nLogs Filters](/logging/docs/view/advanced_filte rs). Only log entries that\nmatch the filter are returned. An empty filter mat ches all log entries.", 1465 "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.",
1306 "type": "string" 1466 "type": "string"
1307 }, 1467 },
1308 "projectIds": { 1468 "projectIds": {
1309 "description": "Deprecated. One or more project identifiers or project numbers from which\nto retrieve log entries. Examples: `\"my-project -1A\"`, `\"1234567890\"`. If\npresent, these project identifiers are converted t o resource format and\nadded to the list of resources in `resourceNames`. Caller s should use\n`resourceNames` rather than this parameter.", 1469 "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. ",
1310 "items": { 1470 "items": {
1311 "type": "string" 1471 "type": "string"
1312 }, 1472 },
1313 "type": "array" 1473 "type": "array"
1314 }, 1474 },
1315 "resourceNames": { 1475 "resourceNames": {
1316 "description": "Required. One or more cloud resources from w hich to retrieve log entries.\nExample: `\"projects/my-project-1A\"`, `\"project s/1234567890\"`. Projects\nlisted in `projectIds` are added to this list.", 1476 "description": "Required. Names of one or more resources fro m which to retrieve log entries:\n\"projects/[PROJECT_ID]\"\n\"organizations/[OR GANIZATION_ID]\"\nProjects listed in the project_ids field are added to this lis t.",
1317 "items": { 1477 "items": {
1318 "type": "string" 1478 "type": "string"
1319 }, 1479 },
1320 "type": "array" 1480 "type": "array"
1321 }, 1481 },
1322 "pageSize": { 1482 "pageSize": {
1323 "description": "Optional. The maximum number of results to r eturn from this request.\nNon-positive values are ignored. The presence of `nex tPageToken` in the\nresponse indicates that more results might be available.", 1483 "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.",
1324 "format": "int32", 1484 "format": "int32",
1325 "type": "integer" 1485 "type": "integer"
1326 }, 1486 },
1327 "orderBy": { 1487 "orderBy": {
1328 "description": "Optional. How the results should be sorted. Presently, the only permitted\nvalues are `\"timestamp asc\"` (default) and `\" timestamp desc\"`. The first\noption returns entries in order of increasing valu es of\n`LogEntry.timestamp` (oldest first), and the second option returns entrie s\nin order of decreasing timestamps (newest first). Entries with equal\ntimest amps are returned in order of `LogEntry.insertId`.", 1488 "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.",
1329 "type": "string" 1489 "type": "string"
1330 }, 1490 },
1331 "pageToken": { 1491 "pageToken": {
1332 "description": "Optional. If present, then retrieve the next batch of results from the\npreceding call to this method. `pageToken` must be the value of\n`nextPageToken` from the previous response. The values of other m ethod\nparameters should be identical to those in the previous call.", 1492 "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.",
1333 "type": "string" 1493 "type": "string"
1334 } 1494 }
1335 }, 1495 },
1336 "type": "object" 1496 "type": "object"
1337 } 1497 }
1338 }, 1498 },
1339 "servicePath": "", 1499 "servicePath": "",
1340 "title": "Stackdriver Logging API", 1500 "title": "Stackdriver Logging API",
1341 "version": "v2beta1" 1501 "version": "v2beta1"
1342 } 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