@@ -274,11 +274,11 @@ public final UnaryCallable<DeleteLogRequest, Empty> deleteLogCallable() {
274274
275275 // AUTO-GENERATED DOCUMENTATION AND METHOD
276276 /**
277- * ## Log entry resources
278- *
279- * <p>Writes log entries to Stackdriver Logging. This API method is the only way to send log
280- * entries to Stackdriver Logging. This method is used, directly or indirectly, by the Stackdriver
281- * Logging agent (fluentd) and all logging libraries configured to use Stackdriver Logging.
277+ * Writes log entries to Stackdriver Logging. This API method is the only way to send log entries
278+ * to Stackdriver Logging. This method is used, directly or indirectly, by the Stackdriver Logging
279+ * agent (fluentd) and all logging libraries configured to use Stackdriver Logging. A single
280+ * request may contain log entries for a maximum of 1000 different resources (projects,
281+ * organizations, billing accounts or folders)
282282 *
283283 * <p>Sample code:
284284 *
@@ -319,8 +319,9 @@ public final UnaryCallable<DeleteLogRequest, Empty> deleteLogCallable() {
319319 * earlier in the list will sort before the entries later in the list. See the `entries.list`
320320 * method.
321321 * <p>Log entries with timestamps that are more than the [logs retention
322- * period](/logging/quota-policy) in the past or more than 24 hours in the future might be
323- * discarded. Discarding does not return an error.
322+ * period](/logging/quota-policy) in the past or more than 24 hours in the future will not be
323+ * available when calling `entries.list`. However, those log entries can still be exported
324+ * with [LogSinks](/logging/docs/api/tasks/exporting-logs).
324325 * <p>To improve throughput and to avoid exceeding the [quota limit](/logging/quota-policy)
325326 * for calls to `entries.write`, you should try to include several log entries in this list,
326327 * rather than calling this method for each individual log entry.
@@ -344,11 +345,11 @@ public final WriteLogEntriesResponse writeLogEntries(
344345
345346 // AUTO-GENERATED DOCUMENTATION AND METHOD
346347 /**
347- * ## Log entry resources
348- *
349- * <p>Writes log entries to Stackdriver Logging. This API method is the only way to send log
350- * entries to Stackdriver Logging. This method is used, directly or indirectly, by the Stackdriver
351- * Logging agent (fluentd) and all logging libraries configured to use Stackdriver Logging.
348+ * Writes log entries to Stackdriver Logging. This API method is the only way to send log entries
349+ * to Stackdriver Logging. This method is used, directly or indirectly, by the Stackdriver Logging
350+ * agent (fluentd) and all logging libraries configured to use Stackdriver Logging. A single
351+ * request may contain log entries for a maximum of 1000 different resources (projects,
352+ * organizations, billing accounts or folders)
352353 *
353354 * <p>Sample code:
354355 *
@@ -389,8 +390,9 @@ public final WriteLogEntriesResponse writeLogEntries(
389390 * earlier in the list will sort before the entries later in the list. See the `entries.list`
390391 * method.
391392 * <p>Log entries with timestamps that are more than the [logs retention
392- * period](/logging/quota-policy) in the past or more than 24 hours in the future might be
393- * discarded. Discarding does not return an error.
393+ * period](/logging/quota-policy) in the past or more than 24 hours in the future will not be
394+ * available when calling `entries.list`. However, those log entries can still be exported
395+ * with [LogSinks](/logging/docs/api/tasks/exporting-logs).
394396 * <p>To improve throughput and to avoid exceeding the [quota limit](/logging/quota-policy)
395397 * for calls to `entries.write`, you should try to include several log entries in this list,
396398 * rather than calling this method for each individual log entry.
@@ -414,11 +416,11 @@ public final WriteLogEntriesResponse writeLogEntries(
414416
415417 // AUTO-GENERATED DOCUMENTATION AND METHOD
416418 /**
417- * ## Log entry resources
418- *
419- * <p>Writes log entries to Stackdriver Logging. This API method is the only way to send log
420- * entries to Stackdriver Logging. This method is used, directly or indirectly, by the Stackdriver
421- * Logging agent (fluentd) and all logging libraries configured to use Stackdriver Logging.
419+ * Writes log entries to Stackdriver Logging. This API method is the only way to send log entries
420+ * to Stackdriver Logging. This method is used, directly or indirectly, by the Stackdriver Logging
421+ * agent (fluentd) and all logging libraries configured to use Stackdriver Logging. A single
422+ * request may contain log entries for a maximum of 1000 different resources (projects,
423+ * organizations, billing accounts or folders)
422424 *
423425 * <p>Sample code:
424426 *
@@ -441,11 +443,11 @@ public final WriteLogEntriesResponse writeLogEntries(WriteLogEntriesRequest requ
441443
442444 // AUTO-GENERATED DOCUMENTATION AND METHOD
443445 /**
444- * ## Log entry resources
445- *
446- * <p>Writes log entries to Stackdriver Logging. This API method is the only way to send log
447- * entries to Stackdriver Logging. This method is used, directly or indirectly, by the Stackdriver
448- * Logging agent (fluentd) and all logging libraries configured to use Stackdriver Logging.
446+ * Writes log entries to Stackdriver Logging. This API method is the only way to send log entries
447+ * to Stackdriver Logging. This method is used, directly or indirectly, by the Stackdriver Logging
448+ * agent (fluentd) and all logging libraries configured to use Stackdriver Logging. A single
449+ * request may contain log entries for a maximum of 1000 different resources (projects,
450+ * organizations, billing accounts or folders)
449451 *
450452 * <p>Sample code:
451453 *
@@ -475,10 +477,10 @@ public final WriteLogEntriesResponse writeLogEntries(WriteLogEntriesRequest requ
475477 *
476478 * <pre><code>
477479 * try (LoggingClient loggingClient = LoggingClient.create()) {
478- * List<String> resourceNames = new ArrayList<>();
480+ * List<String> formattedResourceNames = new ArrayList<>();
479481 * String filter = "";
480482 * String orderBy = "";
481- * for (LogEntry element : loggingClient.listLogEntries(resourceNames , filter, orderBy).iterateAll()) {
483+ * for (LogEntry element : loggingClient.listLogEntries(formattedResourceNames , filter, orderBy).iterateAll()) {
482484 * // doThingsWith(element);
483485 * }
484486 * }
@@ -522,9 +524,9 @@ public final ListLogEntriesPagedResponse listLogEntries(
522524 *
523525 * <pre><code>
524526 * try (LoggingClient loggingClient = LoggingClient.create()) {
525- * List<String > resourceNames = new ArrayList<>();
527+ * List<ParentName > resourceNames = new ArrayList<>();
526528 * ListLogEntriesRequest request = ListLogEntriesRequest.newBuilder()
527- * .addAllResourceNames(resourceNames)
529+ * .addAllResourceNames(ParentName.toStringList( resourceNames) )
528530 * .build();
529531 * for (LogEntry element : loggingClient.listLogEntries(request).iterateAll()) {
530532 * // doThingsWith(element);
@@ -548,9 +550,9 @@ public final ListLogEntriesPagedResponse listLogEntries(ListLogEntriesRequest re
548550 *
549551 * <pre><code>
550552 * try (LoggingClient loggingClient = LoggingClient.create()) {
551- * List<String > resourceNames = new ArrayList<>();
553+ * List<ParentName > resourceNames = new ArrayList<>();
552554 * ListLogEntriesRequest request = ListLogEntriesRequest.newBuilder()
553- * .addAllResourceNames(resourceNames)
555+ * .addAllResourceNames(ParentName.toStringList( resourceNames) )
554556 * .build();
555557 * ApiFuture<ListLogEntriesPagedResponse> future = loggingClient.listLogEntriesPagedCallable().futureCall(request);
556558 * // Do something
@@ -574,9 +576,9 @@ public final ListLogEntriesPagedResponse listLogEntries(ListLogEntriesRequest re
574576 *
575577 * <pre><code>
576578 * try (LoggingClient loggingClient = LoggingClient.create()) {
577- * List<String > resourceNames = new ArrayList<>();
579+ * List<ParentName > resourceNames = new ArrayList<>();
578580 * ListLogEntriesRequest request = ListLogEntriesRequest.newBuilder()
579- * .addAllResourceNames(resourceNames)
581+ * .addAllResourceNames(ParentName.toStringList( resourceNames) )
580582 * .build();
581583 * while (true) {
582584 * ListLogEntriesResponse response = loggingClient.listLogEntriesCallable().call(request);
0 commit comments