From c0e1088026cde57d5646df903ab64cc359141df8 Mon Sep 17 00:00:00 2001
From: Chris Wilcox <crwilcox@google.com>
Date: Thu, 29 Nov 2018 12:45:44 -0800
Subject: [PATCH 1/2] Run black at end of synth.py

---
 asset/synth.py                 |  2 ++
 automl/synth.py                |  2 ++
 bigquery_datatransfer/synth.py |  2 ++
 bigtable/synth.py              |  2 ++
 container/synth.py             |  2 ++
 dataproc/synth.py              |  2 ++
 datastore/synth.py             |  2 ++
 dlp/synth.py                   |  2 ++
 error_reporting/synth.py       |  2 ++
 firestore/synth.py             |  2 ++
 iot/synth.py                   |  2 ++
 kms/synth.py                   |  2 ++
 language/synth.py              |  2 ++
 logging/noxfile.py             | 27 ++++++++++++---------------
 logging/synth.py               |  4 +++-
 monitoring/synth.py            |  2 ++
 oslogin/synth.py               |  2 ++
 pubsub/synth.py                |  2 ++
 redis/synth.py                 |  2 ++
 scheduler/synth.py             |  2 ++
 securitycenter/synth.py        |  2 ++
 spanner/synth.py               |  2 ++
 speech/synth.py                |  2 ++
 tasks/synth.py                 |  2 ++
 texttospeech/synth.py          |  2 ++
 trace/synth.py                 |  2 ++
 videointelligence/synth.py     |  2 ++
 vision/synth.py                |  2 ++
 websecurityscanner/synth.py    |  2 ++
 29 files changed, 69 insertions(+), 16 deletions(-)

diff --git a/asset/synth.py b/asset/synth.py
index 0855cd9e59fa..9c50db4061d0 100644
--- a/asset/synth.py
+++ b/asset/synth.py
@@ -84,3 +84,5 @@
 # ----------------------------------------------------------------------------
 templated_files = gcp.CommonTemplates().py_library(unit_cov_level=79, cov_level=80)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/automl/synth.py b/automl/synth.py
index 8d7eef7e5341..19f1144db29c 100644
--- a/automl/synth.py
+++ b/automl/synth.py
@@ -57,3 +57,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=82, cov_level=83)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/bigquery_datatransfer/synth.py b/bigquery_datatransfer/synth.py
index 0ac9ede1afe0..290bdcbfb8e2 100644
--- a/bigquery_datatransfer/synth.py
+++ b/bigquery_datatransfer/synth.py
@@ -63,3 +63,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=80, cov_level=80)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/bigtable/synth.py b/bigtable/synth.py
index e3b51d026f6a..6fb2f37af307 100644
--- a/bigtable/synth.py
+++ b/bigtable/synth.py
@@ -86,3 +86,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=97, cov_level=99)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/container/synth.py b/container/synth.py
index 41812254e8c5..93df9ecc8adf 100644
--- a/container/synth.py
+++ b/container/synth.py
@@ -57,3 +57,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=76, cov_level=77)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/dataproc/synth.py b/dataproc/synth.py
index 81c7a88adc7b..d38f35499912 100644
--- a/dataproc/synth.py
+++ b/dataproc/synth.py
@@ -83,3 +83,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=97, cov_level=100)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/datastore/synth.py b/datastore/synth.py
index efd03dc21547..cd9c11e2bc3d 100644
--- a/datastore/synth.py
+++ b/datastore/synth.py
@@ -37,3 +37,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=97, cov_level=100)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/dlp/synth.py b/dlp/synth.py
index 97094534612d..d1dbee2e8bc2 100644
--- a/dlp/synth.py
+++ b/dlp/synth.py
@@ -257,3 +257,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=97, cov_level=100)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/error_reporting/synth.py b/error_reporting/synth.py
index 2fcd333bb551..540761b4c55a 100644
--- a/error_reporting/synth.py
+++ b/error_reporting/synth.py
@@ -63,3 +63,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=97, cov_level=100)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/firestore/synth.py b/firestore/synth.py
index d9e10e5001a3..5a5972e56776 100644
--- a/firestore/synth.py
+++ b/firestore/synth.py
@@ -50,3 +50,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=97, cov_level=100)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/iot/synth.py b/iot/synth.py
index abca4b5537ba..315caa1bfc7e 100644
--- a/iot/synth.py
+++ b/iot/synth.py
@@ -38,3 +38,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=80, cov_level=80)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/kms/synth.py b/kms/synth.py
index 7c7585d4e81e..00e8a24a6a3c 100644
--- a/kms/synth.py
+++ b/kms/synth.py
@@ -40,3 +40,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=97, cov_level=100)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/language/synth.py b/language/synth.py
index 9e1bd5e203f4..b1a09b3acb0f 100644
--- a/language/synth.py
+++ b/language/synth.py
@@ -43,3 +43,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=87, cov_level=87)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/logging/noxfile.py b/logging/noxfile.py
index 882d014b9f08..1b9445a86686 100644
--- a/logging/noxfile.py
+++ b/logging/noxfile.py
@@ -33,41 +33,38 @@
     'webob',
 )
 
+
 @nox.session(python="3.7")
-def blacken(session):
-    """Run black.
+def lint(session):
+    """Run linters.
 
-    Format code to uniform standard.
+    Returns a failure if the linters find linting errors or sufficiently
+    serious code quality issues.
     """
-    session.install("black")
+    session.install("flake8", "black", *LOCAL_DEPS)
     session.run(
         "black",
+        "--check",
         "google",
         "tests",
         "docs",
-        "--exclude",
-        ".*/proto/.*|.*/gapic/.*|.*/.*_pb2.py",
     )
+    session.run("flake8", "google", "tests")
 
 
 @nox.session(python="3.7")
-def lint(session):
-    """Run linters.
+def blacken(session):
+    """Run black.
 
-    Returns a failure if the linters find linting errors or sufficiently
-    serious code quality issues.
+    Format code to uniform standard.
     """
-    session.install("flake8", "black", *LOCAL_DEPS)
+    session.install("black")
     session.run(
         "black",
-        "--check",
         "google",
         "tests",
         "docs",
-        "--exclude",
-        ".*/proto/.*|.*/gapic/.*|.*/.*_pb2.py",
     )
-    session.run("flake8", "google", "tests")
 
 
 @nox.session(python="3.7")
diff --git a/logging/synth.py b/logging/synth.py
index a3e978335ac5..922d805e9b2c 100644
--- a/logging/synth.py
+++ b/logging/synth.py
@@ -42,4 +42,6 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=95, cov_level=100)
 # Don't move noxfile. logging has special testing setups for django, etc
-s.move(templated_files, exclude="noxfile.py")
+s.move(templated_files, excludes="noxfile.py")
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/monitoring/synth.py b/monitoring/synth.py
index 0d32c2c577df..23f0208add00 100644
--- a/monitoring/synth.py
+++ b/monitoring/synth.py
@@ -106,3 +106,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=97, cov_level=97)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/oslogin/synth.py b/oslogin/synth.py
index f237411ec769..551a881bc986 100644
--- a/oslogin/synth.py
+++ b/oslogin/synth.py
@@ -44,3 +44,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=97, cov_level=100)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/pubsub/synth.py b/pubsub/synth.py
index 0289f096dddd..50fc92a07a9a 100644
--- a/pubsub/synth.py
+++ b/pubsub/synth.py
@@ -111,3 +111,5 @@
 # ----------------------------------------------------------------------------
 templated_files = gcp.CommonTemplates().py_library(unit_cov_level=97, cov_level=100)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/redis/synth.py b/redis/synth.py
index 0f12ecca6008..067dc96047fb 100644
--- a/redis/synth.py
+++ b/redis/synth.py
@@ -97,3 +97,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=97, cov_level=100)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/scheduler/synth.py b/scheduler/synth.py
index 21148a824e2d..f0e1dde5877a 100644
--- a/scheduler/synth.py
+++ b/scheduler/synth.py
@@ -48,3 +48,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=79, cov_level=80)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/securitycenter/synth.py b/securitycenter/synth.py
index e8929f3f37fe..4f1d60325ce4 100644
--- a/securitycenter/synth.py
+++ b/securitycenter/synth.py
@@ -38,3 +38,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=97, cov_level=100)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/spanner/synth.py b/spanner/synth.py
index 8de938b71f88..5bd4fef1974f 100644
--- a/spanner/synth.py
+++ b/spanner/synth.py
@@ -130,3 +130,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=97, cov_level=100)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/speech/synth.py b/speech/synth.py
index ffc94a7ad780..d28372d6b3a5 100644
--- a/speech/synth.py
+++ b/speech/synth.py
@@ -60,3 +60,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=97, cov_level=100)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/tasks/synth.py b/tasks/synth.py
index f738289582a4..259e77143f86 100644
--- a/tasks/synth.py
+++ b/tasks/synth.py
@@ -69,3 +69,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=97, cov_level=100)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/texttospeech/synth.py b/texttospeech/synth.py
index d7c5f05531d8..ae28fac39190 100644
--- a/texttospeech/synth.py
+++ b/texttospeech/synth.py
@@ -42,3 +42,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=97, cov_level=100)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/trace/synth.py b/trace/synth.py
index 7c0301ef0155..573b5d6ffb21 100644
--- a/trace/synth.py
+++ b/trace/synth.py
@@ -50,3 +50,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=97, cov_level=100)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/videointelligence/synth.py b/videointelligence/synth.py
index 3fd66570e45e..da1e5c52d599 100644
--- a/videointelligence/synth.py
+++ b/videointelligence/synth.py
@@ -64,3 +64,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=97, cov_level=100)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/vision/synth.py b/vision/synth.py
index 8179c2b112cc..6c9bbd3b413d 100644
--- a/vision/synth.py
+++ b/vision/synth.py
@@ -80,3 +80,5 @@
     unit_cov_level=97, cov_level=100, system_test_dependencies=["../storage"]
 )
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/websecurityscanner/synth.py b/websecurityscanner/synth.py
index c9118b437b3f..7242b66a3110 100644
--- a/websecurityscanner/synth.py
+++ b/websecurityscanner/synth.py
@@ -39,3 +39,5 @@
 # ----------------------------------------------------------------------------
 templated_files = common.py_library(unit_cov_level=97, cov_level=100)
 s.move(templated_files)
+
+s.shell.run(["nox", "-s", "blacken"], hide_output=False)

From 5277a425f4a8fc3e11999a401498621a59ae8b9c Mon Sep 17 00:00:00 2001
From: Chris Wilcox <crwilcox@google.com>
Date: Thu, 29 Nov 2018 12:59:01 -0800
Subject: [PATCH 2/2] blacken logging

---
 .../cloud/logging_v2/proto/log_entry_pb2.py   |  998 +++++---
 .../logging_v2/proto/log_entry_pb2_grpc.py    |    1 -
 .../logging_v2/proto/logging_config_pb2.py    | 2114 ++++++++++-------
 .../proto/logging_config_pb2_grpc.py          |  303 +--
 .../logging_v2/proto/logging_metrics_pb2.py   | 1198 ++++++----
 .../proto/logging_metrics_pb2_grpc.py         |  163 +-
 .../cloud/logging_v2/proto/logging_pb2.py     | 1621 ++++++++-----
 .../logging_v2/proto/logging_pb2_grpc.py      |  163 +-
 8 files changed, 4037 insertions(+), 2524 deletions(-)

diff --git a/logging/google/cloud/logging_v2/proto/log_entry_pb2.py b/logging/google/cloud/logging_v2/proto/log_entry_pb2.py
index 0b5f10f863cc..a69978eb1e2f 100644
--- a/logging/google/cloud/logging_v2/proto/log_entry_pb2.py
+++ b/logging/google/cloud/logging_v2/proto/log_entry_pb2.py
@@ -3,354 +3,678 @@
 # source: google/cloud/logging_v2/proto/log_entry.proto
 
 import sys
-_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
+
+_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
 from google.protobuf import descriptor as _descriptor
 from google.protobuf import message as _message
 from google.protobuf import reflection as _reflection
 from google.protobuf import symbol_database as _symbol_database
 from google.protobuf import descriptor_pb2
+
 # @@protoc_insertion_point(imports)
 
 _sym_db = _symbol_database.Default()
 
 
 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
-from google.api import monitored_resource_pb2 as google_dot_api_dot_monitored__resource__pb2
-from google.logging.type import http_request_pb2 as google_dot_logging_dot_type_dot_http__request__pb2
-from google.logging.type import log_severity_pb2 as google_dot_logging_dot_type_dot_log__severity__pb2
+from google.api import (
+    monitored_resource_pb2 as google_dot_api_dot_monitored__resource__pb2,
+)
+from google.logging.type import (
+    http_request_pb2 as google_dot_logging_dot_type_dot_http__request__pb2,
+)
+from google.logging.type import (
+    log_severity_pb2 as google_dot_logging_dot_type_dot_log__severity__pb2,
+)
 from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
 from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
 
 
 DESCRIPTOR = _descriptor.FileDescriptor(
-  name='google/cloud/logging_v2/proto/log_entry.proto',
-  package='google.logging.v2',
-  syntax='proto3',
-  serialized_pb=_b('\n-google/cloud/logging_v2/proto/log_entry.proto\x12\x11google.logging.v2\x1a\x1cgoogle/api/annotations.proto\x1a#google/api/monitored_resource.proto\x1a&google/logging/type/http_request.proto\x1a&google/logging/type/log_severity.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8a\x06\n\x08LogEntry\x12\x10\n\x08log_name\x18\x0c \x01(\t\x12/\n\x08resource\x18\x08 \x01(\x0b\x32\x1d.google.api.MonitoredResource\x12-\n\rproto_payload\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyH\x00\x12\x16\n\x0ctext_payload\x18\x03 \x01(\tH\x00\x12/\n\x0cjson_payload\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x12-\n\ttimestamp\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11receive_timestamp\x18\x18 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x08severity\x18\n \x01(\x0e\x32 .google.logging.type.LogSeverity\x12\x11\n\tinsert_id\x18\x04 \x01(\t\x12\x36\n\x0chttp_request\x18\x07 \x01(\x0b\x32 .google.logging.type.HttpRequest\x12\x37\n\x06labels\x18\x0b \x03(\x0b\x32\'.google.logging.v2.LogEntry.LabelsEntry\x12\x37\n\x08metadata\x18\x19 \x01(\x0b\x32%.google.api.MonitoredResourceMetadata\x12\x37\n\toperation\x18\x0f \x01(\x0b\x32$.google.logging.v2.LogEntryOperation\x12\r\n\x05trace\x18\x16 \x01(\t\x12\x0f\n\x07span_id\x18\x1b \x01(\t\x12\x15\n\rtrace_sampled\x18\x1e \x01(\x08\x12\x42\n\x0fsource_location\x18\x17 \x01(\x0b\x32).google.logging.v2.LogEntrySourceLocation\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07payload\"N\n\x11LogEntryOperation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08producer\x18\x02 \x01(\t\x12\r\n\x05\x66irst\x18\x03 \x01(\x08\x12\x0c\n\x04last\x18\x04 \x01(\x08\"F\n\x16LogEntrySourceLocation\x12\x0c\n\x04\x66ile\x18\x01 \x01(\t\x12\x0c\n\x04line\x18\x02 \x01(\x03\x12\x10\n\x08\x66unction\x18\x03 \x01(\tB\x99\x01\n\x15\x63om.google.logging.v2B\rLogEntryProtoP\x01Z8google.golang.org/genproto/googleapis/logging/v2;logging\xf8\x01\x01\xaa\x02\x17Google.Cloud.Logging.V2\xca\x02\x17Google\\Cloud\\Logging\\V2b\x06proto3')
-  ,
-  dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_monitored__resource__pb2.DESCRIPTOR,google_dot_logging_dot_type_dot_http__request__pb2.DESCRIPTOR,google_dot_logging_dot_type_dot_log__severity__pb2.DESCRIPTOR,google_dot_protobuf_dot_any__pb2.DESCRIPTOR,google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,])
-
-
+    name="google/cloud/logging_v2/proto/log_entry.proto",
+    package="google.logging.v2",
+    syntax="proto3",
+    serialized_pb=_b(
+        '\n-google/cloud/logging_v2/proto/log_entry.proto\x12\x11google.logging.v2\x1a\x1cgoogle/api/annotations.proto\x1a#google/api/monitored_resource.proto\x1a&google/logging/type/http_request.proto\x1a&google/logging/type/log_severity.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x8a\x06\n\x08LogEntry\x12\x10\n\x08log_name\x18\x0c \x01(\t\x12/\n\x08resource\x18\x08 \x01(\x0b\x32\x1d.google.api.MonitoredResource\x12-\n\rproto_payload\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyH\x00\x12\x16\n\x0ctext_payload\x18\x03 \x01(\tH\x00\x12/\n\x0cjson_payload\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x12-\n\ttimestamp\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11receive_timestamp\x18\x18 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x08severity\x18\n \x01(\x0e\x32 .google.logging.type.LogSeverity\x12\x11\n\tinsert_id\x18\x04 \x01(\t\x12\x36\n\x0chttp_request\x18\x07 \x01(\x0b\x32 .google.logging.type.HttpRequest\x12\x37\n\x06labels\x18\x0b \x03(\x0b\x32\'.google.logging.v2.LogEntry.LabelsEntry\x12\x37\n\x08metadata\x18\x19 \x01(\x0b\x32%.google.api.MonitoredResourceMetadata\x12\x37\n\toperation\x18\x0f \x01(\x0b\x32$.google.logging.v2.LogEntryOperation\x12\r\n\x05trace\x18\x16 \x01(\t\x12\x0f\n\x07span_id\x18\x1b \x01(\t\x12\x15\n\rtrace_sampled\x18\x1e \x01(\x08\x12\x42\n\x0fsource_location\x18\x17 \x01(\x0b\x32).google.logging.v2.LogEntrySourceLocation\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07payload"N\n\x11LogEntryOperation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08producer\x18\x02 \x01(\t\x12\r\n\x05\x66irst\x18\x03 \x01(\x08\x12\x0c\n\x04last\x18\x04 \x01(\x08"F\n\x16LogEntrySourceLocation\x12\x0c\n\x04\x66ile\x18\x01 \x01(\t\x12\x0c\n\x04line\x18\x02 \x01(\x03\x12\x10\n\x08\x66unction\x18\x03 \x01(\tB\x99\x01\n\x15\x63om.google.logging.v2B\rLogEntryProtoP\x01Z8google.golang.org/genproto/googleapis/logging/v2;logging\xf8\x01\x01\xaa\x02\x17Google.Cloud.Logging.V2\xca\x02\x17Google\\Cloud\\Logging\\V2b\x06proto3'
+    ),
+    dependencies=[
+        google_dot_api_dot_annotations__pb2.DESCRIPTOR,
+        google_dot_api_dot_monitored__resource__pb2.DESCRIPTOR,
+        google_dot_logging_dot_type_dot_http__request__pb2.DESCRIPTOR,
+        google_dot_logging_dot_type_dot_log__severity__pb2.DESCRIPTOR,
+        google_dot_protobuf_dot_any__pb2.DESCRIPTOR,
+        google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,
+        google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,
+    ],
+)
 
 
 _LOGENTRY_LABELSENTRY = _descriptor.Descriptor(
-  name='LabelsEntry',
-  full_name='google.logging.v2.LogEntry.LabelsEntry',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='key', full_name='google.logging.v2.LogEntry.LabelsEntry.key', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='value', full_name='google.logging.v2.LogEntry.LabelsEntry.value', index=1,
-      number=2, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')),
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=1028,
-  serialized_end=1073,
+    name="LabelsEntry",
+    full_name="google.logging.v2.LogEntry.LabelsEntry",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="key",
+            full_name="google.logging.v2.LogEntry.LabelsEntry.key",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="value",
+            full_name="google.logging.v2.LogEntry.LabelsEntry.value",
+            index=1,
+            number=2,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b("8\001")),
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=1028,
+    serialized_end=1073,
 )
 
 _LOGENTRY = _descriptor.Descriptor(
-  name='LogEntry',
-  full_name='google.logging.v2.LogEntry',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='log_name', full_name='google.logging.v2.LogEntry.log_name', index=0,
-      number=12, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='resource', full_name='google.logging.v2.LogEntry.resource', index=1,
-      number=8, type=11, cpp_type=10, label=1,
-      has_default_value=False, default_value=None,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='proto_payload', full_name='google.logging.v2.LogEntry.proto_payload', index=2,
-      number=2, type=11, cpp_type=10, label=1,
-      has_default_value=False, default_value=None,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='text_payload', full_name='google.logging.v2.LogEntry.text_payload', index=3,
-      number=3, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='json_payload', full_name='google.logging.v2.LogEntry.json_payload', index=4,
-      number=6, type=11, cpp_type=10, label=1,
-      has_default_value=False, default_value=None,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='timestamp', full_name='google.logging.v2.LogEntry.timestamp', index=5,
-      number=9, type=11, cpp_type=10, label=1,
-      has_default_value=False, default_value=None,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='receive_timestamp', full_name='google.logging.v2.LogEntry.receive_timestamp', index=6,
-      number=24, type=11, cpp_type=10, label=1,
-      has_default_value=False, default_value=None,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='severity', full_name='google.logging.v2.LogEntry.severity', index=7,
-      number=10, type=14, cpp_type=8, label=1,
-      has_default_value=False, default_value=0,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='insert_id', full_name='google.logging.v2.LogEntry.insert_id', index=8,
-      number=4, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='http_request', full_name='google.logging.v2.LogEntry.http_request', index=9,
-      number=7, type=11, cpp_type=10, label=1,
-      has_default_value=False, default_value=None,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='labels', full_name='google.logging.v2.LogEntry.labels', index=10,
-      number=11, type=11, cpp_type=10, label=3,
-      has_default_value=False, default_value=[],
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='metadata', full_name='google.logging.v2.LogEntry.metadata', index=11,
-      number=25, type=11, cpp_type=10, label=1,
-      has_default_value=False, default_value=None,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='operation', full_name='google.logging.v2.LogEntry.operation', index=12,
-      number=15, type=11, cpp_type=10, label=1,
-      has_default_value=False, default_value=None,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='trace', full_name='google.logging.v2.LogEntry.trace', index=13,
-      number=22, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='span_id', full_name='google.logging.v2.LogEntry.span_id', index=14,
-      number=27, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='trace_sampled', full_name='google.logging.v2.LogEntry.trace_sampled', index=15,
-      number=30, type=8, cpp_type=7, label=1,
-      has_default_value=False, default_value=False,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='source_location', full_name='google.logging.v2.LogEntry.source_location', index=16,
-      number=23, type=11, cpp_type=10, label=1,
-      has_default_value=False, default_value=None,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[_LOGENTRY_LABELSENTRY, ],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-    _descriptor.OneofDescriptor(
-      name='payload', full_name='google.logging.v2.LogEntry.payload',
-      index=0, containing_type=None, fields=[]),
-  ],
-  serialized_start=306,
-  serialized_end=1084,
+    name="LogEntry",
+    full_name="google.logging.v2.LogEntry",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="log_name",
+            full_name="google.logging.v2.LogEntry.log_name",
+            index=0,
+            number=12,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="resource",
+            full_name="google.logging.v2.LogEntry.resource",
+            index=1,
+            number=8,
+            type=11,
+            cpp_type=10,
+            label=1,
+            has_default_value=False,
+            default_value=None,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="proto_payload",
+            full_name="google.logging.v2.LogEntry.proto_payload",
+            index=2,
+            number=2,
+            type=11,
+            cpp_type=10,
+            label=1,
+            has_default_value=False,
+            default_value=None,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="text_payload",
+            full_name="google.logging.v2.LogEntry.text_payload",
+            index=3,
+            number=3,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="json_payload",
+            full_name="google.logging.v2.LogEntry.json_payload",
+            index=4,
+            number=6,
+            type=11,
+            cpp_type=10,
+            label=1,
+            has_default_value=False,
+            default_value=None,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="timestamp",
+            full_name="google.logging.v2.LogEntry.timestamp",
+            index=5,
+            number=9,
+            type=11,
+            cpp_type=10,
+            label=1,
+            has_default_value=False,
+            default_value=None,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="receive_timestamp",
+            full_name="google.logging.v2.LogEntry.receive_timestamp",
+            index=6,
+            number=24,
+            type=11,
+            cpp_type=10,
+            label=1,
+            has_default_value=False,
+            default_value=None,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="severity",
+            full_name="google.logging.v2.LogEntry.severity",
+            index=7,
+            number=10,
+            type=14,
+            cpp_type=8,
+            label=1,
+            has_default_value=False,
+            default_value=0,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="insert_id",
+            full_name="google.logging.v2.LogEntry.insert_id",
+            index=8,
+            number=4,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="http_request",
+            full_name="google.logging.v2.LogEntry.http_request",
+            index=9,
+            number=7,
+            type=11,
+            cpp_type=10,
+            label=1,
+            has_default_value=False,
+            default_value=None,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="labels",
+            full_name="google.logging.v2.LogEntry.labels",
+            index=10,
+            number=11,
+            type=11,
+            cpp_type=10,
+            label=3,
+            has_default_value=False,
+            default_value=[],
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="metadata",
+            full_name="google.logging.v2.LogEntry.metadata",
+            index=11,
+            number=25,
+            type=11,
+            cpp_type=10,
+            label=1,
+            has_default_value=False,
+            default_value=None,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="operation",
+            full_name="google.logging.v2.LogEntry.operation",
+            index=12,
+            number=15,
+            type=11,
+            cpp_type=10,
+            label=1,
+            has_default_value=False,
+            default_value=None,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="trace",
+            full_name="google.logging.v2.LogEntry.trace",
+            index=13,
+            number=22,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="span_id",
+            full_name="google.logging.v2.LogEntry.span_id",
+            index=14,
+            number=27,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="trace_sampled",
+            full_name="google.logging.v2.LogEntry.trace_sampled",
+            index=15,
+            number=30,
+            type=8,
+            cpp_type=7,
+            label=1,
+            has_default_value=False,
+            default_value=False,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="source_location",
+            full_name="google.logging.v2.LogEntry.source_location",
+            index=16,
+            number=23,
+            type=11,
+            cpp_type=10,
+            label=1,
+            has_default_value=False,
+            default_value=None,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[_LOGENTRY_LABELSENTRY],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[
+        _descriptor.OneofDescriptor(
+            name="payload",
+            full_name="google.logging.v2.LogEntry.payload",
+            index=0,
+            containing_type=None,
+            fields=[],
+        )
+    ],
+    serialized_start=306,
+    serialized_end=1084,
 )
 
 
 _LOGENTRYOPERATION = _descriptor.Descriptor(
-  name='LogEntryOperation',
-  full_name='google.logging.v2.LogEntryOperation',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='id', full_name='google.logging.v2.LogEntryOperation.id', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='producer', full_name='google.logging.v2.LogEntryOperation.producer', index=1,
-      number=2, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='first', full_name='google.logging.v2.LogEntryOperation.first', index=2,
-      number=3, type=8, cpp_type=7, label=1,
-      has_default_value=False, default_value=False,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='last', full_name='google.logging.v2.LogEntryOperation.last', index=3,
-      number=4, type=8, cpp_type=7, label=1,
-      has_default_value=False, default_value=False,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=1086,
-  serialized_end=1164,
+    name="LogEntryOperation",
+    full_name="google.logging.v2.LogEntryOperation",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="id",
+            full_name="google.logging.v2.LogEntryOperation.id",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="producer",
+            full_name="google.logging.v2.LogEntryOperation.producer",
+            index=1,
+            number=2,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="first",
+            full_name="google.logging.v2.LogEntryOperation.first",
+            index=2,
+            number=3,
+            type=8,
+            cpp_type=7,
+            label=1,
+            has_default_value=False,
+            default_value=False,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="last",
+            full_name="google.logging.v2.LogEntryOperation.last",
+            index=3,
+            number=4,
+            type=8,
+            cpp_type=7,
+            label=1,
+            has_default_value=False,
+            default_value=False,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=1086,
+    serialized_end=1164,
 )
 
 
 _LOGENTRYSOURCELOCATION = _descriptor.Descriptor(
-  name='LogEntrySourceLocation',
-  full_name='google.logging.v2.LogEntrySourceLocation',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='file', full_name='google.logging.v2.LogEntrySourceLocation.file', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='line', full_name='google.logging.v2.LogEntrySourceLocation.line', index=1,
-      number=2, type=3, cpp_type=2, label=1,
-      has_default_value=False, default_value=0,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='function', full_name='google.logging.v2.LogEntrySourceLocation.function', index=2,
-      number=3, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=1166,
-  serialized_end=1236,
+    name="LogEntrySourceLocation",
+    full_name="google.logging.v2.LogEntrySourceLocation",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="file",
+            full_name="google.logging.v2.LogEntrySourceLocation.file",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="line",
+            full_name="google.logging.v2.LogEntrySourceLocation.line",
+            index=1,
+            number=2,
+            type=3,
+            cpp_type=2,
+            label=1,
+            has_default_value=False,
+            default_value=0,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="function",
+            full_name="google.logging.v2.LogEntrySourceLocation.function",
+            index=2,
+            number=3,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=1166,
+    serialized_end=1236,
 )
 
 _LOGENTRY_LABELSENTRY.containing_type = _LOGENTRY
-_LOGENTRY.fields_by_name['resource'].message_type = google_dot_api_dot_monitored__resource__pb2._MONITOREDRESOURCE
-_LOGENTRY.fields_by_name['proto_payload'].message_type = google_dot_protobuf_dot_any__pb2._ANY
-_LOGENTRY.fields_by_name['json_payload'].message_type = google_dot_protobuf_dot_struct__pb2._STRUCT
-_LOGENTRY.fields_by_name['timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
-_LOGENTRY.fields_by_name['receive_timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
-_LOGENTRY.fields_by_name['severity'].enum_type = google_dot_logging_dot_type_dot_log__severity__pb2._LOGSEVERITY
-_LOGENTRY.fields_by_name['http_request'].message_type = google_dot_logging_dot_type_dot_http__request__pb2._HTTPREQUEST
-_LOGENTRY.fields_by_name['labels'].message_type = _LOGENTRY_LABELSENTRY
-_LOGENTRY.fields_by_name['metadata'].message_type = google_dot_api_dot_monitored__resource__pb2._MONITOREDRESOURCEMETADATA
-_LOGENTRY.fields_by_name['operation'].message_type = _LOGENTRYOPERATION
-_LOGENTRY.fields_by_name['source_location'].message_type = _LOGENTRYSOURCELOCATION
-_LOGENTRY.oneofs_by_name['payload'].fields.append(
-  _LOGENTRY.fields_by_name['proto_payload'])
-_LOGENTRY.fields_by_name['proto_payload'].containing_oneof = _LOGENTRY.oneofs_by_name['payload']
-_LOGENTRY.oneofs_by_name['payload'].fields.append(
-  _LOGENTRY.fields_by_name['text_payload'])
-_LOGENTRY.fields_by_name['text_payload'].containing_oneof = _LOGENTRY.oneofs_by_name['payload']
-_LOGENTRY.oneofs_by_name['payload'].fields.append(
-  _LOGENTRY.fields_by_name['json_payload'])
-_LOGENTRY.fields_by_name['json_payload'].containing_oneof = _LOGENTRY.oneofs_by_name['payload']
-DESCRIPTOR.message_types_by_name['LogEntry'] = _LOGENTRY
-DESCRIPTOR.message_types_by_name['LogEntryOperation'] = _LOGENTRYOPERATION
-DESCRIPTOR.message_types_by_name['LogEntrySourceLocation'] = _LOGENTRYSOURCELOCATION
+_LOGENTRY.fields_by_name[
+    "resource"
+].message_type = google_dot_api_dot_monitored__resource__pb2._MONITOREDRESOURCE
+_LOGENTRY.fields_by_name[
+    "proto_payload"
+].message_type = google_dot_protobuf_dot_any__pb2._ANY
+_LOGENTRY.fields_by_name[
+    "json_payload"
+].message_type = google_dot_protobuf_dot_struct__pb2._STRUCT
+_LOGENTRY.fields_by_name[
+    "timestamp"
+].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
+_LOGENTRY.fields_by_name[
+    "receive_timestamp"
+].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
+_LOGENTRY.fields_by_name[
+    "severity"
+].enum_type = google_dot_logging_dot_type_dot_log__severity__pb2._LOGSEVERITY
+_LOGENTRY.fields_by_name[
+    "http_request"
+].message_type = google_dot_logging_dot_type_dot_http__request__pb2._HTTPREQUEST
+_LOGENTRY.fields_by_name["labels"].message_type = _LOGENTRY_LABELSENTRY
+_LOGENTRY.fields_by_name[
+    "metadata"
+].message_type = google_dot_api_dot_monitored__resource__pb2._MONITOREDRESOURCEMETADATA
+_LOGENTRY.fields_by_name["operation"].message_type = _LOGENTRYOPERATION
+_LOGENTRY.fields_by_name["source_location"].message_type = _LOGENTRYSOURCELOCATION
+_LOGENTRY.oneofs_by_name["payload"].fields.append(
+    _LOGENTRY.fields_by_name["proto_payload"]
+)
+_LOGENTRY.fields_by_name["proto_payload"].containing_oneof = _LOGENTRY.oneofs_by_name[
+    "payload"
+]
+_LOGENTRY.oneofs_by_name["payload"].fields.append(
+    _LOGENTRY.fields_by_name["text_payload"]
+)
+_LOGENTRY.fields_by_name["text_payload"].containing_oneof = _LOGENTRY.oneofs_by_name[
+    "payload"
+]
+_LOGENTRY.oneofs_by_name["payload"].fields.append(
+    _LOGENTRY.fields_by_name["json_payload"]
+)
+_LOGENTRY.fields_by_name["json_payload"].containing_oneof = _LOGENTRY.oneofs_by_name[
+    "payload"
+]
+DESCRIPTOR.message_types_by_name["LogEntry"] = _LOGENTRY
+DESCRIPTOR.message_types_by_name["LogEntryOperation"] = _LOGENTRYOPERATION
+DESCRIPTOR.message_types_by_name["LogEntrySourceLocation"] = _LOGENTRYSOURCELOCATION
 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
 
-LogEntry = _reflection.GeneratedProtocolMessageType('LogEntry', (_message.Message,), dict(
-
-  LabelsEntry = _reflection.GeneratedProtocolMessageType('LabelsEntry', (_message.Message,), dict(
-    DESCRIPTOR = _LOGENTRY_LABELSENTRY,
-    __module__ = 'google.cloud.logging_v2.proto.log_entry_pb2'
-    # @@protoc_insertion_point(class_scope:google.logging.v2.LogEntry.LabelsEntry)
-    ))
-  ,
-  DESCRIPTOR = _LOGENTRY,
-  __module__ = 'google.cloud.logging_v2.proto.log_entry_pb2'
-  ,
-  __doc__ = """An individual entry in a log.
+LogEntry = _reflection.GeneratedProtocolMessageType(
+    "LogEntry",
+    (_message.Message,),
+    dict(
+        LabelsEntry=_reflection.GeneratedProtocolMessageType(
+            "LabelsEntry",
+            (_message.Message,),
+            dict(
+                DESCRIPTOR=_LOGENTRY_LABELSENTRY,
+                __module__="google.cloud.logging_v2.proto.log_entry_pb2"
+                # @@protoc_insertion_point(class_scope:google.logging.v2.LogEntry.LabelsEntry)
+            ),
+        ),
+        DESCRIPTOR=_LOGENTRY,
+        __module__="google.cloud.logging_v2.proto.log_entry_pb2",
+        __doc__="""An individual entry in a log.
   
   
   Attributes:
@@ -457,16 +781,19 @@
           Optional. Source code location information associated with the
           log entry, if any.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.LogEntry)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.LogEntry)
+    ),
+)
 _sym_db.RegisterMessage(LogEntry)
 _sym_db.RegisterMessage(LogEntry.LabelsEntry)
 
-LogEntryOperation = _reflection.GeneratedProtocolMessageType('LogEntryOperation', (_message.Message,), dict(
-  DESCRIPTOR = _LOGENTRYOPERATION,
-  __module__ = 'google.cloud.logging_v2.proto.log_entry_pb2'
-  ,
-  __doc__ = """Additional information about a potentially long-running operation with
+LogEntryOperation = _reflection.GeneratedProtocolMessageType(
+    "LogEntryOperation",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_LOGENTRYOPERATION,
+        __module__="google.cloud.logging_v2.proto.log_entry_pb2",
+        __doc__="""Additional information about a potentially long-running operation with
   which a log entry is associated.
   
   
@@ -487,15 +814,18 @@
           Optional. Set this to True if this is the last log entry in
           the operation.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.LogEntryOperation)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.LogEntryOperation)
+    ),
+)
 _sym_db.RegisterMessage(LogEntryOperation)
 
-LogEntrySourceLocation = _reflection.GeneratedProtocolMessageType('LogEntrySourceLocation', (_message.Message,), dict(
-  DESCRIPTOR = _LOGENTRYSOURCELOCATION,
-  __module__ = 'google.cloud.logging_v2.proto.log_entry_pb2'
-  ,
-  __doc__ = """Additional information about the source code location that produced the
+LogEntrySourceLocation = _reflection.GeneratedProtocolMessageType(
+    "LogEntrySourceLocation",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_LOGENTRYSOURCELOCATION,
+        __module__="google.cloud.logging_v2.proto.log_entry_pb2",
+        __doc__="""Additional information about the source code location that produced the
   log entry.
   
   
@@ -516,13 +846,21 @@
           ``qual.if.ied.Class.method`` (Java), ``dir/package.func``
           (Go), ``function`` (Python).
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.LogEntrySourceLocation)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.LogEntrySourceLocation)
+    ),
+)
 _sym_db.RegisterMessage(LogEntrySourceLocation)
 
 
 DESCRIPTOR.has_options = True
-DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\025com.google.logging.v2B\rLogEntryProtoP\001Z8google.golang.org/genproto/googleapis/logging/v2;logging\370\001\001\252\002\027Google.Cloud.Logging.V2\312\002\027Google\\Cloud\\Logging\\V2'))
+DESCRIPTOR._options = _descriptor._ParseOptions(
+    descriptor_pb2.FileOptions(),
+    _b(
+        "\n\025com.google.logging.v2B\rLogEntryProtoP\001Z8google.golang.org/genproto/googleapis/logging/v2;logging\370\001\001\252\002\027Google.Cloud.Logging.V2\312\002\027Google\\Cloud\\Logging\\V2"
+    ),
+)
 _LOGENTRY_LABELSENTRY.has_options = True
-_LOGENTRY_LABELSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
+_LOGENTRY_LABELSENTRY._options = _descriptor._ParseOptions(
+    descriptor_pb2.MessageOptions(), _b("8\001")
+)
 # @@protoc_insertion_point(module_scope)
diff --git a/logging/google/cloud/logging_v2/proto/log_entry_pb2_grpc.py b/logging/google/cloud/logging_v2/proto/log_entry_pb2_grpc.py
index a89435267cb2..07cb78fe03a9 100644
--- a/logging/google/cloud/logging_v2/proto/log_entry_pb2_grpc.py
+++ b/logging/google/cloud/logging_v2/proto/log_entry_pb2_grpc.py
@@ -1,3 +1,2 @@
 # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
 import grpc
-
diff --git a/logging/google/cloud/logging_v2/proto/logging_config_pb2.py b/logging/google/cloud/logging_v2/proto/logging_config_pb2.py
index 17a3ec78985c..5782fd342c21 100644
--- a/logging/google/cloud/logging_v2/proto/logging_config_pb2.py
+++ b/logging/google/cloud/logging_v2/proto/logging_config_pb2.py
@@ -3,12 +3,14 @@
 # source: google/cloud/logging_v2/proto/logging_config.proto
 
 import sys
-_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
+
+_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
 from google.protobuf import descriptor as _descriptor
 from google.protobuf import message as _message
 from google.protobuf import reflection as _reflection
 from google.protobuf import symbol_database as _symbol_database
 from google.protobuf import descriptor_pb2
+
 # @@protoc_insertion_point(imports)
 
 _sym_db = _symbol_database.Default()
@@ -21,677 +23,1075 @@
 
 
 DESCRIPTOR = _descriptor.FileDescriptor(
-  name='google/cloud/logging_v2/proto/logging_config.proto',
-  package='google.logging.v2',
-  syntax='proto3',
-  serialized_pb=_b('\n2google/cloud/logging_v2/proto/logging_config.proto\x12\x11google.logging.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe3\x02\n\x07LogSink\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65stination\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\x12K\n\x15output_version_format\x18\x06 \x01(\x0e\x32(.google.logging.v2.LogSink.VersionFormatB\x02\x18\x01\x12\x17\n\x0fwriter_identity\x18\x08 \x01(\t\x12\x18\n\x10include_children\x18\t \x01(\x08\x12\x32\n\nstart_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02\x18\x01\x12\x30\n\x08\x65nd_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02\x18\x01\"?\n\rVersionFormat\x12\x1e\n\x1aVERSION_FORMAT_UNSPECIFIED\x10\x00\x12\x06\n\x02V2\x10\x01\x12\x06\n\x02V1\x10\x02\"I\n\x10ListSinksRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\"W\n\x11ListSinksResponse\x12)\n\x05sinks\x18\x01 \x03(\x0b\x32\x1a.google.logging.v2.LogSink\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"#\n\x0eGetSinkRequest\x12\x11\n\tsink_name\x18\x01 \x01(\t\"m\n\x11\x43reateSinkRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12(\n\x04sink\x18\x02 \x01(\x0b\x32\x1a.google.logging.v2.LogSink\x12\x1e\n\x16unique_writer_identity\x18\x03 \x01(\x08\"\xa1\x01\n\x11UpdateSinkRequest\x12\x11\n\tsink_name\x18\x01 \x01(\t\x12(\n\x04sink\x18\x02 \x01(\x0b\x32\x1a.google.logging.v2.LogSink\x12\x1e\n\x16unique_writer_identity\x18\x03 \x01(\x08\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"&\n\x11\x44\x65leteSinkRequest\x12\x11\n\tsink_name\x18\x01 \x01(\t\"S\n\x0cLogExclusion\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x03 \x01(\t\x12\x10\n\x08\x64isabled\x18\x04 \x01(\x08\"N\n\x15ListExclusionsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\"f\n\x16ListExclusionsResponse\x12\x33\n\nexclusions\x18\x01 \x03(\x0b\x32\x1f.google.logging.v2.LogExclusion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"#\n\x13GetExclusionRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"\\\n\x16\x43reateExclusionRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x32\n\texclusion\x18\x02 \x01(\x0b\x32\x1f.google.logging.v2.LogExclusion\"\x8b\x01\n\x16UpdateExclusionRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\texclusion\x18\x02 \x01(\x0b\x32\x1f.google.logging.v2.LogExclusion\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"&\n\x16\x44\x65leteExclusionRequest\x12\x0c\n\x04name\x18\x01 \x01(\t2\x94\x19\n\x0f\x43onfigServiceV2\x12\x87\x02\n\tListSinks\x12#.google.logging.v2.ListSinksRequest\x1a$.google.logging.v2.ListSinksResponse\"\xae\x01\x82\xd3\xe4\x93\x02\xa7\x01\x12\x16/v2/{parent=*/*}/sinksZ\x1f\x12\x1d/v2/{parent=projects/*}/sinksZ$\x12\"/v2/{parent=organizations/*}/sinksZ\x1e\x12\x1c/v2/{parent=folders/*}/sinksZ&\x12$/v2/{parent=billingAccounts/*}/sinks\x12\x92\x02\n\x07GetSink\x12!.google.logging.v2.GetSinkRequest\x1a\x1a.google.logging.v2.LogSink\"\xc7\x01\x82\xd3\xe4\x93\x02\xc0\x01\x12\x1b/v2/{sink_name=*/*/sinks/*}Z$\x12\"/v2/{sink_name=projects/*/sinks/*}Z)\x12\'/v2/{sink_name=organizations/*/sinks/*}Z#\x12!/v2/{sink_name=folders/*/sinks/*}Z+\x12)/v2/{sink_name=billingAccounts/*/sinks/*}\x12\x9d\x02\n\nCreateSink\x12$.google.logging.v2.CreateSinkRequest\x1a\x1a.google.logging.v2.LogSink\"\xcc\x01\x82\xd3\xe4\x93\x02\xc5\x01\"\x16/v2/{parent=*/*}/sinks:\x04sinkZ%\"\x1d/v2/{parent=projects/*}/sinks:\x04sinkZ*\"\"/v2/{parent=organizations/*}/sinks:\x04sinkZ$\"\x1c/v2/{parent=folders/*}/sinks:\x04sinkZ,\"$/v2/{parent=billingAccounts/*}/sinks:\x04sink\x12\xf1\x03\n\nUpdateSink\x12$.google.logging.v2.UpdateSinkRequest\x1a\x1a.google.logging.v2.LogSink\"\xa0\x03\x82\xd3\xe4\x93\x02\x99\x03\x1a\x1b/v2/{sink_name=*/*/sinks/*}:\x04sinkZ*\x1a\"/v2/{sink_name=projects/*/sinks/*}:\x04sinkZ/\x1a\'/v2/{sink_name=organizations/*/sinks/*}:\x04sinkZ)\x1a!/v2/{sink_name=folders/*/sinks/*}:\x04sinkZ1\x1a)/v2/{sink_name=billingAccounts/*/sinks/*}:\x04sinkZ*2\"/v2/{sink_name=projects/*/sinks/*}:\x04sinkZ/2\'/v2/{sink_name=organizations/*/sinks/*}:\x04sinkZ)2!/v2/{sink_name=folders/*/sinks/*}:\x04sinkZ12)/v2/{sink_name=billingAccounts/*/sinks/*}:\x04sink\x12\x94\x02\n\nDeleteSink\x12$.google.logging.v2.DeleteSinkRequest\x1a\x16.google.protobuf.Empty\"\xc7\x01\x82\xd3\xe4\x93\x02\xc0\x01*\x1b/v2/{sink_name=*/*/sinks/*}Z$*\"/v2/{sink_name=projects/*/sinks/*}Z)*\'/v2/{sink_name=organizations/*/sinks/*}Z#*!/v2/{sink_name=folders/*/sinks/*}Z+*)/v2/{sink_name=billingAccounts/*/sinks/*}\x12\xaf\x02\n\x0eListExclusions\x12(.google.logging.v2.ListExclusionsRequest\x1a).google.logging.v2.ListExclusionsResponse\"\xc7\x01\x82\xd3\xe4\x93\x02\xc0\x01\x12\x1b/v2/{parent=*/*}/exclusionsZ$\x12\"/v2/{parent=projects/*}/exclusionsZ)\x12\'/v2/{parent=organizations/*}/exclusionsZ#\x12!/v2/{parent=folders/*}/exclusionsZ+\x12)/v2/{parent=billingAccounts/*}/exclusions\x12\xa1\x02\n\x0cGetExclusion\x12&.google.logging.v2.GetExclusionRequest\x1a\x1f.google.logging.v2.LogExclusion\"\xc7\x01\x82\xd3\xe4\x93\x02\xc0\x01\x12\x1b/v2/{name=*/*/exclusions/*}Z$\x12\"/v2/{name=projects/*/exclusions/*}Z)\x12\'/v2/{name=organizations/*/exclusions/*}Z#\x12!/v2/{name=folders/*/exclusions/*}Z+\x12)/v2/{name=billingAccounts/*/exclusions/*}\x12\xde\x02\n\x0f\x43reateExclusion\x12).google.logging.v2.CreateExclusionRequest\x1a\x1f.google.logging.v2.LogExclusion\"\xfe\x01\x82\xd3\xe4\x93\x02\xf7\x01\"\x1b/v2/{parent=*/*}/exclusions:\texclusionZ/\"\"/v2/{parent=projects/*}/exclusions:\texclusionZ4\"\'/v2/{parent=organizations/*}/exclusions:\texclusionZ.\"!/v2/{parent=folders/*}/exclusions:\texclusionZ6\")/v2/{parent=billingAccounts/*}/exclusions:\texclusion\x12\xde\x02\n\x0fUpdateExclusion\x12).google.logging.v2.UpdateExclusionRequest\x1a\x1f.google.logging.v2.LogExclusion\"\xfe\x01\x82\xd3\xe4\x93\x02\xf7\x01\x32\x1b/v2/{name=*/*/exclusions/*}:\texclusionZ/2\"/v2/{name=projects/*/exclusions/*}:\texclusionZ42\'/v2/{name=organizations/*/exclusions/*}:\texclusionZ.2!/v2/{name=folders/*/exclusions/*}:\texclusionZ62)/v2/{name=billingAccounts/*/exclusions/*}:\texclusion\x12\x9e\x02\n\x0f\x44\x65leteExclusion\x12).google.logging.v2.DeleteExclusionRequest\x1a\x16.google.protobuf.Empty\"\xc7\x01\x82\xd3\xe4\x93\x02\xc0\x01*\x1b/v2/{name=*/*/exclusions/*}Z$*\"/v2/{name=projects/*/exclusions/*}Z)*\'/v2/{name=organizations/*/exclusions/*}Z#*!/v2/{name=folders/*/exclusions/*}Z+*)/v2/{name=billingAccounts/*/exclusions/*}B\x9e\x01\n\x15\x63om.google.logging.v2B\x12LoggingConfigProtoP\x01Z8google.golang.org/genproto/googleapis/logging/v2;logging\xf8\x01\x01\xaa\x02\x17Google.Cloud.Logging.V2\xca\x02\x17Google\\Cloud\\Logging\\V2b\x06proto3')
-  ,
-  dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,])
-
+    name="google/cloud/logging_v2/proto/logging_config.proto",
+    package="google.logging.v2",
+    syntax="proto3",
+    serialized_pb=_b(
+        '\n2google/cloud/logging_v2/proto/logging_config.proto\x12\x11google.logging.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xe3\x02\n\x07LogSink\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65stination\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\x12K\n\x15output_version_format\x18\x06 \x01(\x0e\x32(.google.logging.v2.LogSink.VersionFormatB\x02\x18\x01\x12\x17\n\x0fwriter_identity\x18\x08 \x01(\t\x12\x18\n\x10include_children\x18\t \x01(\x08\x12\x32\n\nstart_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02\x18\x01\x12\x30\n\x08\x65nd_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02\x18\x01"?\n\rVersionFormat\x12\x1e\n\x1aVERSION_FORMAT_UNSPECIFIED\x10\x00\x12\x06\n\x02V2\x10\x01\x12\x06\n\x02V1\x10\x02"I\n\x10ListSinksRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05"W\n\x11ListSinksResponse\x12)\n\x05sinks\x18\x01 \x03(\x0b\x32\x1a.google.logging.v2.LogSink\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"#\n\x0eGetSinkRequest\x12\x11\n\tsink_name\x18\x01 \x01(\t"m\n\x11\x43reateSinkRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12(\n\x04sink\x18\x02 \x01(\x0b\x32\x1a.google.logging.v2.LogSink\x12\x1e\n\x16unique_writer_identity\x18\x03 \x01(\x08"\xa1\x01\n\x11UpdateSinkRequest\x12\x11\n\tsink_name\x18\x01 \x01(\t\x12(\n\x04sink\x18\x02 \x01(\x0b\x32\x1a.google.logging.v2.LogSink\x12\x1e\n\x16unique_writer_identity\x18\x03 \x01(\x08\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"&\n\x11\x44\x65leteSinkRequest\x12\x11\n\tsink_name\x18\x01 \x01(\t"S\n\x0cLogExclusion\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x03 \x01(\t\x12\x10\n\x08\x64isabled\x18\x04 \x01(\x08"N\n\x15ListExclusionsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05"f\n\x16ListExclusionsResponse\x12\x33\n\nexclusions\x18\x01 \x03(\x0b\x32\x1f.google.logging.v2.LogExclusion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"#\n\x13GetExclusionRequest\x12\x0c\n\x04name\x18\x01 \x01(\t"\\\n\x16\x43reateExclusionRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x32\n\texclusion\x18\x02 \x01(\x0b\x32\x1f.google.logging.v2.LogExclusion"\x8b\x01\n\x16UpdateExclusionRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\texclusion\x18\x02 \x01(\x0b\x32\x1f.google.logging.v2.LogExclusion\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"&\n\x16\x44\x65leteExclusionRequest\x12\x0c\n\x04name\x18\x01 \x01(\t2\x94\x19\n\x0f\x43onfigServiceV2\x12\x87\x02\n\tListSinks\x12#.google.logging.v2.ListSinksRequest\x1a$.google.logging.v2.ListSinksResponse"\xae\x01\x82\xd3\xe4\x93\x02\xa7\x01\x12\x16/v2/{parent=*/*}/sinksZ\x1f\x12\x1d/v2/{parent=projects/*}/sinksZ$\x12"/v2/{parent=organizations/*}/sinksZ\x1e\x12\x1c/v2/{parent=folders/*}/sinksZ&\x12$/v2/{parent=billingAccounts/*}/sinks\x12\x92\x02\n\x07GetSink\x12!.google.logging.v2.GetSinkRequest\x1a\x1a.google.logging.v2.LogSink"\xc7\x01\x82\xd3\xe4\x93\x02\xc0\x01\x12\x1b/v2/{sink_name=*/*/sinks/*}Z$\x12"/v2/{sink_name=projects/*/sinks/*}Z)\x12\'/v2/{sink_name=organizations/*/sinks/*}Z#\x12!/v2/{sink_name=folders/*/sinks/*}Z+\x12)/v2/{sink_name=billingAccounts/*/sinks/*}\x12\x9d\x02\n\nCreateSink\x12$.google.logging.v2.CreateSinkRequest\x1a\x1a.google.logging.v2.LogSink"\xcc\x01\x82\xd3\xe4\x93\x02\xc5\x01"\x16/v2/{parent=*/*}/sinks:\x04sinkZ%"\x1d/v2/{parent=projects/*}/sinks:\x04sinkZ*""/v2/{parent=organizations/*}/sinks:\x04sinkZ$"\x1c/v2/{parent=folders/*}/sinks:\x04sinkZ,"$/v2/{parent=billingAccounts/*}/sinks:\x04sink\x12\xf1\x03\n\nUpdateSink\x12$.google.logging.v2.UpdateSinkRequest\x1a\x1a.google.logging.v2.LogSink"\xa0\x03\x82\xd3\xe4\x93\x02\x99\x03\x1a\x1b/v2/{sink_name=*/*/sinks/*}:\x04sinkZ*\x1a"/v2/{sink_name=projects/*/sinks/*}:\x04sinkZ/\x1a\'/v2/{sink_name=organizations/*/sinks/*}:\x04sinkZ)\x1a!/v2/{sink_name=folders/*/sinks/*}:\x04sinkZ1\x1a)/v2/{sink_name=billingAccounts/*/sinks/*}:\x04sinkZ*2"/v2/{sink_name=projects/*/sinks/*}:\x04sinkZ/2\'/v2/{sink_name=organizations/*/sinks/*}:\x04sinkZ)2!/v2/{sink_name=folders/*/sinks/*}:\x04sinkZ12)/v2/{sink_name=billingAccounts/*/sinks/*}:\x04sink\x12\x94\x02\n\nDeleteSink\x12$.google.logging.v2.DeleteSinkRequest\x1a\x16.google.protobuf.Empty"\xc7\x01\x82\xd3\xe4\x93\x02\xc0\x01*\x1b/v2/{sink_name=*/*/sinks/*}Z$*"/v2/{sink_name=projects/*/sinks/*}Z)*\'/v2/{sink_name=organizations/*/sinks/*}Z#*!/v2/{sink_name=folders/*/sinks/*}Z+*)/v2/{sink_name=billingAccounts/*/sinks/*}\x12\xaf\x02\n\x0eListExclusions\x12(.google.logging.v2.ListExclusionsRequest\x1a).google.logging.v2.ListExclusionsResponse"\xc7\x01\x82\xd3\xe4\x93\x02\xc0\x01\x12\x1b/v2/{parent=*/*}/exclusionsZ$\x12"/v2/{parent=projects/*}/exclusionsZ)\x12\'/v2/{parent=organizations/*}/exclusionsZ#\x12!/v2/{parent=folders/*}/exclusionsZ+\x12)/v2/{parent=billingAccounts/*}/exclusions\x12\xa1\x02\n\x0cGetExclusion\x12&.google.logging.v2.GetExclusionRequest\x1a\x1f.google.logging.v2.LogExclusion"\xc7\x01\x82\xd3\xe4\x93\x02\xc0\x01\x12\x1b/v2/{name=*/*/exclusions/*}Z$\x12"/v2/{name=projects/*/exclusions/*}Z)\x12\'/v2/{name=organizations/*/exclusions/*}Z#\x12!/v2/{name=folders/*/exclusions/*}Z+\x12)/v2/{name=billingAccounts/*/exclusions/*}\x12\xde\x02\n\x0f\x43reateExclusion\x12).google.logging.v2.CreateExclusionRequest\x1a\x1f.google.logging.v2.LogExclusion"\xfe\x01\x82\xd3\xe4\x93\x02\xf7\x01"\x1b/v2/{parent=*/*}/exclusions:\texclusionZ/""/v2/{parent=projects/*}/exclusions:\texclusionZ4"\'/v2/{parent=organizations/*}/exclusions:\texclusionZ."!/v2/{parent=folders/*}/exclusions:\texclusionZ6")/v2/{parent=billingAccounts/*}/exclusions:\texclusion\x12\xde\x02\n\x0fUpdateExclusion\x12).google.logging.v2.UpdateExclusionRequest\x1a\x1f.google.logging.v2.LogExclusion"\xfe\x01\x82\xd3\xe4\x93\x02\xf7\x01\x32\x1b/v2/{name=*/*/exclusions/*}:\texclusionZ/2"/v2/{name=projects/*/exclusions/*}:\texclusionZ42\'/v2/{name=organizations/*/exclusions/*}:\texclusionZ.2!/v2/{name=folders/*/exclusions/*}:\texclusionZ62)/v2/{name=billingAccounts/*/exclusions/*}:\texclusion\x12\x9e\x02\n\x0f\x44\x65leteExclusion\x12).google.logging.v2.DeleteExclusionRequest\x1a\x16.google.protobuf.Empty"\xc7\x01\x82\xd3\xe4\x93\x02\xc0\x01*\x1b/v2/{name=*/*/exclusions/*}Z$*"/v2/{name=projects/*/exclusions/*}Z)*\'/v2/{name=organizations/*/exclusions/*}Z#*!/v2/{name=folders/*/exclusions/*}Z+*)/v2/{name=billingAccounts/*/exclusions/*}B\x9e\x01\n\x15\x63om.google.logging.v2B\x12LoggingConfigProtoP\x01Z8google.golang.org/genproto/googleapis/logging/v2;logging\xf8\x01\x01\xaa\x02\x17Google.Cloud.Logging.V2\xca\x02\x17Google\\Cloud\\Logging\\V2b\x06proto3'
+    ),
+    dependencies=[
+        google_dot_api_dot_annotations__pb2.DESCRIPTOR,
+        google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,
+        google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,
+        google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,
+    ],
+)
 
 
 _LOGSINK_VERSIONFORMAT = _descriptor.EnumDescriptor(
-  name='VersionFormat',
-  full_name='google.logging.v2.LogSink.VersionFormat',
-  filename=None,
-  file=DESCRIPTOR,
-  values=[
-    _descriptor.EnumValueDescriptor(
-      name='VERSION_FORMAT_UNSPECIFIED', index=0, number=0,
-      options=None,
-      type=None),
-    _descriptor.EnumValueDescriptor(
-      name='V2', index=1, number=1,
-      options=None,
-      type=None),
-    _descriptor.EnumValueDescriptor(
-      name='V1', index=2, number=2,
-      options=None,
-      type=None),
-  ],
-  containing_type=None,
-  options=None,
-  serialized_start=492,
-  serialized_end=555,
+    name="VersionFormat",
+    full_name="google.logging.v2.LogSink.VersionFormat",
+    filename=None,
+    file=DESCRIPTOR,
+    values=[
+        _descriptor.EnumValueDescriptor(
+            name="VERSION_FORMAT_UNSPECIFIED",
+            index=0,
+            number=0,
+            options=None,
+            type=None,
+        ),
+        _descriptor.EnumValueDescriptor(
+            name="V2", index=1, number=1, options=None, type=None
+        ),
+        _descriptor.EnumValueDescriptor(
+            name="V1", index=2, number=2, options=None, type=None
+        ),
+    ],
+    containing_type=None,
+    options=None,
+    serialized_start=492,
+    serialized_end=555,
 )
 _sym_db.RegisterEnumDescriptor(_LOGSINK_VERSIONFORMAT)
 
 
 _LOGSINK = _descriptor.Descriptor(
-  name='LogSink',
-  full_name='google.logging.v2.LogSink',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='name', full_name='google.logging.v2.LogSink.name', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='destination', full_name='google.logging.v2.LogSink.destination', index=1,
-      number=3, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='filter', full_name='google.logging.v2.LogSink.filter', index=2,
-      number=5, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='output_version_format', full_name='google.logging.v2.LogSink.output_version_format', index=3,
-      number=6, type=14, cpp_type=8, label=1,
-      has_default_value=False, default_value=0,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')), file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='writer_identity', full_name='google.logging.v2.LogSink.writer_identity', index=4,
-      number=8, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='include_children', full_name='google.logging.v2.LogSink.include_children', index=5,
-      number=9, type=8, cpp_type=7, label=1,
-      has_default_value=False, default_value=False,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='start_time', full_name='google.logging.v2.LogSink.start_time', index=6,
-      number=10, type=11, cpp_type=10, label=1,
-      has_default_value=False, default_value=None,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')), file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='end_time', full_name='google.logging.v2.LogSink.end_time', index=7,
-      number=11, type=11, cpp_type=10, label=1,
-      has_default_value=False, default_value=None,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')), file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-    _LOGSINK_VERSIONFORMAT,
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=200,
-  serialized_end=555,
+    name="LogSink",
+    full_name="google.logging.v2.LogSink",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="name",
+            full_name="google.logging.v2.LogSink.name",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="destination",
+            full_name="google.logging.v2.LogSink.destination",
+            index=1,
+            number=3,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="filter",
+            full_name="google.logging.v2.LogSink.filter",
+            index=2,
+            number=5,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="output_version_format",
+            full_name="google.logging.v2.LogSink.output_version_format",
+            index=3,
+            number=6,
+            type=14,
+            cpp_type=8,
+            label=1,
+            has_default_value=False,
+            default_value=0,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.FieldOptions(), _b("\030\001")
+            ),
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="writer_identity",
+            full_name="google.logging.v2.LogSink.writer_identity",
+            index=4,
+            number=8,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="include_children",
+            full_name="google.logging.v2.LogSink.include_children",
+            index=5,
+            number=9,
+            type=8,
+            cpp_type=7,
+            label=1,
+            has_default_value=False,
+            default_value=False,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="start_time",
+            full_name="google.logging.v2.LogSink.start_time",
+            index=6,
+            number=10,
+            type=11,
+            cpp_type=10,
+            label=1,
+            has_default_value=False,
+            default_value=None,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.FieldOptions(), _b("\030\001")
+            ),
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="end_time",
+            full_name="google.logging.v2.LogSink.end_time",
+            index=7,
+            number=11,
+            type=11,
+            cpp_type=10,
+            label=1,
+            has_default_value=False,
+            default_value=None,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.FieldOptions(), _b("\030\001")
+            ),
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[_LOGSINK_VERSIONFORMAT],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=200,
+    serialized_end=555,
 )
 
 
 _LISTSINKSREQUEST = _descriptor.Descriptor(
-  name='ListSinksRequest',
-  full_name='google.logging.v2.ListSinksRequest',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='parent', full_name='google.logging.v2.ListSinksRequest.parent', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='page_token', full_name='google.logging.v2.ListSinksRequest.page_token', index=1,
-      number=2, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='page_size', full_name='google.logging.v2.ListSinksRequest.page_size', index=2,
-      number=3, type=5, cpp_type=1, label=1,
-      has_default_value=False, default_value=0,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=557,
-  serialized_end=630,
+    name="ListSinksRequest",
+    full_name="google.logging.v2.ListSinksRequest",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="parent",
+            full_name="google.logging.v2.ListSinksRequest.parent",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="page_token",
+            full_name="google.logging.v2.ListSinksRequest.page_token",
+            index=1,
+            number=2,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="page_size",
+            full_name="google.logging.v2.ListSinksRequest.page_size",
+            index=2,
+            number=3,
+            type=5,
+            cpp_type=1,
+            label=1,
+            has_default_value=False,
+            default_value=0,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=557,
+    serialized_end=630,
 )
 
 
 _LISTSINKSRESPONSE = _descriptor.Descriptor(
-  name='ListSinksResponse',
-  full_name='google.logging.v2.ListSinksResponse',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='sinks', full_name='google.logging.v2.ListSinksResponse.sinks', index=0,
-      number=1, type=11, cpp_type=10, label=3,
-      has_default_value=False, default_value=[],
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='next_page_token', full_name='google.logging.v2.ListSinksResponse.next_page_token', index=1,
-      number=2, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=632,
-  serialized_end=719,
+    name="ListSinksResponse",
+    full_name="google.logging.v2.ListSinksResponse",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="sinks",
+            full_name="google.logging.v2.ListSinksResponse.sinks",
+            index=0,
+            number=1,
+            type=11,
+            cpp_type=10,
+            label=3,
+            has_default_value=False,
+            default_value=[],
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="next_page_token",
+            full_name="google.logging.v2.ListSinksResponse.next_page_token",
+            index=1,
+            number=2,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=632,
+    serialized_end=719,
 )
 
 
 _GETSINKREQUEST = _descriptor.Descriptor(
-  name='GetSinkRequest',
-  full_name='google.logging.v2.GetSinkRequest',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='sink_name', full_name='google.logging.v2.GetSinkRequest.sink_name', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=721,
-  serialized_end=756,
+    name="GetSinkRequest",
+    full_name="google.logging.v2.GetSinkRequest",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="sink_name",
+            full_name="google.logging.v2.GetSinkRequest.sink_name",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        )
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=721,
+    serialized_end=756,
 )
 
 
 _CREATESINKREQUEST = _descriptor.Descriptor(
-  name='CreateSinkRequest',
-  full_name='google.logging.v2.CreateSinkRequest',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='parent', full_name='google.logging.v2.CreateSinkRequest.parent', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='sink', full_name='google.logging.v2.CreateSinkRequest.sink', index=1,
-      number=2, type=11, cpp_type=10, label=1,
-      has_default_value=False, default_value=None,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='unique_writer_identity', full_name='google.logging.v2.CreateSinkRequest.unique_writer_identity', index=2,
-      number=3, type=8, cpp_type=7, label=1,
-      has_default_value=False, default_value=False,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=758,
-  serialized_end=867,
+    name="CreateSinkRequest",
+    full_name="google.logging.v2.CreateSinkRequest",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="parent",
+            full_name="google.logging.v2.CreateSinkRequest.parent",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="sink",
+            full_name="google.logging.v2.CreateSinkRequest.sink",
+            index=1,
+            number=2,
+            type=11,
+            cpp_type=10,
+            label=1,
+            has_default_value=False,
+            default_value=None,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="unique_writer_identity",
+            full_name="google.logging.v2.CreateSinkRequest.unique_writer_identity",
+            index=2,
+            number=3,
+            type=8,
+            cpp_type=7,
+            label=1,
+            has_default_value=False,
+            default_value=False,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=758,
+    serialized_end=867,
 )
 
 
 _UPDATESINKREQUEST = _descriptor.Descriptor(
-  name='UpdateSinkRequest',
-  full_name='google.logging.v2.UpdateSinkRequest',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='sink_name', full_name='google.logging.v2.UpdateSinkRequest.sink_name', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='sink', full_name='google.logging.v2.UpdateSinkRequest.sink', index=1,
-      number=2, type=11, cpp_type=10, label=1,
-      has_default_value=False, default_value=None,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='unique_writer_identity', full_name='google.logging.v2.UpdateSinkRequest.unique_writer_identity', index=2,
-      number=3, type=8, cpp_type=7, label=1,
-      has_default_value=False, default_value=False,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='update_mask', full_name='google.logging.v2.UpdateSinkRequest.update_mask', index=3,
-      number=4, type=11, cpp_type=10, label=1,
-      has_default_value=False, default_value=None,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=870,
-  serialized_end=1031,
+    name="UpdateSinkRequest",
+    full_name="google.logging.v2.UpdateSinkRequest",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="sink_name",
+            full_name="google.logging.v2.UpdateSinkRequest.sink_name",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="sink",
+            full_name="google.logging.v2.UpdateSinkRequest.sink",
+            index=1,
+            number=2,
+            type=11,
+            cpp_type=10,
+            label=1,
+            has_default_value=False,
+            default_value=None,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="unique_writer_identity",
+            full_name="google.logging.v2.UpdateSinkRequest.unique_writer_identity",
+            index=2,
+            number=3,
+            type=8,
+            cpp_type=7,
+            label=1,
+            has_default_value=False,
+            default_value=False,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="update_mask",
+            full_name="google.logging.v2.UpdateSinkRequest.update_mask",
+            index=3,
+            number=4,
+            type=11,
+            cpp_type=10,
+            label=1,
+            has_default_value=False,
+            default_value=None,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=870,
+    serialized_end=1031,
 )
 
 
 _DELETESINKREQUEST = _descriptor.Descriptor(
-  name='DeleteSinkRequest',
-  full_name='google.logging.v2.DeleteSinkRequest',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='sink_name', full_name='google.logging.v2.DeleteSinkRequest.sink_name', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=1033,
-  serialized_end=1071,
+    name="DeleteSinkRequest",
+    full_name="google.logging.v2.DeleteSinkRequest",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="sink_name",
+            full_name="google.logging.v2.DeleteSinkRequest.sink_name",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        )
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=1033,
+    serialized_end=1071,
 )
 
 
 _LOGEXCLUSION = _descriptor.Descriptor(
-  name='LogExclusion',
-  full_name='google.logging.v2.LogExclusion',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='name', full_name='google.logging.v2.LogExclusion.name', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='description', full_name='google.logging.v2.LogExclusion.description', index=1,
-      number=2, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='filter', full_name='google.logging.v2.LogExclusion.filter', index=2,
-      number=3, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='disabled', full_name='google.logging.v2.LogExclusion.disabled', index=3,
-      number=4, type=8, cpp_type=7, label=1,
-      has_default_value=False, default_value=False,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=1073,
-  serialized_end=1156,
+    name="LogExclusion",
+    full_name="google.logging.v2.LogExclusion",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="name",
+            full_name="google.logging.v2.LogExclusion.name",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="description",
+            full_name="google.logging.v2.LogExclusion.description",
+            index=1,
+            number=2,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="filter",
+            full_name="google.logging.v2.LogExclusion.filter",
+            index=2,
+            number=3,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="disabled",
+            full_name="google.logging.v2.LogExclusion.disabled",
+            index=3,
+            number=4,
+            type=8,
+            cpp_type=7,
+            label=1,
+            has_default_value=False,
+            default_value=False,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=1073,
+    serialized_end=1156,
 )
 
 
 _LISTEXCLUSIONSREQUEST = _descriptor.Descriptor(
-  name='ListExclusionsRequest',
-  full_name='google.logging.v2.ListExclusionsRequest',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='parent', full_name='google.logging.v2.ListExclusionsRequest.parent', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='page_token', full_name='google.logging.v2.ListExclusionsRequest.page_token', index=1,
-      number=2, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='page_size', full_name='google.logging.v2.ListExclusionsRequest.page_size', index=2,
-      number=3, type=5, cpp_type=1, label=1,
-      has_default_value=False, default_value=0,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=1158,
-  serialized_end=1236,
+    name="ListExclusionsRequest",
+    full_name="google.logging.v2.ListExclusionsRequest",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="parent",
+            full_name="google.logging.v2.ListExclusionsRequest.parent",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="page_token",
+            full_name="google.logging.v2.ListExclusionsRequest.page_token",
+            index=1,
+            number=2,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="page_size",
+            full_name="google.logging.v2.ListExclusionsRequest.page_size",
+            index=2,
+            number=3,
+            type=5,
+            cpp_type=1,
+            label=1,
+            has_default_value=False,
+            default_value=0,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=1158,
+    serialized_end=1236,
 )
 
 
 _LISTEXCLUSIONSRESPONSE = _descriptor.Descriptor(
-  name='ListExclusionsResponse',
-  full_name='google.logging.v2.ListExclusionsResponse',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='exclusions', full_name='google.logging.v2.ListExclusionsResponse.exclusions', index=0,
-      number=1, type=11, cpp_type=10, label=3,
-      has_default_value=False, default_value=[],
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='next_page_token', full_name='google.logging.v2.ListExclusionsResponse.next_page_token', index=1,
-      number=2, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=1238,
-  serialized_end=1340,
+    name="ListExclusionsResponse",
+    full_name="google.logging.v2.ListExclusionsResponse",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="exclusions",
+            full_name="google.logging.v2.ListExclusionsResponse.exclusions",
+            index=0,
+            number=1,
+            type=11,
+            cpp_type=10,
+            label=3,
+            has_default_value=False,
+            default_value=[],
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="next_page_token",
+            full_name="google.logging.v2.ListExclusionsResponse.next_page_token",
+            index=1,
+            number=2,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=1238,
+    serialized_end=1340,
 )
 
 
 _GETEXCLUSIONREQUEST = _descriptor.Descriptor(
-  name='GetExclusionRequest',
-  full_name='google.logging.v2.GetExclusionRequest',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='name', full_name='google.logging.v2.GetExclusionRequest.name', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=1342,
-  serialized_end=1377,
+    name="GetExclusionRequest",
+    full_name="google.logging.v2.GetExclusionRequest",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="name",
+            full_name="google.logging.v2.GetExclusionRequest.name",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        )
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=1342,
+    serialized_end=1377,
 )
 
 
 _CREATEEXCLUSIONREQUEST = _descriptor.Descriptor(
-  name='CreateExclusionRequest',
-  full_name='google.logging.v2.CreateExclusionRequest',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='parent', full_name='google.logging.v2.CreateExclusionRequest.parent', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='exclusion', full_name='google.logging.v2.CreateExclusionRequest.exclusion', index=1,
-      number=2, type=11, cpp_type=10, label=1,
-      has_default_value=False, default_value=None,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=1379,
-  serialized_end=1471,
+    name="CreateExclusionRequest",
+    full_name="google.logging.v2.CreateExclusionRequest",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="parent",
+            full_name="google.logging.v2.CreateExclusionRequest.parent",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="exclusion",
+            full_name="google.logging.v2.CreateExclusionRequest.exclusion",
+            index=1,
+            number=2,
+            type=11,
+            cpp_type=10,
+            label=1,
+            has_default_value=False,
+            default_value=None,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=1379,
+    serialized_end=1471,
 )
 
 
 _UPDATEEXCLUSIONREQUEST = _descriptor.Descriptor(
-  name='UpdateExclusionRequest',
-  full_name='google.logging.v2.UpdateExclusionRequest',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='name', full_name='google.logging.v2.UpdateExclusionRequest.name', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='exclusion', full_name='google.logging.v2.UpdateExclusionRequest.exclusion', index=1,
-      number=2, type=11, cpp_type=10, label=1,
-      has_default_value=False, default_value=None,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='update_mask', full_name='google.logging.v2.UpdateExclusionRequest.update_mask', index=2,
-      number=3, type=11, cpp_type=10, label=1,
-      has_default_value=False, default_value=None,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=1474,
-  serialized_end=1613,
+    name="UpdateExclusionRequest",
+    full_name="google.logging.v2.UpdateExclusionRequest",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="name",
+            full_name="google.logging.v2.UpdateExclusionRequest.name",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="exclusion",
+            full_name="google.logging.v2.UpdateExclusionRequest.exclusion",
+            index=1,
+            number=2,
+            type=11,
+            cpp_type=10,
+            label=1,
+            has_default_value=False,
+            default_value=None,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="update_mask",
+            full_name="google.logging.v2.UpdateExclusionRequest.update_mask",
+            index=2,
+            number=3,
+            type=11,
+            cpp_type=10,
+            label=1,
+            has_default_value=False,
+            default_value=None,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=1474,
+    serialized_end=1613,
 )
 
 
 _DELETEEXCLUSIONREQUEST = _descriptor.Descriptor(
-  name='DeleteExclusionRequest',
-  full_name='google.logging.v2.DeleteExclusionRequest',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='name', full_name='google.logging.v2.DeleteExclusionRequest.name', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=1615,
-  serialized_end=1653,
+    name="DeleteExclusionRequest",
+    full_name="google.logging.v2.DeleteExclusionRequest",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="name",
+            full_name="google.logging.v2.DeleteExclusionRequest.name",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        )
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=1615,
+    serialized_end=1653,
 )
 
-_LOGSINK.fields_by_name['output_version_format'].enum_type = _LOGSINK_VERSIONFORMAT
-_LOGSINK.fields_by_name['start_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
-_LOGSINK.fields_by_name['end_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
+_LOGSINK.fields_by_name["output_version_format"].enum_type = _LOGSINK_VERSIONFORMAT
+_LOGSINK.fields_by_name[
+    "start_time"
+].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
+_LOGSINK.fields_by_name[
+    "end_time"
+].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
 _LOGSINK_VERSIONFORMAT.containing_type = _LOGSINK
-_LISTSINKSRESPONSE.fields_by_name['sinks'].message_type = _LOGSINK
-_CREATESINKREQUEST.fields_by_name['sink'].message_type = _LOGSINK
-_UPDATESINKREQUEST.fields_by_name['sink'].message_type = _LOGSINK
-_UPDATESINKREQUEST.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK
-_LISTEXCLUSIONSRESPONSE.fields_by_name['exclusions'].message_type = _LOGEXCLUSION
-_CREATEEXCLUSIONREQUEST.fields_by_name['exclusion'].message_type = _LOGEXCLUSION
-_UPDATEEXCLUSIONREQUEST.fields_by_name['exclusion'].message_type = _LOGEXCLUSION
-_UPDATEEXCLUSIONREQUEST.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK
-DESCRIPTOR.message_types_by_name['LogSink'] = _LOGSINK
-DESCRIPTOR.message_types_by_name['ListSinksRequest'] = _LISTSINKSREQUEST
-DESCRIPTOR.message_types_by_name['ListSinksResponse'] = _LISTSINKSRESPONSE
-DESCRIPTOR.message_types_by_name['GetSinkRequest'] = _GETSINKREQUEST
-DESCRIPTOR.message_types_by_name['CreateSinkRequest'] = _CREATESINKREQUEST
-DESCRIPTOR.message_types_by_name['UpdateSinkRequest'] = _UPDATESINKREQUEST
-DESCRIPTOR.message_types_by_name['DeleteSinkRequest'] = _DELETESINKREQUEST
-DESCRIPTOR.message_types_by_name['LogExclusion'] = _LOGEXCLUSION
-DESCRIPTOR.message_types_by_name['ListExclusionsRequest'] = _LISTEXCLUSIONSREQUEST
-DESCRIPTOR.message_types_by_name['ListExclusionsResponse'] = _LISTEXCLUSIONSRESPONSE
-DESCRIPTOR.message_types_by_name['GetExclusionRequest'] = _GETEXCLUSIONREQUEST
-DESCRIPTOR.message_types_by_name['CreateExclusionRequest'] = _CREATEEXCLUSIONREQUEST
-DESCRIPTOR.message_types_by_name['UpdateExclusionRequest'] = _UPDATEEXCLUSIONREQUEST
-DESCRIPTOR.message_types_by_name['DeleteExclusionRequest'] = _DELETEEXCLUSIONREQUEST
+_LISTSINKSRESPONSE.fields_by_name["sinks"].message_type = _LOGSINK
+_CREATESINKREQUEST.fields_by_name["sink"].message_type = _LOGSINK
+_UPDATESINKREQUEST.fields_by_name["sink"].message_type = _LOGSINK
+_UPDATESINKREQUEST.fields_by_name[
+    "update_mask"
+].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK
+_LISTEXCLUSIONSRESPONSE.fields_by_name["exclusions"].message_type = _LOGEXCLUSION
+_CREATEEXCLUSIONREQUEST.fields_by_name["exclusion"].message_type = _LOGEXCLUSION
+_UPDATEEXCLUSIONREQUEST.fields_by_name["exclusion"].message_type = _LOGEXCLUSION
+_UPDATEEXCLUSIONREQUEST.fields_by_name[
+    "update_mask"
+].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK
+DESCRIPTOR.message_types_by_name["LogSink"] = _LOGSINK
+DESCRIPTOR.message_types_by_name["ListSinksRequest"] = _LISTSINKSREQUEST
+DESCRIPTOR.message_types_by_name["ListSinksResponse"] = _LISTSINKSRESPONSE
+DESCRIPTOR.message_types_by_name["GetSinkRequest"] = _GETSINKREQUEST
+DESCRIPTOR.message_types_by_name["CreateSinkRequest"] = _CREATESINKREQUEST
+DESCRIPTOR.message_types_by_name["UpdateSinkRequest"] = _UPDATESINKREQUEST
+DESCRIPTOR.message_types_by_name["DeleteSinkRequest"] = _DELETESINKREQUEST
+DESCRIPTOR.message_types_by_name["LogExclusion"] = _LOGEXCLUSION
+DESCRIPTOR.message_types_by_name["ListExclusionsRequest"] = _LISTEXCLUSIONSREQUEST
+DESCRIPTOR.message_types_by_name["ListExclusionsResponse"] = _LISTEXCLUSIONSRESPONSE
+DESCRIPTOR.message_types_by_name["GetExclusionRequest"] = _GETEXCLUSIONREQUEST
+DESCRIPTOR.message_types_by_name["CreateExclusionRequest"] = _CREATEEXCLUSIONREQUEST
+DESCRIPTOR.message_types_by_name["UpdateExclusionRequest"] = _UPDATEEXCLUSIONREQUEST
+DESCRIPTOR.message_types_by_name["DeleteExclusionRequest"] = _DELETEEXCLUSIONREQUEST
 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
 
-LogSink = _reflection.GeneratedProtocolMessageType('LogSink', (_message.Message,), dict(
-  DESCRIPTOR = _LOGSINK,
-  __module__ = 'google.cloud.logging_v2.proto.logging_config_pb2'
-  ,
-  __doc__ = """Describes a sink used to export log entries to one of the following
+LogSink = _reflection.GeneratedProtocolMessageType(
+    "LogSink",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_LOGSINK,
+        __module__="google.cloud.logging_v2.proto.logging_config_pb2",
+        __doc__="""Describes a sink used to export log entries to one of the following
   destinations in any project: a Cloud Storage bucket, a BigQuery dataset,
   or a Cloud Pub/Sub topic. A logs filter controls which log entries are
   exported. The sink must be created within a project, organization,
@@ -761,15 +1161,18 @@
           Deprecated. This field is ignored when creating or updating
           sinks.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.LogSink)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.LogSink)
+    ),
+)
 _sym_db.RegisterMessage(LogSink)
 
-ListSinksRequest = _reflection.GeneratedProtocolMessageType('ListSinksRequest', (_message.Message,), dict(
-  DESCRIPTOR = _LISTSINKSREQUEST,
-  __module__ = 'google.cloud.logging_v2.proto.logging_config_pb2'
-  ,
-  __doc__ = """The parameters to ``ListSinks``.
+ListSinksRequest = _reflection.GeneratedProtocolMessageType(
+    "ListSinksRequest",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_LISTSINKSREQUEST,
+        __module__="google.cloud.logging_v2.proto.logging_config_pb2",
+        __doc__="""The parameters to ``ListSinks``.
   
   
   Attributes:
@@ -791,15 +1194,18 @@
           ``nextPageToken`` in the response indicates that more results
           might be available.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.ListSinksRequest)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.ListSinksRequest)
+    ),
+)
 _sym_db.RegisterMessage(ListSinksRequest)
 
-ListSinksResponse = _reflection.GeneratedProtocolMessageType('ListSinksResponse', (_message.Message,), dict(
-  DESCRIPTOR = _LISTSINKSRESPONSE,
-  __module__ = 'google.cloud.logging_v2.proto.logging_config_pb2'
-  ,
-  __doc__ = """Result returned from ``ListSinks``.
+ListSinksResponse = _reflection.GeneratedProtocolMessageType(
+    "ListSinksResponse",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_LISTSINKSRESPONSE,
+        __module__="google.cloud.logging_v2.proto.logging_config_pb2",
+        __doc__="""Result returned from ``ListSinks``.
   
   
   Attributes:
@@ -811,15 +1217,18 @@
           results, call the same method again using the value of
           ``nextPageToken`` as ``pageToken``.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.ListSinksResponse)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.ListSinksResponse)
+    ),
+)
 _sym_db.RegisterMessage(ListSinksResponse)
 
-GetSinkRequest = _reflection.GeneratedProtocolMessageType('GetSinkRequest', (_message.Message,), dict(
-  DESCRIPTOR = _GETSINKREQUEST,
-  __module__ = 'google.cloud.logging_v2.proto.logging_config_pb2'
-  ,
-  __doc__ = """The parameters to ``GetSink``.
+GetSinkRequest = _reflection.GeneratedProtocolMessageType(
+    "GetSinkRequest",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_GETSINKREQUEST,
+        __module__="google.cloud.logging_v2.proto.logging_config_pb2",
+        __doc__="""The parameters to ``GetSink``.
   
   
   Attributes:
@@ -831,15 +1240,18 @@
           "folders/[FOLDER_ID]/sinks/[SINK_ID]"  Example:
           ``"projects/my-project-id/sinks/my-sink-id"``.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.GetSinkRequest)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.GetSinkRequest)
+    ),
+)
 _sym_db.RegisterMessage(GetSinkRequest)
 
-CreateSinkRequest = _reflection.GeneratedProtocolMessageType('CreateSinkRequest', (_message.Message,), dict(
-  DESCRIPTOR = _CREATESINKREQUEST,
-  __module__ = 'google.cloud.logging_v2.proto.logging_config_pb2'
-  ,
-  __doc__ = """The parameters to ``CreateSink``.
+CreateSinkRequest = _reflection.GeneratedProtocolMessageType(
+    "CreateSinkRequest",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_CREATESINKREQUEST,
+        __module__="google.cloud.logging_v2.proto.logging_config_pb2",
+        __doc__="""The parameters to ``CreateSink``.
   
   
   Attributes:
@@ -866,15 +1278,18 @@
           sink. For more information, see ``writer_identity`` in
           [LogSink][google.logging.v2.LogSink].
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.CreateSinkRequest)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.CreateSinkRequest)
+    ),
+)
 _sym_db.RegisterMessage(CreateSinkRequest)
 
-UpdateSinkRequest = _reflection.GeneratedProtocolMessageType('UpdateSinkRequest', (_message.Message,), dict(
-  DESCRIPTOR = _UPDATESINKREQUEST,
-  __module__ = 'google.cloud.logging_v2.proto.logging_config_pb2'
-  ,
-  __doc__ = """The parameters to ``UpdateSink``.
+UpdateSinkRequest = _reflection.GeneratedProtocolMessageType(
+    "UpdateSinkRequest",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_UPDATESINKREQUEST,
+        __module__="google.cloud.logging_v2.proto.logging_config_pb2",
+        __doc__="""The parameters to ``UpdateSink``.
   
   
   Attributes:
@@ -916,15 +1331,18 @@
           google.protobuf#google.protobuf.FieldMask  Example:
           ``updateMask=filter``.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.UpdateSinkRequest)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.UpdateSinkRequest)
+    ),
+)
 _sym_db.RegisterMessage(UpdateSinkRequest)
 
-DeleteSinkRequest = _reflection.GeneratedProtocolMessageType('DeleteSinkRequest', (_message.Message,), dict(
-  DESCRIPTOR = _DELETESINKREQUEST,
-  __module__ = 'google.cloud.logging_v2.proto.logging_config_pb2'
-  ,
-  __doc__ = """The parameters to ``DeleteSink``.
+DeleteSinkRequest = _reflection.GeneratedProtocolMessageType(
+    "DeleteSinkRequest",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_DELETESINKREQUEST,
+        __module__="google.cloud.logging_v2.proto.logging_config_pb2",
+        __doc__="""The parameters to ``DeleteSink``.
   
   
   Attributes:
@@ -937,15 +1355,18 @@
           "folders/[FOLDER_ID]/sinks/[SINK_ID]"  Example:
           ``"projects/my-project-id/sinks/my-sink-id"``.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.DeleteSinkRequest)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.DeleteSinkRequest)
+    ),
+)
 _sym_db.RegisterMessage(DeleteSinkRequest)
 
-LogExclusion = _reflection.GeneratedProtocolMessageType('LogExclusion', (_message.Message,), dict(
-  DESCRIPTOR = _LOGEXCLUSION,
-  __module__ = 'google.cloud.logging_v2.proto.logging_config_pb2'
-  ,
-  __doc__ = """Specifies a set of log entries that are not to be stored in Logging. If
+LogExclusion = _reflection.GeneratedProtocolMessageType(
+    "LogExclusion",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_LOGEXCLUSION,
+        __module__="google.cloud.logging_v2.proto.logging_config_pb2",
+        __doc__="""Specifies a set of log entries that are not to be stored in Logging. If
   your project receives a large volume of logs, you might be able to use
   exclusions to reduce your chargeable logs. Exclusions are processed
   after log sinks, so you can export log entries before they are excluded.
@@ -977,15 +1398,18 @@
           `exclusions.patch </logging/docs/reference/v2/rest/v2/projects
           .exclusions/patch>`__ to change the value of this field.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.LogExclusion)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.LogExclusion)
+    ),
+)
 _sym_db.RegisterMessage(LogExclusion)
 
-ListExclusionsRequest = _reflection.GeneratedProtocolMessageType('ListExclusionsRequest', (_message.Message,), dict(
-  DESCRIPTOR = _LISTEXCLUSIONSREQUEST,
-  __module__ = 'google.cloud.logging_v2.proto.logging_config_pb2'
-  ,
-  __doc__ = """The parameters to ``ListExclusions``.
+ListExclusionsRequest = _reflection.GeneratedProtocolMessageType(
+    "ListExclusionsRequest",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_LISTEXCLUSIONSREQUEST,
+        __module__="google.cloud.logging_v2.proto.logging_config_pb2",
+        __doc__="""The parameters to ``ListExclusions``.
   
   
   Attributes:
@@ -1007,15 +1431,18 @@
           ``nextPageToken`` in the response indicates that more results
           might be available.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.ListExclusionsRequest)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.ListExclusionsRequest)
+    ),
+)
 _sym_db.RegisterMessage(ListExclusionsRequest)
 
-ListExclusionsResponse = _reflection.GeneratedProtocolMessageType('ListExclusionsResponse', (_message.Message,), dict(
-  DESCRIPTOR = _LISTEXCLUSIONSRESPONSE,
-  __module__ = 'google.cloud.logging_v2.proto.logging_config_pb2'
-  ,
-  __doc__ = """Result returned from ``ListExclusions``.
+ListExclusionsResponse = _reflection.GeneratedProtocolMessageType(
+    "ListExclusionsResponse",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_LISTEXCLUSIONSRESPONSE,
+        __module__="google.cloud.logging_v2.proto.logging_config_pb2",
+        __doc__="""Result returned from ``ListExclusions``.
   
   
   Attributes:
@@ -1027,15 +1454,18 @@
           results, call the same method again using the value of
           ``nextPageToken`` as ``pageToken``.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.ListExclusionsResponse)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.ListExclusionsResponse)
+    ),
+)
 _sym_db.RegisterMessage(ListExclusionsResponse)
 
-GetExclusionRequest = _reflection.GeneratedProtocolMessageType('GetExclusionRequest', (_message.Message,), dict(
-  DESCRIPTOR = _GETEXCLUSIONREQUEST,
-  __module__ = 'google.cloud.logging_v2.proto.logging_config_pb2'
-  ,
-  __doc__ = """The parameters to ``GetExclusion``.
+GetExclusionRequest = _reflection.GeneratedProtocolMessageType(
+    "GetExclusionRequest",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_GETEXCLUSIONREQUEST,
+        __module__="google.cloud.logging_v2.proto.logging_config_pb2",
+        __doc__="""The parameters to ``GetExclusion``.
   
   
   Attributes:
@@ -1048,15 +1478,18 @@
           Example: ``"projects/my-project-id/exclusions/my-exclusion-
           id"``.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.GetExclusionRequest)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.GetExclusionRequest)
+    ),
+)
 _sym_db.RegisterMessage(GetExclusionRequest)
 
-CreateExclusionRequest = _reflection.GeneratedProtocolMessageType('CreateExclusionRequest', (_message.Message,), dict(
-  DESCRIPTOR = _CREATEEXCLUSIONREQUEST,
-  __module__ = 'google.cloud.logging_v2.proto.logging_config_pb2'
-  ,
-  __doc__ = """The parameters to ``CreateExclusion``.
+CreateExclusionRequest = _reflection.GeneratedProtocolMessageType(
+    "CreateExclusionRequest",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_CREATEEXCLUSIONREQUEST,
+        __module__="google.cloud.logging_v2.proto.logging_config_pb2",
+        __doc__="""The parameters to ``CreateExclusion``.
   
   
   Attributes:
@@ -1072,15 +1505,18 @@
           exclusion name that is not already used in the parent
           resource.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.CreateExclusionRequest)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.CreateExclusionRequest)
+    ),
+)
 _sym_db.RegisterMessage(CreateExclusionRequest)
 
-UpdateExclusionRequest = _reflection.GeneratedProtocolMessageType('UpdateExclusionRequest', (_message.Message,), dict(
-  DESCRIPTOR = _UPDATEEXCLUSIONREQUEST,
-  __module__ = 'google.cloud.logging_v2.proto.logging_config_pb2'
-  ,
-  __doc__ = """The parameters to ``UpdateExclusion``.
+UpdateExclusionRequest = _reflection.GeneratedProtocolMessageType(
+    "UpdateExclusionRequest",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_UPDATEEXCLUSIONREQUEST,
+        __module__="google.cloud.logging_v2.proto.logging_config_pb2",
+        __doc__="""The parameters to ``UpdateExclusion``.
   
   
   Attributes:
@@ -1105,15 +1541,18 @@
           change the filter and description of an exclusion, specify an
           ``update_mask`` of ``"filter,description"``.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.UpdateExclusionRequest)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.UpdateExclusionRequest)
+    ),
+)
 _sym_db.RegisterMessage(UpdateExclusionRequest)
 
-DeleteExclusionRequest = _reflection.GeneratedProtocolMessageType('DeleteExclusionRequest', (_message.Message,), dict(
-  DESCRIPTOR = _DELETEEXCLUSIONREQUEST,
-  __module__ = 'google.cloud.logging_v2.proto.logging_config_pb2'
-  ,
-  __doc__ = """The parameters to ``DeleteExclusion``.
+DeleteExclusionRequest = _reflection.GeneratedProtocolMessageType(
+    "DeleteExclusionRequest",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_DELETEEXCLUSIONREQUEST,
+        __module__="google.cloud.logging_v2.proto.logging_config_pb2",
+        __doc__="""The parameters to ``DeleteExclusion``.
   
   
   Attributes:
@@ -1127,122 +1566,185 @@
           Example: ``"projects/my-project-id/exclusions/my-exclusion-
           id"``.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.DeleteExclusionRequest)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.DeleteExclusionRequest)
+    ),
+)
 _sym_db.RegisterMessage(DeleteExclusionRequest)
 
 
 DESCRIPTOR.has_options = True
-DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\025com.google.logging.v2B\022LoggingConfigProtoP\001Z8google.golang.org/genproto/googleapis/logging/v2;logging\370\001\001\252\002\027Google.Cloud.Logging.V2\312\002\027Google\\Cloud\\Logging\\V2'))
-_LOGSINK.fields_by_name['output_version_format'].has_options = True
-_LOGSINK.fields_by_name['output_version_format']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
-_LOGSINK.fields_by_name['start_time'].has_options = True
-_LOGSINK.fields_by_name['start_time']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
-_LOGSINK.fields_by_name['end_time'].has_options = True
-_LOGSINK.fields_by_name['end_time']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
+DESCRIPTOR._options = _descriptor._ParseOptions(
+    descriptor_pb2.FileOptions(),
+    _b(
+        "\n\025com.google.logging.v2B\022LoggingConfigProtoP\001Z8google.golang.org/genproto/googleapis/logging/v2;logging\370\001\001\252\002\027Google.Cloud.Logging.V2\312\002\027Google\\Cloud\\Logging\\V2"
+    ),
+)
+_LOGSINK.fields_by_name["output_version_format"].has_options = True
+_LOGSINK.fields_by_name["output_version_format"]._options = _descriptor._ParseOptions(
+    descriptor_pb2.FieldOptions(), _b("\030\001")
+)
+_LOGSINK.fields_by_name["start_time"].has_options = True
+_LOGSINK.fields_by_name["start_time"]._options = _descriptor._ParseOptions(
+    descriptor_pb2.FieldOptions(), _b("\030\001")
+)
+_LOGSINK.fields_by_name["end_time"].has_options = True
+_LOGSINK.fields_by_name["end_time"]._options = _descriptor._ParseOptions(
+    descriptor_pb2.FieldOptions(), _b("\030\001")
+)
 
 _CONFIGSERVICEV2 = _descriptor.ServiceDescriptor(
-  name='ConfigServiceV2',
-  full_name='google.logging.v2.ConfigServiceV2',
-  file=DESCRIPTOR,
-  index=0,
-  options=None,
-  serialized_start=1656,
-  serialized_end=4876,
-  methods=[
-  _descriptor.MethodDescriptor(
-    name='ListSinks',
-    full_name='google.logging.v2.ConfigServiceV2.ListSinks',
+    name="ConfigServiceV2",
+    full_name="google.logging.v2.ConfigServiceV2",
+    file=DESCRIPTOR,
     index=0,
-    containing_service=None,
-    input_type=_LISTSINKSREQUEST,
-    output_type=_LISTSINKSRESPONSE,
-    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\247\001\022\026/v2/{parent=*/*}/sinksZ\037\022\035/v2/{parent=projects/*}/sinksZ$\022\"/v2/{parent=organizations/*}/sinksZ\036\022\034/v2/{parent=folders/*}/sinksZ&\022$/v2/{parent=billingAccounts/*}/sinks')),
-  ),
-  _descriptor.MethodDescriptor(
-    name='GetSink',
-    full_name='google.logging.v2.ConfigServiceV2.GetSink',
-    index=1,
-    containing_service=None,
-    input_type=_GETSINKREQUEST,
-    output_type=_LOGSINK,
-    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\300\001\022\033/v2/{sink_name=*/*/sinks/*}Z$\022\"/v2/{sink_name=projects/*/sinks/*}Z)\022\'/v2/{sink_name=organizations/*/sinks/*}Z#\022!/v2/{sink_name=folders/*/sinks/*}Z+\022)/v2/{sink_name=billingAccounts/*/sinks/*}')),
-  ),
-  _descriptor.MethodDescriptor(
-    name='CreateSink',
-    full_name='google.logging.v2.ConfigServiceV2.CreateSink',
-    index=2,
-    containing_service=None,
-    input_type=_CREATESINKREQUEST,
-    output_type=_LOGSINK,
-    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\305\001\"\026/v2/{parent=*/*}/sinks:\004sinkZ%\"\035/v2/{parent=projects/*}/sinks:\004sinkZ*\"\"/v2/{parent=organizations/*}/sinks:\004sinkZ$\"\034/v2/{parent=folders/*}/sinks:\004sinkZ,\"$/v2/{parent=billingAccounts/*}/sinks:\004sink')),
-  ),
-  _descriptor.MethodDescriptor(
-    name='UpdateSink',
-    full_name='google.logging.v2.ConfigServiceV2.UpdateSink',
-    index=3,
-    containing_service=None,
-    input_type=_UPDATESINKREQUEST,
-    output_type=_LOGSINK,
-    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\231\003\032\033/v2/{sink_name=*/*/sinks/*}:\004sinkZ*\032\"/v2/{sink_name=projects/*/sinks/*}:\004sinkZ/\032\'/v2/{sink_name=organizations/*/sinks/*}:\004sinkZ)\032!/v2/{sink_name=folders/*/sinks/*}:\004sinkZ1\032)/v2/{sink_name=billingAccounts/*/sinks/*}:\004sinkZ*2\"/v2/{sink_name=projects/*/sinks/*}:\004sinkZ/2\'/v2/{sink_name=organizations/*/sinks/*}:\004sinkZ)2!/v2/{sink_name=folders/*/sinks/*}:\004sinkZ12)/v2/{sink_name=billingAccounts/*/sinks/*}:\004sink')),
-  ),
-  _descriptor.MethodDescriptor(
-    name='DeleteSink',
-    full_name='google.logging.v2.ConfigServiceV2.DeleteSink',
-    index=4,
-    containing_service=None,
-    input_type=_DELETESINKREQUEST,
-    output_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
-    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\300\001*\033/v2/{sink_name=*/*/sinks/*}Z$*\"/v2/{sink_name=projects/*/sinks/*}Z)*\'/v2/{sink_name=organizations/*/sinks/*}Z#*!/v2/{sink_name=folders/*/sinks/*}Z+*)/v2/{sink_name=billingAccounts/*/sinks/*}')),
-  ),
-  _descriptor.MethodDescriptor(
-    name='ListExclusions',
-    full_name='google.logging.v2.ConfigServiceV2.ListExclusions',
-    index=5,
-    containing_service=None,
-    input_type=_LISTEXCLUSIONSREQUEST,
-    output_type=_LISTEXCLUSIONSRESPONSE,
-    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\300\001\022\033/v2/{parent=*/*}/exclusionsZ$\022\"/v2/{parent=projects/*}/exclusionsZ)\022\'/v2/{parent=organizations/*}/exclusionsZ#\022!/v2/{parent=folders/*}/exclusionsZ+\022)/v2/{parent=billingAccounts/*}/exclusions')),
-  ),
-  _descriptor.MethodDescriptor(
-    name='GetExclusion',
-    full_name='google.logging.v2.ConfigServiceV2.GetExclusion',
-    index=6,
-    containing_service=None,
-    input_type=_GETEXCLUSIONREQUEST,
-    output_type=_LOGEXCLUSION,
-    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\300\001\022\033/v2/{name=*/*/exclusions/*}Z$\022\"/v2/{name=projects/*/exclusions/*}Z)\022\'/v2/{name=organizations/*/exclusions/*}Z#\022!/v2/{name=folders/*/exclusions/*}Z+\022)/v2/{name=billingAccounts/*/exclusions/*}')),
-  ),
-  _descriptor.MethodDescriptor(
-    name='CreateExclusion',
-    full_name='google.logging.v2.ConfigServiceV2.CreateExclusion',
-    index=7,
-    containing_service=None,
-    input_type=_CREATEEXCLUSIONREQUEST,
-    output_type=_LOGEXCLUSION,
-    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\367\001\"\033/v2/{parent=*/*}/exclusions:\texclusionZ/\"\"/v2/{parent=projects/*}/exclusions:\texclusionZ4\"\'/v2/{parent=organizations/*}/exclusions:\texclusionZ.\"!/v2/{parent=folders/*}/exclusions:\texclusionZ6\")/v2/{parent=billingAccounts/*}/exclusions:\texclusion')),
-  ),
-  _descriptor.MethodDescriptor(
-    name='UpdateExclusion',
-    full_name='google.logging.v2.ConfigServiceV2.UpdateExclusion',
-    index=8,
-    containing_service=None,
-    input_type=_UPDATEEXCLUSIONREQUEST,
-    output_type=_LOGEXCLUSION,
-    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\367\0012\033/v2/{name=*/*/exclusions/*}:\texclusionZ/2\"/v2/{name=projects/*/exclusions/*}:\texclusionZ42\'/v2/{name=organizations/*/exclusions/*}:\texclusionZ.2!/v2/{name=folders/*/exclusions/*}:\texclusionZ62)/v2/{name=billingAccounts/*/exclusions/*}:\texclusion')),
-  ),
-  _descriptor.MethodDescriptor(
-    name='DeleteExclusion',
-    full_name='google.logging.v2.ConfigServiceV2.DeleteExclusion',
-    index=9,
-    containing_service=None,
-    input_type=_DELETEEXCLUSIONREQUEST,
-    output_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
-    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\300\001*\033/v2/{name=*/*/exclusions/*}Z$*\"/v2/{name=projects/*/exclusions/*}Z)*\'/v2/{name=organizations/*/exclusions/*}Z#*!/v2/{name=folders/*/exclusions/*}Z+*)/v2/{name=billingAccounts/*/exclusions/*}')),
-  ),
-])
+    options=None,
+    serialized_start=1656,
+    serialized_end=4876,
+    methods=[
+        _descriptor.MethodDescriptor(
+            name="ListSinks",
+            full_name="google.logging.v2.ConfigServiceV2.ListSinks",
+            index=0,
+            containing_service=None,
+            input_type=_LISTSINKSREQUEST,
+            output_type=_LISTSINKSRESPONSE,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.MethodOptions(),
+                _b(
+                    '\202\323\344\223\002\247\001\022\026/v2/{parent=*/*}/sinksZ\037\022\035/v2/{parent=projects/*}/sinksZ$\022"/v2/{parent=organizations/*}/sinksZ\036\022\034/v2/{parent=folders/*}/sinksZ&\022$/v2/{parent=billingAccounts/*}/sinks'
+                ),
+            ),
+        ),
+        _descriptor.MethodDescriptor(
+            name="GetSink",
+            full_name="google.logging.v2.ConfigServiceV2.GetSink",
+            index=1,
+            containing_service=None,
+            input_type=_GETSINKREQUEST,
+            output_type=_LOGSINK,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.MethodOptions(),
+                _b(
+                    "\202\323\344\223\002\300\001\022\033/v2/{sink_name=*/*/sinks/*}Z$\022\"/v2/{sink_name=projects/*/sinks/*}Z)\022'/v2/{sink_name=organizations/*/sinks/*}Z#\022!/v2/{sink_name=folders/*/sinks/*}Z+\022)/v2/{sink_name=billingAccounts/*/sinks/*}"
+                ),
+            ),
+        ),
+        _descriptor.MethodDescriptor(
+            name="CreateSink",
+            full_name="google.logging.v2.ConfigServiceV2.CreateSink",
+            index=2,
+            containing_service=None,
+            input_type=_CREATESINKREQUEST,
+            output_type=_LOGSINK,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.MethodOptions(),
+                _b(
+                    '\202\323\344\223\002\305\001"\026/v2/{parent=*/*}/sinks:\004sinkZ%"\035/v2/{parent=projects/*}/sinks:\004sinkZ*""/v2/{parent=organizations/*}/sinks:\004sinkZ$"\034/v2/{parent=folders/*}/sinks:\004sinkZ,"$/v2/{parent=billingAccounts/*}/sinks:\004sink'
+                ),
+            ),
+        ),
+        _descriptor.MethodDescriptor(
+            name="UpdateSink",
+            full_name="google.logging.v2.ConfigServiceV2.UpdateSink",
+            index=3,
+            containing_service=None,
+            input_type=_UPDATESINKREQUEST,
+            output_type=_LOGSINK,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.MethodOptions(),
+                _b(
+                    "\202\323\344\223\002\231\003\032\033/v2/{sink_name=*/*/sinks/*}:\004sinkZ*\032\"/v2/{sink_name=projects/*/sinks/*}:\004sinkZ/\032'/v2/{sink_name=organizations/*/sinks/*}:\004sinkZ)\032!/v2/{sink_name=folders/*/sinks/*}:\004sinkZ1\032)/v2/{sink_name=billingAccounts/*/sinks/*}:\004sinkZ*2\"/v2/{sink_name=projects/*/sinks/*}:\004sinkZ/2'/v2/{sink_name=organizations/*/sinks/*}:\004sinkZ)2!/v2/{sink_name=folders/*/sinks/*}:\004sinkZ12)/v2/{sink_name=billingAccounts/*/sinks/*}:\004sink"
+                ),
+            ),
+        ),
+        _descriptor.MethodDescriptor(
+            name="DeleteSink",
+            full_name="google.logging.v2.ConfigServiceV2.DeleteSink",
+            index=4,
+            containing_service=None,
+            input_type=_DELETESINKREQUEST,
+            output_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.MethodOptions(),
+                _b(
+                    "\202\323\344\223\002\300\001*\033/v2/{sink_name=*/*/sinks/*}Z$*\"/v2/{sink_name=projects/*/sinks/*}Z)*'/v2/{sink_name=organizations/*/sinks/*}Z#*!/v2/{sink_name=folders/*/sinks/*}Z+*)/v2/{sink_name=billingAccounts/*/sinks/*}"
+                ),
+            ),
+        ),
+        _descriptor.MethodDescriptor(
+            name="ListExclusions",
+            full_name="google.logging.v2.ConfigServiceV2.ListExclusions",
+            index=5,
+            containing_service=None,
+            input_type=_LISTEXCLUSIONSREQUEST,
+            output_type=_LISTEXCLUSIONSRESPONSE,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.MethodOptions(),
+                _b(
+                    "\202\323\344\223\002\300\001\022\033/v2/{parent=*/*}/exclusionsZ$\022\"/v2/{parent=projects/*}/exclusionsZ)\022'/v2/{parent=organizations/*}/exclusionsZ#\022!/v2/{parent=folders/*}/exclusionsZ+\022)/v2/{parent=billingAccounts/*}/exclusions"
+                ),
+            ),
+        ),
+        _descriptor.MethodDescriptor(
+            name="GetExclusion",
+            full_name="google.logging.v2.ConfigServiceV2.GetExclusion",
+            index=6,
+            containing_service=None,
+            input_type=_GETEXCLUSIONREQUEST,
+            output_type=_LOGEXCLUSION,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.MethodOptions(),
+                _b(
+                    "\202\323\344\223\002\300\001\022\033/v2/{name=*/*/exclusions/*}Z$\022\"/v2/{name=projects/*/exclusions/*}Z)\022'/v2/{name=organizations/*/exclusions/*}Z#\022!/v2/{name=folders/*/exclusions/*}Z+\022)/v2/{name=billingAccounts/*/exclusions/*}"
+                ),
+            ),
+        ),
+        _descriptor.MethodDescriptor(
+            name="CreateExclusion",
+            full_name="google.logging.v2.ConfigServiceV2.CreateExclusion",
+            index=7,
+            containing_service=None,
+            input_type=_CREATEEXCLUSIONREQUEST,
+            output_type=_LOGEXCLUSION,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.MethodOptions(),
+                _b(
+                    '\202\323\344\223\002\367\001"\033/v2/{parent=*/*}/exclusions:\texclusionZ/""/v2/{parent=projects/*}/exclusions:\texclusionZ4"\'/v2/{parent=organizations/*}/exclusions:\texclusionZ."!/v2/{parent=folders/*}/exclusions:\texclusionZ6")/v2/{parent=billingAccounts/*}/exclusions:\texclusion'
+                ),
+            ),
+        ),
+        _descriptor.MethodDescriptor(
+            name="UpdateExclusion",
+            full_name="google.logging.v2.ConfigServiceV2.UpdateExclusion",
+            index=8,
+            containing_service=None,
+            input_type=_UPDATEEXCLUSIONREQUEST,
+            output_type=_LOGEXCLUSION,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.MethodOptions(),
+                _b(
+                    "\202\323\344\223\002\367\0012\033/v2/{name=*/*/exclusions/*}:\texclusionZ/2\"/v2/{name=projects/*/exclusions/*}:\texclusionZ42'/v2/{name=organizations/*/exclusions/*}:\texclusionZ.2!/v2/{name=folders/*/exclusions/*}:\texclusionZ62)/v2/{name=billingAccounts/*/exclusions/*}:\texclusion"
+                ),
+            ),
+        ),
+        _descriptor.MethodDescriptor(
+            name="DeleteExclusion",
+            full_name="google.logging.v2.ConfigServiceV2.DeleteExclusion",
+            index=9,
+            containing_service=None,
+            input_type=_DELETEEXCLUSIONREQUEST,
+            output_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.MethodOptions(),
+                _b(
+                    "\202\323\344\223\002\300\001*\033/v2/{name=*/*/exclusions/*}Z$*\"/v2/{name=projects/*/exclusions/*}Z)*'/v2/{name=organizations/*/exclusions/*}Z#*!/v2/{name=folders/*/exclusions/*}Z+*)/v2/{name=billingAccounts/*/exclusions/*}"
+                ),
+            ),
+        ),
+    ],
+)
 _sym_db.RegisterServiceDescriptor(_CONFIGSERVICEV2)
 
-DESCRIPTOR.services_by_name['ConfigServiceV2'] = _CONFIGSERVICEV2
+DESCRIPTOR.services_by_name["ConfigServiceV2"] = _CONFIGSERVICEV2
 
 # @@protoc_insertion_point(module_scope)
diff --git a/logging/google/cloud/logging_v2/proto/logging_config_pb2_grpc.py b/logging/google/cloud/logging_v2/proto/logging_config_pb2_grpc.py
index 87fc8a1a6088..6e93d39b46b4 100644
--- a/logging/google/cloud/logging_v2/proto/logging_config_pb2_grpc.py
+++ b/logging/google/cloud/logging_v2/proto/logging_config_pb2_grpc.py
@@ -1,211 +1,214 @@
 # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
 import grpc
 
-from google.cloud.logging_v2.proto import logging_config_pb2 as google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2
+from google.cloud.logging_v2.proto import (
+    logging_config_pb2 as google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2,
+)
 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
 
 
 class ConfigServiceV2Stub(object):
-  """Service for configuring sinks used to export log entries out of
+    """Service for configuring sinks used to export log entries out of
   Logging.
   """
 
-  def __init__(self, channel):
-    """Constructor.
+    def __init__(self, channel):
+        """Constructor.
 
     Args:
       channel: A grpc.Channel.
     """
-    self.ListSinks = channel.unary_unary(
-        '/google.logging.v2.ConfigServiceV2/ListSinks',
-        request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.ListSinksRequest.SerializeToString,
-        response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.ListSinksResponse.FromString,
+        self.ListSinks = channel.unary_unary(
+            "/google.logging.v2.ConfigServiceV2/ListSinks",
+            request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.ListSinksRequest.SerializeToString,
+            response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.ListSinksResponse.FromString,
         )
-    self.GetSink = channel.unary_unary(
-        '/google.logging.v2.ConfigServiceV2/GetSink',
-        request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.GetSinkRequest.SerializeToString,
-        response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogSink.FromString,
+        self.GetSink = channel.unary_unary(
+            "/google.logging.v2.ConfigServiceV2/GetSink",
+            request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.GetSinkRequest.SerializeToString,
+            response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogSink.FromString,
         )
-    self.CreateSink = channel.unary_unary(
-        '/google.logging.v2.ConfigServiceV2/CreateSink',
-        request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.CreateSinkRequest.SerializeToString,
-        response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogSink.FromString,
+        self.CreateSink = channel.unary_unary(
+            "/google.logging.v2.ConfigServiceV2/CreateSink",
+            request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.CreateSinkRequest.SerializeToString,
+            response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogSink.FromString,
         )
-    self.UpdateSink = channel.unary_unary(
-        '/google.logging.v2.ConfigServiceV2/UpdateSink',
-        request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.UpdateSinkRequest.SerializeToString,
-        response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogSink.FromString,
+        self.UpdateSink = channel.unary_unary(
+            "/google.logging.v2.ConfigServiceV2/UpdateSink",
+            request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.UpdateSinkRequest.SerializeToString,
+            response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogSink.FromString,
         )
-    self.DeleteSink = channel.unary_unary(
-        '/google.logging.v2.ConfigServiceV2/DeleteSink',
-        request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.DeleteSinkRequest.SerializeToString,
-        response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
+        self.DeleteSink = channel.unary_unary(
+            "/google.logging.v2.ConfigServiceV2/DeleteSink",
+            request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.DeleteSinkRequest.SerializeToString,
+            response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
         )
-    self.ListExclusions = channel.unary_unary(
-        '/google.logging.v2.ConfigServiceV2/ListExclusions',
-        request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.ListExclusionsRequest.SerializeToString,
-        response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.ListExclusionsResponse.FromString,
+        self.ListExclusions = channel.unary_unary(
+            "/google.logging.v2.ConfigServiceV2/ListExclusions",
+            request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.ListExclusionsRequest.SerializeToString,
+            response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.ListExclusionsResponse.FromString,
         )
-    self.GetExclusion = channel.unary_unary(
-        '/google.logging.v2.ConfigServiceV2/GetExclusion',
-        request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.GetExclusionRequest.SerializeToString,
-        response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogExclusion.FromString,
+        self.GetExclusion = channel.unary_unary(
+            "/google.logging.v2.ConfigServiceV2/GetExclusion",
+            request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.GetExclusionRequest.SerializeToString,
+            response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogExclusion.FromString,
         )
-    self.CreateExclusion = channel.unary_unary(
-        '/google.logging.v2.ConfigServiceV2/CreateExclusion',
-        request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.CreateExclusionRequest.SerializeToString,
-        response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogExclusion.FromString,
+        self.CreateExclusion = channel.unary_unary(
+            "/google.logging.v2.ConfigServiceV2/CreateExclusion",
+            request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.CreateExclusionRequest.SerializeToString,
+            response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogExclusion.FromString,
         )
-    self.UpdateExclusion = channel.unary_unary(
-        '/google.logging.v2.ConfigServiceV2/UpdateExclusion',
-        request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.UpdateExclusionRequest.SerializeToString,
-        response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogExclusion.FromString,
+        self.UpdateExclusion = channel.unary_unary(
+            "/google.logging.v2.ConfigServiceV2/UpdateExclusion",
+            request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.UpdateExclusionRequest.SerializeToString,
+            response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogExclusion.FromString,
         )
-    self.DeleteExclusion = channel.unary_unary(
-        '/google.logging.v2.ConfigServiceV2/DeleteExclusion',
-        request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.DeleteExclusionRequest.SerializeToString,
-        response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
+        self.DeleteExclusion = channel.unary_unary(
+            "/google.logging.v2.ConfigServiceV2/DeleteExclusion",
+            request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.DeleteExclusionRequest.SerializeToString,
+            response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
         )
 
 
 class ConfigServiceV2Servicer(object):
-  """Service for configuring sinks used to export log entries out of
+    """Service for configuring sinks used to export log entries out of
   Logging.
   """
 
-  def ListSinks(self, request, context):
-    """Lists sinks.
+    def ListSinks(self, request, context):
+        """Lists sinks.
     """
-    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
-    context.set_details('Method not implemented!')
-    raise NotImplementedError('Method not implemented!')
+        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+        context.set_details("Method not implemented!")
+        raise NotImplementedError("Method not implemented!")
 
-  def GetSink(self, request, context):
-    """Gets a sink.
+    def GetSink(self, request, context):
+        """Gets a sink.
     """
-    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
-    context.set_details('Method not implemented!')
-    raise NotImplementedError('Method not implemented!')
+        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+        context.set_details("Method not implemented!")
+        raise NotImplementedError("Method not implemented!")
 
-  def CreateSink(self, request, context):
-    """Creates a sink that exports specified log entries to a destination.  The
+    def CreateSink(self, request, context):
+        """Creates a sink that exports specified log entries to a destination.  The
     export of newly-ingested log entries begins immediately, unless the sink's
     `writer_identity` is not permitted to write to the destination.  A sink can
     export log entries only from the resource owning the sink.
     """
-    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
-    context.set_details('Method not implemented!')
-    raise NotImplementedError('Method not implemented!')
+        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+        context.set_details("Method not implemented!")
+        raise NotImplementedError("Method not implemented!")
 
-  def UpdateSink(self, request, context):
-    """Updates a sink.  This method replaces the following fields in the existing
+    def UpdateSink(self, request, context):
+        """Updates a sink.  This method replaces the following fields in the existing
     sink with values from the new sink: `destination`, and `filter`.
     The updated sink might also have a new `writer_identity`; see the
     `unique_writer_identity` field.
     """
-    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
-    context.set_details('Method not implemented!')
-    raise NotImplementedError('Method not implemented!')
+        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+        context.set_details("Method not implemented!")
+        raise NotImplementedError("Method not implemented!")
 
-  def DeleteSink(self, request, context):
-    """Deletes a sink. If the sink has a unique `writer_identity`, then that
+    def DeleteSink(self, request, context):
+        """Deletes a sink. If the sink has a unique `writer_identity`, then that
     service account is also deleted.
     """
-    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
-    context.set_details('Method not implemented!')
-    raise NotImplementedError('Method not implemented!')
+        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+        context.set_details("Method not implemented!")
+        raise NotImplementedError("Method not implemented!")
 
-  def ListExclusions(self, request, context):
-    """Lists all the exclusions in a parent resource.
+    def ListExclusions(self, request, context):
+        """Lists all the exclusions in a parent resource.
     """
-    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
-    context.set_details('Method not implemented!')
-    raise NotImplementedError('Method not implemented!')
+        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+        context.set_details("Method not implemented!")
+        raise NotImplementedError("Method not implemented!")
 
-  def GetExclusion(self, request, context):
-    """Gets the description of an exclusion.
+    def GetExclusion(self, request, context):
+        """Gets the description of an exclusion.
     """
-    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
-    context.set_details('Method not implemented!')
-    raise NotImplementedError('Method not implemented!')
+        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+        context.set_details("Method not implemented!")
+        raise NotImplementedError("Method not implemented!")
 
-  def CreateExclusion(self, request, context):
-    """Creates a new exclusion in a specified parent resource.
+    def CreateExclusion(self, request, context):
+        """Creates a new exclusion in a specified parent resource.
     Only log entries belonging to that resource can be excluded.
     You can have up to 10 exclusions in a resource.
     """
-    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
-    context.set_details('Method not implemented!')
-    raise NotImplementedError('Method not implemented!')
+        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+        context.set_details("Method not implemented!")
+        raise NotImplementedError("Method not implemented!")
 
-  def UpdateExclusion(self, request, context):
-    """Changes one or more properties of an existing exclusion.
+    def UpdateExclusion(self, request, context):
+        """Changes one or more properties of an existing exclusion.
     """
-    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
-    context.set_details('Method not implemented!')
-    raise NotImplementedError('Method not implemented!')
+        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+        context.set_details("Method not implemented!")
+        raise NotImplementedError("Method not implemented!")
 
-  def DeleteExclusion(self, request, context):
-    """Deletes an exclusion.
+    def DeleteExclusion(self, request, context):
+        """Deletes an exclusion.
     """
-    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
-    context.set_details('Method not implemented!')
-    raise NotImplementedError('Method not implemented!')
+        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+        context.set_details("Method not implemented!")
+        raise NotImplementedError("Method not implemented!")
 
 
 def add_ConfigServiceV2Servicer_to_server(servicer, server):
-  rpc_method_handlers = {
-      'ListSinks': grpc.unary_unary_rpc_method_handler(
-          servicer.ListSinks,
-          request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.ListSinksRequest.FromString,
-          response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.ListSinksResponse.SerializeToString,
-      ),
-      'GetSink': grpc.unary_unary_rpc_method_handler(
-          servicer.GetSink,
-          request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.GetSinkRequest.FromString,
-          response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogSink.SerializeToString,
-      ),
-      'CreateSink': grpc.unary_unary_rpc_method_handler(
-          servicer.CreateSink,
-          request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.CreateSinkRequest.FromString,
-          response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogSink.SerializeToString,
-      ),
-      'UpdateSink': grpc.unary_unary_rpc_method_handler(
-          servicer.UpdateSink,
-          request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.UpdateSinkRequest.FromString,
-          response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogSink.SerializeToString,
-      ),
-      'DeleteSink': grpc.unary_unary_rpc_method_handler(
-          servicer.DeleteSink,
-          request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.DeleteSinkRequest.FromString,
-          response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
-      ),
-      'ListExclusions': grpc.unary_unary_rpc_method_handler(
-          servicer.ListExclusions,
-          request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.ListExclusionsRequest.FromString,
-          response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.ListExclusionsResponse.SerializeToString,
-      ),
-      'GetExclusion': grpc.unary_unary_rpc_method_handler(
-          servicer.GetExclusion,
-          request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.GetExclusionRequest.FromString,
-          response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogExclusion.SerializeToString,
-      ),
-      'CreateExclusion': grpc.unary_unary_rpc_method_handler(
-          servicer.CreateExclusion,
-          request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.CreateExclusionRequest.FromString,
-          response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogExclusion.SerializeToString,
-      ),
-      'UpdateExclusion': grpc.unary_unary_rpc_method_handler(
-          servicer.UpdateExclusion,
-          request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.UpdateExclusionRequest.FromString,
-          response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogExclusion.SerializeToString,
-      ),
-      'DeleteExclusion': grpc.unary_unary_rpc_method_handler(
-          servicer.DeleteExclusion,
-          request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.DeleteExclusionRequest.FromString,
-          response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
-      ),
-  }
-  generic_handler = grpc.method_handlers_generic_handler(
-      'google.logging.v2.ConfigServiceV2', rpc_method_handlers)
-  server.add_generic_rpc_handlers((generic_handler,))
+    rpc_method_handlers = {
+        "ListSinks": grpc.unary_unary_rpc_method_handler(
+            servicer.ListSinks,
+            request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.ListSinksRequest.FromString,
+            response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.ListSinksResponse.SerializeToString,
+        ),
+        "GetSink": grpc.unary_unary_rpc_method_handler(
+            servicer.GetSink,
+            request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.GetSinkRequest.FromString,
+            response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogSink.SerializeToString,
+        ),
+        "CreateSink": grpc.unary_unary_rpc_method_handler(
+            servicer.CreateSink,
+            request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.CreateSinkRequest.FromString,
+            response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogSink.SerializeToString,
+        ),
+        "UpdateSink": grpc.unary_unary_rpc_method_handler(
+            servicer.UpdateSink,
+            request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.UpdateSinkRequest.FromString,
+            response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogSink.SerializeToString,
+        ),
+        "DeleteSink": grpc.unary_unary_rpc_method_handler(
+            servicer.DeleteSink,
+            request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.DeleteSinkRequest.FromString,
+            response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
+        ),
+        "ListExclusions": grpc.unary_unary_rpc_method_handler(
+            servicer.ListExclusions,
+            request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.ListExclusionsRequest.FromString,
+            response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.ListExclusionsResponse.SerializeToString,
+        ),
+        "GetExclusion": grpc.unary_unary_rpc_method_handler(
+            servicer.GetExclusion,
+            request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.GetExclusionRequest.FromString,
+            response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogExclusion.SerializeToString,
+        ),
+        "CreateExclusion": grpc.unary_unary_rpc_method_handler(
+            servicer.CreateExclusion,
+            request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.CreateExclusionRequest.FromString,
+            response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogExclusion.SerializeToString,
+        ),
+        "UpdateExclusion": grpc.unary_unary_rpc_method_handler(
+            servicer.UpdateExclusion,
+            request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.UpdateExclusionRequest.FromString,
+            response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.LogExclusion.SerializeToString,
+        ),
+        "DeleteExclusion": grpc.unary_unary_rpc_method_handler(
+            servicer.DeleteExclusion,
+            request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__config__pb2.DeleteExclusionRequest.FromString,
+            response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
+        ),
+    }
+    generic_handler = grpc.method_handlers_generic_handler(
+        "google.logging.v2.ConfigServiceV2", rpc_method_handlers
+    )
+    server.add_generic_rpc_handlers((generic_handler,))
diff --git a/logging/google/cloud/logging_v2/proto/logging_metrics_pb2.py b/logging/google/cloud/logging_v2/proto/logging_metrics_pb2.py
index 0be74ac88f55..5988162a3e76 100644
--- a/logging/google/cloud/logging_v2/proto/logging_metrics_pb2.py
+++ b/logging/google/cloud/logging_v2/proto/logging_metrics_pb2.py
@@ -3,12 +3,14 @@
 # source: google/cloud/logging_v2/proto/logging_metrics.proto
 
 import sys
-_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
+
+_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
 from google.protobuf import descriptor as _descriptor
 from google.protobuf import message as _message
 from google.protobuf import reflection as _reflection
 from google.protobuf import symbol_database as _symbol_database
 from google.protobuf import descriptor_pb2
+
 # @@protoc_insertion_point(imports)
 
 _sym_db = _symbol_database.Default()
@@ -23,406 +25,630 @@
 
 
 DESCRIPTOR = _descriptor.FileDescriptor(
-  name='google/cloud/logging_v2/proto/logging_metrics.proto',
-  package='google.logging.v2',
-  syntax='proto3',
-  serialized_pb=_b('\n3google/cloud/logging_v2/proto/logging_metrics.proto\x12\x11google.logging.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x1dgoogle/api/distribution.proto\x1a\x17google/api/metric.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb1\x03\n\tLogMetric\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x03 \x01(\t\x12\x37\n\x11metric_descriptor\x18\x05 \x01(\x0b\x32\x1c.google.api.MetricDescriptor\x12\x17\n\x0fvalue_extractor\x18\x06 \x01(\t\x12K\n\x10label_extractors\x18\x07 \x03(\x0b\x32\x31.google.logging.v2.LogMetric.LabelExtractorsEntry\x12>\n\x0e\x62ucket_options\x18\x08 \x01(\x0b\x32&.google.api.Distribution.BucketOptions\x12<\n\x07version\x18\x04 \x01(\x0e\x32\'.google.logging.v2.LogMetric.ApiVersionB\x02\x18\x01\x1a\x36\n\x14LabelExtractorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x1c\n\nApiVersion\x12\x06\n\x02V2\x10\x00\x12\x06\n\x02V1\x10\x01\"N\n\x15ListLogMetricsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\"`\n\x16ListLogMetricsResponse\x12-\n\x07metrics\x18\x01 \x03(\x0b\x32\x1c.google.logging.v2.LogMetric\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"*\n\x13GetLogMetricRequest\x12\x13\n\x0bmetric_name\x18\x01 \x01(\t\"V\n\x16\x43reateLogMetricRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12,\n\x06metric\x18\x02 \x01(\x0b\x32\x1c.google.logging.v2.LogMetric\"[\n\x16UpdateLogMetricRequest\x12\x13\n\x0bmetric_name\x18\x01 \x01(\t\x12,\n\x06metric\x18\x02 \x01(\x0b\x32\x1c.google.logging.v2.LogMetric\"-\n\x16\x44\x65leteLogMetricRequest\x12\x13\n\x0bmetric_name\x18\x01 \x01(\t2\xd4\x05\n\x10MetricsServiceV2\x12\x8e\x01\n\x0eListLogMetrics\x12(.google.logging.v2.ListLogMetricsRequest\x1a).google.logging.v2.ListLogMetricsResponse\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/v2/{parent=projects/*}/metrics\x12\x84\x01\n\x0cGetLogMetric\x12&.google.logging.v2.GetLogMetricRequest\x1a\x1c.google.logging.v2.LogMetric\".\x82\xd3\xe4\x93\x02(\x12&/v2/{metric_name=projects/*/metrics/*}\x12\x8b\x01\n\x0f\x43reateLogMetric\x12).google.logging.v2.CreateLogMetricRequest\x1a\x1c.google.logging.v2.LogMetric\"/\x82\xd3\xe4\x93\x02)\"\x1f/v2/{parent=projects/*}/metrics:\x06metric\x12\x92\x01\n\x0fUpdateLogMetric\x12).google.logging.v2.UpdateLogMetricRequest\x1a\x1c.google.logging.v2.LogMetric\"6\x82\xd3\xe4\x93\x02\x30\x1a&/v2/{metric_name=projects/*/metrics/*}:\x06metric\x12\x84\x01\n\x0f\x44\x65leteLogMetric\x12).google.logging.v2.DeleteLogMetricRequest\x1a\x16.google.protobuf.Empty\".\x82\xd3\xe4\x93\x02(*&/v2/{metric_name=projects/*/metrics/*}B\x9f\x01\n\x15\x63om.google.logging.v2B\x13LoggingMetricsProtoP\x01Z8google.golang.org/genproto/googleapis/logging/v2;logging\xf8\x01\x01\xaa\x02\x17Google.Cloud.Logging.V2\xca\x02\x17Google\\Cloud\\Logging\\V2b\x06proto3')
-  ,
-  dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_distribution__pb2.DESCRIPTOR,google_dot_api_dot_metric__pb2.DESCRIPTOR,google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,])
-
+    name="google/cloud/logging_v2/proto/logging_metrics.proto",
+    package="google.logging.v2",
+    syntax="proto3",
+    serialized_pb=_b(
+        '\n3google/cloud/logging_v2/proto/logging_metrics.proto\x12\x11google.logging.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x1dgoogle/api/distribution.proto\x1a\x17google/api/metric.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xb1\x03\n\tLogMetric\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x03 \x01(\t\x12\x37\n\x11metric_descriptor\x18\x05 \x01(\x0b\x32\x1c.google.api.MetricDescriptor\x12\x17\n\x0fvalue_extractor\x18\x06 \x01(\t\x12K\n\x10label_extractors\x18\x07 \x03(\x0b\x32\x31.google.logging.v2.LogMetric.LabelExtractorsEntry\x12>\n\x0e\x62ucket_options\x18\x08 \x01(\x0b\x32&.google.api.Distribution.BucketOptions\x12<\n\x07version\x18\x04 \x01(\x0e\x32\'.google.logging.v2.LogMetric.ApiVersionB\x02\x18\x01\x1a\x36\n\x14LabelExtractorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x1c\n\nApiVersion\x12\x06\n\x02V2\x10\x00\x12\x06\n\x02V1\x10\x01"N\n\x15ListLogMetricsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05"`\n\x16ListLogMetricsResponse\x12-\n\x07metrics\x18\x01 \x03(\x0b\x32\x1c.google.logging.v2.LogMetric\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"*\n\x13GetLogMetricRequest\x12\x13\n\x0bmetric_name\x18\x01 \x01(\t"V\n\x16\x43reateLogMetricRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12,\n\x06metric\x18\x02 \x01(\x0b\x32\x1c.google.logging.v2.LogMetric"[\n\x16UpdateLogMetricRequest\x12\x13\n\x0bmetric_name\x18\x01 \x01(\t\x12,\n\x06metric\x18\x02 \x01(\x0b\x32\x1c.google.logging.v2.LogMetric"-\n\x16\x44\x65leteLogMetricRequest\x12\x13\n\x0bmetric_name\x18\x01 \x01(\t2\xd4\x05\n\x10MetricsServiceV2\x12\x8e\x01\n\x0eListLogMetrics\x12(.google.logging.v2.ListLogMetricsRequest\x1a).google.logging.v2.ListLogMetricsResponse"\'\x82\xd3\xe4\x93\x02!\x12\x1f/v2/{parent=projects/*}/metrics\x12\x84\x01\n\x0cGetLogMetric\x12&.google.logging.v2.GetLogMetricRequest\x1a\x1c.google.logging.v2.LogMetric".\x82\xd3\xe4\x93\x02(\x12&/v2/{metric_name=projects/*/metrics/*}\x12\x8b\x01\n\x0f\x43reateLogMetric\x12).google.logging.v2.CreateLogMetricRequest\x1a\x1c.google.logging.v2.LogMetric"/\x82\xd3\xe4\x93\x02)"\x1f/v2/{parent=projects/*}/metrics:\x06metric\x12\x92\x01\n\x0fUpdateLogMetric\x12).google.logging.v2.UpdateLogMetricRequest\x1a\x1c.google.logging.v2.LogMetric"6\x82\xd3\xe4\x93\x02\x30\x1a&/v2/{metric_name=projects/*/metrics/*}:\x06metric\x12\x84\x01\n\x0f\x44\x65leteLogMetric\x12).google.logging.v2.DeleteLogMetricRequest\x1a\x16.google.protobuf.Empty".\x82\xd3\xe4\x93\x02(*&/v2/{metric_name=projects/*/metrics/*}B\x9f\x01\n\x15\x63om.google.logging.v2B\x13LoggingMetricsProtoP\x01Z8google.golang.org/genproto/googleapis/logging/v2;logging\xf8\x01\x01\xaa\x02\x17Google.Cloud.Logging.V2\xca\x02\x17Google\\Cloud\\Logging\\V2b\x06proto3'
+    ),
+    dependencies=[
+        google_dot_api_dot_annotations__pb2.DESCRIPTOR,
+        google_dot_api_dot_distribution__pb2.DESCRIPTOR,
+        google_dot_api_dot_metric__pb2.DESCRIPTOR,
+        google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,
+        google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,
+        google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,
+    ],
+)
 
 
 _LOGMETRIC_APIVERSION = _descriptor.EnumDescriptor(
-  name='ApiVersion',
-  full_name='google.logging.v2.LogMetric.ApiVersion',
-  filename=None,
-  file=DESCRIPTOR,
-  values=[
-    _descriptor.EnumValueDescriptor(
-      name='V2', index=0, number=0,
-      options=None,
-      type=None),
-    _descriptor.EnumValueDescriptor(
-      name='V1', index=1, number=1,
-      options=None,
-      type=None),
-  ],
-  containing_type=None,
-  options=None,
-  serialized_start=662,
-  serialized_end=690,
+    name="ApiVersion",
+    full_name="google.logging.v2.LogMetric.ApiVersion",
+    filename=None,
+    file=DESCRIPTOR,
+    values=[
+        _descriptor.EnumValueDescriptor(
+            name="V2", index=0, number=0, options=None, type=None
+        ),
+        _descriptor.EnumValueDescriptor(
+            name="V1", index=1, number=1, options=None, type=None
+        ),
+    ],
+    containing_type=None,
+    options=None,
+    serialized_start=662,
+    serialized_end=690,
 )
 _sym_db.RegisterEnumDescriptor(_LOGMETRIC_APIVERSION)
 
 
 _LOGMETRIC_LABELEXTRACTORSENTRY = _descriptor.Descriptor(
-  name='LabelExtractorsEntry',
-  full_name='google.logging.v2.LogMetric.LabelExtractorsEntry',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='key', full_name='google.logging.v2.LogMetric.LabelExtractorsEntry.key', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='value', full_name='google.logging.v2.LogMetric.LabelExtractorsEntry.value', index=1,
-      number=2, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')),
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=606,
-  serialized_end=660,
+    name="LabelExtractorsEntry",
+    full_name="google.logging.v2.LogMetric.LabelExtractorsEntry",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="key",
+            full_name="google.logging.v2.LogMetric.LabelExtractorsEntry.key",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="value",
+            full_name="google.logging.v2.LogMetric.LabelExtractorsEntry.value",
+            index=1,
+            number=2,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b("8\001")),
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=606,
+    serialized_end=660,
 )
 
 _LOGMETRIC = _descriptor.Descriptor(
-  name='LogMetric',
-  full_name='google.logging.v2.LogMetric',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='name', full_name='google.logging.v2.LogMetric.name', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='description', full_name='google.logging.v2.LogMetric.description', index=1,
-      number=2, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='filter', full_name='google.logging.v2.LogMetric.filter', index=2,
-      number=3, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='metric_descriptor', full_name='google.logging.v2.LogMetric.metric_descriptor', index=3,
-      number=5, type=11, cpp_type=10, label=1,
-      has_default_value=False, default_value=None,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='value_extractor', full_name='google.logging.v2.LogMetric.value_extractor', index=4,
-      number=6, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='label_extractors', full_name='google.logging.v2.LogMetric.label_extractors', index=5,
-      number=7, type=11, cpp_type=10, label=3,
-      has_default_value=False, default_value=[],
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='bucket_options', full_name='google.logging.v2.LogMetric.bucket_options', index=6,
-      number=8, type=11, cpp_type=10, label=1,
-      has_default_value=False, default_value=None,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='version', full_name='google.logging.v2.LogMetric.version', index=7,
-      number=4, type=14, cpp_type=8, label=1,
-      has_default_value=False, default_value=0,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')), file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[_LOGMETRIC_LABELEXTRACTORSENTRY, ],
-  enum_types=[
-    _LOGMETRIC_APIVERSION,
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=257,
-  serialized_end=690,
+    name="LogMetric",
+    full_name="google.logging.v2.LogMetric",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="name",
+            full_name="google.logging.v2.LogMetric.name",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="description",
+            full_name="google.logging.v2.LogMetric.description",
+            index=1,
+            number=2,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="filter",
+            full_name="google.logging.v2.LogMetric.filter",
+            index=2,
+            number=3,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="metric_descriptor",
+            full_name="google.logging.v2.LogMetric.metric_descriptor",
+            index=3,
+            number=5,
+            type=11,
+            cpp_type=10,
+            label=1,
+            has_default_value=False,
+            default_value=None,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="value_extractor",
+            full_name="google.logging.v2.LogMetric.value_extractor",
+            index=4,
+            number=6,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="label_extractors",
+            full_name="google.logging.v2.LogMetric.label_extractors",
+            index=5,
+            number=7,
+            type=11,
+            cpp_type=10,
+            label=3,
+            has_default_value=False,
+            default_value=[],
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="bucket_options",
+            full_name="google.logging.v2.LogMetric.bucket_options",
+            index=6,
+            number=8,
+            type=11,
+            cpp_type=10,
+            label=1,
+            has_default_value=False,
+            default_value=None,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="version",
+            full_name="google.logging.v2.LogMetric.version",
+            index=7,
+            number=4,
+            type=14,
+            cpp_type=8,
+            label=1,
+            has_default_value=False,
+            default_value=0,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.FieldOptions(), _b("\030\001")
+            ),
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[_LOGMETRIC_LABELEXTRACTORSENTRY],
+    enum_types=[_LOGMETRIC_APIVERSION],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=257,
+    serialized_end=690,
 )
 
 
 _LISTLOGMETRICSREQUEST = _descriptor.Descriptor(
-  name='ListLogMetricsRequest',
-  full_name='google.logging.v2.ListLogMetricsRequest',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='parent', full_name='google.logging.v2.ListLogMetricsRequest.parent', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='page_token', full_name='google.logging.v2.ListLogMetricsRequest.page_token', index=1,
-      number=2, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='page_size', full_name='google.logging.v2.ListLogMetricsRequest.page_size', index=2,
-      number=3, type=5, cpp_type=1, label=1,
-      has_default_value=False, default_value=0,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=692,
-  serialized_end=770,
+    name="ListLogMetricsRequest",
+    full_name="google.logging.v2.ListLogMetricsRequest",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="parent",
+            full_name="google.logging.v2.ListLogMetricsRequest.parent",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="page_token",
+            full_name="google.logging.v2.ListLogMetricsRequest.page_token",
+            index=1,
+            number=2,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="page_size",
+            full_name="google.logging.v2.ListLogMetricsRequest.page_size",
+            index=2,
+            number=3,
+            type=5,
+            cpp_type=1,
+            label=1,
+            has_default_value=False,
+            default_value=0,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=692,
+    serialized_end=770,
 )
 
 
 _LISTLOGMETRICSRESPONSE = _descriptor.Descriptor(
-  name='ListLogMetricsResponse',
-  full_name='google.logging.v2.ListLogMetricsResponse',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='metrics', full_name='google.logging.v2.ListLogMetricsResponse.metrics', index=0,
-      number=1, type=11, cpp_type=10, label=3,
-      has_default_value=False, default_value=[],
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='next_page_token', full_name='google.logging.v2.ListLogMetricsResponse.next_page_token', index=1,
-      number=2, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=772,
-  serialized_end=868,
+    name="ListLogMetricsResponse",
+    full_name="google.logging.v2.ListLogMetricsResponse",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="metrics",
+            full_name="google.logging.v2.ListLogMetricsResponse.metrics",
+            index=0,
+            number=1,
+            type=11,
+            cpp_type=10,
+            label=3,
+            has_default_value=False,
+            default_value=[],
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="next_page_token",
+            full_name="google.logging.v2.ListLogMetricsResponse.next_page_token",
+            index=1,
+            number=2,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=772,
+    serialized_end=868,
 )
 
 
 _GETLOGMETRICREQUEST = _descriptor.Descriptor(
-  name='GetLogMetricRequest',
-  full_name='google.logging.v2.GetLogMetricRequest',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='metric_name', full_name='google.logging.v2.GetLogMetricRequest.metric_name', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=870,
-  serialized_end=912,
+    name="GetLogMetricRequest",
+    full_name="google.logging.v2.GetLogMetricRequest",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="metric_name",
+            full_name="google.logging.v2.GetLogMetricRequest.metric_name",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        )
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=870,
+    serialized_end=912,
 )
 
 
 _CREATELOGMETRICREQUEST = _descriptor.Descriptor(
-  name='CreateLogMetricRequest',
-  full_name='google.logging.v2.CreateLogMetricRequest',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='parent', full_name='google.logging.v2.CreateLogMetricRequest.parent', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='metric', full_name='google.logging.v2.CreateLogMetricRequest.metric', index=1,
-      number=2, type=11, cpp_type=10, label=1,
-      has_default_value=False, default_value=None,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=914,
-  serialized_end=1000,
+    name="CreateLogMetricRequest",
+    full_name="google.logging.v2.CreateLogMetricRequest",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="parent",
+            full_name="google.logging.v2.CreateLogMetricRequest.parent",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="metric",
+            full_name="google.logging.v2.CreateLogMetricRequest.metric",
+            index=1,
+            number=2,
+            type=11,
+            cpp_type=10,
+            label=1,
+            has_default_value=False,
+            default_value=None,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=914,
+    serialized_end=1000,
 )
 
 
 _UPDATELOGMETRICREQUEST = _descriptor.Descriptor(
-  name='UpdateLogMetricRequest',
-  full_name='google.logging.v2.UpdateLogMetricRequest',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='metric_name', full_name='google.logging.v2.UpdateLogMetricRequest.metric_name', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='metric', full_name='google.logging.v2.UpdateLogMetricRequest.metric', index=1,
-      number=2, type=11, cpp_type=10, label=1,
-      has_default_value=False, default_value=None,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=1002,
-  serialized_end=1093,
+    name="UpdateLogMetricRequest",
+    full_name="google.logging.v2.UpdateLogMetricRequest",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="metric_name",
+            full_name="google.logging.v2.UpdateLogMetricRequest.metric_name",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="metric",
+            full_name="google.logging.v2.UpdateLogMetricRequest.metric",
+            index=1,
+            number=2,
+            type=11,
+            cpp_type=10,
+            label=1,
+            has_default_value=False,
+            default_value=None,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=1002,
+    serialized_end=1093,
 )
 
 
 _DELETELOGMETRICREQUEST = _descriptor.Descriptor(
-  name='DeleteLogMetricRequest',
-  full_name='google.logging.v2.DeleteLogMetricRequest',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='metric_name', full_name='google.logging.v2.DeleteLogMetricRequest.metric_name', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=1095,
-  serialized_end=1140,
+    name="DeleteLogMetricRequest",
+    full_name="google.logging.v2.DeleteLogMetricRequest",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="metric_name",
+            full_name="google.logging.v2.DeleteLogMetricRequest.metric_name",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        )
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=1095,
+    serialized_end=1140,
 )
 
 _LOGMETRIC_LABELEXTRACTORSENTRY.containing_type = _LOGMETRIC
-_LOGMETRIC.fields_by_name['metric_descriptor'].message_type = google_dot_api_dot_metric__pb2._METRICDESCRIPTOR
-_LOGMETRIC.fields_by_name['label_extractors'].message_type = _LOGMETRIC_LABELEXTRACTORSENTRY
-_LOGMETRIC.fields_by_name['bucket_options'].message_type = google_dot_api_dot_distribution__pb2._DISTRIBUTION_BUCKETOPTIONS
-_LOGMETRIC.fields_by_name['version'].enum_type = _LOGMETRIC_APIVERSION
+_LOGMETRIC.fields_by_name[
+    "metric_descriptor"
+].message_type = google_dot_api_dot_metric__pb2._METRICDESCRIPTOR
+_LOGMETRIC.fields_by_name[
+    "label_extractors"
+].message_type = _LOGMETRIC_LABELEXTRACTORSENTRY
+_LOGMETRIC.fields_by_name[
+    "bucket_options"
+].message_type = google_dot_api_dot_distribution__pb2._DISTRIBUTION_BUCKETOPTIONS
+_LOGMETRIC.fields_by_name["version"].enum_type = _LOGMETRIC_APIVERSION
 _LOGMETRIC_APIVERSION.containing_type = _LOGMETRIC
-_LISTLOGMETRICSRESPONSE.fields_by_name['metrics'].message_type = _LOGMETRIC
-_CREATELOGMETRICREQUEST.fields_by_name['metric'].message_type = _LOGMETRIC
-_UPDATELOGMETRICREQUEST.fields_by_name['metric'].message_type = _LOGMETRIC
-DESCRIPTOR.message_types_by_name['LogMetric'] = _LOGMETRIC
-DESCRIPTOR.message_types_by_name['ListLogMetricsRequest'] = _LISTLOGMETRICSREQUEST
-DESCRIPTOR.message_types_by_name['ListLogMetricsResponse'] = _LISTLOGMETRICSRESPONSE
-DESCRIPTOR.message_types_by_name['GetLogMetricRequest'] = _GETLOGMETRICREQUEST
-DESCRIPTOR.message_types_by_name['CreateLogMetricRequest'] = _CREATELOGMETRICREQUEST
-DESCRIPTOR.message_types_by_name['UpdateLogMetricRequest'] = _UPDATELOGMETRICREQUEST
-DESCRIPTOR.message_types_by_name['DeleteLogMetricRequest'] = _DELETELOGMETRICREQUEST
+_LISTLOGMETRICSRESPONSE.fields_by_name["metrics"].message_type = _LOGMETRIC
+_CREATELOGMETRICREQUEST.fields_by_name["metric"].message_type = _LOGMETRIC
+_UPDATELOGMETRICREQUEST.fields_by_name["metric"].message_type = _LOGMETRIC
+DESCRIPTOR.message_types_by_name["LogMetric"] = _LOGMETRIC
+DESCRIPTOR.message_types_by_name["ListLogMetricsRequest"] = _LISTLOGMETRICSREQUEST
+DESCRIPTOR.message_types_by_name["ListLogMetricsResponse"] = _LISTLOGMETRICSRESPONSE
+DESCRIPTOR.message_types_by_name["GetLogMetricRequest"] = _GETLOGMETRICREQUEST
+DESCRIPTOR.message_types_by_name["CreateLogMetricRequest"] = _CREATELOGMETRICREQUEST
+DESCRIPTOR.message_types_by_name["UpdateLogMetricRequest"] = _UPDATELOGMETRICREQUEST
+DESCRIPTOR.message_types_by_name["DeleteLogMetricRequest"] = _DELETELOGMETRICREQUEST
 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
 
-LogMetric = _reflection.GeneratedProtocolMessageType('LogMetric', (_message.Message,), dict(
-
-  LabelExtractorsEntry = _reflection.GeneratedProtocolMessageType('LabelExtractorsEntry', (_message.Message,), dict(
-    DESCRIPTOR = _LOGMETRIC_LABELEXTRACTORSENTRY,
-    __module__ = 'google.cloud.logging_v2.proto.logging_metrics_pb2'
-    # @@protoc_insertion_point(class_scope:google.logging.v2.LogMetric.LabelExtractorsEntry)
-    ))
-  ,
-  DESCRIPTOR = _LOGMETRIC,
-  __module__ = 'google.cloud.logging_v2.proto.logging_metrics_pb2'
-  ,
-  __doc__ = """Describes a logs-based metric. The value of the metric is the number of
+LogMetric = _reflection.GeneratedProtocolMessageType(
+    "LogMetric",
+    (_message.Message,),
+    dict(
+        LabelExtractorsEntry=_reflection.GeneratedProtocolMessageType(
+            "LabelExtractorsEntry",
+            (_message.Message,),
+            dict(
+                DESCRIPTOR=_LOGMETRIC_LABELEXTRACTORSENTRY,
+                __module__="google.cloud.logging_v2.proto.logging_metrics_pb2"
+                # @@protoc_insertion_point(class_scope:google.logging.v2.LogMetric.LabelExtractorsEntry)
+            ),
+        ),
+        DESCRIPTOR=_LOGMETRIC,
+        __module__="google.cloud.logging_v2.proto.logging_metrics_pb2",
+        __doc__="""Describes a logs-based metric. The value of the metric is the number of
   log entries that match a logs filter in a given time interval.
   
   Logs-based metric can also be used to extract values from logs and
@@ -517,16 +743,19 @@
           metric. The v2 format is used by default and cannot be
           changed.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.LogMetric)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.LogMetric)
+    ),
+)
 _sym_db.RegisterMessage(LogMetric)
 _sym_db.RegisterMessage(LogMetric.LabelExtractorsEntry)
 
-ListLogMetricsRequest = _reflection.GeneratedProtocolMessageType('ListLogMetricsRequest', (_message.Message,), dict(
-  DESCRIPTOR = _LISTLOGMETRICSREQUEST,
-  __module__ = 'google.cloud.logging_v2.proto.logging_metrics_pb2'
-  ,
-  __doc__ = """The parameters to ListLogMetrics.
+ListLogMetricsRequest = _reflection.GeneratedProtocolMessageType(
+    "ListLogMetricsRequest",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_LISTLOGMETRICSREQUEST,
+        __module__="google.cloud.logging_v2.proto.logging_metrics_pb2",
+        __doc__="""The parameters to ListLogMetrics.
   
   
   Attributes:
@@ -545,15 +774,18 @@
           ``nextPageToken`` in the response indicates that more results
           might be available.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.ListLogMetricsRequest)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.ListLogMetricsRequest)
+    ),
+)
 _sym_db.RegisterMessage(ListLogMetricsRequest)
 
-ListLogMetricsResponse = _reflection.GeneratedProtocolMessageType('ListLogMetricsResponse', (_message.Message,), dict(
-  DESCRIPTOR = _LISTLOGMETRICSRESPONSE,
-  __module__ = 'google.cloud.logging_v2.proto.logging_metrics_pb2'
-  ,
-  __doc__ = """Result returned from ListLogMetrics.
+ListLogMetricsResponse = _reflection.GeneratedProtocolMessageType(
+    "ListLogMetricsResponse",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_LISTLOGMETRICSRESPONSE,
+        __module__="google.cloud.logging_v2.proto.logging_metrics_pb2",
+        __doc__="""Result returned from ListLogMetrics.
   
   
   Attributes:
@@ -565,15 +797,18 @@
           results, call this method again using the value of
           ``nextPageToken`` as ``pageToken``.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.ListLogMetricsResponse)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.ListLogMetricsResponse)
+    ),
+)
 _sym_db.RegisterMessage(ListLogMetricsResponse)
 
-GetLogMetricRequest = _reflection.GeneratedProtocolMessageType('GetLogMetricRequest', (_message.Message,), dict(
-  DESCRIPTOR = _GETLOGMETRICREQUEST,
-  __module__ = 'google.cloud.logging_v2.proto.logging_metrics_pb2'
-  ,
-  __doc__ = """The parameters to GetLogMetric.
+GetLogMetricRequest = _reflection.GeneratedProtocolMessageType(
+    "GetLogMetricRequest",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_GETLOGMETRICREQUEST,
+        __module__="google.cloud.logging_v2.proto.logging_metrics_pb2",
+        __doc__="""The parameters to GetLogMetric.
   
   
   Attributes:
@@ -581,15 +816,18 @@
           The resource name of the desired metric:  ::
           "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.GetLogMetricRequest)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.GetLogMetricRequest)
+    ),
+)
 _sym_db.RegisterMessage(GetLogMetricRequest)
 
-CreateLogMetricRequest = _reflection.GeneratedProtocolMessageType('CreateLogMetricRequest', (_message.Message,), dict(
-  DESCRIPTOR = _CREATELOGMETRICREQUEST,
-  __module__ = 'google.cloud.logging_v2.proto.logging_metrics_pb2'
-  ,
-  __doc__ = """The parameters to CreateLogMetric.
+CreateLogMetricRequest = _reflection.GeneratedProtocolMessageType(
+    "CreateLogMetricRequest",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_CREATELOGMETRICREQUEST,
+        __module__="google.cloud.logging_v2.proto.logging_metrics_pb2",
+        __doc__="""The parameters to CreateLogMetric.
   
   
   Attributes:
@@ -601,15 +839,18 @@
           The new logs-based metric, which must not have an identifier
           that already exists.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.CreateLogMetricRequest)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.CreateLogMetricRequest)
+    ),
+)
 _sym_db.RegisterMessage(CreateLogMetricRequest)
 
-UpdateLogMetricRequest = _reflection.GeneratedProtocolMessageType('UpdateLogMetricRequest', (_message.Message,), dict(
-  DESCRIPTOR = _UPDATELOGMETRICREQUEST,
-  __module__ = 'google.cloud.logging_v2.proto.logging_metrics_pb2'
-  ,
-  __doc__ = """The parameters to UpdateLogMetric.
+UpdateLogMetricRequest = _reflection.GeneratedProtocolMessageType(
+    "UpdateLogMetricRequest",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_UPDATELOGMETRICREQUEST,
+        __module__="google.cloud.logging_v2.proto.logging_metrics_pb2",
+        __doc__="""The parameters to UpdateLogMetric.
   
   
   Attributes:
@@ -622,15 +863,18 @@
       metric:
           The updated metric.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.UpdateLogMetricRequest)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.UpdateLogMetricRequest)
+    ),
+)
 _sym_db.RegisterMessage(UpdateLogMetricRequest)
 
-DeleteLogMetricRequest = _reflection.GeneratedProtocolMessageType('DeleteLogMetricRequest', (_message.Message,), dict(
-  DESCRIPTOR = _DELETELOGMETRICREQUEST,
-  __module__ = 'google.cloud.logging_v2.proto.logging_metrics_pb2'
-  ,
-  __doc__ = """The parameters to DeleteLogMetric.
+DeleteLogMetricRequest = _reflection.GeneratedProtocolMessageType(
+    "DeleteLogMetricRequest",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_DELETELOGMETRICREQUEST,
+        __module__="google.cloud.logging_v2.proto.logging_metrics_pb2",
+        __doc__="""The parameters to DeleteLogMetric.
   
   
   Attributes:
@@ -638,75 +882,105 @@
           The resource name of the metric to delete:  ::
           "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.DeleteLogMetricRequest)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.DeleteLogMetricRequest)
+    ),
+)
 _sym_db.RegisterMessage(DeleteLogMetricRequest)
 
 
 DESCRIPTOR.has_options = True
-DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\025com.google.logging.v2B\023LoggingMetricsProtoP\001Z8google.golang.org/genproto/googleapis/logging/v2;logging\370\001\001\252\002\027Google.Cloud.Logging.V2\312\002\027Google\\Cloud\\Logging\\V2'))
+DESCRIPTOR._options = _descriptor._ParseOptions(
+    descriptor_pb2.FileOptions(),
+    _b(
+        "\n\025com.google.logging.v2B\023LoggingMetricsProtoP\001Z8google.golang.org/genproto/googleapis/logging/v2;logging\370\001\001\252\002\027Google.Cloud.Logging.V2\312\002\027Google\\Cloud\\Logging\\V2"
+    ),
+)
 _LOGMETRIC_LABELEXTRACTORSENTRY.has_options = True
-_LOGMETRIC_LABELEXTRACTORSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
-_LOGMETRIC.fields_by_name['version'].has_options = True
-_LOGMETRIC.fields_by_name['version']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
+_LOGMETRIC_LABELEXTRACTORSENTRY._options = _descriptor._ParseOptions(
+    descriptor_pb2.MessageOptions(), _b("8\001")
+)
+_LOGMETRIC.fields_by_name["version"].has_options = True
+_LOGMETRIC.fields_by_name["version"]._options = _descriptor._ParseOptions(
+    descriptor_pb2.FieldOptions(), _b("\030\001")
+)
 
 _METRICSSERVICEV2 = _descriptor.ServiceDescriptor(
-  name='MetricsServiceV2',
-  full_name='google.logging.v2.MetricsServiceV2',
-  file=DESCRIPTOR,
-  index=0,
-  options=None,
-  serialized_start=1143,
-  serialized_end=1867,
-  methods=[
-  _descriptor.MethodDescriptor(
-    name='ListLogMetrics',
-    full_name='google.logging.v2.MetricsServiceV2.ListLogMetrics',
+    name="MetricsServiceV2",
+    full_name="google.logging.v2.MetricsServiceV2",
+    file=DESCRIPTOR,
     index=0,
-    containing_service=None,
-    input_type=_LISTLOGMETRICSREQUEST,
-    output_type=_LISTLOGMETRICSRESPONSE,
-    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002!\022\037/v2/{parent=projects/*}/metrics')),
-  ),
-  _descriptor.MethodDescriptor(
-    name='GetLogMetric',
-    full_name='google.logging.v2.MetricsServiceV2.GetLogMetric',
-    index=1,
-    containing_service=None,
-    input_type=_GETLOGMETRICREQUEST,
-    output_type=_LOGMETRIC,
-    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002(\022&/v2/{metric_name=projects/*/metrics/*}')),
-  ),
-  _descriptor.MethodDescriptor(
-    name='CreateLogMetric',
-    full_name='google.logging.v2.MetricsServiceV2.CreateLogMetric',
-    index=2,
-    containing_service=None,
-    input_type=_CREATELOGMETRICREQUEST,
-    output_type=_LOGMETRIC,
-    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002)\"\037/v2/{parent=projects/*}/metrics:\006metric')),
-  ),
-  _descriptor.MethodDescriptor(
-    name='UpdateLogMetric',
-    full_name='google.logging.v2.MetricsServiceV2.UpdateLogMetric',
-    index=3,
-    containing_service=None,
-    input_type=_UPDATELOGMETRICREQUEST,
-    output_type=_LOGMETRIC,
-    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\0020\032&/v2/{metric_name=projects/*/metrics/*}:\006metric')),
-  ),
-  _descriptor.MethodDescriptor(
-    name='DeleteLogMetric',
-    full_name='google.logging.v2.MetricsServiceV2.DeleteLogMetric',
-    index=4,
-    containing_service=None,
-    input_type=_DELETELOGMETRICREQUEST,
-    output_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
-    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002(*&/v2/{metric_name=projects/*/metrics/*}')),
-  ),
-])
+    options=None,
+    serialized_start=1143,
+    serialized_end=1867,
+    methods=[
+        _descriptor.MethodDescriptor(
+            name="ListLogMetrics",
+            full_name="google.logging.v2.MetricsServiceV2.ListLogMetrics",
+            index=0,
+            containing_service=None,
+            input_type=_LISTLOGMETRICSREQUEST,
+            output_type=_LISTLOGMETRICSRESPONSE,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.MethodOptions(),
+                _b("\202\323\344\223\002!\022\037/v2/{parent=projects/*}/metrics"),
+            ),
+        ),
+        _descriptor.MethodDescriptor(
+            name="GetLogMetric",
+            full_name="google.logging.v2.MetricsServiceV2.GetLogMetric",
+            index=1,
+            containing_service=None,
+            input_type=_GETLOGMETRICREQUEST,
+            output_type=_LOGMETRIC,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.MethodOptions(),
+                _b("\202\323\344\223\002(\022&/v2/{metric_name=projects/*/metrics/*}"),
+            ),
+        ),
+        _descriptor.MethodDescriptor(
+            name="CreateLogMetric",
+            full_name="google.logging.v2.MetricsServiceV2.CreateLogMetric",
+            index=2,
+            containing_service=None,
+            input_type=_CREATELOGMETRICREQUEST,
+            output_type=_LOGMETRIC,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.MethodOptions(),
+                _b(
+                    '\202\323\344\223\002)"\037/v2/{parent=projects/*}/metrics:\006metric'
+                ),
+            ),
+        ),
+        _descriptor.MethodDescriptor(
+            name="UpdateLogMetric",
+            full_name="google.logging.v2.MetricsServiceV2.UpdateLogMetric",
+            index=3,
+            containing_service=None,
+            input_type=_UPDATELOGMETRICREQUEST,
+            output_type=_LOGMETRIC,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.MethodOptions(),
+                _b(
+                    "\202\323\344\223\0020\032&/v2/{metric_name=projects/*/metrics/*}:\006metric"
+                ),
+            ),
+        ),
+        _descriptor.MethodDescriptor(
+            name="DeleteLogMetric",
+            full_name="google.logging.v2.MetricsServiceV2.DeleteLogMetric",
+            index=4,
+            containing_service=None,
+            input_type=_DELETELOGMETRICREQUEST,
+            output_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.MethodOptions(),
+                _b("\202\323\344\223\002(*&/v2/{metric_name=projects/*/metrics/*}"),
+            ),
+        ),
+    ],
+)
 _sym_db.RegisterServiceDescriptor(_METRICSSERVICEV2)
 
-DESCRIPTOR.services_by_name['MetricsServiceV2'] = _METRICSSERVICEV2
+DESCRIPTOR.services_by_name["MetricsServiceV2"] = _METRICSSERVICEV2
 
 # @@protoc_insertion_point(module_scope)
diff --git a/logging/google/cloud/logging_v2/proto/logging_metrics_pb2_grpc.py b/logging/google/cloud/logging_v2/proto/logging_metrics_pb2_grpc.py
index f5a7b50f3383..09f84e038a1b 100644
--- a/logging/google/cloud/logging_v2/proto/logging_metrics_pb2_grpc.py
+++ b/logging/google/cloud/logging_v2/proto/logging_metrics_pb2_grpc.py
@@ -1,115 +1,118 @@
 # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
 import grpc
 
-from google.cloud.logging_v2.proto import logging_metrics_pb2 as google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2
+from google.cloud.logging_v2.proto import (
+    logging_metrics_pb2 as google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2,
+)
 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
 
 
 class MetricsServiceV2Stub(object):
-  """Service for configuring logs-based metrics.
+    """Service for configuring logs-based metrics.
   """
 
-  def __init__(self, channel):
-    """Constructor.
+    def __init__(self, channel):
+        """Constructor.
 
     Args:
       channel: A grpc.Channel.
     """
-    self.ListLogMetrics = channel.unary_unary(
-        '/google.logging.v2.MetricsServiceV2/ListLogMetrics',
-        request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.ListLogMetricsRequest.SerializeToString,
-        response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.ListLogMetricsResponse.FromString,
+        self.ListLogMetrics = channel.unary_unary(
+            "/google.logging.v2.MetricsServiceV2/ListLogMetrics",
+            request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.ListLogMetricsRequest.SerializeToString,
+            response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.ListLogMetricsResponse.FromString,
         )
-    self.GetLogMetric = channel.unary_unary(
-        '/google.logging.v2.MetricsServiceV2/GetLogMetric',
-        request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.GetLogMetricRequest.SerializeToString,
-        response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.LogMetric.FromString,
+        self.GetLogMetric = channel.unary_unary(
+            "/google.logging.v2.MetricsServiceV2/GetLogMetric",
+            request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.GetLogMetricRequest.SerializeToString,
+            response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.LogMetric.FromString,
         )
-    self.CreateLogMetric = channel.unary_unary(
-        '/google.logging.v2.MetricsServiceV2/CreateLogMetric',
-        request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.CreateLogMetricRequest.SerializeToString,
-        response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.LogMetric.FromString,
+        self.CreateLogMetric = channel.unary_unary(
+            "/google.logging.v2.MetricsServiceV2/CreateLogMetric",
+            request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.CreateLogMetricRequest.SerializeToString,
+            response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.LogMetric.FromString,
         )
-    self.UpdateLogMetric = channel.unary_unary(
-        '/google.logging.v2.MetricsServiceV2/UpdateLogMetric',
-        request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.UpdateLogMetricRequest.SerializeToString,
-        response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.LogMetric.FromString,
+        self.UpdateLogMetric = channel.unary_unary(
+            "/google.logging.v2.MetricsServiceV2/UpdateLogMetric",
+            request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.UpdateLogMetricRequest.SerializeToString,
+            response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.LogMetric.FromString,
         )
-    self.DeleteLogMetric = channel.unary_unary(
-        '/google.logging.v2.MetricsServiceV2/DeleteLogMetric',
-        request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.DeleteLogMetricRequest.SerializeToString,
-        response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
+        self.DeleteLogMetric = channel.unary_unary(
+            "/google.logging.v2.MetricsServiceV2/DeleteLogMetric",
+            request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.DeleteLogMetricRequest.SerializeToString,
+            response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
         )
 
 
 class MetricsServiceV2Servicer(object):
-  """Service for configuring logs-based metrics.
+    """Service for configuring logs-based metrics.
   """
 
-  def ListLogMetrics(self, request, context):
-    """Lists logs-based metrics.
+    def ListLogMetrics(self, request, context):
+        """Lists logs-based metrics.
     """
-    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
-    context.set_details('Method not implemented!')
-    raise NotImplementedError('Method not implemented!')
+        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+        context.set_details("Method not implemented!")
+        raise NotImplementedError("Method not implemented!")
 
-  def GetLogMetric(self, request, context):
-    """Gets a logs-based metric.
+    def GetLogMetric(self, request, context):
+        """Gets a logs-based metric.
     """
-    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
-    context.set_details('Method not implemented!')
-    raise NotImplementedError('Method not implemented!')
+        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+        context.set_details("Method not implemented!")
+        raise NotImplementedError("Method not implemented!")
 
-  def CreateLogMetric(self, request, context):
-    """Creates a logs-based metric.
+    def CreateLogMetric(self, request, context):
+        """Creates a logs-based metric.
     """
-    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
-    context.set_details('Method not implemented!')
-    raise NotImplementedError('Method not implemented!')
+        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+        context.set_details("Method not implemented!")
+        raise NotImplementedError("Method not implemented!")
 
-  def UpdateLogMetric(self, request, context):
-    """Creates or updates a logs-based metric.
+    def UpdateLogMetric(self, request, context):
+        """Creates or updates a logs-based metric.
     """
-    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
-    context.set_details('Method not implemented!')
-    raise NotImplementedError('Method not implemented!')
+        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+        context.set_details("Method not implemented!")
+        raise NotImplementedError("Method not implemented!")
 
-  def DeleteLogMetric(self, request, context):
-    """Deletes a logs-based metric.
+    def DeleteLogMetric(self, request, context):
+        """Deletes a logs-based metric.
     """
-    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
-    context.set_details('Method not implemented!')
-    raise NotImplementedError('Method not implemented!')
+        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+        context.set_details("Method not implemented!")
+        raise NotImplementedError("Method not implemented!")
 
 
 def add_MetricsServiceV2Servicer_to_server(servicer, server):
-  rpc_method_handlers = {
-      'ListLogMetrics': grpc.unary_unary_rpc_method_handler(
-          servicer.ListLogMetrics,
-          request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.ListLogMetricsRequest.FromString,
-          response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.ListLogMetricsResponse.SerializeToString,
-      ),
-      'GetLogMetric': grpc.unary_unary_rpc_method_handler(
-          servicer.GetLogMetric,
-          request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.GetLogMetricRequest.FromString,
-          response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.LogMetric.SerializeToString,
-      ),
-      'CreateLogMetric': grpc.unary_unary_rpc_method_handler(
-          servicer.CreateLogMetric,
-          request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.CreateLogMetricRequest.FromString,
-          response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.LogMetric.SerializeToString,
-      ),
-      'UpdateLogMetric': grpc.unary_unary_rpc_method_handler(
-          servicer.UpdateLogMetric,
-          request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.UpdateLogMetricRequest.FromString,
-          response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.LogMetric.SerializeToString,
-      ),
-      'DeleteLogMetric': grpc.unary_unary_rpc_method_handler(
-          servicer.DeleteLogMetric,
-          request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.DeleteLogMetricRequest.FromString,
-          response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
-      ),
-  }
-  generic_handler = grpc.method_handlers_generic_handler(
-      'google.logging.v2.MetricsServiceV2', rpc_method_handlers)
-  server.add_generic_rpc_handlers((generic_handler,))
+    rpc_method_handlers = {
+        "ListLogMetrics": grpc.unary_unary_rpc_method_handler(
+            servicer.ListLogMetrics,
+            request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.ListLogMetricsRequest.FromString,
+            response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.ListLogMetricsResponse.SerializeToString,
+        ),
+        "GetLogMetric": grpc.unary_unary_rpc_method_handler(
+            servicer.GetLogMetric,
+            request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.GetLogMetricRequest.FromString,
+            response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.LogMetric.SerializeToString,
+        ),
+        "CreateLogMetric": grpc.unary_unary_rpc_method_handler(
+            servicer.CreateLogMetric,
+            request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.CreateLogMetricRequest.FromString,
+            response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.LogMetric.SerializeToString,
+        ),
+        "UpdateLogMetric": grpc.unary_unary_rpc_method_handler(
+            servicer.UpdateLogMetric,
+            request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.UpdateLogMetricRequest.FromString,
+            response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.LogMetric.SerializeToString,
+        ),
+        "DeleteLogMetric": grpc.unary_unary_rpc_method_handler(
+            servicer.DeleteLogMetric,
+            request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__metrics__pb2.DeleteLogMetricRequest.FromString,
+            response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
+        ),
+    }
+    generic_handler = grpc.method_handlers_generic_handler(
+        "google.logging.v2.MetricsServiceV2", rpc_method_handlers
+    )
+    server.add_generic_rpc_handlers((generic_handler,))
diff --git a/logging/google/cloud/logging_v2/proto/logging_pb2.py b/logging/google/cloud/logging_v2/proto/logging_pb2.py
index 126ec3a53d6a..f80dbe6f4f78 100644
--- a/logging/google/cloud/logging_v2/proto/logging_pb2.py
+++ b/logging/google/cloud/logging_v2/proto/logging_pb2.py
@@ -3,20 +3,26 @@
 # source: google/cloud/logging_v2/proto/logging.proto
 
 import sys
-_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
+
+_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
 from google.protobuf import descriptor as _descriptor
 from google.protobuf import message as _message
 from google.protobuf import reflection as _reflection
 from google.protobuf import symbol_database as _symbol_database
 from google.protobuf import descriptor_pb2
+
 # @@protoc_insertion_point(imports)
 
 _sym_db = _symbol_database.Default()
 
 
 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
-from google.api import monitored_resource_pb2 as google_dot_api_dot_monitored__resource__pb2
-from google.cloud.logging_v2.proto import log_entry_pb2 as google_dot_cloud_dot_logging__v2_dot_proto_dot_log__entry__pb2
+from google.api import (
+    monitored_resource_pb2 as google_dot_api_dot_monitored__resource__pb2,
+)
+from google.cloud.logging_v2.proto import (
+    log_entry_pb2 as google_dot_cloud_dot_logging__v2_dot_proto_dot_log__entry__pb2,
+)
 from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
@@ -24,530 +30,852 @@
 
 
 DESCRIPTOR = _descriptor.FileDescriptor(
-  name='google/cloud/logging_v2/proto/logging.proto',
-  package='google.logging.v2',
-  syntax='proto3',
-  serialized_pb=_b('\n+google/cloud/logging_v2/proto/logging.proto\x12\x11google.logging.v2\x1a\x1cgoogle/api/annotations.proto\x1a#google/api/monitored_resource.proto\x1a-google/cloud/logging_v2/proto/log_entry.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"$\n\x10\x44\x65leteLogRequest\x12\x10\n\x08log_name\x18\x01 \x01(\t\"\xa9\x02\n\x16WriteLogEntriesRequest\x12\x10\n\x08log_name\x18\x01 \x01(\t\x12/\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.google.api.MonitoredResource\x12\x45\n\x06labels\x18\x03 \x03(\x0b\x32\x35.google.logging.v2.WriteLogEntriesRequest.LabelsEntry\x12,\n\x07\x65ntries\x18\x04 \x03(\x0b\x32\x1b.google.logging.v2.LogEntry\x12\x17\n\x0fpartial_success\x18\x05 \x01(\x08\x12\x0f\n\x07\x64ry_run\x18\x06 \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x19\n\x17WriteLogEntriesResponse\"\xc8\x01\n\x1cWriteLogEntriesPartialErrors\x12]\n\x10log_entry_errors\x18\x01 \x03(\x0b\x32\x43.google.logging.v2.WriteLogEntriesPartialErrors.LogEntryErrorsEntry\x1aI\n\x13LogEntryErrorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status:\x02\x38\x01\"\x91\x01\n\x15ListLogEntriesRequest\x12\x17\n\x0bproject_ids\x18\x01 \x03(\tB\x02\x18\x01\x12\x16\n\x0eresource_names\x18\x08 \x03(\t\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x10\n\x08order_by\x18\x03 \x01(\t\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x05 \x01(\t\"_\n\x16ListLogEntriesResponse\x12,\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x1b.google.logging.v2.LogEntry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"P\n\'ListMonitoredResourceDescriptorsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"\x8a\x01\n(ListMonitoredResourceDescriptorsResponse\x12\x45\n\x14resource_descriptors\x18\x01 \x03(\x0b\x32\'.google.api.MonitoredResourceDescriptor\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"H\n\x0fListLogsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\">\n\x10ListLogsResponse\x12\x11\n\tlog_names\x18\x03 \x03(\t\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xd8\x07\n\x10LoggingServiceV2\x12\xeb\x01\n\tDeleteLog\x12#.google.logging.v2.DeleteLogRequest\x1a\x16.google.protobuf.Empty\"\xa0\x01\x82\xd3\xe4\x93\x02\x99\x01* /v2/{log_name=projects/*/logs/*}Z\'*%/v2/{log_name=organizations/*/logs/*}Z!*\x1f/v2/{log_name=folders/*/logs/*}Z)*\'/v2/{log_name=billingAccounts/*/logs/*}\x12\x86\x01\n\x0fWriteLogEntries\x12).google.logging.v2.WriteLogEntriesRequest\x1a*.google.logging.v2.WriteLogEntriesResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\"\x11/v2/entries:write:\x01*\x12\x82\x01\n\x0eListLogEntries\x12(.google.logging.v2.ListLogEntriesRequest\x1a).google.logging.v2.ListLogEntriesResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/v2/entries:list:\x01*\x12\xc5\x01\n ListMonitoredResourceDescriptors\x12:.google.logging.v2.ListMonitoredResourceDescriptorsRequest\x1a;.google.logging.v2.ListMonitoredResourceDescriptorsResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /v2/monitoredResourceDescriptors\x12\xff\x01\n\x08ListLogs\x12\".google.logging.v2.ListLogsRequest\x1a#.google.logging.v2.ListLogsResponse\"\xa9\x01\x82\xd3\xe4\x93\x02\xa2\x01\x12\x15/v2/{parent=*/*}/logsZ\x1e\x12\x1c/v2/{parent=projects/*}/logsZ#\x12!/v2/{parent=organizations/*}/logsZ\x1d\x12\x1b/v2/{parent=folders/*}/logsZ%\x12#/v2/{parent=billingAccounts/*}/logsB\x98\x01\n\x15\x63om.google.logging.v2B\x0cLoggingProtoP\x01Z8google.golang.org/genproto/googleapis/logging/v2;logging\xf8\x01\x01\xaa\x02\x17Google.Cloud.Logging.V2\xca\x02\x17Google\\Cloud\\Logging\\V2b\x06proto3')
-  ,
-  dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_monitored__resource__pb2.DESCRIPTOR,google_dot_cloud_dot_logging__v2_dot_proto_dot_log__entry__pb2.DESCRIPTOR,google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,])
-
-
+    name="google/cloud/logging_v2/proto/logging.proto",
+    package="google.logging.v2",
+    syntax="proto3",
+    serialized_pb=_b(
+        '\n+google/cloud/logging_v2/proto/logging.proto\x12\x11google.logging.v2\x1a\x1cgoogle/api/annotations.proto\x1a#google/api/monitored_resource.proto\x1a-google/cloud/logging_v2/proto/log_entry.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto"$\n\x10\x44\x65leteLogRequest\x12\x10\n\x08log_name\x18\x01 \x01(\t"\xa9\x02\n\x16WriteLogEntriesRequest\x12\x10\n\x08log_name\x18\x01 \x01(\t\x12/\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.google.api.MonitoredResource\x12\x45\n\x06labels\x18\x03 \x03(\x0b\x32\x35.google.logging.v2.WriteLogEntriesRequest.LabelsEntry\x12,\n\x07\x65ntries\x18\x04 \x03(\x0b\x32\x1b.google.logging.v2.LogEntry\x12\x17\n\x0fpartial_success\x18\x05 \x01(\x08\x12\x0f\n\x07\x64ry_run\x18\x06 \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x19\n\x17WriteLogEntriesResponse"\xc8\x01\n\x1cWriteLogEntriesPartialErrors\x12]\n\x10log_entry_errors\x18\x01 \x03(\x0b\x32\x43.google.logging.v2.WriteLogEntriesPartialErrors.LogEntryErrorsEntry\x1aI\n\x13LogEntryErrorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status:\x02\x38\x01"\x91\x01\n\x15ListLogEntriesRequest\x12\x17\n\x0bproject_ids\x18\x01 \x03(\tB\x02\x18\x01\x12\x16\n\x0eresource_names\x18\x08 \x03(\t\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x10\n\x08order_by\x18\x03 \x01(\t\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x05 \x01(\t"_\n\x16ListLogEntriesResponse\x12,\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x1b.google.logging.v2.LogEntry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"P\n\'ListMonitoredResourceDescriptorsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t"\x8a\x01\n(ListMonitoredResourceDescriptorsResponse\x12\x45\n\x14resource_descriptors\x18\x01 \x03(\x0b\x32\'.google.api.MonitoredResourceDescriptor\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"H\n\x0fListLogsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t">\n\x10ListLogsResponse\x12\x11\n\tlog_names\x18\x03 \x03(\t\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xd8\x07\n\x10LoggingServiceV2\x12\xeb\x01\n\tDeleteLog\x12#.google.logging.v2.DeleteLogRequest\x1a\x16.google.protobuf.Empty"\xa0\x01\x82\xd3\xe4\x93\x02\x99\x01* /v2/{log_name=projects/*/logs/*}Z\'*%/v2/{log_name=organizations/*/logs/*}Z!*\x1f/v2/{log_name=folders/*/logs/*}Z)*\'/v2/{log_name=billingAccounts/*/logs/*}\x12\x86\x01\n\x0fWriteLogEntries\x12).google.logging.v2.WriteLogEntriesRequest\x1a*.google.logging.v2.WriteLogEntriesResponse"\x1c\x82\xd3\xe4\x93\x02\x16"\x11/v2/entries:write:\x01*\x12\x82\x01\n\x0eListLogEntries\x12(.google.logging.v2.ListLogEntriesRequest\x1a).google.logging.v2.ListLogEntriesResponse"\x1b\x82\xd3\xe4\x93\x02\x15"\x10/v2/entries:list:\x01*\x12\xc5\x01\n ListMonitoredResourceDescriptors\x12:.google.logging.v2.ListMonitoredResourceDescriptorsRequest\x1a;.google.logging.v2.ListMonitoredResourceDescriptorsResponse"(\x82\xd3\xe4\x93\x02"\x12 /v2/monitoredResourceDescriptors\x12\xff\x01\n\x08ListLogs\x12".google.logging.v2.ListLogsRequest\x1a#.google.logging.v2.ListLogsResponse"\xa9\x01\x82\xd3\xe4\x93\x02\xa2\x01\x12\x15/v2/{parent=*/*}/logsZ\x1e\x12\x1c/v2/{parent=projects/*}/logsZ#\x12!/v2/{parent=organizations/*}/logsZ\x1d\x12\x1b/v2/{parent=folders/*}/logsZ%\x12#/v2/{parent=billingAccounts/*}/logsB\x98\x01\n\x15\x63om.google.logging.v2B\x0cLoggingProtoP\x01Z8google.golang.org/genproto/googleapis/logging/v2;logging\xf8\x01\x01\xaa\x02\x17Google.Cloud.Logging.V2\xca\x02\x17Google\\Cloud\\Logging\\V2b\x06proto3'
+    ),
+    dependencies=[
+        google_dot_api_dot_annotations__pb2.DESCRIPTOR,
+        google_dot_api_dot_monitored__resource__pb2.DESCRIPTOR,
+        google_dot_cloud_dot_logging__v2_dot_proto_dot_log__entry__pb2.DESCRIPTOR,
+        google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,
+        google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,
+        google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,
+        google_dot_rpc_dot_status__pb2.DESCRIPTOR,
+    ],
+)
 
 
 _DELETELOGREQUEST = _descriptor.Descriptor(
-  name='DeleteLogRequest',
-  full_name='google.logging.v2.DeleteLogRequest',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='log_name', full_name='google.logging.v2.DeleteLogRequest.log_name', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=299,
-  serialized_end=335,
+    name="DeleteLogRequest",
+    full_name="google.logging.v2.DeleteLogRequest",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="log_name",
+            full_name="google.logging.v2.DeleteLogRequest.log_name",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        )
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=299,
+    serialized_end=335,
 )
 
 
 _WRITELOGENTRIESREQUEST_LABELSENTRY = _descriptor.Descriptor(
-  name='LabelsEntry',
-  full_name='google.logging.v2.WriteLogEntriesRequest.LabelsEntry',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='key', full_name='google.logging.v2.WriteLogEntriesRequest.LabelsEntry.key', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='value', full_name='google.logging.v2.WriteLogEntriesRequest.LabelsEntry.value', index=1,
-      number=2, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')),
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=590,
-  serialized_end=635,
+    name="LabelsEntry",
+    full_name="google.logging.v2.WriteLogEntriesRequest.LabelsEntry",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="key",
+            full_name="google.logging.v2.WriteLogEntriesRequest.LabelsEntry.key",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="value",
+            full_name="google.logging.v2.WriteLogEntriesRequest.LabelsEntry.value",
+            index=1,
+            number=2,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b("8\001")),
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=590,
+    serialized_end=635,
 )
 
 _WRITELOGENTRIESREQUEST = _descriptor.Descriptor(
-  name='WriteLogEntriesRequest',
-  full_name='google.logging.v2.WriteLogEntriesRequest',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='log_name', full_name='google.logging.v2.WriteLogEntriesRequest.log_name', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='resource', full_name='google.logging.v2.WriteLogEntriesRequest.resource', index=1,
-      number=2, type=11, cpp_type=10, label=1,
-      has_default_value=False, default_value=None,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='labels', full_name='google.logging.v2.WriteLogEntriesRequest.labels', index=2,
-      number=3, type=11, cpp_type=10, label=3,
-      has_default_value=False, default_value=[],
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='entries', full_name='google.logging.v2.WriteLogEntriesRequest.entries', index=3,
-      number=4, type=11, cpp_type=10, label=3,
-      has_default_value=False, default_value=[],
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='partial_success', full_name='google.logging.v2.WriteLogEntriesRequest.partial_success', index=4,
-      number=5, type=8, cpp_type=7, label=1,
-      has_default_value=False, default_value=False,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='dry_run', full_name='google.logging.v2.WriteLogEntriesRequest.dry_run', index=5,
-      number=6, type=8, cpp_type=7, label=1,
-      has_default_value=False, default_value=False,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[_WRITELOGENTRIESREQUEST_LABELSENTRY, ],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=338,
-  serialized_end=635,
+    name="WriteLogEntriesRequest",
+    full_name="google.logging.v2.WriteLogEntriesRequest",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="log_name",
+            full_name="google.logging.v2.WriteLogEntriesRequest.log_name",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="resource",
+            full_name="google.logging.v2.WriteLogEntriesRequest.resource",
+            index=1,
+            number=2,
+            type=11,
+            cpp_type=10,
+            label=1,
+            has_default_value=False,
+            default_value=None,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="labels",
+            full_name="google.logging.v2.WriteLogEntriesRequest.labels",
+            index=2,
+            number=3,
+            type=11,
+            cpp_type=10,
+            label=3,
+            has_default_value=False,
+            default_value=[],
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="entries",
+            full_name="google.logging.v2.WriteLogEntriesRequest.entries",
+            index=3,
+            number=4,
+            type=11,
+            cpp_type=10,
+            label=3,
+            has_default_value=False,
+            default_value=[],
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="partial_success",
+            full_name="google.logging.v2.WriteLogEntriesRequest.partial_success",
+            index=4,
+            number=5,
+            type=8,
+            cpp_type=7,
+            label=1,
+            has_default_value=False,
+            default_value=False,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="dry_run",
+            full_name="google.logging.v2.WriteLogEntriesRequest.dry_run",
+            index=5,
+            number=6,
+            type=8,
+            cpp_type=7,
+            label=1,
+            has_default_value=False,
+            default_value=False,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[_WRITELOGENTRIESREQUEST_LABELSENTRY],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=338,
+    serialized_end=635,
 )
 
 
 _WRITELOGENTRIESRESPONSE = _descriptor.Descriptor(
-  name='WriteLogEntriesResponse',
-  full_name='google.logging.v2.WriteLogEntriesResponse',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=637,
-  serialized_end=662,
+    name="WriteLogEntriesResponse",
+    full_name="google.logging.v2.WriteLogEntriesResponse",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=637,
+    serialized_end=662,
 )
 
 
 _WRITELOGENTRIESPARTIALERRORS_LOGENTRYERRORSENTRY = _descriptor.Descriptor(
-  name='LogEntryErrorsEntry',
-  full_name='google.logging.v2.WriteLogEntriesPartialErrors.LogEntryErrorsEntry',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='key', full_name='google.logging.v2.WriteLogEntriesPartialErrors.LogEntryErrorsEntry.key', index=0,
-      number=1, type=5, cpp_type=1, label=1,
-      has_default_value=False, default_value=0,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='value', full_name='google.logging.v2.WriteLogEntriesPartialErrors.LogEntryErrorsEntry.value', index=1,
-      number=2, type=11, cpp_type=10, label=1,
-      has_default_value=False, default_value=None,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')),
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=792,
-  serialized_end=865,
+    name="LogEntryErrorsEntry",
+    full_name="google.logging.v2.WriteLogEntriesPartialErrors.LogEntryErrorsEntry",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="key",
+            full_name="google.logging.v2.WriteLogEntriesPartialErrors.LogEntryErrorsEntry.key",
+            index=0,
+            number=1,
+            type=5,
+            cpp_type=1,
+            label=1,
+            has_default_value=False,
+            default_value=0,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="value",
+            full_name="google.logging.v2.WriteLogEntriesPartialErrors.LogEntryErrorsEntry.value",
+            index=1,
+            number=2,
+            type=11,
+            cpp_type=10,
+            label=1,
+            has_default_value=False,
+            default_value=None,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b("8\001")),
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=792,
+    serialized_end=865,
 )
 
 _WRITELOGENTRIESPARTIALERRORS = _descriptor.Descriptor(
-  name='WriteLogEntriesPartialErrors',
-  full_name='google.logging.v2.WriteLogEntriesPartialErrors',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='log_entry_errors', full_name='google.logging.v2.WriteLogEntriesPartialErrors.log_entry_errors', index=0,
-      number=1, type=11, cpp_type=10, label=3,
-      has_default_value=False, default_value=[],
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[_WRITELOGENTRIESPARTIALERRORS_LOGENTRYERRORSENTRY, ],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=665,
-  serialized_end=865,
+    name="WriteLogEntriesPartialErrors",
+    full_name="google.logging.v2.WriteLogEntriesPartialErrors",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="log_entry_errors",
+            full_name="google.logging.v2.WriteLogEntriesPartialErrors.log_entry_errors",
+            index=0,
+            number=1,
+            type=11,
+            cpp_type=10,
+            label=3,
+            has_default_value=False,
+            default_value=[],
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        )
+    ],
+    extensions=[],
+    nested_types=[_WRITELOGENTRIESPARTIALERRORS_LOGENTRYERRORSENTRY],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=665,
+    serialized_end=865,
 )
 
 
 _LISTLOGENTRIESREQUEST = _descriptor.Descriptor(
-  name='ListLogEntriesRequest',
-  full_name='google.logging.v2.ListLogEntriesRequest',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='project_ids', full_name='google.logging.v2.ListLogEntriesRequest.project_ids', index=0,
-      number=1, type=9, cpp_type=9, label=3,
-      has_default_value=False, default_value=[],
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001')), file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='resource_names', full_name='google.logging.v2.ListLogEntriesRequest.resource_names', index=1,
-      number=8, type=9, cpp_type=9, label=3,
-      has_default_value=False, default_value=[],
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='filter', full_name='google.logging.v2.ListLogEntriesRequest.filter', index=2,
-      number=2, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='order_by', full_name='google.logging.v2.ListLogEntriesRequest.order_by', index=3,
-      number=3, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='page_size', full_name='google.logging.v2.ListLogEntriesRequest.page_size', index=4,
-      number=4, type=5, cpp_type=1, label=1,
-      has_default_value=False, default_value=0,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='page_token', full_name='google.logging.v2.ListLogEntriesRequest.page_token', index=5,
-      number=5, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=868,
-  serialized_end=1013,
+    name="ListLogEntriesRequest",
+    full_name="google.logging.v2.ListLogEntriesRequest",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="project_ids",
+            full_name="google.logging.v2.ListLogEntriesRequest.project_ids",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=3,
+            has_default_value=False,
+            default_value=[],
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.FieldOptions(), _b("\030\001")
+            ),
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="resource_names",
+            full_name="google.logging.v2.ListLogEntriesRequest.resource_names",
+            index=1,
+            number=8,
+            type=9,
+            cpp_type=9,
+            label=3,
+            has_default_value=False,
+            default_value=[],
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="filter",
+            full_name="google.logging.v2.ListLogEntriesRequest.filter",
+            index=2,
+            number=2,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="order_by",
+            full_name="google.logging.v2.ListLogEntriesRequest.order_by",
+            index=3,
+            number=3,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="page_size",
+            full_name="google.logging.v2.ListLogEntriesRequest.page_size",
+            index=4,
+            number=4,
+            type=5,
+            cpp_type=1,
+            label=1,
+            has_default_value=False,
+            default_value=0,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="page_token",
+            full_name="google.logging.v2.ListLogEntriesRequest.page_token",
+            index=5,
+            number=5,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=868,
+    serialized_end=1013,
 )
 
 
 _LISTLOGENTRIESRESPONSE = _descriptor.Descriptor(
-  name='ListLogEntriesResponse',
-  full_name='google.logging.v2.ListLogEntriesResponse',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='entries', full_name='google.logging.v2.ListLogEntriesResponse.entries', index=0,
-      number=1, type=11, cpp_type=10, label=3,
-      has_default_value=False, default_value=[],
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='next_page_token', full_name='google.logging.v2.ListLogEntriesResponse.next_page_token', index=1,
-      number=2, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=1015,
-  serialized_end=1110,
+    name="ListLogEntriesResponse",
+    full_name="google.logging.v2.ListLogEntriesResponse",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="entries",
+            full_name="google.logging.v2.ListLogEntriesResponse.entries",
+            index=0,
+            number=1,
+            type=11,
+            cpp_type=10,
+            label=3,
+            has_default_value=False,
+            default_value=[],
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="next_page_token",
+            full_name="google.logging.v2.ListLogEntriesResponse.next_page_token",
+            index=1,
+            number=2,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=1015,
+    serialized_end=1110,
 )
 
 
 _LISTMONITOREDRESOURCEDESCRIPTORSREQUEST = _descriptor.Descriptor(
-  name='ListMonitoredResourceDescriptorsRequest',
-  full_name='google.logging.v2.ListMonitoredResourceDescriptorsRequest',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='page_size', full_name='google.logging.v2.ListMonitoredResourceDescriptorsRequest.page_size', index=0,
-      number=1, type=5, cpp_type=1, label=1,
-      has_default_value=False, default_value=0,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='page_token', full_name='google.logging.v2.ListMonitoredResourceDescriptorsRequest.page_token', index=1,
-      number=2, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=1112,
-  serialized_end=1192,
+    name="ListMonitoredResourceDescriptorsRequest",
+    full_name="google.logging.v2.ListMonitoredResourceDescriptorsRequest",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="page_size",
+            full_name="google.logging.v2.ListMonitoredResourceDescriptorsRequest.page_size",
+            index=0,
+            number=1,
+            type=5,
+            cpp_type=1,
+            label=1,
+            has_default_value=False,
+            default_value=0,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="page_token",
+            full_name="google.logging.v2.ListMonitoredResourceDescriptorsRequest.page_token",
+            index=1,
+            number=2,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=1112,
+    serialized_end=1192,
 )
 
 
 _LISTMONITOREDRESOURCEDESCRIPTORSRESPONSE = _descriptor.Descriptor(
-  name='ListMonitoredResourceDescriptorsResponse',
-  full_name='google.logging.v2.ListMonitoredResourceDescriptorsResponse',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='resource_descriptors', full_name='google.logging.v2.ListMonitoredResourceDescriptorsResponse.resource_descriptors', index=0,
-      number=1, type=11, cpp_type=10, label=3,
-      has_default_value=False, default_value=[],
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='next_page_token', full_name='google.logging.v2.ListMonitoredResourceDescriptorsResponse.next_page_token', index=1,
-      number=2, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=1195,
-  serialized_end=1333,
+    name="ListMonitoredResourceDescriptorsResponse",
+    full_name="google.logging.v2.ListMonitoredResourceDescriptorsResponse",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="resource_descriptors",
+            full_name="google.logging.v2.ListMonitoredResourceDescriptorsResponse.resource_descriptors",
+            index=0,
+            number=1,
+            type=11,
+            cpp_type=10,
+            label=3,
+            has_default_value=False,
+            default_value=[],
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="next_page_token",
+            full_name="google.logging.v2.ListMonitoredResourceDescriptorsResponse.next_page_token",
+            index=1,
+            number=2,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=1195,
+    serialized_end=1333,
 )
 
 
 _LISTLOGSREQUEST = _descriptor.Descriptor(
-  name='ListLogsRequest',
-  full_name='google.logging.v2.ListLogsRequest',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='parent', full_name='google.logging.v2.ListLogsRequest.parent', index=0,
-      number=1, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='page_size', full_name='google.logging.v2.ListLogsRequest.page_size', index=1,
-      number=2, type=5, cpp_type=1, label=1,
-      has_default_value=False, default_value=0,
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='page_token', full_name='google.logging.v2.ListLogsRequest.page_token', index=2,
-      number=3, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=1335,
-  serialized_end=1407,
+    name="ListLogsRequest",
+    full_name="google.logging.v2.ListLogsRequest",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="parent",
+            full_name="google.logging.v2.ListLogsRequest.parent",
+            index=0,
+            number=1,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="page_size",
+            full_name="google.logging.v2.ListLogsRequest.page_size",
+            index=1,
+            number=2,
+            type=5,
+            cpp_type=1,
+            label=1,
+            has_default_value=False,
+            default_value=0,
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="page_token",
+            full_name="google.logging.v2.ListLogsRequest.page_token",
+            index=2,
+            number=3,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=1335,
+    serialized_end=1407,
 )
 
 
 _LISTLOGSRESPONSE = _descriptor.Descriptor(
-  name='ListLogsResponse',
-  full_name='google.logging.v2.ListLogsResponse',
-  filename=None,
-  file=DESCRIPTOR,
-  containing_type=None,
-  fields=[
-    _descriptor.FieldDescriptor(
-      name='log_names', full_name='google.logging.v2.ListLogsResponse.log_names', index=0,
-      number=3, type=9, cpp_type=9, label=3,
-      has_default_value=False, default_value=[],
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-    _descriptor.FieldDescriptor(
-      name='next_page_token', full_name='google.logging.v2.ListLogsResponse.next_page_token', index=1,
-      number=2, type=9, cpp_type=9, label=1,
-      has_default_value=False, default_value=_b("").decode('utf-8'),
-      message_type=None, enum_type=None, containing_type=None,
-      is_extension=False, extension_scope=None,
-      options=None, file=DESCRIPTOR),
-  ],
-  extensions=[
-  ],
-  nested_types=[],
-  enum_types=[
-  ],
-  options=None,
-  is_extendable=False,
-  syntax='proto3',
-  extension_ranges=[],
-  oneofs=[
-  ],
-  serialized_start=1409,
-  serialized_end=1471,
+    name="ListLogsResponse",
+    full_name="google.logging.v2.ListLogsResponse",
+    filename=None,
+    file=DESCRIPTOR,
+    containing_type=None,
+    fields=[
+        _descriptor.FieldDescriptor(
+            name="log_names",
+            full_name="google.logging.v2.ListLogsResponse.log_names",
+            index=0,
+            number=3,
+            type=9,
+            cpp_type=9,
+            label=3,
+            has_default_value=False,
+            default_value=[],
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+        _descriptor.FieldDescriptor(
+            name="next_page_token",
+            full_name="google.logging.v2.ListLogsResponse.next_page_token",
+            index=1,
+            number=2,
+            type=9,
+            cpp_type=9,
+            label=1,
+            has_default_value=False,
+            default_value=_b("").decode("utf-8"),
+            message_type=None,
+            enum_type=None,
+            containing_type=None,
+            is_extension=False,
+            extension_scope=None,
+            options=None,
+            file=DESCRIPTOR,
+        ),
+    ],
+    extensions=[],
+    nested_types=[],
+    enum_types=[],
+    options=None,
+    is_extendable=False,
+    syntax="proto3",
+    extension_ranges=[],
+    oneofs=[],
+    serialized_start=1409,
+    serialized_end=1471,
 )
 
 _WRITELOGENTRIESREQUEST_LABELSENTRY.containing_type = _WRITELOGENTRIESREQUEST
-_WRITELOGENTRIESREQUEST.fields_by_name['resource'].message_type = google_dot_api_dot_monitored__resource__pb2._MONITOREDRESOURCE
-_WRITELOGENTRIESREQUEST.fields_by_name['labels'].message_type = _WRITELOGENTRIESREQUEST_LABELSENTRY
-_WRITELOGENTRIESREQUEST.fields_by_name['entries'].message_type = google_dot_cloud_dot_logging__v2_dot_proto_dot_log__entry__pb2._LOGENTRY
-_WRITELOGENTRIESPARTIALERRORS_LOGENTRYERRORSENTRY.fields_by_name['value'].message_type = google_dot_rpc_dot_status__pb2._STATUS
-_WRITELOGENTRIESPARTIALERRORS_LOGENTRYERRORSENTRY.containing_type = _WRITELOGENTRIESPARTIALERRORS
-_WRITELOGENTRIESPARTIALERRORS.fields_by_name['log_entry_errors'].message_type = _WRITELOGENTRIESPARTIALERRORS_LOGENTRYERRORSENTRY
-_LISTLOGENTRIESRESPONSE.fields_by_name['entries'].message_type = google_dot_cloud_dot_logging__v2_dot_proto_dot_log__entry__pb2._LOGENTRY
-_LISTMONITOREDRESOURCEDESCRIPTORSRESPONSE.fields_by_name['resource_descriptors'].message_type = google_dot_api_dot_monitored__resource__pb2._MONITOREDRESOURCEDESCRIPTOR
-DESCRIPTOR.message_types_by_name['DeleteLogRequest'] = _DELETELOGREQUEST
-DESCRIPTOR.message_types_by_name['WriteLogEntriesRequest'] = _WRITELOGENTRIESREQUEST
-DESCRIPTOR.message_types_by_name['WriteLogEntriesResponse'] = _WRITELOGENTRIESRESPONSE
-DESCRIPTOR.message_types_by_name['WriteLogEntriesPartialErrors'] = _WRITELOGENTRIESPARTIALERRORS
-DESCRIPTOR.message_types_by_name['ListLogEntriesRequest'] = _LISTLOGENTRIESREQUEST
-DESCRIPTOR.message_types_by_name['ListLogEntriesResponse'] = _LISTLOGENTRIESRESPONSE
-DESCRIPTOR.message_types_by_name['ListMonitoredResourceDescriptorsRequest'] = _LISTMONITOREDRESOURCEDESCRIPTORSREQUEST
-DESCRIPTOR.message_types_by_name['ListMonitoredResourceDescriptorsResponse'] = _LISTMONITOREDRESOURCEDESCRIPTORSRESPONSE
-DESCRIPTOR.message_types_by_name['ListLogsRequest'] = _LISTLOGSREQUEST
-DESCRIPTOR.message_types_by_name['ListLogsResponse'] = _LISTLOGSRESPONSE
+_WRITELOGENTRIESREQUEST.fields_by_name[
+    "resource"
+].message_type = google_dot_api_dot_monitored__resource__pb2._MONITOREDRESOURCE
+_WRITELOGENTRIESREQUEST.fields_by_name[
+    "labels"
+].message_type = _WRITELOGENTRIESREQUEST_LABELSENTRY
+_WRITELOGENTRIESREQUEST.fields_by_name[
+    "entries"
+].message_type = (
+    google_dot_cloud_dot_logging__v2_dot_proto_dot_log__entry__pb2._LOGENTRY
+)
+_WRITELOGENTRIESPARTIALERRORS_LOGENTRYERRORSENTRY.fields_by_name[
+    "value"
+].message_type = google_dot_rpc_dot_status__pb2._STATUS
+_WRITELOGENTRIESPARTIALERRORS_LOGENTRYERRORSENTRY.containing_type = (
+    _WRITELOGENTRIESPARTIALERRORS
+)
+_WRITELOGENTRIESPARTIALERRORS.fields_by_name[
+    "log_entry_errors"
+].message_type = _WRITELOGENTRIESPARTIALERRORS_LOGENTRYERRORSENTRY
+_LISTLOGENTRIESRESPONSE.fields_by_name[
+    "entries"
+].message_type = (
+    google_dot_cloud_dot_logging__v2_dot_proto_dot_log__entry__pb2._LOGENTRY
+)
+_LISTMONITOREDRESOURCEDESCRIPTORSRESPONSE.fields_by_name[
+    "resource_descriptors"
+].message_type = (
+    google_dot_api_dot_monitored__resource__pb2._MONITOREDRESOURCEDESCRIPTOR
+)
+DESCRIPTOR.message_types_by_name["DeleteLogRequest"] = _DELETELOGREQUEST
+DESCRIPTOR.message_types_by_name["WriteLogEntriesRequest"] = _WRITELOGENTRIESREQUEST
+DESCRIPTOR.message_types_by_name["WriteLogEntriesResponse"] = _WRITELOGENTRIESRESPONSE
+DESCRIPTOR.message_types_by_name[
+    "WriteLogEntriesPartialErrors"
+] = _WRITELOGENTRIESPARTIALERRORS
+DESCRIPTOR.message_types_by_name["ListLogEntriesRequest"] = _LISTLOGENTRIESREQUEST
+DESCRIPTOR.message_types_by_name["ListLogEntriesResponse"] = _LISTLOGENTRIESRESPONSE
+DESCRIPTOR.message_types_by_name[
+    "ListMonitoredResourceDescriptorsRequest"
+] = _LISTMONITOREDRESOURCEDESCRIPTORSREQUEST
+DESCRIPTOR.message_types_by_name[
+    "ListMonitoredResourceDescriptorsResponse"
+] = _LISTMONITOREDRESOURCEDESCRIPTORSRESPONSE
+DESCRIPTOR.message_types_by_name["ListLogsRequest"] = _LISTLOGSREQUEST
+DESCRIPTOR.message_types_by_name["ListLogsResponse"] = _LISTLOGSRESPONSE
 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
 
-DeleteLogRequest = _reflection.GeneratedProtocolMessageType('DeleteLogRequest', (_message.Message,), dict(
-  DESCRIPTOR = _DELETELOGREQUEST,
-  __module__ = 'google.cloud.logging_v2.proto.logging_pb2'
-  ,
-  __doc__ = """The parameters to DeleteLog.
+DeleteLogRequest = _reflection.GeneratedProtocolMessageType(
+    "DeleteLogRequest",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_DELETELOGREQUEST,
+        __module__="google.cloud.logging_v2.proto.logging_pb2",
+        __doc__="""The parameters to DeleteLog.
   
   
   Attributes:
@@ -562,22 +890,27 @@
           rcemanager.googleapis.com%2Factivity"``. For more information
           about log names, see [LogEntry][google.logging.v2.LogEntry].
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.DeleteLogRequest)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.DeleteLogRequest)
+    ),
+)
 _sym_db.RegisterMessage(DeleteLogRequest)
 
-WriteLogEntriesRequest = _reflection.GeneratedProtocolMessageType('WriteLogEntriesRequest', (_message.Message,), dict(
-
-  LabelsEntry = _reflection.GeneratedProtocolMessageType('LabelsEntry', (_message.Message,), dict(
-    DESCRIPTOR = _WRITELOGENTRIESREQUEST_LABELSENTRY,
-    __module__ = 'google.cloud.logging_v2.proto.logging_pb2'
-    # @@protoc_insertion_point(class_scope:google.logging.v2.WriteLogEntriesRequest.LabelsEntry)
-    ))
-  ,
-  DESCRIPTOR = _WRITELOGENTRIESREQUEST,
-  __module__ = 'google.cloud.logging_v2.proto.logging_pb2'
-  ,
-  __doc__ = """The parameters to WriteLogEntries.
+WriteLogEntriesRequest = _reflection.GeneratedProtocolMessageType(
+    "WriteLogEntriesRequest",
+    (_message.Message,),
+    dict(
+        LabelsEntry=_reflection.GeneratedProtocolMessageType(
+            "LabelsEntry",
+            (_message.Message,),
+            dict(
+                DESCRIPTOR=_WRITELOGENTRIESREQUEST_LABELSENTRY,
+                __module__="google.cloud.logging_v2.proto.logging_pb2"
+                # @@protoc_insertion_point(class_scope:google.logging.v2.WriteLogEntriesRequest.LabelsEntry)
+            ),
+        ),
+        DESCRIPTOR=_WRITELOGENTRIESREQUEST,
+        __module__="google.cloud.logging_v2.proto.logging_pb2",
+        __doc__="""The parameters to WriteLogEntries.
   
   
   Attributes:
@@ -645,33 +978,41 @@
           checking whether the logging API endpoints are working
           properly before sending valuable data.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.WriteLogEntriesRequest)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.WriteLogEntriesRequest)
+    ),
+)
 _sym_db.RegisterMessage(WriteLogEntriesRequest)
 _sym_db.RegisterMessage(WriteLogEntriesRequest.LabelsEntry)
 
-WriteLogEntriesResponse = _reflection.GeneratedProtocolMessageType('WriteLogEntriesResponse', (_message.Message,), dict(
-  DESCRIPTOR = _WRITELOGENTRIESRESPONSE,
-  __module__ = 'google.cloud.logging_v2.proto.logging_pb2'
-  ,
-  __doc__ = """Result returned from WriteLogEntries. empty
+WriteLogEntriesResponse = _reflection.GeneratedProtocolMessageType(
+    "WriteLogEntriesResponse",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_WRITELOGENTRIESRESPONSE,
+        __module__="google.cloud.logging_v2.proto.logging_pb2",
+        __doc__="""Result returned from WriteLogEntries. empty
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.WriteLogEntriesResponse)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.WriteLogEntriesResponse)
+    ),
+)
 _sym_db.RegisterMessage(WriteLogEntriesResponse)
 
-WriteLogEntriesPartialErrors = _reflection.GeneratedProtocolMessageType('WriteLogEntriesPartialErrors', (_message.Message,), dict(
-
-  LogEntryErrorsEntry = _reflection.GeneratedProtocolMessageType('LogEntryErrorsEntry', (_message.Message,), dict(
-    DESCRIPTOR = _WRITELOGENTRIESPARTIALERRORS_LOGENTRYERRORSENTRY,
-    __module__ = 'google.cloud.logging_v2.proto.logging_pb2'
-    # @@protoc_insertion_point(class_scope:google.logging.v2.WriteLogEntriesPartialErrors.LogEntryErrorsEntry)
-    ))
-  ,
-  DESCRIPTOR = _WRITELOGENTRIESPARTIALERRORS,
-  __module__ = 'google.cloud.logging_v2.proto.logging_pb2'
-  ,
-  __doc__ = """Error details for WriteLogEntries with partial success.
+WriteLogEntriesPartialErrors = _reflection.GeneratedProtocolMessageType(
+    "WriteLogEntriesPartialErrors",
+    (_message.Message,),
+    dict(
+        LogEntryErrorsEntry=_reflection.GeneratedProtocolMessageType(
+            "LogEntryErrorsEntry",
+            (_message.Message,),
+            dict(
+                DESCRIPTOR=_WRITELOGENTRIESPARTIALERRORS_LOGENTRYERRORSENTRY,
+                __module__="google.cloud.logging_v2.proto.logging_pb2"
+                # @@protoc_insertion_point(class_scope:google.logging.v2.WriteLogEntriesPartialErrors.LogEntryErrorsEntry)
+            ),
+        ),
+        DESCRIPTOR=_WRITELOGENTRIESPARTIALERRORS,
+        __module__="google.cloud.logging_v2.proto.logging_pb2",
+        __doc__="""Error details for WriteLogEntries with partial success.
   
   
   Attributes:
@@ -682,16 +1023,19 @@
           ``WriteLogEntriesRequest.entries``.  Failed requests for which
           no entries are written will not include per-entry errors.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.WriteLogEntriesPartialErrors)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.WriteLogEntriesPartialErrors)
+    ),
+)
 _sym_db.RegisterMessage(WriteLogEntriesPartialErrors)
 _sym_db.RegisterMessage(WriteLogEntriesPartialErrors.LogEntryErrorsEntry)
 
-ListLogEntriesRequest = _reflection.GeneratedProtocolMessageType('ListLogEntriesRequest', (_message.Message,), dict(
-  DESCRIPTOR = _LISTLOGENTRIESREQUEST,
-  __module__ = 'google.cloud.logging_v2.proto.logging_pb2'
-  ,
-  __doc__ = """The parameters to ``ListLogEntries``.
+ListLogEntriesRequest = _reflection.GeneratedProtocolMessageType(
+    "ListLogEntriesRequest",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_LISTLOGENTRIESREQUEST,
+        __module__="google.cloud.logging_v2.proto.logging_pb2",
+        __doc__="""The parameters to ``ListLogEntries``.
   
   
   Attributes:
@@ -738,15 +1082,18 @@
           The values of other method parameters should be identical to
           those in the previous call.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.ListLogEntriesRequest)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.ListLogEntriesRequest)
+    ),
+)
 _sym_db.RegisterMessage(ListLogEntriesRequest)
 
-ListLogEntriesResponse = _reflection.GeneratedProtocolMessageType('ListLogEntriesResponse', (_message.Message,), dict(
-  DESCRIPTOR = _LISTLOGENTRIESRESPONSE,
-  __module__ = 'google.cloud.logging_v2.proto.logging_pb2'
-  ,
-  __doc__ = """Result returned from ``ListLogEntries``.
+ListLogEntriesResponse = _reflection.GeneratedProtocolMessageType(
+    "ListLogEntriesResponse",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_LISTLOGENTRIESRESPONSE,
+        __module__="google.cloud.logging_v2.proto.logging_pb2",
+        __doc__="""Result returned from ``ListLogEntries``.
   
   
   Attributes:
@@ -768,15 +1115,18 @@
           name or resource type, or to narrow the time range of the
           search.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.ListLogEntriesResponse)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.ListLogEntriesResponse)
+    ),
+)
 _sym_db.RegisterMessage(ListLogEntriesResponse)
 
-ListMonitoredResourceDescriptorsRequest = _reflection.GeneratedProtocolMessageType('ListMonitoredResourceDescriptorsRequest', (_message.Message,), dict(
-  DESCRIPTOR = _LISTMONITOREDRESOURCEDESCRIPTORSREQUEST,
-  __module__ = 'google.cloud.logging_v2.proto.logging_pb2'
-  ,
-  __doc__ = """The parameters to ListMonitoredResourceDescriptors
+ListMonitoredResourceDescriptorsRequest = _reflection.GeneratedProtocolMessageType(
+    "ListMonitoredResourceDescriptorsRequest",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_LISTMONITOREDRESOURCEDESCRIPTORSREQUEST,
+        __module__="google.cloud.logging_v2.proto.logging_pb2",
+        __doc__="""The parameters to ListMonitoredResourceDescriptors
   
   
   Attributes:
@@ -792,15 +1142,18 @@
           values of other method parameters should be identical to those
           in the previous call.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.ListMonitoredResourceDescriptorsRequest)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.ListMonitoredResourceDescriptorsRequest)
+    ),
+)
 _sym_db.RegisterMessage(ListMonitoredResourceDescriptorsRequest)
 
-ListMonitoredResourceDescriptorsResponse = _reflection.GeneratedProtocolMessageType('ListMonitoredResourceDescriptorsResponse', (_message.Message,), dict(
-  DESCRIPTOR = _LISTMONITOREDRESOURCEDESCRIPTORSRESPONSE,
-  __module__ = 'google.cloud.logging_v2.proto.logging_pb2'
-  ,
-  __doc__ = """Result returned from ListMonitoredResourceDescriptors.
+ListMonitoredResourceDescriptorsResponse = _reflection.GeneratedProtocolMessageType(
+    "ListMonitoredResourceDescriptorsResponse",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_LISTMONITOREDRESOURCEDESCRIPTORSRESPONSE,
+        __module__="google.cloud.logging_v2.proto.logging_pb2",
+        __doc__="""Result returned from ListMonitoredResourceDescriptors.
   
   
   Attributes:
@@ -812,15 +1165,18 @@
           set of results, call this method again using the value of
           ``nextPageToken`` as ``pageToken``.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.ListMonitoredResourceDescriptorsResponse)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.ListMonitoredResourceDescriptorsResponse)
+    ),
+)
 _sym_db.RegisterMessage(ListMonitoredResourceDescriptorsResponse)
 
-ListLogsRequest = _reflection.GeneratedProtocolMessageType('ListLogsRequest', (_message.Message,), dict(
-  DESCRIPTOR = _LISTLOGSREQUEST,
-  __module__ = 'google.cloud.logging_v2.proto.logging_pb2'
-  ,
-  __doc__ = """The parameters to ListLogs.
+ListLogsRequest = _reflection.GeneratedProtocolMessageType(
+    "ListLogsRequest",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_LISTLOGSREQUEST,
+        __module__="google.cloud.logging_v2.proto.logging_pb2",
+        __doc__="""The parameters to ListLogs.
   
   
   Attributes:
@@ -841,15 +1197,18 @@
           values of other method parameters should be identical to those
           in the previous call.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.ListLogsRequest)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.ListLogsRequest)
+    ),
+)
 _sym_db.RegisterMessage(ListLogsRequest)
 
-ListLogsResponse = _reflection.GeneratedProtocolMessageType('ListLogsResponse', (_message.Message,), dict(
-  DESCRIPTOR = _LISTLOGSRESPONSE,
-  __module__ = 'google.cloud.logging_v2.proto.logging_pb2'
-  ,
-  __doc__ = """Result returned from ListLogs.
+ListLogsResponse = _reflection.GeneratedProtocolMessageType(
+    "ListLogsResponse",
+    (_message.Message,),
+    dict(
+        DESCRIPTOR=_LISTLOGSRESPONSE,
+        __module__="google.cloud.logging_v2.proto.logging_pb2",
+        __doc__="""Result returned from ListLogs.
   
   
   Attributes:
@@ -863,77 +1222,109 @@
           set of results, call this method again using the value of
           ``nextPageToken`` as ``pageToken``.
   """,
-  # @@protoc_insertion_point(class_scope:google.logging.v2.ListLogsResponse)
-  ))
+        # @@protoc_insertion_point(class_scope:google.logging.v2.ListLogsResponse)
+    ),
+)
 _sym_db.RegisterMessage(ListLogsResponse)
 
 
 DESCRIPTOR.has_options = True
-DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\025com.google.logging.v2B\014LoggingProtoP\001Z8google.golang.org/genproto/googleapis/logging/v2;logging\370\001\001\252\002\027Google.Cloud.Logging.V2\312\002\027Google\\Cloud\\Logging\\V2'))
+DESCRIPTOR._options = _descriptor._ParseOptions(
+    descriptor_pb2.FileOptions(),
+    _b(
+        "\n\025com.google.logging.v2B\014LoggingProtoP\001Z8google.golang.org/genproto/googleapis/logging/v2;logging\370\001\001\252\002\027Google.Cloud.Logging.V2\312\002\027Google\\Cloud\\Logging\\V2"
+    ),
+)
 _WRITELOGENTRIESREQUEST_LABELSENTRY.has_options = True
-_WRITELOGENTRIESREQUEST_LABELSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
+_WRITELOGENTRIESREQUEST_LABELSENTRY._options = _descriptor._ParseOptions(
+    descriptor_pb2.MessageOptions(), _b("8\001")
+)
 _WRITELOGENTRIESPARTIALERRORS_LOGENTRYERRORSENTRY.has_options = True
-_WRITELOGENTRIESPARTIALERRORS_LOGENTRYERRORSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
-_LISTLOGENTRIESREQUEST.fields_by_name['project_ids'].has_options = True
-_LISTLOGENTRIESREQUEST.fields_by_name['project_ids']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\030\001'))
+_WRITELOGENTRIESPARTIALERRORS_LOGENTRYERRORSENTRY._options = _descriptor._ParseOptions(
+    descriptor_pb2.MessageOptions(), _b("8\001")
+)
+_LISTLOGENTRIESREQUEST.fields_by_name["project_ids"].has_options = True
+_LISTLOGENTRIESREQUEST.fields_by_name[
+    "project_ids"
+]._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b("\030\001"))
 
 _LOGGINGSERVICEV2 = _descriptor.ServiceDescriptor(
-  name='LoggingServiceV2',
-  full_name='google.logging.v2.LoggingServiceV2',
-  file=DESCRIPTOR,
-  index=0,
-  options=None,
-  serialized_start=1474,
-  serialized_end=2458,
-  methods=[
-  _descriptor.MethodDescriptor(
-    name='DeleteLog',
-    full_name='google.logging.v2.LoggingServiceV2.DeleteLog',
+    name="LoggingServiceV2",
+    full_name="google.logging.v2.LoggingServiceV2",
+    file=DESCRIPTOR,
     index=0,
-    containing_service=None,
-    input_type=_DELETELOGREQUEST,
-    output_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
-    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\231\001* /v2/{log_name=projects/*/logs/*}Z\'*%/v2/{log_name=organizations/*/logs/*}Z!*\037/v2/{log_name=folders/*/logs/*}Z)*\'/v2/{log_name=billingAccounts/*/logs/*}')),
-  ),
-  _descriptor.MethodDescriptor(
-    name='WriteLogEntries',
-    full_name='google.logging.v2.LoggingServiceV2.WriteLogEntries',
-    index=1,
-    containing_service=None,
-    input_type=_WRITELOGENTRIESREQUEST,
-    output_type=_WRITELOGENTRIESRESPONSE,
-    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\026\"\021/v2/entries:write:\001*')),
-  ),
-  _descriptor.MethodDescriptor(
-    name='ListLogEntries',
-    full_name='google.logging.v2.LoggingServiceV2.ListLogEntries',
-    index=2,
-    containing_service=None,
-    input_type=_LISTLOGENTRIESREQUEST,
-    output_type=_LISTLOGENTRIESRESPONSE,
-    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\025\"\020/v2/entries:list:\001*')),
-  ),
-  _descriptor.MethodDescriptor(
-    name='ListMonitoredResourceDescriptors',
-    full_name='google.logging.v2.LoggingServiceV2.ListMonitoredResourceDescriptors',
-    index=3,
-    containing_service=None,
-    input_type=_LISTMONITOREDRESOURCEDESCRIPTORSREQUEST,
-    output_type=_LISTMONITOREDRESOURCEDESCRIPTORSRESPONSE,
-    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\"\022 /v2/monitoredResourceDescriptors')),
-  ),
-  _descriptor.MethodDescriptor(
-    name='ListLogs',
-    full_name='google.logging.v2.LoggingServiceV2.ListLogs',
-    index=4,
-    containing_service=None,
-    input_type=_LISTLOGSREQUEST,
-    output_type=_LISTLOGSRESPONSE,
-    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\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=folders/*}/logsZ%\022#/v2/{parent=billingAccounts/*}/logs')),
-  ),
-])
+    options=None,
+    serialized_start=1474,
+    serialized_end=2458,
+    methods=[
+        _descriptor.MethodDescriptor(
+            name="DeleteLog",
+            full_name="google.logging.v2.LoggingServiceV2.DeleteLog",
+            index=0,
+            containing_service=None,
+            input_type=_DELETELOGREQUEST,
+            output_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.MethodOptions(),
+                _b(
+                    "\202\323\344\223\002\231\001* /v2/{log_name=projects/*/logs/*}Z'*%/v2/{log_name=organizations/*/logs/*}Z!*\037/v2/{log_name=folders/*/logs/*}Z)*'/v2/{log_name=billingAccounts/*/logs/*}"
+                ),
+            ),
+        ),
+        _descriptor.MethodDescriptor(
+            name="WriteLogEntries",
+            full_name="google.logging.v2.LoggingServiceV2.WriteLogEntries",
+            index=1,
+            containing_service=None,
+            input_type=_WRITELOGENTRIESREQUEST,
+            output_type=_WRITELOGENTRIESRESPONSE,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.MethodOptions(),
+                _b('\202\323\344\223\002\026"\021/v2/entries:write:\001*'),
+            ),
+        ),
+        _descriptor.MethodDescriptor(
+            name="ListLogEntries",
+            full_name="google.logging.v2.LoggingServiceV2.ListLogEntries",
+            index=2,
+            containing_service=None,
+            input_type=_LISTLOGENTRIESREQUEST,
+            output_type=_LISTLOGENTRIESRESPONSE,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.MethodOptions(),
+                _b('\202\323\344\223\002\025"\020/v2/entries:list:\001*'),
+            ),
+        ),
+        _descriptor.MethodDescriptor(
+            name="ListMonitoredResourceDescriptors",
+            full_name="google.logging.v2.LoggingServiceV2.ListMonitoredResourceDescriptors",
+            index=3,
+            containing_service=None,
+            input_type=_LISTMONITOREDRESOURCEDESCRIPTORSREQUEST,
+            output_type=_LISTMONITOREDRESOURCEDESCRIPTORSRESPONSE,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.MethodOptions(),
+                _b('\202\323\344\223\002"\022 /v2/monitoredResourceDescriptors'),
+            ),
+        ),
+        _descriptor.MethodDescriptor(
+            name="ListLogs",
+            full_name="google.logging.v2.LoggingServiceV2.ListLogs",
+            index=4,
+            containing_service=None,
+            input_type=_LISTLOGSREQUEST,
+            output_type=_LISTLOGSRESPONSE,
+            options=_descriptor._ParseOptions(
+                descriptor_pb2.MethodOptions(),
+                _b(
+                    "\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=folders/*}/logsZ%\022#/v2/{parent=billingAccounts/*}/logs"
+                ),
+            ),
+        ),
+    ],
+)
 _sym_db.RegisterServiceDescriptor(_LOGGINGSERVICEV2)
 
-DESCRIPTOR.services_by_name['LoggingServiceV2'] = _LOGGINGSERVICEV2
+DESCRIPTOR.services_by_name["LoggingServiceV2"] = _LOGGINGSERVICEV2
 
 # @@protoc_insertion_point(module_scope)
diff --git a/logging/google/cloud/logging_v2/proto/logging_pb2_grpc.py b/logging/google/cloud/logging_v2/proto/logging_pb2_grpc.py
index 8f5d9e646e5f..d67dd2c95fd0 100644
--- a/logging/google/cloud/logging_v2/proto/logging_pb2_grpc.py
+++ b/logging/google/cloud/logging_v2/proto/logging_pb2_grpc.py
@@ -1,63 +1,65 @@
 # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
 import grpc
 
-from google.cloud.logging_v2.proto import logging_pb2 as google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2
+from google.cloud.logging_v2.proto import (
+    logging_pb2 as google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2,
+)
 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
 
 
 class LoggingServiceV2Stub(object):
-  """Service for ingesting and querying logs.
+    """Service for ingesting and querying logs.
   """
 
-  def __init__(self, channel):
-    """Constructor.
+    def __init__(self, channel):
+        """Constructor.
 
     Args:
       channel: A grpc.Channel.
     """
-    self.DeleteLog = channel.unary_unary(
-        '/google.logging.v2.LoggingServiceV2/DeleteLog',
-        request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.DeleteLogRequest.SerializeToString,
-        response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
+        self.DeleteLog = channel.unary_unary(
+            "/google.logging.v2.LoggingServiceV2/DeleteLog",
+            request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.DeleteLogRequest.SerializeToString,
+            response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
         )
-    self.WriteLogEntries = channel.unary_unary(
-        '/google.logging.v2.LoggingServiceV2/WriteLogEntries',
-        request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.WriteLogEntriesRequest.SerializeToString,
-        response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.WriteLogEntriesResponse.FromString,
+        self.WriteLogEntries = channel.unary_unary(
+            "/google.logging.v2.LoggingServiceV2/WriteLogEntries",
+            request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.WriteLogEntriesRequest.SerializeToString,
+            response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.WriteLogEntriesResponse.FromString,
         )
-    self.ListLogEntries = channel.unary_unary(
-        '/google.logging.v2.LoggingServiceV2/ListLogEntries',
-        request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListLogEntriesRequest.SerializeToString,
-        response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListLogEntriesResponse.FromString,
+        self.ListLogEntries = channel.unary_unary(
+            "/google.logging.v2.LoggingServiceV2/ListLogEntries",
+            request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListLogEntriesRequest.SerializeToString,
+            response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListLogEntriesResponse.FromString,
         )
-    self.ListMonitoredResourceDescriptors = channel.unary_unary(
-        '/google.logging.v2.LoggingServiceV2/ListMonitoredResourceDescriptors',
-        request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListMonitoredResourceDescriptorsRequest.SerializeToString,
-        response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListMonitoredResourceDescriptorsResponse.FromString,
+        self.ListMonitoredResourceDescriptors = channel.unary_unary(
+            "/google.logging.v2.LoggingServiceV2/ListMonitoredResourceDescriptors",
+            request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListMonitoredResourceDescriptorsRequest.SerializeToString,
+            response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListMonitoredResourceDescriptorsResponse.FromString,
         )
-    self.ListLogs = channel.unary_unary(
-        '/google.logging.v2.LoggingServiceV2/ListLogs',
-        request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListLogsRequest.SerializeToString,
-        response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListLogsResponse.FromString,
+        self.ListLogs = channel.unary_unary(
+            "/google.logging.v2.LoggingServiceV2/ListLogs",
+            request_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListLogsRequest.SerializeToString,
+            response_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListLogsResponse.FromString,
         )
 
 
 class LoggingServiceV2Servicer(object):
-  """Service for ingesting and querying logs.
+    """Service for ingesting and querying logs.
   """
 
-  def DeleteLog(self, request, context):
-    """Deletes all the log entries in a log.
+    def DeleteLog(self, request, context):
+        """Deletes all the log entries in a log.
     The log reappears if it receives new entries.
     Log entries written shortly before the delete operation might not be
     deleted.
     """
-    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
-    context.set_details('Method not implemented!')
-    raise NotImplementedError('Method not implemented!')
+        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+        context.set_details("Method not implemented!")
+        raise NotImplementedError("Method not implemented!")
 
-  def WriteLogEntries(self, request, context):
-    """Writes log entries to Logging. This API method is the
+    def WriteLogEntries(self, request, context):
+        """Writes log entries to Logging. This API method is the
     only way to send log entries to Logging. This method
     is used, directly or indirectly, by the Logging agent
     (fluentd) and all logging libraries configured to use Logging.
@@ -65,63 +67,64 @@ def WriteLogEntries(self, request, context):
     different resources (projects, organizations, billing accounts or
     folders)
     """
-    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
-    context.set_details('Method not implemented!')
-    raise NotImplementedError('Method not implemented!')
+        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+        context.set_details("Method not implemented!")
+        raise NotImplementedError("Method not implemented!")
 
-  def ListLogEntries(self, request, context):
-    """Lists log entries.  Use this method to retrieve log entries from
+    def ListLogEntries(self, request, context):
+        """Lists log entries.  Use this method to retrieve log entries from
     Logging.  For ways to export log entries, see
     [Exporting Logs](/logging/docs/export).
     """
-    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
-    context.set_details('Method not implemented!')
-    raise NotImplementedError('Method not implemented!')
+        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+        context.set_details("Method not implemented!")
+        raise NotImplementedError("Method not implemented!")
 
-  def ListMonitoredResourceDescriptors(self, request, context):
-    """Lists the descriptors for monitored resource types used by Logging.
+    def ListMonitoredResourceDescriptors(self, request, context):
+        """Lists the descriptors for monitored resource types used by Logging.
     """
-    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
-    context.set_details('Method not implemented!')
-    raise NotImplementedError('Method not implemented!')
+        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+        context.set_details("Method not implemented!")
+        raise NotImplementedError("Method not implemented!")
 
-  def ListLogs(self, request, context):
-    """Lists the logs in projects, organizations, folders, or billing accounts.
+    def ListLogs(self, request, context):
+        """Lists the logs in projects, organizations, folders, or billing accounts.
     Only logs that have entries are listed.
     """
-    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
-    context.set_details('Method not implemented!')
-    raise NotImplementedError('Method not implemented!')
+        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+        context.set_details("Method not implemented!")
+        raise NotImplementedError("Method not implemented!")
 
 
 def add_LoggingServiceV2Servicer_to_server(servicer, server):
-  rpc_method_handlers = {
-      'DeleteLog': grpc.unary_unary_rpc_method_handler(
-          servicer.DeleteLog,
-          request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.DeleteLogRequest.FromString,
-          response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
-      ),
-      'WriteLogEntries': grpc.unary_unary_rpc_method_handler(
-          servicer.WriteLogEntries,
-          request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.WriteLogEntriesRequest.FromString,
-          response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.WriteLogEntriesResponse.SerializeToString,
-      ),
-      'ListLogEntries': grpc.unary_unary_rpc_method_handler(
-          servicer.ListLogEntries,
-          request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListLogEntriesRequest.FromString,
-          response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListLogEntriesResponse.SerializeToString,
-      ),
-      'ListMonitoredResourceDescriptors': grpc.unary_unary_rpc_method_handler(
-          servicer.ListMonitoredResourceDescriptors,
-          request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListMonitoredResourceDescriptorsRequest.FromString,
-          response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListMonitoredResourceDescriptorsResponse.SerializeToString,
-      ),
-      'ListLogs': grpc.unary_unary_rpc_method_handler(
-          servicer.ListLogs,
-          request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListLogsRequest.FromString,
-          response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListLogsResponse.SerializeToString,
-      ),
-  }
-  generic_handler = grpc.method_handlers_generic_handler(
-      'google.logging.v2.LoggingServiceV2', rpc_method_handlers)
-  server.add_generic_rpc_handlers((generic_handler,))
+    rpc_method_handlers = {
+        "DeleteLog": grpc.unary_unary_rpc_method_handler(
+            servicer.DeleteLog,
+            request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.DeleteLogRequest.FromString,
+            response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
+        ),
+        "WriteLogEntries": grpc.unary_unary_rpc_method_handler(
+            servicer.WriteLogEntries,
+            request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.WriteLogEntriesRequest.FromString,
+            response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.WriteLogEntriesResponse.SerializeToString,
+        ),
+        "ListLogEntries": grpc.unary_unary_rpc_method_handler(
+            servicer.ListLogEntries,
+            request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListLogEntriesRequest.FromString,
+            response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListLogEntriesResponse.SerializeToString,
+        ),
+        "ListMonitoredResourceDescriptors": grpc.unary_unary_rpc_method_handler(
+            servicer.ListMonitoredResourceDescriptors,
+            request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListMonitoredResourceDescriptorsRequest.FromString,
+            response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListMonitoredResourceDescriptorsResponse.SerializeToString,
+        ),
+        "ListLogs": grpc.unary_unary_rpc_method_handler(
+            servicer.ListLogs,
+            request_deserializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListLogsRequest.FromString,
+            response_serializer=google_dot_cloud_dot_logging__v2_dot_proto_dot_logging__pb2.ListLogsResponse.SerializeToString,
+        ),
+    }
+    generic_handler = grpc.method_handlers_generic_handler(
+        "google.logging.v2.LoggingServiceV2", rpc_method_handlers
+    )
+    server.add_generic_rpc_handlers((generic_handler,))
