google-cloud-logging 3.5.0__tar.gz → 3.6.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {google-cloud-logging-3.5.0/google_cloud_logging.egg-info → google-cloud-logging-3.6.0}/PKG-INFO +1 -1
- {google-cloud-logging-3.5.0/google/cloud/logging_v2 → google-cloud-logging-3.6.0/google/cloud/logging}/gapic_version.py +1 -1
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/entries.py +4 -1
- {google-cloud-logging-3.5.0/google/cloud/logging → google-cloud-logging-3.6.0/google/cloud/logging_v2}/gapic_version.py +1 -1
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/handlers/_monitored_resources.py +7 -7
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/logger.py +1 -1
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/config_service_v2/async_client.py +33 -29
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/config_service_v2/client.py +33 -29
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/logging_service_v2/async_client.py +2 -2
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/logging_service_v2/client.py +2 -2
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/types/log_entry.py +2 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/types/logging.py +2 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/types/logging_config.py +2 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/types/logging_metrics.py +2 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0/google_cloud_logging.egg-info}/PKG-INFO +1 -1
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/handlers/test__monitored_resources.py +79 -1
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/test_logger.py +92 -69
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/LICENSE +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/MANIFEST.in +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/README.rst +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging/handlers/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging/handlers/middleware/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging/handlers/transports/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging/py.typed +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/_gapic.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/_helpers.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/_http.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/_instrumentation.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/client.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/gapic_metadata.json +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/handlers/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/handlers/_helpers.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/handlers/app_engine.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/handlers/container_engine.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/handlers/handlers.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/handlers/middleware/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/handlers/middleware/request.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/handlers/structured_log.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/handlers/transports/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/handlers/transports/background_thread.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/handlers/transports/base.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/handlers/transports/sync.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/metric.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/py.typed +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/resource.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/config_service_v2/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/config_service_v2/pagers.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/config_service_v2/transports/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/config_service_v2/transports/base.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/config_service_v2/transports/grpc.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/config_service_v2/transports/grpc_asyncio.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/logging_service_v2/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/logging_service_v2/pagers.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/logging_service_v2/transports/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/logging_service_v2/transports/base.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/logging_service_v2/transports/grpc.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/logging_service_v2/transports/grpc_asyncio.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/metrics_service_v2/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/metrics_service_v2/async_client.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/metrics_service_v2/client.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/metrics_service_v2/pagers.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/metrics_service_v2/transports/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/metrics_service_v2/transports/base.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/metrics_service_v2/transports/grpc.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/services/metrics_service_v2/transports/grpc_asyncio.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/sink.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/types/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google_cloud_logging.egg-info/SOURCES.txt +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google_cloud_logging.egg-info/dependency_links.txt +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google_cloud_logging.egg-info/namespace_packages.txt +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google_cloud_logging.egg-info/not-zip-safe +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google_cloud_logging.egg-info/requires.txt +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google_cloud_logging.egg-info/top_level.txt +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/setup.cfg +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/setup.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/performance/noxfile.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/performance/test_performance.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/system/gapic/v2/test_system_logging_service_v2_v2.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/system/test_system.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/gapic/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/gapic/logging_v2/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/gapic/logging_v2/test_config_service_v2.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/gapic/logging_v2/test_logging_service_v2.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/gapic/logging_v2/test_metrics_service_v2.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/handlers/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/handlers/middleware/test_request.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/handlers/test__helpers.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/handlers/test_app_engine.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/handlers/test_container_engine.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/handlers/test_handlers.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/handlers/test_structured_log.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/handlers/transports/__init__.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/handlers/transports/test_background_thread.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/handlers/transports/test_base.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/handlers/transports/test_sync.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/test__gapic.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/test__helpers.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/test__http.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/test__instrumentation.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/test_client.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/test_entries.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/test_logging_shim.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/test_metric.py +0 -0
- {google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/tests/unit/test_sink.py +0 -0
{google-cloud-logging-3.5.0 → google-cloud-logging-3.6.0}/google/cloud/logging_v2/entries.py
RENAMED
|
@@ -229,7 +229,10 @@ class LogEntry(_LogEntryTuple):
|
|
|
229
229
|
if self.insert_id is not None:
|
|
230
230
|
info["insertId"] = self.insert_id
|
|
231
231
|
if self.severity is not None:
|
|
232
|
-
|
|
232
|
+
if isinstance(self.severity, str):
|
|
233
|
+
info["severity"] = self.severity.upper()
|
|
234
|
+
else:
|
|
235
|
+
info["severity"] = self.severity
|
|
233
236
|
if self.http_request is not None:
|
|
234
237
|
info["httpRequest"] = self.http_request
|
|
235
238
|
if self.timestamp is not None:
|
|
@@ -71,8 +71,8 @@ def _create_functions_resource():
|
|
|
71
71
|
resource = Resource(
|
|
72
72
|
type="cloud_function",
|
|
73
73
|
labels={
|
|
74
|
-
"project_id": project,
|
|
75
|
-
"function_name": function_name,
|
|
74
|
+
"project_id": project if project else "",
|
|
75
|
+
"function_name": function_name if function_name else "",
|
|
76
76
|
"region": region.split("/")[-1] if region else "",
|
|
77
77
|
},
|
|
78
78
|
)
|
|
@@ -91,7 +91,7 @@ def _create_kubernetes_resource():
|
|
|
91
91
|
resource = Resource(
|
|
92
92
|
type="k8s_container",
|
|
93
93
|
labels={
|
|
94
|
-
"project_id": project,
|
|
94
|
+
"project_id": project if project else "",
|
|
95
95
|
"location": zone if zone else "",
|
|
96
96
|
"cluster_name": cluster_name if cluster_name else "",
|
|
97
97
|
},
|
|
@@ -110,7 +110,7 @@ def _create_compute_resource():
|
|
|
110
110
|
resource = Resource(
|
|
111
111
|
type="gce_instance",
|
|
112
112
|
labels={
|
|
113
|
-
"project_id": project,
|
|
113
|
+
"project_id": project if project else "",
|
|
114
114
|
"instance_id": instance if instance else "",
|
|
115
115
|
"zone": zone if zone else "",
|
|
116
116
|
},
|
|
@@ -128,7 +128,7 @@ def _create_cloud_run_resource():
|
|
|
128
128
|
resource = Resource(
|
|
129
129
|
type="cloud_run_revision",
|
|
130
130
|
labels={
|
|
131
|
-
"project_id": project,
|
|
131
|
+
"project_id": project if project else "",
|
|
132
132
|
"service_name": os.environ.get(_CLOUD_RUN_SERVICE_ID, ""),
|
|
133
133
|
"revision_name": os.environ.get(_CLOUD_RUN_REVISION_ID, ""),
|
|
134
134
|
"location": region.split("/")[-1] if region else "",
|
|
@@ -148,7 +148,7 @@ def _create_app_engine_resource():
|
|
|
148
148
|
resource = Resource(
|
|
149
149
|
type="gae_app",
|
|
150
150
|
labels={
|
|
151
|
-
"project_id": project,
|
|
151
|
+
"project_id": project if project else "",
|
|
152
152
|
"module_id": os.environ.get(_GAE_SERVICE_ENV, ""),
|
|
153
153
|
"version_id": os.environ.get(_GAE_VERSION_ENV, ""),
|
|
154
154
|
"zone": zone if zone else "",
|
|
@@ -164,7 +164,7 @@ def _create_global_resource(project):
|
|
|
164
164
|
Returns:
|
|
165
165
|
google.cloud.logging.Resource
|
|
166
166
|
"""
|
|
167
|
-
return Resource(type="global", labels={"project_id": project})
|
|
167
|
+
return Resource(type="global", labels={"project_id": project if project else ""})
|
|
168
168
|
|
|
169
169
|
|
|
170
170
|
def detect_resource(project=""):
|
|
@@ -141,7 +141,7 @@ class Logger(object):
|
|
|
141
141
|
kw["resource"] = kw.pop("resource", self.default_resource)
|
|
142
142
|
|
|
143
143
|
severity = kw.get("severity", None)
|
|
144
|
-
if isinstance(severity, str)
|
|
144
|
+
if isinstance(severity, str):
|
|
145
145
|
# convert severity to upper case, as expected by enum definition
|
|
146
146
|
kw["severity"] = severity.upper()
|
|
147
147
|
|
|
@@ -271,7 +271,7 @@ class ConfigServiceV2AsyncClient:
|
|
|
271
271
|
|
|
272
272
|
Args:
|
|
273
273
|
request (Optional[Union[google.cloud.logging_v2.types.ListBucketsRequest, dict]]):
|
|
274
|
-
The request object. The parameters to
|
|
274
|
+
The request object. The parameters to ``ListBuckets``.
|
|
275
275
|
parent (:class:`str`):
|
|
276
276
|
Required. The parent resource whose buckets are to be
|
|
277
277
|
listed:
|
|
@@ -393,7 +393,7 @@ class ConfigServiceV2AsyncClient:
|
|
|
393
393
|
|
|
394
394
|
Args:
|
|
395
395
|
request (Optional[Union[google.cloud.logging_v2.types.GetBucketRequest, dict]]):
|
|
396
|
-
The request object. The parameters to
|
|
396
|
+
The request object. The parameters to ``GetBucket``.
|
|
397
397
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
398
398
|
should be retried.
|
|
399
399
|
timeout (float): The timeout for this request.
|
|
@@ -475,7 +475,7 @@ class ConfigServiceV2AsyncClient:
|
|
|
475
475
|
|
|
476
476
|
Args:
|
|
477
477
|
request (Optional[Union[google.cloud.logging_v2.types.CreateBucketRequest, dict]]):
|
|
478
|
-
The request object. The parameters to
|
|
478
|
+
The request object. The parameters to ``CreateBucket``.
|
|
479
479
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
480
480
|
should be retried.
|
|
481
481
|
timeout (float): The timeout for this request.
|
|
@@ -565,7 +565,7 @@ class ConfigServiceV2AsyncClient:
|
|
|
565
565
|
|
|
566
566
|
Args:
|
|
567
567
|
request (Optional[Union[google.cloud.logging_v2.types.UpdateBucketRequest, dict]]):
|
|
568
|
-
The request object. The parameters to
|
|
568
|
+
The request object. The parameters to ``UpdateBucket``.
|
|
569
569
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
570
570
|
should be retried.
|
|
571
571
|
timeout (float): The timeout for this request.
|
|
@@ -646,7 +646,7 @@ class ConfigServiceV2AsyncClient:
|
|
|
646
646
|
|
|
647
647
|
Args:
|
|
648
648
|
request (Optional[Union[google.cloud.logging_v2.types.DeleteBucketRequest, dict]]):
|
|
649
|
-
The request object. The parameters to
|
|
649
|
+
The request object. The parameters to ``DeleteBucket``.
|
|
650
650
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
651
651
|
should be retried.
|
|
652
652
|
timeout (float): The timeout for this request.
|
|
@@ -715,7 +715,7 @@ class ConfigServiceV2AsyncClient:
|
|
|
715
715
|
|
|
716
716
|
Args:
|
|
717
717
|
request (Optional[Union[google.cloud.logging_v2.types.UndeleteBucketRequest, dict]]):
|
|
718
|
-
The request object. The parameters to
|
|
718
|
+
The request object. The parameters to ``UndeleteBucket``.
|
|
719
719
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
720
720
|
should be retried.
|
|
721
721
|
timeout (float): The timeout for this request.
|
|
@@ -787,7 +787,7 @@ class ConfigServiceV2AsyncClient:
|
|
|
787
787
|
|
|
788
788
|
Args:
|
|
789
789
|
request (Optional[Union[google.cloud.logging_v2.types.ListViewsRequest, dict]]):
|
|
790
|
-
The request object. The parameters to
|
|
790
|
+
The request object. The parameters to ``ListViews``.
|
|
791
791
|
parent (:class:`str`):
|
|
792
792
|
Required. The bucket whose views are to be listed:
|
|
793
793
|
|
|
@@ -901,7 +901,7 @@ class ConfigServiceV2AsyncClient:
|
|
|
901
901
|
|
|
902
902
|
Args:
|
|
903
903
|
request (Optional[Union[google.cloud.logging_v2.types.GetViewRequest, dict]]):
|
|
904
|
-
The request object. The parameters to
|
|
904
|
+
The request object. The parameters to ``GetView``.
|
|
905
905
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
906
906
|
should be retried.
|
|
907
907
|
timeout (float): The timeout for this request.
|
|
@@ -982,7 +982,7 @@ class ConfigServiceV2AsyncClient:
|
|
|
982
982
|
|
|
983
983
|
Args:
|
|
984
984
|
request (Optional[Union[google.cloud.logging_v2.types.CreateViewRequest, dict]]):
|
|
985
|
-
The request object. The parameters to
|
|
985
|
+
The request object. The parameters to ``CreateView``.
|
|
986
986
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
987
987
|
should be retried.
|
|
988
988
|
timeout (float): The timeout for this request.
|
|
@@ -1065,7 +1065,7 @@ class ConfigServiceV2AsyncClient:
|
|
|
1065
1065
|
|
|
1066
1066
|
Args:
|
|
1067
1067
|
request (Optional[Union[google.cloud.logging_v2.types.UpdateViewRequest, dict]]):
|
|
1068
|
-
The request object. The parameters to
|
|
1068
|
+
The request object. The parameters to ``UpdateView``.
|
|
1069
1069
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
1070
1070
|
should be retried.
|
|
1071
1071
|
timeout (float): The timeout for this request.
|
|
@@ -1144,7 +1144,7 @@ class ConfigServiceV2AsyncClient:
|
|
|
1144
1144
|
|
|
1145
1145
|
Args:
|
|
1146
1146
|
request (Optional[Union[google.cloud.logging_v2.types.DeleteViewRequest, dict]]):
|
|
1147
|
-
The request object. The parameters to
|
|
1147
|
+
The request object. The parameters to ``DeleteView``.
|
|
1148
1148
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
1149
1149
|
should be retried.
|
|
1150
1150
|
timeout (float): The timeout for this request.
|
|
@@ -1216,7 +1216,7 @@ class ConfigServiceV2AsyncClient:
|
|
|
1216
1216
|
|
|
1217
1217
|
Args:
|
|
1218
1218
|
request (Optional[Union[google.cloud.logging_v2.types.ListSinksRequest, dict]]):
|
|
1219
|
-
The request object. The parameters to
|
|
1219
|
+
The request object. The parameters to ``ListSinks``.
|
|
1220
1220
|
parent (:class:`str`):
|
|
1221
1221
|
Required. The parent resource whose sinks are to be
|
|
1222
1222
|
listed:
|
|
@@ -1346,7 +1346,7 @@ class ConfigServiceV2AsyncClient:
|
|
|
1346
1346
|
|
|
1347
1347
|
Args:
|
|
1348
1348
|
request (Optional[Union[google.cloud.logging_v2.types.GetSinkRequest, dict]]):
|
|
1349
|
-
The request object. The parameters to
|
|
1349
|
+
The request object. The parameters to ``GetSink``.
|
|
1350
1350
|
sink_name (:class:`str`):
|
|
1351
1351
|
Required. The resource name of the sink:
|
|
1352
1352
|
|
|
@@ -1487,7 +1487,7 @@ class ConfigServiceV2AsyncClient:
|
|
|
1487
1487
|
|
|
1488
1488
|
Args:
|
|
1489
1489
|
request (Optional[Union[google.cloud.logging_v2.types.CreateSinkRequest, dict]]):
|
|
1490
|
-
The request object. The parameters to
|
|
1490
|
+
The request object. The parameters to ``CreateSink``.
|
|
1491
1491
|
parent (:class:`str`):
|
|
1492
1492
|
Required. The resource in which to create the sink:
|
|
1493
1493
|
|
|
@@ -1626,7 +1626,7 @@ class ConfigServiceV2AsyncClient:
|
|
|
1626
1626
|
|
|
1627
1627
|
Args:
|
|
1628
1628
|
request (Optional[Union[google.cloud.logging_v2.types.UpdateSinkRequest, dict]]):
|
|
1629
|
-
The request object. The parameters to
|
|
1629
|
+
The request object. The parameters to ``UpdateSink``.
|
|
1630
1630
|
sink_name (:class:`str`):
|
|
1631
1631
|
Required. The full resource name of the sink to update,
|
|
1632
1632
|
including the parent resource and the sink identifier:
|
|
@@ -1789,7 +1789,7 @@ class ConfigServiceV2AsyncClient:
|
|
|
1789
1789
|
|
|
1790
1790
|
Args:
|
|
1791
1791
|
request (Optional[Union[google.cloud.logging_v2.types.DeleteSinkRequest, dict]]):
|
|
1792
|
-
The request object. The parameters to
|
|
1792
|
+
The request object. The parameters to ``DeleteSink``.
|
|
1793
1793
|
sink_name (:class:`str`):
|
|
1794
1794
|
Required. The full resource name of the sink to delete,
|
|
1795
1795
|
including the parent resource and the sink identifier:
|
|
@@ -1907,7 +1907,7 @@ class ConfigServiceV2AsyncClient:
|
|
|
1907
1907
|
|
|
1908
1908
|
Args:
|
|
1909
1909
|
request (Optional[Union[google.cloud.logging_v2.types.ListExclusionsRequest, dict]]):
|
|
1910
|
-
The request object. The parameters to
|
|
1910
|
+
The request object. The parameters to ``ListExclusions``.
|
|
1911
1911
|
parent (:class:`str`):
|
|
1912
1912
|
Required. The parent resource whose exclusions are to be
|
|
1913
1913
|
listed.
|
|
@@ -2037,7 +2037,7 @@ class ConfigServiceV2AsyncClient:
|
|
|
2037
2037
|
|
|
2038
2038
|
Args:
|
|
2039
2039
|
request (Optional[Union[google.cloud.logging_v2.types.GetExclusionRequest, dict]]):
|
|
2040
|
-
The request object. The parameters to
|
|
2040
|
+
The request object. The parameters to ``GetExclusion``.
|
|
2041
2041
|
name (:class:`str`):
|
|
2042
2042
|
Required. The resource name of an existing exclusion:
|
|
2043
2043
|
|
|
@@ -2172,7 +2172,7 @@ class ConfigServiceV2AsyncClient:
|
|
|
2172
2172
|
|
|
2173
2173
|
Args:
|
|
2174
2174
|
request (Optional[Union[google.cloud.logging_v2.types.CreateExclusionRequest, dict]]):
|
|
2175
|
-
The request object. The parameters to
|
|
2175
|
+
The request object. The parameters to ``CreateExclusion``.
|
|
2176
2176
|
parent (:class:`str`):
|
|
2177
2177
|
Required. The parent resource in which to create the
|
|
2178
2178
|
exclusion:
|
|
@@ -2308,7 +2308,7 @@ class ConfigServiceV2AsyncClient:
|
|
|
2308
2308
|
|
|
2309
2309
|
Args:
|
|
2310
2310
|
request (Optional[Union[google.cloud.logging_v2.types.UpdateExclusionRequest, dict]]):
|
|
2311
|
-
The request object. The parameters to
|
|
2311
|
+
The request object. The parameters to ``UpdateExclusion``.
|
|
2312
2312
|
name (:class:`str`):
|
|
2313
2313
|
Required. The resource name of the exclusion to update:
|
|
2314
2314
|
|
|
@@ -2447,7 +2447,7 @@ class ConfigServiceV2AsyncClient:
|
|
|
2447
2447
|
|
|
2448
2448
|
Args:
|
|
2449
2449
|
request (Optional[Union[google.cloud.logging_v2.types.DeleteExclusionRequest, dict]]):
|
|
2450
|
-
The request object. The parameters to
|
|
2450
|
+
The request object. The parameters to ``DeleteExclusion``.
|
|
2451
2451
|
name (:class:`str`):
|
|
2452
2452
|
Required. The resource name of an existing exclusion to
|
|
2453
2453
|
delete:
|
|
@@ -2571,8 +2571,9 @@ class ConfigServiceV2AsyncClient:
|
|
|
2571
2571
|
request (Optional[Union[google.cloud.logging_v2.types.GetCmekSettingsRequest, dict]]):
|
|
2572
2572
|
The request object. The parameters to
|
|
2573
2573
|
[GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings].
|
|
2574
|
-
|
|
2575
|
-
|
|
2574
|
+
|
|
2575
|
+
See `Enabling CMEK for Log
|
|
2576
|
+
Router <https://cloud.google.com/logging/docs/routing/managed-encryption>`__
|
|
2576
2577
|
for more information.
|
|
2577
2578
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
2578
2579
|
should be retried.
|
|
@@ -2678,8 +2679,9 @@ class ConfigServiceV2AsyncClient:
|
|
|
2678
2679
|
request (Optional[Union[google.cloud.logging_v2.types.UpdateCmekSettingsRequest, dict]]):
|
|
2679
2680
|
The request object. The parameters to
|
|
2680
2681
|
[UpdateCmekSettings][google.logging.v2.ConfigServiceV2.UpdateCmekSettings].
|
|
2681
|
-
|
|
2682
|
-
|
|
2682
|
+
|
|
2683
|
+
See `Enabling CMEK for Log
|
|
2684
|
+
Router <https://cloud.google.com/logging/docs/routing/managed-encryption>`__
|
|
2683
2685
|
for more information.
|
|
2684
2686
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
2685
2687
|
should be retried.
|
|
@@ -2782,8 +2784,9 @@ class ConfigServiceV2AsyncClient:
|
|
|
2782
2784
|
request (Optional[Union[google.cloud.logging_v2.types.GetSettingsRequest, dict]]):
|
|
2783
2785
|
The request object. The parameters to
|
|
2784
2786
|
[GetSettings][google.logging.v2.ConfigServiceV2.GetSettings].
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
+
|
|
2788
|
+
See `Enabling CMEK for Log
|
|
2789
|
+
Router <https://cloud.google.com/logging/docs/routing/managed-encryption>`__
|
|
2787
2790
|
for more information.
|
|
2788
2791
|
name (:class:`str`):
|
|
2789
2792
|
Required. The resource for which to retrieve settings.
|
|
@@ -2923,8 +2926,9 @@ class ConfigServiceV2AsyncClient:
|
|
|
2923
2926
|
request (Optional[Union[google.cloud.logging_v2.types.UpdateSettingsRequest, dict]]):
|
|
2924
2927
|
The request object. The parameters to
|
|
2925
2928
|
[UpdateSettings][google.logging.v2.ConfigServiceV2.UpdateSettings].
|
|
2926
|
-
|
|
2927
|
-
|
|
2929
|
+
|
|
2930
|
+
See `Enabling CMEK for Log
|
|
2931
|
+
Router <https://cloud.google.com/logging/docs/routing/managed-encryption>`__
|
|
2928
2932
|
for more information.
|
|
2929
2933
|
settings (:class:`google.cloud.logging_v2.types.Settings`):
|
|
2930
2934
|
Required. The settings to update.
|
|
@@ -572,7 +572,7 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
572
572
|
|
|
573
573
|
Args:
|
|
574
574
|
request (Union[google.cloud.logging_v2.types.ListBucketsRequest, dict]):
|
|
575
|
-
The request object. The parameters to
|
|
575
|
+
The request object. The parameters to ``ListBuckets``.
|
|
576
576
|
parent (str):
|
|
577
577
|
Required. The parent resource whose buckets are to be
|
|
578
578
|
listed:
|
|
@@ -694,7 +694,7 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
694
694
|
|
|
695
695
|
Args:
|
|
696
696
|
request (Union[google.cloud.logging_v2.types.GetBucketRequest, dict]):
|
|
697
|
-
The request object. The parameters to
|
|
697
|
+
The request object. The parameters to ``GetBucket``.
|
|
698
698
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
699
699
|
should be retried.
|
|
700
700
|
timeout (float): The timeout for this request.
|
|
@@ -777,7 +777,7 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
777
777
|
|
|
778
778
|
Args:
|
|
779
779
|
request (Union[google.cloud.logging_v2.types.CreateBucketRequest, dict]):
|
|
780
|
-
The request object. The parameters to
|
|
780
|
+
The request object. The parameters to ``CreateBucket``.
|
|
781
781
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
782
782
|
should be retried.
|
|
783
783
|
timeout (float): The timeout for this request.
|
|
@@ -868,7 +868,7 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
868
868
|
|
|
869
869
|
Args:
|
|
870
870
|
request (Union[google.cloud.logging_v2.types.UpdateBucketRequest, dict]):
|
|
871
|
-
The request object. The parameters to
|
|
871
|
+
The request object. The parameters to ``UpdateBucket``.
|
|
872
872
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
873
873
|
should be retried.
|
|
874
874
|
timeout (float): The timeout for this request.
|
|
@@ -950,7 +950,7 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
950
950
|
|
|
951
951
|
Args:
|
|
952
952
|
request (Union[google.cloud.logging_v2.types.DeleteBucketRequest, dict]):
|
|
953
|
-
The request object. The parameters to
|
|
953
|
+
The request object. The parameters to ``DeleteBucket``.
|
|
954
954
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
955
955
|
should be retried.
|
|
956
956
|
timeout (float): The timeout for this request.
|
|
@@ -1020,7 +1020,7 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
1020
1020
|
|
|
1021
1021
|
Args:
|
|
1022
1022
|
request (Union[google.cloud.logging_v2.types.UndeleteBucketRequest, dict]):
|
|
1023
|
-
The request object. The parameters to
|
|
1023
|
+
The request object. The parameters to ``UndeleteBucket``.
|
|
1024
1024
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
1025
1025
|
should be retried.
|
|
1026
1026
|
timeout (float): The timeout for this request.
|
|
@@ -1093,7 +1093,7 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
1093
1093
|
|
|
1094
1094
|
Args:
|
|
1095
1095
|
request (Union[google.cloud.logging_v2.types.ListViewsRequest, dict]):
|
|
1096
|
-
The request object. The parameters to
|
|
1096
|
+
The request object. The parameters to ``ListViews``.
|
|
1097
1097
|
parent (str):
|
|
1098
1098
|
Required. The bucket whose views are to be listed:
|
|
1099
1099
|
|
|
@@ -1207,7 +1207,7 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
1207
1207
|
|
|
1208
1208
|
Args:
|
|
1209
1209
|
request (Union[google.cloud.logging_v2.types.GetViewRequest, dict]):
|
|
1210
|
-
The request object. The parameters to
|
|
1210
|
+
The request object. The parameters to ``GetView``.
|
|
1211
1211
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
1212
1212
|
should be retried.
|
|
1213
1213
|
timeout (float): The timeout for this request.
|
|
@@ -1289,7 +1289,7 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
1289
1289
|
|
|
1290
1290
|
Args:
|
|
1291
1291
|
request (Union[google.cloud.logging_v2.types.CreateViewRequest, dict]):
|
|
1292
|
-
The request object. The parameters to
|
|
1292
|
+
The request object. The parameters to ``CreateView``.
|
|
1293
1293
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
1294
1294
|
should be retried.
|
|
1295
1295
|
timeout (float): The timeout for this request.
|
|
@@ -1373,7 +1373,7 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
1373
1373
|
|
|
1374
1374
|
Args:
|
|
1375
1375
|
request (Union[google.cloud.logging_v2.types.UpdateViewRequest, dict]):
|
|
1376
|
-
The request object. The parameters to
|
|
1376
|
+
The request object. The parameters to ``UpdateView``.
|
|
1377
1377
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
1378
1378
|
should be retried.
|
|
1379
1379
|
timeout (float): The timeout for this request.
|
|
@@ -1453,7 +1453,7 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
1453
1453
|
|
|
1454
1454
|
Args:
|
|
1455
1455
|
request (Union[google.cloud.logging_v2.types.DeleteViewRequest, dict]):
|
|
1456
|
-
The request object. The parameters to
|
|
1456
|
+
The request object. The parameters to ``DeleteView``.
|
|
1457
1457
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
1458
1458
|
should be retried.
|
|
1459
1459
|
timeout (float): The timeout for this request.
|
|
@@ -1526,7 +1526,7 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
1526
1526
|
|
|
1527
1527
|
Args:
|
|
1528
1528
|
request (Union[google.cloud.logging_v2.types.ListSinksRequest, dict]):
|
|
1529
|
-
The request object. The parameters to
|
|
1529
|
+
The request object. The parameters to ``ListSinks``.
|
|
1530
1530
|
parent (str):
|
|
1531
1531
|
Required. The parent resource whose sinks are to be
|
|
1532
1532
|
listed:
|
|
@@ -1645,7 +1645,7 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
1645
1645
|
|
|
1646
1646
|
Args:
|
|
1647
1647
|
request (Union[google.cloud.logging_v2.types.GetSinkRequest, dict]):
|
|
1648
|
-
The request object. The parameters to
|
|
1648
|
+
The request object. The parameters to ``GetSink``.
|
|
1649
1649
|
sink_name (str):
|
|
1650
1650
|
Required. The resource name of the sink:
|
|
1651
1651
|
|
|
@@ -1775,7 +1775,7 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
1775
1775
|
|
|
1776
1776
|
Args:
|
|
1777
1777
|
request (Union[google.cloud.logging_v2.types.CreateSinkRequest, dict]):
|
|
1778
|
-
The request object. The parameters to
|
|
1778
|
+
The request object. The parameters to ``CreateSink``.
|
|
1779
1779
|
parent (str):
|
|
1780
1780
|
Required. The resource in which to create the sink:
|
|
1781
1781
|
|
|
@@ -1914,7 +1914,7 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
1914
1914
|
|
|
1915
1915
|
Args:
|
|
1916
1916
|
request (Union[google.cloud.logging_v2.types.UpdateSinkRequest, dict]):
|
|
1917
|
-
The request object. The parameters to
|
|
1917
|
+
The request object. The parameters to ``UpdateSink``.
|
|
1918
1918
|
sink_name (str):
|
|
1919
1919
|
Required. The full resource name of the sink to update,
|
|
1920
1920
|
including the parent resource and the sink identifier:
|
|
@@ -2066,7 +2066,7 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
2066
2066
|
|
|
2067
2067
|
Args:
|
|
2068
2068
|
request (Union[google.cloud.logging_v2.types.DeleteSinkRequest, dict]):
|
|
2069
|
-
The request object. The parameters to
|
|
2069
|
+
The request object. The parameters to ``DeleteSink``.
|
|
2070
2070
|
sink_name (str):
|
|
2071
2071
|
Required. The full resource name of the sink to delete,
|
|
2072
2072
|
including the parent resource and the sink identifier:
|
|
@@ -2173,7 +2173,7 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
2173
2173
|
|
|
2174
2174
|
Args:
|
|
2175
2175
|
request (Union[google.cloud.logging_v2.types.ListExclusionsRequest, dict]):
|
|
2176
|
-
The request object. The parameters to
|
|
2176
|
+
The request object. The parameters to ``ListExclusions``.
|
|
2177
2177
|
parent (str):
|
|
2178
2178
|
Required. The parent resource whose exclusions are to be
|
|
2179
2179
|
listed.
|
|
@@ -2292,7 +2292,7 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
2292
2292
|
|
|
2293
2293
|
Args:
|
|
2294
2294
|
request (Union[google.cloud.logging_v2.types.GetExclusionRequest, dict]):
|
|
2295
|
-
The request object. The parameters to
|
|
2295
|
+
The request object. The parameters to ``GetExclusion``.
|
|
2296
2296
|
name (str):
|
|
2297
2297
|
Required. The resource name of an existing exclusion:
|
|
2298
2298
|
|
|
@@ -2416,7 +2416,7 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
2416
2416
|
|
|
2417
2417
|
Args:
|
|
2418
2418
|
request (Union[google.cloud.logging_v2.types.CreateExclusionRequest, dict]):
|
|
2419
|
-
The request object. The parameters to
|
|
2419
|
+
The request object. The parameters to ``CreateExclusion``.
|
|
2420
2420
|
parent (str):
|
|
2421
2421
|
Required. The parent resource in which to create the
|
|
2422
2422
|
exclusion:
|
|
@@ -2552,7 +2552,7 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
2552
2552
|
|
|
2553
2553
|
Args:
|
|
2554
2554
|
request (Union[google.cloud.logging_v2.types.UpdateExclusionRequest, dict]):
|
|
2555
|
-
The request object. The parameters to
|
|
2555
|
+
The request object. The parameters to ``UpdateExclusion``.
|
|
2556
2556
|
name (str):
|
|
2557
2557
|
Required. The resource name of the exclusion to update:
|
|
2558
2558
|
|
|
@@ -2691,7 +2691,7 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
2691
2691
|
|
|
2692
2692
|
Args:
|
|
2693
2693
|
request (Union[google.cloud.logging_v2.types.DeleteExclusionRequest, dict]):
|
|
2694
|
-
The request object. The parameters to
|
|
2694
|
+
The request object. The parameters to ``DeleteExclusion``.
|
|
2695
2695
|
name (str):
|
|
2696
2696
|
Required. The resource name of an existing exclusion to
|
|
2697
2697
|
delete:
|
|
@@ -2804,8 +2804,9 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
2804
2804
|
request (Union[google.cloud.logging_v2.types.GetCmekSettingsRequest, dict]):
|
|
2805
2805
|
The request object. The parameters to
|
|
2806
2806
|
[GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings].
|
|
2807
|
-
|
|
2808
|
-
|
|
2807
|
+
|
|
2808
|
+
See `Enabling CMEK for Log
|
|
2809
|
+
Router <https://cloud.google.com/logging/docs/routing/managed-encryption>`__
|
|
2809
2810
|
for more information.
|
|
2810
2811
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
2811
2812
|
should be retried.
|
|
@@ -2912,8 +2913,9 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
2912
2913
|
request (Union[google.cloud.logging_v2.types.UpdateCmekSettingsRequest, dict]):
|
|
2913
2914
|
The request object. The parameters to
|
|
2914
2915
|
[UpdateCmekSettings][google.logging.v2.ConfigServiceV2.UpdateCmekSettings].
|
|
2915
|
-
|
|
2916
|
-
|
|
2916
|
+
|
|
2917
|
+
See `Enabling CMEK for Log
|
|
2918
|
+
Router <https://cloud.google.com/logging/docs/routing/managed-encryption>`__
|
|
2917
2919
|
for more information.
|
|
2918
2920
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
2919
2921
|
should be retried.
|
|
@@ -3017,8 +3019,9 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
3017
3019
|
request (Union[google.cloud.logging_v2.types.GetSettingsRequest, dict]):
|
|
3018
3020
|
The request object. The parameters to
|
|
3019
3021
|
[GetSettings][google.logging.v2.ConfigServiceV2.GetSettings].
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
+
|
|
3023
|
+
See `Enabling CMEK for Log
|
|
3024
|
+
Router <https://cloud.google.com/logging/docs/routing/managed-encryption>`__
|
|
3022
3025
|
for more information.
|
|
3023
3026
|
name (str):
|
|
3024
3027
|
Required. The resource for which to retrieve settings.
|
|
@@ -3158,8 +3161,9 @@ class ConfigServiceV2Client(metaclass=ConfigServiceV2ClientMeta):
|
|
|
3158
3161
|
request (Union[google.cloud.logging_v2.types.UpdateSettingsRequest, dict]):
|
|
3159
3162
|
The request object. The parameters to
|
|
3160
3163
|
[UpdateSettings][google.logging.v2.ConfigServiceV2.UpdateSettings].
|
|
3161
|
-
|
|
3162
|
-
|
|
3164
|
+
|
|
3165
|
+
See `Enabling CMEK for Log
|
|
3166
|
+
Router <https://cloud.google.com/logging/docs/routing/managed-encryption>`__
|
|
3163
3167
|
for more information.
|
|
3164
3168
|
settings (google.cloud.logging_v2.types.Settings):
|
|
3165
3169
|
Required. The settings to update.
|
|
@@ -580,7 +580,7 @@ class LoggingServiceV2AsyncClient:
|
|
|
580
580
|
|
|
581
581
|
Args:
|
|
582
582
|
request (Optional[Union[google.cloud.logging_v2.types.ListLogEntriesRequest, dict]]):
|
|
583
|
-
The request object. The parameters to
|
|
583
|
+
The request object. The parameters to ``ListLogEntries``.
|
|
584
584
|
resource_names (:class:`MutableSequence[str]`):
|
|
585
585
|
Required. Names of one or more parent resources from
|
|
586
586
|
which to retrieve log entries:
|
|
@@ -985,7 +985,7 @@ class LoggingServiceV2AsyncClient:
|
|
|
985
985
|
|
|
986
986
|
Args:
|
|
987
987
|
requests (AsyncIterator[`google.cloud.logging_v2.types.TailLogEntriesRequest`]):
|
|
988
|
-
The request object AsyncIterator. The parameters to
|
|
988
|
+
The request object AsyncIterator. The parameters to ``TailLogEntries``.
|
|
989
989
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
990
990
|
should be retried.
|
|
991
991
|
timeout (float): The timeout for this request.
|
|
@@ -778,7 +778,7 @@ class LoggingServiceV2Client(metaclass=LoggingServiceV2ClientMeta):
|
|
|
778
778
|
|
|
779
779
|
Args:
|
|
780
780
|
request (Union[google.cloud.logging_v2.types.ListLogEntriesRequest, dict]):
|
|
781
|
-
The request object. The parameters to
|
|
781
|
+
The request object. The parameters to ``ListLogEntries``.
|
|
782
782
|
resource_names (MutableSequence[str]):
|
|
783
783
|
Required. Names of one or more parent resources from
|
|
784
784
|
which to retrieve log entries:
|
|
@@ -1153,7 +1153,7 @@ class LoggingServiceV2Client(metaclass=LoggingServiceV2ClientMeta):
|
|
|
1153
1153
|
|
|
1154
1154
|
Args:
|
|
1155
1155
|
requests (Iterator[google.cloud.logging_v2.types.TailLogEntriesRequest]):
|
|
1156
|
-
The request object iterator. The parameters to
|
|
1156
|
+
The request object iterator. The parameters to ``TailLogEntries``.
|
|
1157
1157
|
retry (google.api_core.retry.Retry): Designation of what errors, if any,
|
|
1158
1158
|
should be retried.
|
|
1159
1159
|
timeout (float): The timeout for this request.
|