diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/package-info.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/package-info.java index 15ab78c84..8d7892d4c 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/package-info.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/package-info.java @@ -15,7 +15,7 @@ */ /** - * A client to Stackdriver Logging API. + * A client to Cloud Logging API. * *

The interfaces provided are listed below, along with usage samples. * diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java index 146eb3f37..bcdcd6935 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java @@ -49,7 +49,7 @@ // AUTO-GENERATED DOCUMENTATION AND CLASS /** - * Base stub class for Stackdriver Logging API. + * Base stub class for Cloud Logging API. * *

This class is for advanced usage and reflects the underlying API directly. */ diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java index 8f752d1c9..21b3c6c23 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java @@ -501,18 +501,15 @@ public static class Builder extends StubSettings.Builder> definitions = ImmutableMap.builder(); definitions.put( - "idempotent", + "no_retry_2_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "retry_policy_3_codes", ImmutableSet.copyOf( Lists.newArrayList( StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.INTERNAL, StatusCode.Code.UNAVAILABLE))); - definitions.put("non_idempotent", ImmutableSet.copyOf(Lists.newArrayList())); - definitions.put( - "idempotent2", - ImmutableSet.copyOf( - Lists.newArrayList( - StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE))); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -526,12 +523,22 @@ public static class Builder extends StubSettings.BuilderThis class is for advanced usage. */ diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java index bce5de2a9..76349234f 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java @@ -60,7 +60,7 @@ // AUTO-GENERATED DOCUMENTATION AND CLASS /** - * gRPC stub implementation for Stackdriver Logging API. + * gRPC stub implementation for Cloud Logging API. * *

This class is for advanced usage and reflects the underlying API directly. */ diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java index 208a7ca0b..16fdbc14c 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java @@ -36,7 +36,7 @@ // AUTO-GENERATED DOCUMENTATION AND CLASS /** - * gRPC callable factory implementation for Stackdriver Logging API. + * gRPC callable factory implementation for Cloud Logging API. * *

This class is for advanced usage. */ diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java index 05c3a310e..6f3f40a2a 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java @@ -47,7 +47,7 @@ // AUTO-GENERATED DOCUMENTATION AND CLASS /** - * gRPC stub implementation for Stackdriver Logging API. + * gRPC stub implementation for Cloud Logging API. * *

This class is for advanced usage and reflects the underlying API directly. */ diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java index b09dc7eec..a8d279fce 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java @@ -36,7 +36,7 @@ // AUTO-GENERATED DOCUMENTATION AND CLASS /** - * gRPC callable factory implementation for Stackdriver Logging API. + * gRPC callable factory implementation for Cloud Logging API. * *

This class is for advanced usage. */ diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java index 5773dc95c..96c7ca7ae 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java @@ -43,7 +43,7 @@ // AUTO-GENERATED DOCUMENTATION AND CLASS /** - * gRPC stub implementation for Stackdriver Logging API. + * gRPC stub implementation for Cloud Logging API. * *

This class is for advanced usage and reflects the underlying API directly. */ diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2Stub.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2Stub.java index e7506a604..9fcaaf501 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2Stub.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2Stub.java @@ -36,7 +36,7 @@ // AUTO-GENERATED DOCUMENTATION AND CLASS /** - * Base stub class for Stackdriver Logging API. + * Base stub class for Cloud Logging API. * *

This class is for advanced usage and reflects the underlying API directly. */ diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2StubSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2StubSettings.java index 6da527cd3..95d693a09 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2StubSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2StubSettings.java @@ -514,18 +514,20 @@ public static class Builder extends StubSettings.Builder> definitions = ImmutableMap.builder(); definitions.put( - "idempotent", + "retry_policy_1_codes", ImmutableSet.copyOf( Lists.newArrayList( StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.INTERNAL, StatusCode.Code.UNAVAILABLE))); - definitions.put("non_idempotent", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); definitions.put( - "idempotent2", + "retry_policy_2_codes", ImmutableSet.copyOf( Lists.newArrayList( - StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE))); + StatusCode.Code.DEADLINE_EXCEEDED, + StatusCode.Code.INTERNAL, + StatusCode.Code.UNAVAILABLE))); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -539,12 +541,25 @@ public static class Builder extends StubSettings.BuilderThis class is for advanced usage and reflects the underlying API directly. */ diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2StubSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2StubSettings.java index fc47b5d29..86efbcb18 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2StubSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2StubSettings.java @@ -286,18 +286,15 @@ public static class Builder extends StubSettings.Builder> definitions = ImmutableMap.builder(); definitions.put( - "idempotent", + "retry_policy_4_codes", ImmutableSet.copyOf( Lists.newArrayList( StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.INTERNAL, StatusCode.Code.UNAVAILABLE))); - definitions.put("non_idempotent", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); definitions.put( - "idempotent2", - ImmutableSet.copyOf( - Lists.newArrayList( - StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE))); + "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList())); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -311,12 +308,22 @@ public static class Builder extends StubSettings.Builder */ public void getCmekSettings( @@ -925,7 +926,8 @@ public void getCmekSettings( * `roles/cloudkms.cryptoKeyEncrypterDecrypter` role assigned for the key, or * 3) access to the key is disabled. * See [Enabling CMEK for Logs - * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + * for more information. * */ public void updateCmekSettings( @@ -1272,7 +1274,8 @@ public void deleteExclusion( * organizations. Once configured, it applies to all projects and folders in * the GCP organization. * See [Enabling CMEK for Logs - * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + * for more information. * */ public void getCmekSettings( @@ -1298,7 +1301,8 @@ public void getCmekSettings( * `roles/cloudkms.cryptoKeyEncrypterDecrypter` role assigned for the key, or * 3) access to the key is disabled. * See [Enabling CMEK for Logs - * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + * for more information. * */ public void updateCmekSettings( @@ -1509,7 +1513,8 @@ public com.google.protobuf.Empty deleteExclusion( * organizations. Once configured, it applies to all projects and folders in * the GCP organization. * See [Enabling CMEK for Logs - * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + * for more information. * */ public com.google.logging.v2.CmekSettings getCmekSettings( @@ -1531,7 +1536,8 @@ public com.google.logging.v2.CmekSettings getCmekSettings( * `roles/cloudkms.cryptoKeyEncrypterDecrypter` role assigned for the key, or * 3) access to the key is disabled. * See [Enabling CMEK for Logs - * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + * for more information. * */ public com.google.logging.v2.CmekSettings updateCmekSettings( @@ -1754,7 +1760,8 @@ public com.google.common.util.concurrent.ListenableFuture */ public com.google.common.util.concurrent.ListenableFuture @@ -1777,7 +1784,8 @@ public com.google.common.util.concurrent.ListenableFuture */ public com.google.common.util.concurrent.ListenableFuture diff --git a/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingServiceV2Grpc.java b/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingServiceV2Grpc.java index 2874a3885..9a9fa24c1 100644 --- a/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingServiceV2Grpc.java +++ b/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingServiceV2Grpc.java @@ -353,7 +353,8 @@ public void writeLogEntries( *

      * Lists log entries.  Use this method to retrieve log entries that originated
      * from a project/folder/organization/billing account.  For ways to export log
-     * entries, see [Exporting Logs](https://cloud.google.com/logging/docs/export).
+     * entries, see [Exporting
+     * Logs](https://cloud.google.com/logging/docs/export).
      * 
*/ public void listLogEntries( @@ -495,7 +496,8 @@ public void writeLogEntries( *
      * Lists log entries.  Use this method to retrieve log entries that originated
      * from a project/folder/organization/billing account.  For ways to export log
-     * entries, see [Exporting Logs](https://cloud.google.com/logging/docs/export).
+     * entries, see [Exporting
+     * Logs](https://cloud.google.com/logging/docs/export).
      * 
*/ public void listLogEntries( @@ -598,7 +600,8 @@ public com.google.logging.v2.WriteLogEntriesResponse writeLogEntries( *
      * Lists log entries.  Use this method to retrieve log entries that originated
      * from a project/folder/organization/billing account.  For ways to export log
-     * entries, see [Exporting Logs](https://cloud.google.com/logging/docs/export).
+     * entries, see [Exporting
+     * Logs](https://cloud.google.com/logging/docs/export).
      * 
*/ public com.google.logging.v2.ListLogEntriesResponse listLogEntries( @@ -694,7 +697,8 @@ public com.google.common.util.concurrent.ListenableFuture * Lists log entries. Use this method to retrieve log entries that originated * from a project/folder/organization/billing account. For ways to export log - * entries, see [Exporting Logs](https://cloud.google.com/logging/docs/export). + * entries, see [Exporting + * Logs](https://cloud.google.com/logging/docs/export). * */ public com.google.common.util.concurrent.ListenableFuture< diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptions.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptions.java index 03876200c..458e38b09 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptions.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptions.java @@ -119,12 +119,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Optional. Whether to use [BigQuery's partition
-   * tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Logging
-   * creates dated tables based on the log entries' timestamps, e.g.
-   * syslog_20170523. With partitioned tables the date suffix is no longer
+   * tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By
+   * default, Logging creates dated tables based on the log entries' timestamps,
+   * e.g. syslog_20170523. With partitioned tables the date suffix is no longer
    * present and [special query
-   * syntax](https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead.
-   * In both cases, tables are sharded based on UTC timezone.
+   * syntax](https://cloud.google.com/bigquery/docs/querying-partitioned-tables)
+   * has to be used instead. In both cases, tables are sharded based on UTC
+   * timezone.
    * 
* * bool use_partitioned_tables = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -499,12 +500,13 @@ public Builder mergeFrom( * *
      * Optional. Whether to use [BigQuery's partition
-     * tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Logging
-     * creates dated tables based on the log entries' timestamps, e.g.
-     * syslog_20170523. With partitioned tables the date suffix is no longer
+     * tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By
+     * default, Logging creates dated tables based on the log entries' timestamps,
+     * e.g. syslog_20170523. With partitioned tables the date suffix is no longer
      * present and [special query
-     * syntax](https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead.
-     * In both cases, tables are sharded based on UTC timezone.
+     * syntax](https://cloud.google.com/bigquery/docs/querying-partitioned-tables)
+     * has to be used instead. In both cases, tables are sharded based on UTC
+     * timezone.
      * 
* * bool use_partitioned_tables = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -520,12 +522,13 @@ public boolean getUsePartitionedTables() { * *
      * Optional. Whether to use [BigQuery's partition
-     * tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Logging
-     * creates dated tables based on the log entries' timestamps, e.g.
-     * syslog_20170523. With partitioned tables the date suffix is no longer
+     * tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By
+     * default, Logging creates dated tables based on the log entries' timestamps,
+     * e.g. syslog_20170523. With partitioned tables the date suffix is no longer
      * present and [special query
-     * syntax](https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead.
-     * In both cases, tables are sharded based on UTC timezone.
+     * syntax](https://cloud.google.com/bigquery/docs/querying-partitioned-tables)
+     * has to be used instead. In both cases, tables are sharded based on UTC
+     * timezone.
      * 
* * bool use_partitioned_tables = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -544,12 +547,13 @@ public Builder setUsePartitionedTables(boolean value) { * *
      * Optional. Whether to use [BigQuery's partition
-     * tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Logging
-     * creates dated tables based on the log entries' timestamps, e.g.
-     * syslog_20170523. With partitioned tables the date suffix is no longer
+     * tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By
+     * default, Logging creates dated tables based on the log entries' timestamps,
+     * e.g. syslog_20170523. With partitioned tables the date suffix is no longer
      * present and [special query
-     * syntax](https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead.
-     * In both cases, tables are sharded based on UTC timezone.
+     * syntax](https://cloud.google.com/bigquery/docs/querying-partitioned-tables)
+     * has to be used instead. In both cases, tables are sharded based on UTC
+     * timezone.
      * 
* * bool use_partitioned_tables = 1 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptionsOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptionsOrBuilder.java index c0dd4e936..87143a591 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptionsOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptionsOrBuilder.java @@ -28,12 +28,13 @@ public interface BigQueryOptionsOrBuilder * *
    * Optional. Whether to use [BigQuery's partition
-   * tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Logging
-   * creates dated tables based on the log entries' timestamps, e.g.
-   * syslog_20170523. With partitioned tables the date suffix is no longer
+   * tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By
+   * default, Logging creates dated tables based on the log entries' timestamps,
+   * e.g. syslog_20170523. With partitioned tables the date suffix is no longer
    * present and [special query
-   * syntax](https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead.
-   * In both cases, tables are sharded based on UTC timezone.
+   * syntax](https://cloud.google.com/bigquery/docs/querying-partitioned-tables)
+   * has to be used instead. In both cases, tables are sharded based on UTC
+   * timezone.
    * 
* * bool use_partitioned_tables = 1 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettings.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettings.java index 0de1cc363..a4991d31f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettings.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettings.java @@ -27,8 +27,9 @@ * Note: CMEK for the Logs Router can currently only be configured for GCP * organizations. Once configured, it applies to all projects and folders in the * GCP organization. - * See [Enabling CMEK for Logs Router](https://cloud.google.com/logging/docs/routing/managed-encryption) - * for more information. + * See [Enabling CMEK for Logs + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for + * more information. * * * Protobuf type {@code google.logging.v2.CmekSettings} @@ -203,7 +204,8 @@ public com.google.protobuf.ByteString getNameBytes() { * time of encryption unless access to that key has been revoked. * To disable CMEK for the Logs Router, set this field to an empty string. * See [Enabling CMEK for Logs - * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + * for more information. * * * string kms_key_name = 2; @@ -241,7 +243,8 @@ public java.lang.String getKmsKeyName() { * time of encryption unless access to that key has been revoked. * To disable CMEK for the Logs Router, set this field to an empty string. * See [Enabling CMEK for Logs - * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + * for more information. * * * string kms_key_name = 2; @@ -275,7 +278,8 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { * [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to * obtain the service account ID. * See [Enabling CMEK for Logs - * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + * for more information. * * * string service_account_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -306,7 +310,8 @@ public java.lang.String getServiceAccountId() { * [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to * obtain the service account ID. * See [Enabling CMEK for Logs - * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + * for more information. * * * string service_account_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -510,8 +515,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * Note: CMEK for the Logs Router can currently only be configured for GCP * organizations. Once configured, it applies to all projects and folders in the * GCP organization. - * See [Enabling CMEK for Logs Router](https://cloud.google.com/logging/docs/routing/managed-encryption) - * for more information. + * See [Enabling CMEK for Logs + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for + * more information. * * * Protobuf type {@code google.logging.v2.CmekSettings} @@ -803,7 +809,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * time of encryption unless access to that key has been revoked. * To disable CMEK for the Logs Router, set this field to an empty string. * See [Enabling CMEK for Logs - * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + * for more information. * * * string kms_key_name = 2; @@ -840,7 +847,8 @@ public java.lang.String getKmsKeyName() { * time of encryption unless access to that key has been revoked. * To disable CMEK for the Logs Router, set this field to an empty string. * See [Enabling CMEK for Logs - * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + * for more information. * * * string kms_key_name = 2; @@ -877,7 +885,8 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { * time of encryption unless access to that key has been revoked. * To disable CMEK for the Logs Router, set this field to an empty string. * See [Enabling CMEK for Logs - * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + * for more information. * * * string kms_key_name = 2; @@ -913,7 +922,8 @@ public Builder setKmsKeyName(java.lang.String value) { * time of encryption unless access to that key has been revoked. * To disable CMEK for the Logs Router, set this field to an empty string. * See [Enabling CMEK for Logs - * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + * for more information. * * * string kms_key_name = 2; @@ -945,7 +955,8 @@ public Builder clearKmsKeyName() { * time of encryption unless access to that key has been revoked. * To disable CMEK for the Logs Router, set this field to an empty string. * See [Enabling CMEK for Logs - * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + * for more information. * * * string kms_key_name = 2; @@ -977,7 +988,8 @@ public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { * [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to * obtain the service account ID. * See [Enabling CMEK for Logs - * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + * for more information. * * * string service_account_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1007,7 +1019,8 @@ public java.lang.String getServiceAccountId() { * [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to * obtain the service account ID. * See [Enabling CMEK for Logs - * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + * for more information. * * * string service_account_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1037,7 +1050,8 @@ public com.google.protobuf.ByteString getServiceAccountIdBytes() { * [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to * obtain the service account ID. * See [Enabling CMEK for Logs - * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + * for more information. * * * string service_account_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1066,7 +1080,8 @@ public Builder setServiceAccountId(java.lang.String value) { * [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to * obtain the service account ID. * See [Enabling CMEK for Logs - * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + * for more information. * * * string service_account_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1091,7 +1106,8 @@ public Builder clearServiceAccountId() { * [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to * obtain the service account ID. * See [Enabling CMEK for Logs - * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + * for more information. * * * string service_account_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsOrBuilder.java index 201b6a1c0..19d657c53 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsOrBuilder.java @@ -67,7 +67,8 @@ public interface CmekSettingsOrBuilder * time of encryption unless access to that key has been revoked. * To disable CMEK for the Logs Router, set this field to an empty string. * See [Enabling CMEK for Logs - * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + * for more information. * * * string kms_key_name = 2; @@ -94,7 +95,8 @@ public interface CmekSettingsOrBuilder * time of encryption unless access to that key has been revoked. * To disable CMEK for the Logs Router, set this field to an empty string. * See [Enabling CMEK for Logs - * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + * for more information. * * * string kms_key_name = 2; @@ -115,7 +117,8 @@ public interface CmekSettingsOrBuilder * [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to * obtain the service account ID. * See [Enabling CMEK for Logs - * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + * for more information. * * * string service_account_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -135,7 +138,8 @@ public interface CmekSettingsOrBuilder * [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to * obtain the service account ID. * See [Enabling CMEK for Logs - * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + * for more information. * * * string service_account_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequest.java index 554848f2f..94e2c7b08 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequest.java @@ -24,8 +24,9 @@ *
  * The parameters to
  * [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings].
- * See [Enabling CMEK for Logs Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
- * for more information.
+ * See [Enabling CMEK for Logs
+ * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
+ * more information.
  * 
* * Protobuf type {@code google.logging.v2.GetCmekSettingsRequest} @@ -348,8 +349,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build *
    * The parameters to
    * [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings].
-   * See [Enabling CMEK for Logs Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
-   * for more information.
+   * See [Enabling CMEK for Logs
+   * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
+   * more information.
    * 
* * Protobuf type {@code google.logging.v2.GetCmekSettingsRequest} diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java index dfcf2486f..0788ddae1 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java @@ -247,12 +247,12 @@ public com.google.protobuf.ByteString getResourceNamesBytes(int index) { * *
    * Optional. A filter that chooses which log entries to return.  See [Advanced
-   * Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).  Only log entries that
-   * match the filter 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 filter is 20000 characters.
+   * Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).
+   * Only log entries that match the filter 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 filter is
+   * 20000 characters.
    * 
* * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -276,12 +276,12 @@ public java.lang.String getFilter() { * *
    * Optional. A filter that chooses which log entries to return.  See [Advanced
-   * Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).  Only log entries that
-   * match the filter 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 filter is 20000 characters.
+   * Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).
+   * Only log entries that match the filter 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 filter is
+   * 20000 characters.
    * 
* * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -367,7 +367,8 @@ public com.google.protobuf.ByteString getOrderByBytes() { * *
    * Optional. The maximum number of results to return from this request.
-   * Non-positive values are ignored.  The presence of `next_page_token` in the
+   * Default is 50. If the value is negative or exceeds 1000,
+   * the request is rejected. The presence of `next_page_token` in the
    * response indicates that more results might be available.
    * 
* @@ -1080,12 +1081,12 @@ public Builder addResourceNamesBytes(com.google.protobuf.ByteString value) { * *
      * Optional. A filter that chooses which log entries to return.  See [Advanced
-     * Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).  Only log entries that
-     * match the filter 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 filter is 20000 characters.
+     * Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).
+     * Only log entries that match the filter 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 filter is
+     * 20000 characters.
      * 
* * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -1108,12 +1109,12 @@ public java.lang.String getFilter() { * *
      * Optional. A filter that chooses which log entries to return.  See [Advanced
-     * Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).  Only log entries that
-     * match the filter 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 filter is 20000 characters.
+     * Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).
+     * Only log entries that match the filter 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 filter is
+     * 20000 characters.
      * 
* * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -1136,12 +1137,12 @@ public com.google.protobuf.ByteString getFilterBytes() { * *
      * Optional. A filter that chooses which log entries to return.  See [Advanced
-     * Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).  Only log entries that
-     * match the filter 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 filter is 20000 characters.
+     * Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).
+     * Only log entries that match the filter 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 filter is
+     * 20000 characters.
      * 
* * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -1163,12 +1164,12 @@ public Builder setFilter(java.lang.String value) { * *
      * Optional. A filter that chooses which log entries to return.  See [Advanced
-     * Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).  Only log entries that
-     * match the filter 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 filter is 20000 characters.
+     * Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).
+     * Only log entries that match the filter 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 filter is
+     * 20000 characters.
      * 
* * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -1186,12 +1187,12 @@ public Builder clearFilter() { * *
      * Optional. A filter that chooses which log entries to return.  See [Advanced
-     * Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).  Only log entries that
-     * match the filter 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 filter is 20000 characters.
+     * Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).
+     * Only log entries that match the filter 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 filter is
+     * 20000 characters.
      * 
* * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -1347,7 +1348,8 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { * *
      * Optional. The maximum number of results to return from this request.
-     * Non-positive values are ignored.  The presence of `next_page_token` in the
+     * Default is 50. If the value is negative or exceeds 1000,
+     * the request is rejected. The presence of `next_page_token` in the
      * response indicates that more results might be available.
      * 
* @@ -1364,7 +1366,8 @@ public int getPageSize() { * *
      * Optional. The maximum number of results to return from this request.
-     * Non-positive values are ignored.  The presence of `next_page_token` in the
+     * Default is 50. If the value is negative or exceeds 1000,
+     * the request is rejected. The presence of `next_page_token` in the
      * response indicates that more results might be available.
      * 
* @@ -1384,7 +1387,8 @@ public Builder setPageSize(int value) { * *
      * Optional. The maximum number of results to return from this request.
-     * Non-positive values are ignored.  The presence of `next_page_token` in the
+     * Default is 50. If the value is negative or exceeds 1000,
+     * the request is rejected. The presence of `next_page_token` in the
      * response indicates that more results might be available.
      * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequestOrBuilder.java index 6f23621ec..79ddca6ce 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequestOrBuilder.java @@ -111,12 +111,12 @@ public interface ListLogEntriesRequestOrBuilder * *
    * Optional. A filter that chooses which log entries to return.  See [Advanced
-   * Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).  Only log entries that
-   * match the filter 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 filter is 20000 characters.
+   * Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).
+   * Only log entries that match the filter 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 filter is
+   * 20000 characters.
    * 
* * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -129,12 +129,12 @@ public interface ListLogEntriesRequestOrBuilder * *
    * Optional. A filter that chooses which log entries to return.  See [Advanced
-   * Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).  Only log entries that
-   * match the filter 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 filter is 20000 characters.
+   * Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).
+   * Only log entries that match the filter 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 filter is
+   * 20000 characters.
    * 
* * string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -183,7 +183,8 @@ public interface ListLogEntriesRequestOrBuilder * *
    * Optional. The maximum number of results to return from this request.
-   * Non-positive values are ignored.  The presence of `next_page_token` in the
+   * Default is 50. If the value is negative or exceeds 1000,
+   * the request is rejected. The presence of `next_page_token` in the
    * response indicates that more results might be available.
    * 
* diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java index 9f0739275..4cd7900db 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java @@ -678,11 +678,11 @@ public com.google.protobuf.StructOrBuilder getJsonPayloadOrBuilder() { * If this field is omitted in a new log entry, then Logging assigns it the * current time. Timestamps have nanosecond accuracy, but trailing zeros in * the fractional seconds might be omitted when the timestamp is displayed. - * Incoming log entries should have timestamps that are no more than the [logs - * retention period](https://cloud.google.com/logging/quotas) in the past, and no more than 24 hours - * in the future. Log entries outside those time boundaries will not be - * available when calling `entries.list`, but those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * Incoming log entries must have timestamps that don't exceed the + * [logs retention + * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in + * the past, and that don't exceed 24 hours in the future. Log entries outside + * those time boundaries aren't ingested by Logging. * * * .google.protobuf.Timestamp timestamp = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -703,11 +703,11 @@ public boolean hasTimestamp() { * If this field is omitted in a new log entry, then Logging assigns it the * current time. Timestamps have nanosecond accuracy, but trailing zeros in * the fractional seconds might be omitted when the timestamp is displayed. - * Incoming log entries should have timestamps that are no more than the [logs - * retention period](https://cloud.google.com/logging/quotas) in the past, and no more than 24 hours - * in the future. Log entries outside those time boundaries will not be - * available when calling `entries.list`, but those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * Incoming log entries must have timestamps that don't exceed the + * [logs retention + * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in + * the past, and that don't exceed 24 hours in the future. Log entries outside + * those time boundaries aren't ingested by Logging. * * * .google.protobuf.Timestamp timestamp = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -728,11 +728,11 @@ public com.google.protobuf.Timestamp getTimestamp() { * If this field is omitted in a new log entry, then Logging assigns it the * current time. Timestamps have nanosecond accuracy, but trailing zeros in * the fractional seconds might be omitted when the timestamp is displayed. - * Incoming log entries should have timestamps that are no more than the [logs - * retention period](https://cloud.google.com/logging/quotas) in the past, and no more than 24 hours - * in the future. Log entries outside those time boundaries will not be - * available when calling `entries.list`, but those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * Incoming log entries must have timestamps that don't exceed the + * [logs retention + * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in + * the past, and that don't exceed 24 hours in the future. Log entries outside + * those time boundaries aren't ingested by Logging. * * * .google.protobuf.Timestamp timestamp = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -3022,11 +3022,11 @@ public com.google.protobuf.StructOrBuilder getJsonPayloadOrBuilder() { * If this field is omitted in a new log entry, then Logging assigns it the * current time. Timestamps have nanosecond accuracy, but trailing zeros in * the fractional seconds might be omitted when the timestamp is displayed. - * Incoming log entries should have timestamps that are no more than the [logs - * retention period](https://cloud.google.com/logging/quotas) in the past, and no more than 24 hours - * in the future. Log entries outside those time boundaries will not be - * available when calling `entries.list`, but those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * Incoming log entries must have timestamps that don't exceed the + * [logs retention + * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in + * the past, and that don't exceed 24 hours in the future. Log entries outside + * those time boundaries aren't ingested by Logging. * * * .google.protobuf.Timestamp timestamp = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -3046,11 +3046,11 @@ public boolean hasTimestamp() { * If this field is omitted in a new log entry, then Logging assigns it the * current time. Timestamps have nanosecond accuracy, but trailing zeros in * the fractional seconds might be omitted when the timestamp is displayed. - * Incoming log entries should have timestamps that are no more than the [logs - * retention period](https://cloud.google.com/logging/quotas) in the past, and no more than 24 hours - * in the future. Log entries outside those time boundaries will not be - * available when calling `entries.list`, but those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * Incoming log entries must have timestamps that don't exceed the + * [logs retention + * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in + * the past, and that don't exceed 24 hours in the future. Log entries outside + * those time boundaries aren't ingested by Logging. * * * .google.protobuf.Timestamp timestamp = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -3074,11 +3074,11 @@ public com.google.protobuf.Timestamp getTimestamp() { * If this field is omitted in a new log entry, then Logging assigns it the * current time. Timestamps have nanosecond accuracy, but trailing zeros in * the fractional seconds might be omitted when the timestamp is displayed. - * Incoming log entries should have timestamps that are no more than the [logs - * retention period](https://cloud.google.com/logging/quotas) in the past, and no more than 24 hours - * in the future. Log entries outside those time boundaries will not be - * available when calling `entries.list`, but those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * Incoming log entries must have timestamps that don't exceed the + * [logs retention + * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in + * the past, and that don't exceed 24 hours in the future. Log entries outside + * those time boundaries aren't ingested by Logging. * * * .google.protobuf.Timestamp timestamp = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -3106,11 +3106,11 @@ public Builder setTimestamp(com.google.protobuf.Timestamp value) { * If this field is omitted in a new log entry, then Logging assigns it the * current time. Timestamps have nanosecond accuracy, but trailing zeros in * the fractional seconds might be omitted when the timestamp is displayed. - * Incoming log entries should have timestamps that are no more than the [logs - * retention period](https://cloud.google.com/logging/quotas) in the past, and no more than 24 hours - * in the future. Log entries outside those time boundaries will not be - * available when calling `entries.list`, but those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * Incoming log entries must have timestamps that don't exceed the + * [logs retention + * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in + * the past, and that don't exceed 24 hours in the future. Log entries outside + * those time boundaries aren't ingested by Logging. * * * .google.protobuf.Timestamp timestamp = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -3135,11 +3135,11 @@ public Builder setTimestamp(com.google.protobuf.Timestamp.Builder builderForValu * If this field is omitted in a new log entry, then Logging assigns it the * current time. Timestamps have nanosecond accuracy, but trailing zeros in * the fractional seconds might be omitted when the timestamp is displayed. - * Incoming log entries should have timestamps that are no more than the [logs - * retention period](https://cloud.google.com/logging/quotas) in the past, and no more than 24 hours - * in the future. Log entries outside those time boundaries will not be - * available when calling `entries.list`, but those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * Incoming log entries must have timestamps that don't exceed the + * [logs retention + * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in + * the past, and that don't exceed 24 hours in the future. Log entries outside + * those time boundaries aren't ingested by Logging. * * * .google.protobuf.Timestamp timestamp = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -3169,11 +3169,11 @@ public Builder mergeTimestamp(com.google.protobuf.Timestamp value) { * If this field is omitted in a new log entry, then Logging assigns it the * current time. Timestamps have nanosecond accuracy, but trailing zeros in * the fractional seconds might be omitted when the timestamp is displayed. - * Incoming log entries should have timestamps that are no more than the [logs - * retention period](https://cloud.google.com/logging/quotas) in the past, and no more than 24 hours - * in the future. Log entries outside those time boundaries will not be - * available when calling `entries.list`, but those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * Incoming log entries must have timestamps that don't exceed the + * [logs retention + * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in + * the past, and that don't exceed 24 hours in the future. Log entries outside + * those time boundaries aren't ingested by Logging. * * * .google.protobuf.Timestamp timestamp = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -3199,11 +3199,11 @@ public Builder clearTimestamp() { * If this field is omitted in a new log entry, then Logging assigns it the * current time. Timestamps have nanosecond accuracy, but trailing zeros in * the fractional seconds might be omitted when the timestamp is displayed. - * Incoming log entries should have timestamps that are no more than the [logs - * retention period](https://cloud.google.com/logging/quotas) in the past, and no more than 24 hours - * in the future. Log entries outside those time boundaries will not be - * available when calling `entries.list`, but those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * Incoming log entries must have timestamps that don't exceed the + * [logs retention + * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in + * the past, and that don't exceed 24 hours in the future. Log entries outside + * those time boundaries aren't ingested by Logging. * * * .google.protobuf.Timestamp timestamp = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -3223,11 +3223,11 @@ public com.google.protobuf.Timestamp.Builder getTimestampBuilder() { * If this field is omitted in a new log entry, then Logging assigns it the * current time. Timestamps have nanosecond accuracy, but trailing zeros in * the fractional seconds might be omitted when the timestamp is displayed. - * Incoming log entries should have timestamps that are no more than the [logs - * retention period](https://cloud.google.com/logging/quotas) in the past, and no more than 24 hours - * in the future. Log entries outside those time boundaries will not be - * available when calling `entries.list`, but those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * Incoming log entries must have timestamps that don't exceed the + * [logs retention + * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in + * the past, and that don't exceed 24 hours in the future. Log entries outside + * those time boundaries aren't ingested by Logging. * * * .google.protobuf.Timestamp timestamp = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -3249,11 +3249,11 @@ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() { * If this field is omitted in a new log entry, then Logging assigns it the * current time. Timestamps have nanosecond accuracy, but trailing zeros in * the fractional seconds might be omitted when the timestamp is displayed. - * Incoming log entries should have timestamps that are no more than the [logs - * retention period](https://cloud.google.com/logging/quotas) in the past, and no more than 24 hours - * in the future. Log entries outside those time boundaries will not be - * available when calling `entries.list`, but those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * Incoming log entries must have timestamps that don't exceed the + * [logs retention + * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in + * the past, and that don't exceed 24 hours in the future. Log entries outside + * those time boundaries aren't ingested by Logging. * * * .google.protobuf.Timestamp timestamp = 9 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java index 6fc979909..839677d0a 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java @@ -251,11 +251,11 @@ public interface LogEntryOrBuilder * If this field is omitted in a new log entry, then Logging assigns it the * current time. Timestamps have nanosecond accuracy, but trailing zeros in * the fractional seconds might be omitted when the timestamp is displayed. - * Incoming log entries should have timestamps that are no more than the [logs - * retention period](https://cloud.google.com/logging/quotas) in the past, and no more than 24 hours - * in the future. Log entries outside those time boundaries will not be - * available when calling `entries.list`, but those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * Incoming log entries must have timestamps that don't exceed the + * [logs retention + * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in + * the past, and that don't exceed 24 hours in the future. Log entries outside + * those time boundaries aren't ingested by Logging. * * * .google.protobuf.Timestamp timestamp = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -273,11 +273,11 @@ public interface LogEntryOrBuilder * If this field is omitted in a new log entry, then Logging assigns it the * current time. Timestamps have nanosecond accuracy, but trailing zeros in * the fractional seconds might be omitted when the timestamp is displayed. - * Incoming log entries should have timestamps that are no more than the [logs - * retention period](https://cloud.google.com/logging/quotas) in the past, and no more than 24 hours - * in the future. Log entries outside those time boundaries will not be - * available when calling `entries.list`, but those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * Incoming log entries must have timestamps that don't exceed the + * [logs retention + * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in + * the past, and that don't exceed 24 hours in the future. Log entries outside + * those time boundaries aren't ingested by Logging. * * * .google.protobuf.Timestamp timestamp = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -295,11 +295,11 @@ public interface LogEntryOrBuilder * If this field is omitted in a new log entry, then Logging assigns it the * current time. Timestamps have nanosecond accuracy, but trailing zeros in * the fractional seconds might be omitted when the timestamp is displayed. - * Incoming log entries should have timestamps that are no more than the [logs - * retention period](https://cloud.google.com/logging/quotas) in the past, and no more than 24 hours - * in the future. Log entries outside those time boundaries will not be - * available when calling `entries.list`, but those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * Incoming log entries must have timestamps that don't exceed the + * [logs retention + * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in + * the past, and that don't exceed 24 hours in the future. Log entries outside + * those time boundaries aren't ingested by Logging. * * * .google.protobuf.Timestamp timestamp = 9 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java index 2acdacff2..1b51c7a62 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java @@ -277,9 +277,10 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-   * Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries)
-   * that matches the log entries to be excluded. By using the
-   * [sample function](https://cloud.google.com/logging/docs/view/advanced-queries#sample),
+   * Required. An [advanced logs
+   * filter](https://cloud.google.com/logging/docs/view/advanced-queries) that
+   * matches the log entries to be excluded. By using the [sample
+   * function](https://cloud.google.com/logging/docs/view/advanced-queries#sample),
    * you can exclude less than 100% of the matching log entries.
    * For example, the following query matches 99% of low-severity log
    * entries from Google Cloud Storage buckets:
@@ -306,9 +307,10 @@ public java.lang.String getFilter() {
    *
    *
    * 
-   * Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries)
-   * that matches the log entries to be excluded. By using the
-   * [sample function](https://cloud.google.com/logging/docs/view/advanced-queries#sample),
+   * Required. An [advanced logs
+   * filter](https://cloud.google.com/logging/docs/view/advanced-queries) that
+   * matches the log entries to be excluded. By using the [sample
+   * function](https://cloud.google.com/logging/docs/view/advanced-queries#sample),
    * you can exclude less than 100% of the matching log entries.
    * For example, the following query matches 99% of low-severity log
    * entries from Google Cloud Storage buckets:
@@ -1110,9 +1112,10 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries)
-     * that matches the log entries to be excluded. By using the
-     * [sample function](https://cloud.google.com/logging/docs/view/advanced-queries#sample),
+     * Required. An [advanced logs
+     * filter](https://cloud.google.com/logging/docs/view/advanced-queries) that
+     * matches the log entries to be excluded. By using the [sample
+     * function](https://cloud.google.com/logging/docs/view/advanced-queries#sample),
      * you can exclude less than 100% of the matching log entries.
      * For example, the following query matches 99% of low-severity log
      * entries from Google Cloud Storage buckets:
@@ -1138,9 +1141,10 @@ public java.lang.String getFilter() {
      *
      *
      * 
-     * Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries)
-     * that matches the log entries to be excluded. By using the
-     * [sample function](https://cloud.google.com/logging/docs/view/advanced-queries#sample),
+     * Required. An [advanced logs
+     * filter](https://cloud.google.com/logging/docs/view/advanced-queries) that
+     * matches the log entries to be excluded. By using the [sample
+     * function](https://cloud.google.com/logging/docs/view/advanced-queries#sample),
      * you can exclude less than 100% of the matching log entries.
      * For example, the following query matches 99% of low-severity log
      * entries from Google Cloud Storage buckets:
@@ -1166,9 +1170,10 @@ public com.google.protobuf.ByteString getFilterBytes() {
      *
      *
      * 
-     * Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries)
-     * that matches the log entries to be excluded. By using the
-     * [sample function](https://cloud.google.com/logging/docs/view/advanced-queries#sample),
+     * Required. An [advanced logs
+     * filter](https://cloud.google.com/logging/docs/view/advanced-queries) that
+     * matches the log entries to be excluded. By using the [sample
+     * function](https://cloud.google.com/logging/docs/view/advanced-queries#sample),
      * you can exclude less than 100% of the matching log entries.
      * For example, the following query matches 99% of low-severity log
      * entries from Google Cloud Storage buckets:
@@ -1193,9 +1198,10 @@ public Builder setFilter(java.lang.String value) {
      *
      *
      * 
-     * Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries)
-     * that matches the log entries to be excluded. By using the
-     * [sample function](https://cloud.google.com/logging/docs/view/advanced-queries#sample),
+     * Required. An [advanced logs
+     * filter](https://cloud.google.com/logging/docs/view/advanced-queries) that
+     * matches the log entries to be excluded. By using the [sample
+     * function](https://cloud.google.com/logging/docs/view/advanced-queries#sample),
      * you can exclude less than 100% of the matching log entries.
      * For example, the following query matches 99% of low-severity log
      * entries from Google Cloud Storage buckets:
@@ -1216,9 +1222,10 @@ public Builder clearFilter() {
      *
      *
      * 
-     * Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries)
-     * that matches the log entries to be excluded. By using the
-     * [sample function](https://cloud.google.com/logging/docs/view/advanced-queries#sample),
+     * Required. An [advanced logs
+     * filter](https://cloud.google.com/logging/docs/view/advanced-queries) that
+     * matches the log entries to be excluded. By using the [sample
+     * function](https://cloud.google.com/logging/docs/view/advanced-queries#sample),
      * you can exclude less than 100% of the matching log entries.
      * For example, the following query matches 99% of low-severity log
      * entries from Google Cloud Storage buckets:
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java
index 359fab67d..721fec26f 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java
@@ -83,9 +83,10 @@ public interface LogExclusionOrBuilder
    *
    *
    * 
-   * Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries)
-   * that matches the log entries to be excluded. By using the
-   * [sample function](https://cloud.google.com/logging/docs/view/advanced-queries#sample),
+   * Required. An [advanced logs
+   * filter](https://cloud.google.com/logging/docs/view/advanced-queries) that
+   * matches the log entries to be excluded. By using the [sample
+   * function](https://cloud.google.com/logging/docs/view/advanced-queries#sample),
    * you can exclude less than 100% of the matching log entries.
    * For example, the following query matches 99% of low-severity log
    * entries from Google Cloud Storage buckets:
@@ -101,9 +102,10 @@ public interface LogExclusionOrBuilder
    *
    *
    * 
-   * Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries)
-   * that matches the log entries to be excluded. By using the
-   * [sample function](https://cloud.google.com/logging/docs/view/advanced-queries#sample),
+   * Required. An [advanced logs
+   * filter](https://cloud.google.com/logging/docs/view/advanced-queries) that
+   * matches the log entries to be excluded. By using the [sample
+   * function](https://cloud.google.com/logging/docs/view/advanced-queries#sample),
    * you can exclude less than 100% of the matching log entries.
    * For example, the following query matches 99% of low-severity log
    * entries from Google Cloud Storage buckets:
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java
index ed09058d5..ea7ee6bce 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java
@@ -498,9 +498,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    *
    *
    * 
-   * Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced_filters) which is
-   * used to match log entries.
-   * Example:
+   * Required. An [advanced logs
+   * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which
+   * is used to match log entries. Example:
    *     "resource.type=gae_app AND severity>=ERROR"
    * The maximum length of the filter is 20000 characters.
    * 
@@ -525,9 +525,9 @@ public java.lang.String getFilter() { * * *
-   * Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced_filters) which is
-   * used to match log entries.
-   * Example:
+   * Required. An [advanced logs
+   * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which
+   * is used to match log entries. Example:
    *     "resource.type=gae_app AND severity>=ERROR"
    * The maximum length of the filter is 20000 characters.
    * 
@@ -1893,9 +1893,9 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced_filters) which is
-     * used to match log entries.
-     * Example:
+     * Required. An [advanced logs
+     * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which
+     * is used to match log entries. Example:
      *     "resource.type=gae_app AND severity>=ERROR"
      * The maximum length of the filter is 20000 characters.
      * 
@@ -1919,9 +1919,9 @@ public java.lang.String getFilter() { * * *
-     * Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced_filters) which is
-     * used to match log entries.
-     * Example:
+     * Required. An [advanced logs
+     * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which
+     * is used to match log entries. Example:
      *     "resource.type=gae_app AND severity>=ERROR"
      * The maximum length of the filter is 20000 characters.
      * 
@@ -1945,9 +1945,9 @@ public com.google.protobuf.ByteString getFilterBytes() { * * *
-     * Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced_filters) which is
-     * used to match log entries.
-     * Example:
+     * Required. An [advanced logs
+     * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which
+     * is used to match log entries. Example:
      *     "resource.type=gae_app AND severity>=ERROR"
      * The maximum length of the filter is 20000 characters.
      * 
@@ -1970,9 +1970,9 @@ public Builder setFilter(java.lang.String value) { * * *
-     * Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced_filters) which is
-     * used to match log entries.
-     * Example:
+     * Required. An [advanced logs
+     * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which
+     * is used to match log entries. Example:
      *     "resource.type=gae_app AND severity>=ERROR"
      * The maximum length of the filter is 20000 characters.
      * 
@@ -1991,9 +1991,9 @@ public Builder clearFilter() { * * *
-     * Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced_filters) which is
-     * used to match log entries.
-     * Example:
+     * Required. An [advanced logs
+     * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which
+     * is used to match log entries. Example:
      *     "resource.type=gae_app AND severity>=ERROR"
      * The maximum length of the filter is 20000 characters.
      * 
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java index 00e09ae49..6af9a78ba 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java @@ -99,9 +99,9 @@ public interface LogMetricOrBuilder * * *
-   * Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced_filters) which is
-   * used to match log entries.
-   * Example:
+   * Required. An [advanced logs
+   * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which
+   * is used to match log entries. Example:
    *     "resource.type=gae_app AND severity>=ERROR"
    * The maximum length of the filter is 20000 characters.
    * 
@@ -115,9 +115,9 @@ public interface LogMetricOrBuilder * * *
-   * Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced_filters) which is
-   * used to match log entries.
-   * Example:
+   * Required. An [advanced logs
+   * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which
+   * is used to match log entries. Example:
    *     "resource.type=gae_app AND severity>=ERROR"
    * The maximum length of the filter is 20000 characters.
    * 
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java index faf7b338e..8a8741f89 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java @@ -214,9 +214,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Available log entry formats. Log entries can be written to
-   * Logging in either format and can be exported in either format.
-   * Version 2 is the preferred format.
+   * Deprecated. This is unused.
    * 
* * Protobuf enum {@code google.logging.v2.LogSink.VersionFormat} @@ -483,7 +481,8 @@ public com.google.protobuf.ByteString getNameBytes() { * The sink's `writer_identity`, set when the sink is created, must * have permission to write to the destination or else the log * entries are not exported. For more information, see - * [Exporting Logs with Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [Exporting Logs with + * Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). *
* * @@ -515,7 +514,8 @@ public java.lang.String getDestination() { * The sink's `writer_identity`, set when the sink is created, must * have permission to write to the destination or else the log * entries are not exported. For more information, see - * [Exporting Logs with Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [Exporting Logs with + * Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). *
* * @@ -543,9 +543,10 @@ public com.google.protobuf.ByteString getDestinationBytes() { * * *
-   * Optional. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries). The only
-   * exported log entries are those that are in the resource owning the sink and
-   * that match the filter. For example:
+   * Optional. An [advanced logs
+   * filter](https://cloud.google.com/logging/docs/view/advanced-queries). The
+   * only exported log entries are those that are in the resource owning the
+   * sink and that match the filter. For example:
    *     logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
    * 
* @@ -569,9 +570,10 @@ public java.lang.String getFilter() { * * *
-   * Optional. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries). The only
-   * exported log entries are those that are in the resource owning the sink and
-   * that match the filter. For example:
+   * Optional. An [advanced logs
+   * filter](https://cloud.google.com/logging/docs/view/advanced-queries). The
+   * only exported log entries are those that are in the resource owning the
+   * sink and that match the filter. For example:
    *     logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
    * 
* @@ -668,8 +670,7 @@ public boolean getDisabled() { * * *
-   * Deprecated. The log entry format to use for this sink's exported log
-   * entries. The v2 format is used by default and cannot be changed.
+   * Deprecated. This field is unused.
    * 
* * .google.logging.v2.LogSink.VersionFormat output_version_format = 6 [deprecated = true]; @@ -686,8 +687,7 @@ public int getOutputVersionFormatValue() { * * *
-   * Deprecated. The log entry format to use for this sink's exported log
-   * entries. The v2 format is used by default and cannot be changed.
+   * Deprecated. This field is unused.
    * 
* * .google.logging.v2.LogSink.VersionFormat output_version_format = 6 [deprecated = true]; @@ -1643,7 +1643,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * The sink's `writer_identity`, set when the sink is created, must * have permission to write to the destination or else the log * entries are not exported. For more information, see - * [Exporting Logs with Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [Exporting Logs with + * Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). *
* * @@ -1674,7 +1675,8 @@ public java.lang.String getDestination() { * The sink's `writer_identity`, set when the sink is created, must * have permission to write to the destination or else the log * entries are not exported. For more information, see - * [Exporting Logs with Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [Exporting Logs with + * Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). *
* * @@ -1705,7 +1707,8 @@ public com.google.protobuf.ByteString getDestinationBytes() { * The sink's `writer_identity`, set when the sink is created, must * have permission to write to the destination or else the log * entries are not exported. For more information, see - * [Exporting Logs with Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [Exporting Logs with + * Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). *
* * @@ -1735,7 +1738,8 @@ public Builder setDestination(java.lang.String value) { * The sink's `writer_identity`, set when the sink is created, must * have permission to write to the destination or else the log * entries are not exported. For more information, see - * [Exporting Logs with Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [Exporting Logs with + * Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). *
* * @@ -1761,7 +1765,8 @@ public Builder clearDestination() { * The sink's `writer_identity`, set when the sink is created, must * have permission to write to the destination or else the log * entries are not exported. For more information, see - * [Exporting Logs with Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [Exporting Logs with + * Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). *
* * @@ -1787,9 +1792,10 @@ public Builder setDestinationBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries). The only
-     * exported log entries are those that are in the resource owning the sink and
-     * that match the filter. For example:
+     * Optional. An [advanced logs
+     * filter](https://cloud.google.com/logging/docs/view/advanced-queries). The
+     * only exported log entries are those that are in the resource owning the
+     * sink and that match the filter. For example:
      *     logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
      * 
* @@ -1812,9 +1818,10 @@ public java.lang.String getFilter() { * * *
-     * Optional. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries). The only
-     * exported log entries are those that are in the resource owning the sink and
-     * that match the filter. For example:
+     * Optional. An [advanced logs
+     * filter](https://cloud.google.com/logging/docs/view/advanced-queries). The
+     * only exported log entries are those that are in the resource owning the
+     * sink and that match the filter. For example:
      *     logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
      * 
* @@ -1837,9 +1844,10 @@ public com.google.protobuf.ByteString getFilterBytes() { * * *
-     * Optional. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries). The only
-     * exported log entries are those that are in the resource owning the sink and
-     * that match the filter. For example:
+     * Optional. An [advanced logs
+     * filter](https://cloud.google.com/logging/docs/view/advanced-queries). The
+     * only exported log entries are those that are in the resource owning the
+     * sink and that match the filter. For example:
      *     logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
      * 
* @@ -1861,9 +1869,10 @@ public Builder setFilter(java.lang.String value) { * * *
-     * Optional. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries). The only
-     * exported log entries are those that are in the resource owning the sink and
-     * that match the filter. For example:
+     * Optional. An [advanced logs
+     * filter](https://cloud.google.com/logging/docs/view/advanced-queries). The
+     * only exported log entries are those that are in the resource owning the
+     * sink and that match the filter. For example:
      *     logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
      * 
* @@ -1881,9 +1890,10 @@ public Builder clearFilter() { * * *
-     * Optional. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries). The only
-     * exported log entries are those that are in the resource owning the sink and
-     * that match the filter. For example:
+     * Optional. An [advanced logs
+     * filter](https://cloud.google.com/logging/docs/view/advanced-queries). The
+     * only exported log entries are those that are in the resource owning the
+     * sink and that match the filter. For example:
      *     logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
      * 
* @@ -2074,8 +2084,7 @@ public Builder clearDisabled() { * * *
-     * Deprecated. The log entry format to use for this sink's exported log
-     * entries. The v2 format is used by default and cannot be changed.
+     * Deprecated. This field is unused.
      * 
* * .google.logging.v2.LogSink.VersionFormat output_version_format = 6 [deprecated = true]; @@ -2092,8 +2101,7 @@ public int getOutputVersionFormatValue() { * * *
-     * Deprecated. The log entry format to use for this sink's exported log
-     * entries. The v2 format is used by default and cannot be changed.
+     * Deprecated. This field is unused.
      * 
* * .google.logging.v2.LogSink.VersionFormat output_version_format = 6 [deprecated = true]; @@ -2113,8 +2121,7 @@ public Builder setOutputVersionFormatValue(int value) { * * *
-     * Deprecated. The log entry format to use for this sink's exported log
-     * entries. The v2 format is used by default and cannot be changed.
+     * Deprecated. This field is unused.
      * 
* * .google.logging.v2.LogSink.VersionFormat output_version_format = 6 [deprecated = true]; @@ -2134,8 +2141,7 @@ public com.google.logging.v2.LogSink.VersionFormat getOutputVersionFormat() { * * *
-     * Deprecated. The log entry format to use for this sink's exported log
-     * entries. The v2 format is used by default and cannot be changed.
+     * Deprecated. This field is unused.
      * 
* * .google.logging.v2.LogSink.VersionFormat output_version_format = 6 [deprecated = true]; @@ -2158,8 +2164,7 @@ public Builder setOutputVersionFormat(com.google.logging.v2.LogSink.VersionForma * * *
-     * Deprecated. The log entry format to use for this sink's exported log
-     * entries. The v2 format is used by default and cannot be changed.
+     * Deprecated. This field is unused.
      * 
* * .google.logging.v2.LogSink.VersionFormat output_version_format = 6 [deprecated = true]; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java index db8984417..c24f12e89 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java @@ -67,7 +67,8 @@ public interface LogSinkOrBuilder * The sink's `writer_identity`, set when the sink is created, must * have permission to write to the destination or else the log * entries are not exported. For more information, see - * [Exporting Logs with Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [Exporting Logs with + * Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). *
* * @@ -88,7 +89,8 @@ public interface LogSinkOrBuilder * The sink's `writer_identity`, set when the sink is created, must * have permission to write to the destination or else the log * entries are not exported. For more information, see - * [Exporting Logs with Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [Exporting Logs with + * Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). *
* * @@ -103,9 +105,10 @@ public interface LogSinkOrBuilder * * *
-   * Optional. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries). The only
-   * exported log entries are those that are in the resource owning the sink and
-   * that match the filter. For example:
+   * Optional. An [advanced logs
+   * filter](https://cloud.google.com/logging/docs/view/advanced-queries). The
+   * only exported log entries are those that are in the resource owning the
+   * sink and that match the filter. For example:
    *     logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
    * 
* @@ -118,9 +121,10 @@ public interface LogSinkOrBuilder * * *
-   * Optional. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries). The only
-   * exported log entries are those that are in the resource owning the sink and
-   * that match the filter. For example:
+   * Optional. An [advanced logs
+   * filter](https://cloud.google.com/logging/docs/view/advanced-queries). The
+   * only exported log entries are those that are in the resource owning the
+   * sink and that match the filter. For example:
    *     logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
    * 
* @@ -175,8 +179,7 @@ public interface LogSinkOrBuilder * * *
-   * Deprecated. The log entry format to use for this sink's exported log
-   * entries. The v2 format is used by default and cannot be changed.
+   * Deprecated. This field is unused.
    * 
* * .google.logging.v2.LogSink.VersionFormat output_version_format = 6 [deprecated = true]; @@ -190,8 +193,7 @@ public interface LogSinkOrBuilder * * *
-   * Deprecated. The log entry format to use for this sink's exported log
-   * entries. The v2 format is used by default and cannot be changed.
+   * Deprecated. This field is unused.
    * 
* * .google.logging.v2.LogSink.VersionFormat output_version_format = 6 [deprecated = true]; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java index 5dbed07ba..3a8bef1c0 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java @@ -91,83 +91,83 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "resource.proto\032!google/logging/v2/log_en" + "try.proto\032&google/logging/v2/logging_con" + "fig.proto\032\036google/protobuf/duration.prot" - + "o\032\033google/protobuf/empty.proto\032\037google/p" - + "rotobuf/timestamp.proto\032\027google/rpc/stat" - + "us.proto\032\034google/api/annotations.proto\"H" - + "\n\020DeleteLogRequest\0224\n\010log_name\030\001 \001(\tB\"\340A" - + "\002\372A\034\n\032logging.googleapis.com/Log\"\346\002\n\026Wri" - + "teLogEntriesRequest\0224\n\010log_name\030\001 \001(\tB\"\340" - + "A\001\372A\034\n\032logging.googleapis.com/Log\0224\n\010res" - + "ource\030\002 \001(\0132\035.google.api.MonitoredResour" - + "ceB\003\340A\001\022J\n\006labels\030\003 \003(\01325.google.logging" - + ".v2.WriteLogEntriesRequest.LabelsEntryB\003" - + "\340A\001\0221\n\007entries\030\004 \003(\0132\033.google.logging.v2" - + ".LogEntryB\003\340A\002\022\034\n\017partial_success\030\005 \001(\010B" - + "\003\340A\001\022\024\n\007dry_run\030\006 \001(\010B\003\340A\001\032-\n\013LabelsEntr" - + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\031\n\027Wri" - + "teLogEntriesResponse\"\310\001\n\034WriteLogEntries" - + "PartialErrors\022]\n\020log_entry_errors\030\001 \003(\0132" - + "C.google.logging.v2.WriteLogEntriesParti" - + "alErrors.LogEntryErrorsEntry\032I\n\023LogEntry" - + "ErrorsEntry\022\013\n\003key\030\001 \001(\005\022!\n\005value\030\002 \001(\0132" - + "\022.google.rpc.Status:\0028\001\"\260\001\n\025ListLogEntri" - + "esRequest\022:\n\016resource_names\030\010 \003(\tB\"\340A\002\372A" - + "\034\022\032logging.googleapis.com/Log\022\023\n\006filter\030" - + "\002 \001(\tB\003\340A\001\022\025\n\010order_by\030\003 \001(\tB\003\340A\001\022\026\n\tpag" - + "e_size\030\004 \001(\005B\003\340A\001\022\027\n\npage_token\030\005 \001(\tB\003\340" - + "A\001\"_\n\026ListLogEntriesResponse\022,\n\007entries\030" - + "\001 \003(\0132\033.google.logging.v2.LogEntry\022\027\n\017ne" - + "xt_page_token\030\002 \001(\t\"Z\n\'ListMonitoredReso" - + "urceDescriptorsRequest\022\026\n\tpage_size\030\001 \001(" - + "\005B\003\340A\001\022\027\n\npage_token\030\002 \001(\tB\003\340A\001\"\212\001\n(List" - + "MonitoredResourceDescriptorsResponse\022E\n\024" - + "resource_descriptors\030\001 \003(\0132\'.google.api." - + "MonitoredResourceDescriptor\022\027\n\017next_page" - + "_token\030\002 \001(\t\"v\n\017ListLogsRequest\0222\n\006paren" - + "t\030\001 \001(\tB\"\340A\002\372A\034\022\032logging.googleapis.com/" - + "Log\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_toke" - + "n\030\003 \001(\tB\003\340A\001\">\n\020ListLogsResponse\022\021\n\tlog_" - + "names\030\003 \003(\t\022\027\n\017next_page_token\030\002 \001(\t2\335\n\n" - + "\020LoggingServiceV2\022\223\002\n\tDeleteLog\022#.google" - + ".logging.v2.DeleteLogRequest\032\026.google.pr" - + "otobuf.Empty\"\310\001\202\323\344\223\002\266\001* /v2/{log_name=pr" - + "ojects/*/logs/*}Z\033*\031/v2/{log_name=*/*/lo" - + "gs/*}Z\'*%/v2/{log_name=organizations/*/l" - + "ogs/*}Z!*\037/v2/{log_name=folders/*/logs/*" - + "}Z)*\'/v2/{log_name=billingAccounts/*/log" - + "s/*}\332A\010log_name\022\251\001\n\017WriteLogEntries\022).go" - + "ogle.logging.v2.WriteLogEntriesRequest\032*" - + ".google.logging.v2.WriteLogEntriesRespon" - + "se\"?\202\323\344\223\002\026\"\021/v2/entries:write:\001*\332A log_n" - + "ame,resource,labels,entries\022\243\001\n\016ListLogE" - + "ntries\022(.google.logging.v2.ListLogEntrie" - + "sRequest\032).google.logging.v2.ListLogEntr" - + "iesResponse\"<\202\323\344\223\002\025\"\020/v2/entries:list:\001*" - + "\332A\036resource_names,filter,order_by\022\305\001\n Li" - + "stMonitoredResourceDescriptors\022:.google." - + "logging.v2.ListMonitoredResourceDescript" - + "orsRequest\032;.google.logging.v2.ListMonit" - + "oredResourceDescriptorsResponse\"(\202\323\344\223\002\"\022" - + " /v2/monitoredResourceDescriptors\022\210\002\n\010Li" - + "stLogs\022\".google.logging.v2.ListLogsReque" - + "st\032#.google.logging.v2.ListLogsResponse\"" - + "\262\001\202\323\344\223\002\242\001\022\025/v2/{parent=*/*}/logsZ\036\022\034/v2/" - + "{parent=projects/*}/logsZ#\022!/v2/{parent=" - + "organizations/*}/logsZ\035\022\033/v2/{parent=fol" - + "ders/*}/logsZ%\022#/v2/{parent=billingAccou" - + "nts/*}/logs\332A\006parent\032\215\002\312A\026logging.google" - + "apis.com\322A\360\001https://www.googleapis.com/a" - + "uth/cloud-platform,https://www.googleapi" - + "s.com/auth/cloud-platform.read-only,http" - + "s://www.googleapis.com/auth/logging.admi" - + "n,https://www.googleapis.com/auth/loggin" - + "g.read,https://www.googleapis.com/auth/l" - + "ogging.writeB\265\001\n\025com.google.logging.v2B\014" - + "LoggingProtoP\001Z8google.golang.org/genpro" - + "to/googleapis/logging/v2;logging\370\001\001\252\002\027Go" - + "ogle.Cloud.Logging.V2\312\002\027Google\\Cloud\\Log" - + "ging\\V2\352\002\032Google::Cloud::Logging::V2b\006pr" - + "oto3" + + "o\032\033google/protobuf/empty.proto\032 google/p" + + "rotobuf/field_mask.proto\032\037google/protobu" + + "f/timestamp.proto\032\027google/rpc/status.pro" + + "to\032\034google/api/annotations.proto\"H\n\020Dele" + + "teLogRequest\0224\n\010log_name\030\001 \001(\tB\"\340A\002\372A\034\n\032" + + "logging.googleapis.com/Log\"\346\002\n\026WriteLogE" + + "ntriesRequest\0224\n\010log_name\030\001 \001(\tB\"\340A\001\372A\034\n" + + "\032logging.googleapis.com/Log\0224\n\010resource\030" + + "\002 \001(\0132\035.google.api.MonitoredResourceB\003\340A" + + "\001\022J\n\006labels\030\003 \003(\01325.google.logging.v2.Wr" + + "iteLogEntriesRequest.LabelsEntryB\003\340A\001\0221\n" + + "\007entries\030\004 \003(\0132\033.google.logging.v2.LogEn" + + "tryB\003\340A\002\022\034\n\017partial_success\030\005 \001(\010B\003\340A\001\022\024" + + "\n\007dry_run\030\006 \001(\010B\003\340A\001\032-\n\013LabelsEntry\022\013\n\003k" + + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\031\n\027WriteLogE" + + "ntriesResponse\"\310\001\n\034WriteLogEntriesPartia" + + "lErrors\022]\n\020log_entry_errors\030\001 \003(\0132C.goog" + + "le.logging.v2.WriteLogEntriesPartialErro" + + "rs.LogEntryErrorsEntry\032I\n\023LogEntryErrors" + + "Entry\022\013\n\003key\030\001 \001(\005\022!\n\005value\030\002 \001(\0132\022.goog" + + "le.rpc.Status:\0028\001\"\260\001\n\025ListLogEntriesRequ" + + "est\022:\n\016resource_names\030\010 \003(\tB\"\340A\002\372A\034\022\032log" + + "ging.googleapis.com/Log\022\023\n\006filter\030\002 \001(\tB" + + "\003\340A\001\022\025\n\010order_by\030\003 \001(\tB\003\340A\001\022\026\n\tpage_size" + + "\030\004 \001(\005B\003\340A\001\022\027\n\npage_token\030\005 \001(\tB\003\340A\001\"_\n\026" + + "ListLogEntriesResponse\022,\n\007entries\030\001 \003(\0132" + + "\033.google.logging.v2.LogEntry\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"Z\n\'ListMonitoredResourceDe" + + "scriptorsRequest\022\026\n\tpage_size\030\001 \001(\005B\003\340A\001" + + "\022\027\n\npage_token\030\002 \001(\tB\003\340A\001\"\212\001\n(ListMonito" + + "redResourceDescriptorsResponse\022E\n\024resour" + + "ce_descriptors\030\001 \003(\0132\'.google.api.Monito" + + "redResourceDescriptor\022\027\n\017next_page_token" + + "\030\002 \001(\t\"v\n\017ListLogsRequest\0222\n\006parent\030\001 \001(" + + "\tB\"\340A\002\372A\034\022\032logging.googleapis.com/Log\022\026\n" + + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(" + + "\tB\003\340A\001\">\n\020ListLogsResponse\022\021\n\tlog_names\030" + + "\003 \003(\t\022\027\n\017next_page_token\030\002 \001(\t2\335\n\n\020Loggi" + + "ngServiceV2\022\223\002\n\tDeleteLog\022#.google.loggi" + + "ng.v2.DeleteLogRequest\032\026.google.protobuf" + + ".Empty\"\310\001\202\323\344\223\002\266\001* /v2/{log_name=projects" + + "/*/logs/*}Z\033*\031/v2/{log_name=*/*/logs/*}Z" + + "\'*%/v2/{log_name=organizations/*/logs/*}" + + "Z!*\037/v2/{log_name=folders/*/logs/*}Z)*\'/" + + "v2/{log_name=billingAccounts/*/logs/*}\332A" + + "\010log_name\022\251\001\n\017WriteLogEntries\022).google.l" + + "ogging.v2.WriteLogEntriesRequest\032*.googl" + + "e.logging.v2.WriteLogEntriesResponse\"?\202\323" + + "\344\223\002\026\"\021/v2/entries:write:\001*\332A log_name,re" + + "source,labels,entries\022\243\001\n\016ListLogEntries" + + "\022(.google.logging.v2.ListLogEntriesReque" + + "st\032).google.logging.v2.ListLogEntriesRes" + + "ponse\"<\202\323\344\223\002\025\"\020/v2/entries:list:\001*\332A\036res" + + "ource_names,filter,order_by\022\305\001\n ListMoni" + + "toredResourceDescriptors\022:.google.loggin" + + "g.v2.ListMonitoredResourceDescriptorsReq" + + "uest\032;.google.logging.v2.ListMonitoredRe" + + "sourceDescriptorsResponse\"(\202\323\344\223\002\"\022 /v2/m" + + "onitoredResourceDescriptors\022\210\002\n\010ListLogs" + + "\022\".google.logging.v2.ListLogsRequest\032#.g" + + "oogle.logging.v2.ListLogsResponse\"\262\001\202\323\344\223" + + "\002\242\001\022\025/v2/{parent=*/*}/logsZ\036\022\034/v2/{paren" + + "t=projects/*}/logsZ#\022!/v2/{parent=organi" + + "zations/*}/logsZ\035\022\033/v2/{parent=folders/*" + + "}/logsZ%\022#/v2/{parent=billingAccounts/*}" + + "/logs\332A\006parent\032\215\002\312A\026logging.googleapis.c" + + "om\322A\360\001https://www.googleapis.com/auth/cl" + + "oud-platform,https://www.googleapis.com/" + + "auth/cloud-platform.read-only,https://ww" + + "w.googleapis.com/auth/logging.admin,http" + + "s://www.googleapis.com/auth/logging.read" + + ",https://www.googleapis.com/auth/logging" + + ".writeB\265\001\n\025com.google.logging.v2B\014Loggin" + + "gProtoP\001Z8google.golang.org/genproto/goo" + + "gleapis/logging/v2;logging\370\001\001\252\002\027Google.C" + + "loud.Logging.V2\312\002\027Google\\Cloud\\Logging\\V" + + "2\352\002\032Google::Cloud::Logging::V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -181,6 +181,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.logging.v2.LoggingConfigProto.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.rpc.StatusProto.getDescriptor(), com.google.api.AnnotationsProto.getDescriptor(), @@ -299,6 +300,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.logging.v2.LoggingConfigProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.rpc.StatusProto.getDescriptor(); com.google.api.AnnotationsProto.getDescriptor(); diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequest.java index 8511d6994..7bba30a25 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequest.java @@ -24,8 +24,9 @@ *
  * The parameters to
  * [UpdateCmekSettings][google.logging.v2.ConfigServiceV2.UpdateCmekSettings].
- * See [Enabling CMEK for Logs Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
- * for more information.
+ * See [Enabling CMEK for Logs
+ * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
+ * more information.
  * 
* * Protobuf type {@code google.logging.v2.UpdateCmekSettingsRequest} @@ -217,7 +218,8 @@ public com.google.protobuf.ByteString getNameBytes() { *
    * Required. The CMEK settings to update.
    * See [Enabling CMEK for Logs
-   * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
+   * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
+   * for more information.
    * 
* * @@ -236,7 +238,8 @@ public boolean hasCmekSettings() { *
    * Required. The CMEK settings to update.
    * See [Enabling CMEK for Logs
-   * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
+   * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
+   * for more information.
    * 
* * @@ -257,7 +260,8 @@ public com.google.logging.v2.CmekSettings getCmekSettings() { *
    * Required. The CMEK settings to update.
    * See [Enabling CMEK for Logs
-   * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
+   * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
+   * for more information.
    * 
* * @@ -523,8 +527,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build *
    * The parameters to
    * [UpdateCmekSettings][google.logging.v2.ConfigServiceV2.UpdateCmekSettings].
-   * See [Enabling CMEK for Logs Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
-   * for more information.
+   * See [Enabling CMEK for Logs
+   * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
+   * more information.
    * 
* * Protobuf type {@code google.logging.v2.UpdateCmekSettingsRequest} @@ -864,7 +869,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { *
      * Required. The CMEK settings to update.
      * See [Enabling CMEK for Logs
-     * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
+     * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
+     * for more information.
      * 
* * @@ -882,7 +888,8 @@ public boolean hasCmekSettings() { *
      * Required. The CMEK settings to update.
      * See [Enabling CMEK for Logs
-     * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
+     * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
+     * for more information.
      * 
* * @@ -906,7 +913,8 @@ public com.google.logging.v2.CmekSettings getCmekSettings() { *
      * Required. The CMEK settings to update.
      * See [Enabling CMEK for Logs
-     * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
+     * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
+     * for more information.
      * 
* * @@ -932,7 +940,8 @@ public Builder setCmekSettings(com.google.logging.v2.CmekSettings value) { *
      * Required. The CMEK settings to update.
      * See [Enabling CMEK for Logs
-     * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
+     * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
+     * for more information.
      * 
* * @@ -955,7 +964,8 @@ public Builder setCmekSettings(com.google.logging.v2.CmekSettings.Builder builde *
      * Required. The CMEK settings to update.
      * See [Enabling CMEK for Logs
-     * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
+     * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
+     * for more information.
      * 
* * @@ -985,7 +995,8 @@ public Builder mergeCmekSettings(com.google.logging.v2.CmekSettings value) { *
      * Required. The CMEK settings to update.
      * See [Enabling CMEK for Logs
-     * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
+     * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
+     * for more information.
      * 
* * @@ -1009,7 +1020,8 @@ public Builder clearCmekSettings() { *
      * Required. The CMEK settings to update.
      * See [Enabling CMEK for Logs
-     * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
+     * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
+     * for more information.
      * 
* * @@ -1027,7 +1039,8 @@ public com.google.logging.v2.CmekSettings.Builder getCmekSettingsBuilder() { *
      * Required. The CMEK settings to update.
      * See [Enabling CMEK for Logs
-     * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
+     * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
+     * for more information.
      * 
* * @@ -1049,7 +1062,8 @@ public com.google.logging.v2.CmekSettingsOrBuilder getCmekSettingsOrBuilder() { *
      * Required. The CMEK settings to update.
      * See [Enabling CMEK for Logs
-     * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
+     * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
+     * for more information.
      * 
* * diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java index e1443bbe3..1abf89dfb 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java @@ -70,7 +70,8 @@ public interface UpdateCmekSettingsRequestOrBuilder *
    * Required. The CMEK settings to update.
    * See [Enabling CMEK for Logs
-   * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
+   * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
+   * for more information.
    * 
* * @@ -86,7 +87,8 @@ public interface UpdateCmekSettingsRequestOrBuilder *
    * Required. The CMEK settings to update.
    * See [Enabling CMEK for Logs
-   * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
+   * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
+   * for more information.
    * 
* * @@ -102,7 +104,8 @@ public interface UpdateCmekSettingsRequestOrBuilder *
    * Required. The CMEK settings to update.
    * See [Enabling CMEK for Logs
-   * Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
+   * Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
+   * for more information.
    * 
* * diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java index edb57aeb8..fc7363055 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java @@ -444,14 +444,15 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -478,14 +479,15 @@ public java.util.List getEntriesList() { * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -513,14 +515,15 @@ public java.util.List getEntriesList() { * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -547,14 +550,15 @@ public int getEntriesCount() { * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -581,14 +585,15 @@ public com.google.logging.v2.LogEntry getEntries(int index) { * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -1740,14 +1745,15 @@ private void ensureEntriesIsMutable() { * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -1777,14 +1783,15 @@ public java.util.List getEntriesList() { * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -1814,14 +1821,15 @@ public int getEntriesCount() { * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -1851,14 +1859,15 @@ public com.google.logging.v2.LogEntry getEntries(int index) { * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -1894,14 +1903,15 @@ public Builder setEntries(int index, com.google.logging.v2.LogEntry value) { * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -1934,14 +1944,15 @@ public Builder setEntries(int index, com.google.logging.v2.LogEntry.Builder buil * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -1977,14 +1988,15 @@ public Builder addEntries(com.google.logging.v2.LogEntry value) { * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -2020,14 +2032,15 @@ public Builder addEntries(int index, com.google.logging.v2.LogEntry value) { * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -2060,14 +2073,15 @@ public Builder addEntries(com.google.logging.v2.LogEntry.Builder builderForValue * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -2100,14 +2114,15 @@ public Builder addEntries(int index, com.google.logging.v2.LogEntry.Builder buil * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -2141,14 +2156,15 @@ public Builder addAllEntries( * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -2181,14 +2197,15 @@ public Builder clearEntries() { * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -2221,14 +2238,15 @@ public Builder removeEntries(int index) { * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -2254,14 +2272,15 @@ public com.google.logging.v2.LogEntry.Builder getEntriesBuilder(int index) { * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -2291,14 +2310,15 @@ public com.google.logging.v2.LogEntryOrBuilder getEntriesOrBuilder(int index) { * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -2329,14 +2349,15 @@ public com.google.logging.v2.LogEntryOrBuilder getEntriesOrBuilder(int index) { * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -2363,14 +2384,15 @@ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder() { * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -2397,14 +2419,15 @@ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder(int index) { * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java index db6d49a7a..e69969dd7 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java @@ -214,14 +214,15 @@ public interface WriteLogEntriesRequestOrBuilder * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -245,14 +246,15 @@ public interface WriteLogEntriesRequestOrBuilder * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -276,14 +278,15 @@ public interface WriteLogEntriesRequestOrBuilder * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -307,14 +310,15 @@ public interface WriteLogEntriesRequestOrBuilder * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * @@ -338,14 +342,15 @@ public interface WriteLogEntriesRequestOrBuilder * supply their own values, the entries earlier in the list will sort before * the entries later in the list. See the `entries.list` method. * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - * 24 hours in the future will not be available when calling `entries.list`. - * However, those log entries can still be - * [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + * [logs retention period](https://cloud.google.com/logging/quota-policy) in + * the past or more than 24 hours in the future will not be available when + * calling `entries.list`. However, those log entries can still be [exported + * with + * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - * you should try to include several log entries in this list, - * rather than calling this method for each individual log entry. + * [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + * `entries.write`, you should try to include several log entries in this + * list, rather than calling this method for each individual log entry. * * * diff --git a/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/log_entry.proto b/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/log_entry.proto index d2a172ec2..3ad2cfbb5 100644 --- a/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/log_entry.proto +++ b/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/log_entry.proto @@ -106,11 +106,11 @@ message LogEntry { // current time. Timestamps have nanosecond accuracy, but trailing zeros in // the fractional seconds might be omitted when the timestamp is displayed. // - // Incoming log entries should have timestamps that are no more than the [logs - // retention period](https://cloud.google.com/logging/quotas) in the past, and no more than 24 hours - // in the future. Log entries outside those time boundaries will not be - // available when calling `entries.list`, but those log entries can still be - // [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + // Incoming log entries must have timestamps that don't exceed the + // [logs retention + // period](https://cloud.google.com/logging/quotas#logs_retention_periods) in + // the past, and that don't exceed 24 hours in the future. Log entries outside + // those time boundaries aren't ingested by Logging. google.protobuf.Timestamp timestamp = 9 [(google.api.field_behavior) = OPTIONAL]; // Output only. The time the log entry was received by Logging. diff --git a/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging.proto b/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging.proto index 8a2a8a580..58647b92f 100644 --- a/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging.proto +++ b/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging.proto @@ -24,6 +24,7 @@ import "google/logging/v2/log_entry.proto"; import "google/logging/v2/logging_config.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/empty.proto"; +import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; import "google/api/annotations.proto"; @@ -87,7 +88,8 @@ service LoggingServiceV2 { // Lists log entries. Use this method to retrieve log entries that originated // from a project/folder/organization/billing account. For ways to export log - // entries, see [Exporting Logs](https://cloud.google.com/logging/docs/export). + // entries, see [Exporting + // Logs](https://cloud.google.com/logging/docs/export). rpc ListLogEntries(ListLogEntriesRequest) returns (ListLogEntriesResponse) { option (google.api.http) = { post: "/v2/entries:list" @@ -203,15 +205,16 @@ message WriteLogEntriesRequest { // the entries later in the list. See the `entries.list` method. // // Log entries with timestamps that are more than the - // [logs retention period](https://cloud.google.com/logging/quota-policy) in the past or more than - // 24 hours in the future will not be available when calling `entries.list`. - // However, those log entries can still be - // [exported with LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + // [logs retention period](https://cloud.google.com/logging/quota-policy) in + // the past or more than 24 hours in the future will not be available when + // calling `entries.list`. However, those log entries can still be [exported + // with + // LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). // // To improve throughput and to avoid exceeding the - // [quota limit](https://cloud.google.com/logging/quota-policy) for calls to `entries.write`, - // you should try to include several log entries in this list, - // rather than calling this method for each individual log entry. + // [quota limit](https://cloud.google.com/logging/quota-policy) for calls to + // `entries.write`, you should try to include several log entries in this + // list, rather than calling this method for each individual log entry. repeated LogEntry entries = 4 [(google.api.field_behavior) = REQUIRED]; // Optional. Whether valid entries should be written even if some other @@ -261,12 +264,12 @@ message ListLogEntriesRequest { ]; // Optional. A filter that chooses which log entries to return. See [Advanced - // Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries). Only log entries that - // match the filter 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 filter is 20000 characters. + // Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries). + // Only log entries that match the filter 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 filter is + // 20000 characters. string filter = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. How the results should be sorted. Presently, the only permitted @@ -278,7 +281,8 @@ message ListLogEntriesRequest { string order_by = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. The maximum number of results to return from this request. - // Non-positive values are ignored. The presence of `next_page_token` in the + // Default is 50. If the value is negative or exceeds 1000, + // the request is rejected. The presence of `next_page_token` in the // response indicates that more results might be available. int32 page_size = 4 [(google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging_config.proto b/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging_config.proto index 5fd8d496d..9486f4a9a 100644 --- a/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging_config.proto +++ b/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging_config.proto @@ -382,7 +382,8 @@ service ConfigServiceV2 { // the GCP organization. // // See [Enabling CMEK for Logs - // Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + // Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + // for more information. rpc GetCmekSettings(GetCmekSettingsRequest) returns (CmekSettings) { option (google.api.http) = { get: "/v2/{name=*/*}/cmekSettings" @@ -405,7 +406,8 @@ service ConfigServiceV2 { // 3) access to the key is disabled. // // See [Enabling CMEK for Logs - // Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + // Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + // for more information. rpc UpdateCmekSettings(UpdateCmekSettingsRequest) returns (CmekSettings) { option (google.api.http) = { patch: "/v2/{name=*/*}/cmekSettings" @@ -474,9 +476,7 @@ message LogSink { pattern: "billingAccounts/{billing_account}/sinks/{sink}" }; - // Available log entry formats. Log entries can be written to - // Logging in either format and can be exported in either format. - // Version 2 is the preferred format. + // Deprecated. This is unused. enum VersionFormat { // An unspecified format version that will default to V2. VERSION_FORMAT_UNSPECIFIED = 0; @@ -504,7 +504,8 @@ message LogSink { // The sink's `writer_identity`, set when the sink is created, must // have permission to write to the destination or else the log // entries are not exported. For more information, see - // [Exporting Logs with Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). + // [Exporting Logs with + // Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). string destination = 3 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -512,9 +513,10 @@ message LogSink { } ]; - // Optional. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries). The only - // exported log entries are those that are in the resource owning the sink and - // that match the filter. For example: + // Optional. An [advanced logs + // filter](https://cloud.google.com/logging/docs/view/advanced-queries). The + // only exported log entries are those that are in the resource owning the + // sink and that match the filter. For example: // // logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR string filter = 5 [(google.api.field_behavior) = OPTIONAL]; @@ -527,8 +529,7 @@ message LogSink { // export any log entries. bool disabled = 19 [(google.api.field_behavior) = OPTIONAL]; - // Deprecated. The log entry format to use for this sink's exported log - // entries. The v2 format is used by default and cannot be changed. + // Deprecated. This field is unused. VersionFormat output_version_format = 6 [deprecated = true]; // Output only. An IAM identity–a service account or group—under which Logging @@ -580,12 +581,13 @@ message LogSink { // Options that change functionality of a sink exporting data to BigQuery. message BigQueryOptions { // Optional. Whether to use [BigQuery's partition - // tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Logging - // creates dated tables based on the log entries' timestamps, e.g. - // syslog_20170523. With partitioned tables the date suffix is no longer + // tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By + // default, Logging creates dated tables based on the log entries' timestamps, + // e.g. syslog_20170523. With partitioned tables the date suffix is no longer // present and [special query - // syntax](https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. - // In both cases, tables are sharded based on UTC timezone. + // syntax](https://cloud.google.com/bigquery/docs/querying-partitioned-tables) + // has to be used instead. In both cases, tables are sharded based on UTC + // timezone. bool use_partitioned_tables = 1 [(google.api.field_behavior) = OPTIONAL]; // Output only. True if new timestamp column based partitioning is in use, @@ -626,7 +628,8 @@ message ListBucketsRequest { (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { child_type: "logging.googleapis.com/LogBucket" - }]; + } + ]; // Optional. If present, then retrieve the next batch of results from the // preceding call to this method. `pageToken` must be the value of @@ -890,9 +893,10 @@ message LogExclusion { // Optional. A description of this exclusion. string description = 2 [(google.api.field_behavior) = OPTIONAL]; - // Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced-queries) - // that matches the log entries to be excluded. By using the - // [sample function](https://cloud.google.com/logging/docs/view/advanced-queries#sample), + // Required. An [advanced logs + // filter](https://cloud.google.com/logging/docs/view/advanced-queries) that + // matches the log entries to be excluded. By using the [sample + // function](https://cloud.google.com/logging/docs/view/advanced-queries#sample), // you can exclude less than 100% of the matching log entries. // For example, the following query matches 99% of low-severity log // entries from Google Cloud Storage buckets: @@ -1047,8 +1051,9 @@ message DeleteExclusionRequest { // The parameters to // [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings]. // -// See [Enabling CMEK for Logs Router](https://cloud.google.com/logging/docs/routing/managed-encryption) -// for more information. +// See [Enabling CMEK for Logs +// Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for +// more information. message GetCmekSettingsRequest { // Required. The resource for which to retrieve CMEK settings. // @@ -1073,8 +1078,9 @@ message GetCmekSettingsRequest { // The parameters to // [UpdateCmekSettings][google.logging.v2.ConfigServiceV2.UpdateCmekSettings]. // -// See [Enabling CMEK for Logs Router](https://cloud.google.com/logging/docs/routing/managed-encryption) -// for more information. +// See [Enabling CMEK for Logs +// Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for +// more information. message UpdateCmekSettingsRequest { // Required. The resource name for the CMEK settings to update. // @@ -1093,7 +1099,8 @@ message UpdateCmekSettingsRequest { // Required. The CMEK settings to update. // // See [Enabling CMEK for Logs - // Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + // Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + // for more information. CmekSettings cmek_settings = 2 [(google.api.field_behavior) = REQUIRED]; // Optional. Field mask identifying which fields from `cmek_settings` should @@ -1113,8 +1120,9 @@ message UpdateCmekSettingsRequest { // organizations. Once configured, it applies to all projects and folders in the // GCP organization. // -// See [Enabling CMEK for Logs Router](https://cloud.google.com/logging/docs/routing/managed-encryption) -// for more information. +// See [Enabling CMEK for Logs +// Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for +// more information. message CmekSettings { option (google.api.resource) = { type: "logging.googleapis.com/CmekSettings" @@ -1150,7 +1158,8 @@ message CmekSettings { // To disable CMEK for the Logs Router, set this field to an empty string. // // See [Enabling CMEK for Logs - // Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + // Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + // for more information. string kms_key_name = 2; // Output only. The service account that will be used by the Logs Router to access your @@ -1163,6 +1172,7 @@ message CmekSettings { // obtain the service account ID. // // See [Enabling CMEK for Logs - // Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. + // Router](https://cloud.google.com/logging/docs/routing/managed-encryption) + // for more information. string service_account_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging_metrics.proto b/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging_metrics.proto index e147578a7..eb9f73ffa 100644 --- a/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging_metrics.proto +++ b/proto-google-cloud-logging-v2/src/main/proto/google/logging/v2/logging_metrics.proto @@ -130,9 +130,9 @@ message LogMetric { // The maximum length of the description is 8000 characters. string description = 2 [(google.api.field_behavior) = OPTIONAL]; - // Required. An [advanced logs filter](https://cloud.google.com/logging/docs/view/advanced_filters) which is - // used to match log entries. - // Example: + // Required. An [advanced logs + // filter](https://cloud.google.com/logging/docs/view/advanced_filters) which + // is used to match log entries. Example: // // "resource.type=gae_app AND severity>=ERROR" // diff --git a/synth.metadata b/synth.metadata index 6fe21470f..d75e9f8e2 100644 --- a/synth.metadata +++ b/synth.metadata @@ -11,8 +11,8 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "e0558da52e48b9f1a4bd5104e6b5e219a48f1dec", - "internalRef": "316038172" + "sha": "aba9760d6abc15f724753c26d6f306e0f76dd11a", + "internalRef": "320016414" } }, {