Skip to content

Commit 699b26b

Browse files
dpebotchingor13
authored andcommitted
Re-generate library using google-cloud-clients/google-cloud-logging/synth.py (#3789)
1 parent 2fce55b commit 699b26b

23 files changed

Lines changed: 503 additions & 364 deletions

google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@
5353

5454
// AUTO-GENERATED DOCUMENTATION AND SERVICE
5555
/**
56-
* Service Description: Service for configuring sinks used to export log entries outside of
57-
* Stackdriver Logging.
56+
* Service Description: Service for configuring sinks used to export log entries out of Logging.
5857
*
5958
* <p>This class provides the ability to make remote calls to the backing service through method
6059
* calls that map to API methods. Sample code to get started:
@@ -558,7 +557,7 @@ public final UnaryCallable<CreateSinkRequest, LogSink> createSinkCallable() {
558557
* compatibility purposes: destination,filter,includeChildren At some point in the future,
559558
* behavior will be removed and specifying an empty updateMask will be an error.
560559
* <p>For a detailed `FieldMask` definition, see
561-
* https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
560+
* https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
562561
* <p>Example: `updateMask=filter`.
563562
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
564563
*/
@@ -606,7 +605,7 @@ public final LogSink updateSink(SinkName sinkName, LogSink sink, FieldMask updat
606605
* compatibility purposes: destination,filter,includeChildren At some point in the future,
607606
* behavior will be removed and specifying an empty updateMask will be an error.
608607
* <p>For a detailed `FieldMask` definition, see
609-
* https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
608+
* https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
610609
* <p>Example: `updateMask=filter`.
611610
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
612611
*/

google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java

Lines changed: 51 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -274,11 +274,10 @@ public final UnaryCallable<DeleteLogRequest, Empty> deleteLogCallable() {
274274

275275
// AUTO-GENERATED DOCUMENTATION AND METHOD
276276
/**
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)
277+
* Writes log entries to Logging. This API method is the only way to send log entries to Logging.
278+
* This method is used, directly or indirectly, by the Logging agent (fluentd) and all logging
279+
* libraries configured to use Logging. A single request may contain log entries for a maximum of
280+
* 1000 different resources (projects, organizations, billing accounts or folders)
282281
*
283282
* <p>Sample code:
284283
*
@@ -296,9 +295,13 @@ public final UnaryCallable<DeleteLogRequest, Empty> deleteLogCallable() {
296295
* `entries` that do not specify a value for `log_name`:
297296
* <p>"projects/[PROJECT_ID]/logs/[LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
298297
* "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" "folders/[FOLDER_ID]/logs/[LOG_ID]"
299-
* <p>`[LOG_ID]` must be URL-encoded. For example, `"projects/my-project-id/logs/syslog"` or
300-
* `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`. For more
301-
* information about log names, see [LogEntry][google.logging.v2.LogEntry].
298+
* <p>`[LOG_ID]` must be URL-encoded. For example:
299+
* <p>"projects/my-project-id/logs/syslog"
300+
* "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"
301+
* <p>The permission &lt;code&gt;logging.logEntries.create&lt;/code&gt; is needed on each
302+
* project, organization, billing account, or folder that is receiving new log entries,
303+
* whether the resource is specified in &lt;code&gt;logName&lt;/code&gt; or in an individual
304+
* log entry.
302305
* @param resource Optional. A default monitored resource object that is assigned to all log
303306
* entries in `entries` that do not specify a value for `resource`. Example:
304307
* <p>{ "type": "gce_instance", "labels": { "zone": "us-central1-a", "instance_id":
@@ -308,11 +311,11 @@ public final UnaryCallable<DeleteLogRequest, Empty> deleteLogCallable() {
308311
* in `entries`. If a log entry already has a label with the same key as a label in this
309312
* parameter, then the log entry's label is not changed. See
310313
* [LogEntry][google.logging.v2.LogEntry].
311-
* @param entries Required. The log entries to send to Stackdriver Logging. The order of log
312-
* entries in this list does not matter. Values supplied in this method's `log_name`,
313-
* `resource`, and `labels` fields are copied into those log entries in this list that do not
314-
* include values for their corresponding fields. For more information, see the
315-
* [LogEntry][google.logging.v2.LogEntry] type.
314+
* @param entries Required. The log entries to send to Logging. The order of log entries in this
315+
* list does not matter. Values supplied in this method's `log_name`, `resource`, and `labels`
316+
* fields are copied into those log entries in this list that do not include values for their
317+
* corresponding fields. For more information, see the [LogEntry][google.logging.v2.LogEntry]
318+
* type.
316319
* <p>If the `timestamp` or `insert_id` fields are missing in log entries, then this method
317320
* supplies the current time or a unique identifier, respectively. The supplied values are
318321
* chosen so that, among the log entries that did not supply their own values, the entries
@@ -345,11 +348,10 @@ public final WriteLogEntriesResponse writeLogEntries(
345348

346349
// AUTO-GENERATED DOCUMENTATION AND METHOD
347350
/**
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)
351+
* Writes log entries to Logging. This API method is the only way to send log entries to Logging.
352+
* This method is used, directly or indirectly, by the Logging agent (fluentd) and all logging
353+
* libraries configured to use Logging. A single request may contain log entries for a maximum of
354+
* 1000 different resources (projects, organizations, billing accounts or folders)
353355
*
354356
* <p>Sample code:
355357
*
@@ -367,9 +369,13 @@ public final WriteLogEntriesResponse writeLogEntries(
367369
* `entries` that do not specify a value for `log_name`:
368370
* <p>"projects/[PROJECT_ID]/logs/[LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
369371
* "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" "folders/[FOLDER_ID]/logs/[LOG_ID]"
370-
* <p>`[LOG_ID]` must be URL-encoded. For example, `"projects/my-project-id/logs/syslog"` or
371-
* `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`. For more
372-
* information about log names, see [LogEntry][google.logging.v2.LogEntry].
372+
* <p>`[LOG_ID]` must be URL-encoded. For example:
373+
* <p>"projects/my-project-id/logs/syslog"
374+
* "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"
375+
* <p>The permission &lt;code&gt;logging.logEntries.create&lt;/code&gt; is needed on each
376+
* project, organization, billing account, or folder that is receiving new log entries,
377+
* whether the resource is specified in &lt;code&gt;logName&lt;/code&gt; or in an individual
378+
* log entry.
373379
* @param resource Optional. A default monitored resource object that is assigned to all log
374380
* entries in `entries` that do not specify a value for `resource`. Example:
375381
* <p>{ "type": "gce_instance", "labels": { "zone": "us-central1-a", "instance_id":
@@ -379,11 +385,11 @@ public final WriteLogEntriesResponse writeLogEntries(
379385
* in `entries`. If a log entry already has a label with the same key as a label in this
380386
* parameter, then the log entry's label is not changed. See
381387
* [LogEntry][google.logging.v2.LogEntry].
382-
* @param entries Required. The log entries to send to Stackdriver Logging. The order of log
383-
* entries in this list does not matter. Values supplied in this method's `log_name`,
384-
* `resource`, and `labels` fields are copied into those log entries in this list that do not
385-
* include values for their corresponding fields. For more information, see the
386-
* [LogEntry][google.logging.v2.LogEntry] type.
388+
* @param entries Required. The log entries to send to Logging. The order of log entries in this
389+
* list does not matter. Values supplied in this method's `log_name`, `resource`, and `labels`
390+
* fields are copied into those log entries in this list that do not include values for their
391+
* corresponding fields. For more information, see the [LogEntry][google.logging.v2.LogEntry]
392+
* type.
387393
* <p>If the `timestamp` or `insert_id` fields are missing in log entries, then this method
388394
* supplies the current time or a unique identifier, respectively. The supplied values are
389395
* chosen so that, among the log entries that did not supply their own values, the entries
@@ -416,11 +422,10 @@ public final WriteLogEntriesResponse writeLogEntries(
416422

417423
// AUTO-GENERATED DOCUMENTATION AND METHOD
418424
/**
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)
425+
* Writes log entries to Logging. This API method is the only way to send log entries to Logging.
426+
* This method is used, directly or indirectly, by the Logging agent (fluentd) and all logging
427+
* libraries configured to use Logging. A single request may contain log entries for a maximum of
428+
* 1000 different resources (projects, organizations, billing accounts or folders)
424429
*
425430
* <p>Sample code:
426431
*
@@ -443,11 +448,10 @@ public final WriteLogEntriesResponse writeLogEntries(WriteLogEntriesRequest requ
443448

444449
// AUTO-GENERATED DOCUMENTATION AND METHOD
445450
/**
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)
451+
* Writes log entries to Logging. This API method is the only way to send log entries to Logging.
452+
* This method is used, directly or indirectly, by the Logging agent (fluentd) and all logging
453+
* libraries configured to use Logging. A single request may contain log entries for a maximum of
454+
* 1000 different resources (projects, organizations, billing accounts or folders)
451455
*
452456
* <p>Sample code:
453457
*
@@ -470,8 +474,8 @@ public final WriteLogEntriesResponse writeLogEntries(WriteLogEntriesRequest requ
470474

471475
// AUTO-GENERATED DOCUMENTATION AND METHOD
472476
/**
473-
* Lists log entries. Use this method to retrieve log entries from Stackdriver Logging. For ways
474-
* to export log entries, see [Exporting Logs](/logging/docs/export).
477+
* Lists log entries. Use this method to retrieve log entries from Logging. For ways to export log
478+
* entries, see [Exporting Logs](/logging/docs/export).
475479
*
476480
* <p>Sample code:
477481
*
@@ -517,8 +521,8 @@ public final ListLogEntriesPagedResponse listLogEntries(
517521

518522
// AUTO-GENERATED DOCUMENTATION AND METHOD
519523
/**
520-
* Lists log entries. Use this method to retrieve log entries from Stackdriver Logging. For ways
521-
* to export log entries, see [Exporting Logs](/logging/docs/export).
524+
* Lists log entries. Use this method to retrieve log entries from Logging. For ways to export log
525+
* entries, see [Exporting Logs](/logging/docs/export).
522526
*
523527
* <p>Sample code:
524528
*
@@ -543,8 +547,8 @@ public final ListLogEntriesPagedResponse listLogEntries(ListLogEntriesRequest re
543547

544548
// AUTO-GENERATED DOCUMENTATION AND METHOD
545549
/**
546-
* Lists log entries. Use this method to retrieve log entries from Stackdriver Logging. For ways
547-
* to export log entries, see [Exporting Logs](/logging/docs/export).
550+
* Lists log entries. Use this method to retrieve log entries from Logging. For ways to export log
551+
* entries, see [Exporting Logs](/logging/docs/export).
548552
*
549553
* <p>Sample code:
550554
*
@@ -569,8 +573,8 @@ public final ListLogEntriesPagedResponse listLogEntries(ListLogEntriesRequest re
569573

570574
// AUTO-GENERATED DOCUMENTATION AND METHOD
571575
/**
572-
* Lists log entries. Use this method to retrieve log entries from Stackdriver Logging. For ways
573-
* to export log entries, see [Exporting Logs](/logging/docs/export).
576+
* Lists log entries. Use this method to retrieve log entries from Logging. For ways to export log
577+
* entries, see [Exporting Logs](/logging/docs/export).
574578
*
575579
* <p>Sample code:
576580
*
@@ -602,7 +606,7 @@ public final ListLogEntriesPagedResponse listLogEntries(ListLogEntriesRequest re
602606

603607
// AUTO-GENERATED DOCUMENTATION AND METHOD
604608
/**
605-
* Lists the descriptors for monitored resource types used by Stackdriver Logging.
609+
* Lists the descriptors for monitored resource types used by Logging.
606610
*
607611
* <p>Sample code:
608612
*
@@ -625,7 +629,7 @@ public final ListMonitoredResourceDescriptorsPagedResponse listMonitoredResource
625629

626630
// AUTO-GENERATED DOCUMENTATION AND METHOD
627631
/**
628-
* Lists the descriptors for monitored resource types used by Stackdriver Logging.
632+
* Lists the descriptors for monitored resource types used by Logging.
629633
*
630634
* <p>Sample code:
631635
*
@@ -648,7 +652,7 @@ public final ListMonitoredResourceDescriptorsPagedResponse listMonitoredResource
648652

649653
// AUTO-GENERATED DOCUMENTATION AND METHOD
650654
/**
651-
* Lists the descriptors for monitored resource types used by Stackdriver Logging.
655+
* Lists the descriptors for monitored resource types used by Logging.
652656
*
653657
* <p>Sample code:
654658
*

google-cloud-logging/src/main/java/com/google/cloud/logging/v2/package-info.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@
3636
*
3737
* ============ ConfigClient ============
3838
*
39-
* <p>Service Description: Service for configuring sinks used to export log entries outside of
40-
* Stackdriver Logging.
39+
* <p>Service Description: Service for configuring sinks used to export log entries out of Logging.
4140
*
4241
* <p>Sample for ConfigClient:
4342
*

grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ConfigServiceV2Grpc.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
/**
1919
* <pre>
20-
* Service for configuring sinks used to export log entries outside of
21-
* Stackdriver Logging.
20+
* Service for configuring sinks used to export log entries out of
21+
* Logging.
2222
* </pre>
2323
*/
2424
@javax.annotation.Generated(
@@ -427,8 +427,8 @@ public static ConfigServiceV2FutureStub newFutureStub(
427427

428428
/**
429429
* <pre>
430-
* Service for configuring sinks used to export log entries outside of
431-
* Stackdriver Logging.
430+
* Service for configuring sinks used to export log entries out of
431+
* Logging.
432432
* </pre>
433433
*/
434434
public static abstract class ConfigServiceV2ImplBase implements io.grpc.BindableService {
@@ -620,8 +620,8 @@ public void deleteExclusion(com.google.logging.v2.DeleteExclusionRequest request
620620

621621
/**
622622
* <pre>
623-
* Service for configuring sinks used to export log entries outside of
624-
* Stackdriver Logging.
623+
* Service for configuring sinks used to export log entries out of
624+
* Logging.
625625
* </pre>
626626
*/
627627
public static final class ConfigServiceV2Stub extends io.grpc.stub.AbstractStub<ConfigServiceV2Stub> {
@@ -762,8 +762,8 @@ public void deleteExclusion(com.google.logging.v2.DeleteExclusionRequest request
762762

763763
/**
764764
* <pre>
765-
* Service for configuring sinks used to export log entries outside of
766-
* Stackdriver Logging.
765+
* Service for configuring sinks used to export log entries out of
766+
* Logging.
767767
* </pre>
768768
*/
769769
public static final class ConfigServiceV2BlockingStub extends io.grpc.stub.AbstractStub<ConfigServiceV2BlockingStub> {
@@ -894,8 +894,8 @@ public com.google.protobuf.Empty deleteExclusion(com.google.logging.v2.DeleteExc
894894

895895
/**
896896
* <pre>
897-
* Service for configuring sinks used to export log entries outside of
898-
* Stackdriver Logging.
897+
* Service for configuring sinks used to export log entries out of
898+
* Logging.
899899
* </pre>
900900
*/
901901
public static final class ConfigServiceV2FutureStub extends io.grpc.stub.AbstractStub<ConfigServiceV2FutureStub> {

0 commit comments

Comments
 (0)