Skip to content
This repository was archived by the owner on Feb 26, 2026. It is now read-only.

Commit 864151a

Browse files
1 parent 141e820 commit 864151a

File tree

167 files changed

+101
-62095
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+101
-62095
lines changed

google/cloud/logging_v2/services/config_service_v2/async_client.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2968,7 +2968,7 @@ async def sample_get_exclusion():
29682968
chargeable logs. Note that exclusions on
29692969
organization-level and folder-level sinks don't apply
29702970
to child resources. Note also that you cannot modify
2971-
the \_Required sink or exclude logs from it.
2971+
the Required sink or exclude logs from it.
29722972
29732973
"""
29742974
# Create or coerce a protobuf request object.
@@ -3111,7 +3111,7 @@ async def sample_create_exclusion():
31113111
chargeable logs. Note that exclusions on
31123112
organization-level and folder-level sinks don't apply
31133113
to child resources. Note also that you cannot modify
3114-
the \_Required sink or exclude logs from it.
3114+
the Required sink or exclude logs from it.
31153115
31163116
"""
31173117
# Create or coerce a protobuf request object.
@@ -3268,7 +3268,7 @@ async def sample_update_exclusion():
32683268
chargeable logs. Note that exclusions on
32693269
organization-level and folder-level sinks don't apply
32703270
to child resources. Note also that you cannot modify
3271-
the \_Required sink or exclude logs from it.
3271+
the Required sink or exclude logs from it.
32723272
32733273
"""
32743274
# Create or coerce a protobuf request object.
@@ -3506,7 +3506,7 @@ async def sample_get_cmek_settings():
35063506
the Google Cloud organization.
35073507
35083508
See [Enabling CMEK for Log
3509-
Router](\ https://cloud.google.com/logging/docs/routing/managed-encryption)
3509+
Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
35103510
for more information.
35113511
35123512
"""
@@ -3620,7 +3620,7 @@ async def sample_update_cmek_settings():
36203620
the Google Cloud organization.
36213621
36223622
See [Enabling CMEK for Log
3623-
Router](\ https://cloud.google.com/logging/docs/routing/managed-encryption)
3623+
Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
36243624
for more information.
36253625
36263626
"""

google/cloud/logging_v2/services/config_service_v2/client.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3432,7 +3432,7 @@ def sample_get_exclusion():
34323432
chargeable logs. Note that exclusions on
34333433
organization-level and folder-level sinks don't apply
34343434
to child resources. Note also that you cannot modify
3435-
the \_Required sink or exclude logs from it.
3435+
the Required sink or exclude logs from it.
34363436
34373437
"""
34383438
# Create or coerce a protobuf request object.
@@ -3572,7 +3572,7 @@ def sample_create_exclusion():
35723572
chargeable logs. Note that exclusions on
35733573
organization-level and folder-level sinks don't apply
35743574
to child resources. Note also that you cannot modify
3575-
the \_Required sink or exclude logs from it.
3575+
the Required sink or exclude logs from it.
35763576
35773577
"""
35783578
# Create or coerce a protobuf request object.
@@ -3726,7 +3726,7 @@ def sample_update_exclusion():
37263726
chargeable logs. Note that exclusions on
37273727
organization-level and folder-level sinks don't apply
37283728
to child resources. Note also that you cannot modify
3729-
the \_Required sink or exclude logs from it.
3729+
the Required sink or exclude logs from it.
37303730
37313731
"""
37323732
# Create or coerce a protobuf request object.
@@ -3958,7 +3958,7 @@ def sample_get_cmek_settings():
39583958
the Google Cloud organization.
39593959
39603960
See [Enabling CMEK for Log
3961-
Router](\ https://cloud.google.com/logging/docs/routing/managed-encryption)
3961+
Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
39623962
for more information.
39633963
39643964
"""
@@ -4070,7 +4070,7 @@ def sample_update_cmek_settings():
40704070
the Google Cloud organization.
40714071
40724072
See [Enabling CMEK for Log
4073-
Router](\ https://cloud.google.com/logging/docs/routing/managed-encryption)
4073+
Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
40744074
for more information.
40754075
40764076
"""

google/cloud/logging_v2/services/logging_service_v2/async_client.py

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -340,10 +340,10 @@ async def sample_delete_log():
340340
log_name (:class:`str`):
341341
Required. The resource name of the log to delete:
342342
343-
- ``projects/[PROJECT_ID]/logs/[LOG_ID]``
344-
- ``organizations/[ORGANIZATION_ID]/logs/[LOG_ID]``
345-
- ``billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]``
346-
- ``folders/[FOLDER_ID]/logs/[LOG_ID]``
343+
- ``projects/[PROJECT_ID]/logs/[LOG_ID]``
344+
- ``organizations/[ORGANIZATION_ID]/logs/[LOG_ID]``
345+
- ``billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]``
346+
- ``folders/[FOLDER_ID]/logs/[LOG_ID]``
347347
348348
``[LOG_ID]`` must be URL-encoded. For example,
349349
``"projects/my-project-id/logs/syslog"``,
@@ -466,10 +466,10 @@ async def sample_write_log_entries():
466466
to all log entries in ``entries`` that do not specify a
467467
value for ``log_name``:
468468
469-
- ``projects/[PROJECT_ID]/logs/[LOG_ID]``
470-
- ``organizations/[ORGANIZATION_ID]/logs/[LOG_ID]``
471-
- ``billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]``
472-
- ``folders/[FOLDER_ID]/logs/[LOG_ID]``
469+
- ``projects/[PROJECT_ID]/logs/[LOG_ID]``
470+
- ``organizations/[ORGANIZATION_ID]/logs/[LOG_ID]``
471+
- ``billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]``
472+
- ``folders/[FOLDER_ID]/logs/[LOG_ID]``
473473
474474
``[LOG_ID]`` must be URL-encoded. For example:
475475
@@ -659,17 +659,17 @@ async def sample_list_log_entries():
659659
Required. Names of one or more parent resources from
660660
which to retrieve log entries:
661661
662-
- ``projects/[PROJECT_ID]``
663-
- ``organizations/[ORGANIZATION_ID]``
664-
- ``billingAccounts/[BILLING_ACCOUNT_ID]``
665-
- ``folders/[FOLDER_ID]``
662+
- ``projects/[PROJECT_ID]``
663+
- ``organizations/[ORGANIZATION_ID]``
664+
- ``billingAccounts/[BILLING_ACCOUNT_ID]``
665+
- ``folders/[FOLDER_ID]``
666666
667667
May alternatively be one or more views:
668668
669-
- ``projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
670-
- ``organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
671-
- ``billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
672-
- ``folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
669+
- ``projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
670+
- ``organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
671+
- ``billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
672+
- ``folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
673673
674674
Projects listed in the ``project_ids`` field are added
675675
to this list. A maximum of 100 resources may be
@@ -919,10 +919,10 @@ async def sample_list_logs():
919919
parent (:class:`str`):
920920
Required. The resource name to list logs for:
921921
922-
- ``projects/[PROJECT_ID]``
923-
- ``organizations/[ORGANIZATION_ID]``
924-
- ``billingAccounts/[BILLING_ACCOUNT_ID]``
925-
- ``folders/[FOLDER_ID]``
922+
- ``projects/[PROJECT_ID]``
923+
- ``organizations/[ORGANIZATION_ID]``
924+
- ``billingAccounts/[BILLING_ACCOUNT_ID]``
925+
- ``folders/[FOLDER_ID]``
926926
927927
This corresponds to the ``parent`` field
928928
on the ``request`` instance; if ``request`` is provided, this

google/cloud/logging_v2/services/logging_service_v2/client.py

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -755,10 +755,10 @@ def sample_delete_log():
755755
log_name (str):
756756
Required. The resource name of the log to delete:
757757
758-
- ``projects/[PROJECT_ID]/logs/[LOG_ID]``
759-
- ``organizations/[ORGANIZATION_ID]/logs/[LOG_ID]``
760-
- ``billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]``
761-
- ``folders/[FOLDER_ID]/logs/[LOG_ID]``
758+
- ``projects/[PROJECT_ID]/logs/[LOG_ID]``
759+
- ``organizations/[ORGANIZATION_ID]/logs/[LOG_ID]``
760+
- ``billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]``
761+
- ``folders/[FOLDER_ID]/logs/[LOG_ID]``
762762
763763
``[LOG_ID]`` must be URL-encoded. For example,
764764
``"projects/my-project-id/logs/syslog"``,
@@ -878,10 +878,10 @@ def sample_write_log_entries():
878878
to all log entries in ``entries`` that do not specify a
879879
value for ``log_name``:
880880
881-
- ``projects/[PROJECT_ID]/logs/[LOG_ID]``
882-
- ``organizations/[ORGANIZATION_ID]/logs/[LOG_ID]``
883-
- ``billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]``
884-
- ``folders/[FOLDER_ID]/logs/[LOG_ID]``
881+
- ``projects/[PROJECT_ID]/logs/[LOG_ID]``
882+
- ``organizations/[ORGANIZATION_ID]/logs/[LOG_ID]``
883+
- ``billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]``
884+
- ``folders/[FOLDER_ID]/logs/[LOG_ID]``
885885
886886
``[LOG_ID]`` must be URL-encoded. For example:
887887
@@ -1067,17 +1067,17 @@ def sample_list_log_entries():
10671067
Required. Names of one or more parent resources from
10681068
which to retrieve log entries:
10691069
1070-
- ``projects/[PROJECT_ID]``
1071-
- ``organizations/[ORGANIZATION_ID]``
1072-
- ``billingAccounts/[BILLING_ACCOUNT_ID]``
1073-
- ``folders/[FOLDER_ID]``
1070+
- ``projects/[PROJECT_ID]``
1071+
- ``organizations/[ORGANIZATION_ID]``
1072+
- ``billingAccounts/[BILLING_ACCOUNT_ID]``
1073+
- ``folders/[FOLDER_ID]``
10741074
10751075
May alternatively be one or more views:
10761076
1077-
- ``projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
1078-
- ``organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
1079-
- ``billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
1080-
- ``folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
1077+
- ``projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
1078+
- ``organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
1079+
- ``billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
1080+
- ``folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
10811081
10821082
Projects listed in the ``project_ids`` field are added
10831083
to this list. A maximum of 100 resources may be
@@ -1324,10 +1324,10 @@ def sample_list_logs():
13241324
parent (str):
13251325
Required. The resource name to list logs for:
13261326
1327-
- ``projects/[PROJECT_ID]``
1328-
- ``organizations/[ORGANIZATION_ID]``
1329-
- ``billingAccounts/[BILLING_ACCOUNT_ID]``
1330-
- ``folders/[FOLDER_ID]``
1327+
- ``projects/[PROJECT_ID]``
1328+
- ``organizations/[ORGANIZATION_ID]``
1329+
- ``billingAccounts/[BILLING_ACCOUNT_ID]``
1330+
- ``folders/[FOLDER_ID]``
13311331
13321332
This corresponds to the ``parent`` field
13331333
on the ``request`` instance; if ``request`` is provided, this

google/cloud/logging_v2/types/log_entry.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,10 @@ class LogEntry(proto.Message):
214214
215215
Example values:
216216
217-
- ``000000000000004a``
218-
- ``7a2190356c3fc94b``
219-
- ``0000f00300090021``
220-
- ``d39223e101960076``
217+
- ``000000000000004a``
218+
- ``7a2190356c3fc94b``
219+
- ``0000f00300090021``
220+
- ``d39223e101960076``
221221
trace_sampled (bool):
222222
Optional. The sampling decision of the trace associated with
223223
the log entry.

google/cloud/logging_v2/types/logging.py

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ class DeleteLogRequest(proto.Message):
5151
log_name (str):
5252
Required. The resource name of the log to delete:
5353
54-
- ``projects/[PROJECT_ID]/logs/[LOG_ID]``
55-
- ``organizations/[ORGANIZATION_ID]/logs/[LOG_ID]``
56-
- ``billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]``
57-
- ``folders/[FOLDER_ID]/logs/[LOG_ID]``
54+
- ``projects/[PROJECT_ID]/logs/[LOG_ID]``
55+
- ``organizations/[ORGANIZATION_ID]/logs/[LOG_ID]``
56+
- ``billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]``
57+
- ``folders/[FOLDER_ID]/logs/[LOG_ID]``
5858
5959
``[LOG_ID]`` must be URL-encoded. For example,
6060
``"projects/my-project-id/logs/syslog"``,
@@ -79,10 +79,10 @@ class WriteLogEntriesRequest(proto.Message):
7979
all log entries in ``entries`` that do not specify a value
8080
for ``log_name``:
8181
82-
- ``projects/[PROJECT_ID]/logs/[LOG_ID]``
83-
- ``organizations/[ORGANIZATION_ID]/logs/[LOG_ID]``
84-
- ``billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]``
85-
- ``folders/[FOLDER_ID]/logs/[LOG_ID]``
82+
- ``projects/[PROJECT_ID]/logs/[LOG_ID]``
83+
- ``organizations/[ORGANIZATION_ID]/logs/[LOG_ID]``
84+
- ``billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]``
85+
- ``folders/[FOLDER_ID]/logs/[LOG_ID]``
8686
8787
``[LOG_ID]`` must be URL-encoded. For example:
8888
@@ -224,17 +224,17 @@ class ListLogEntriesRequest(proto.Message):
224224
Required. Names of one or more parent resources from which
225225
to retrieve log entries:
226226
227-
- ``projects/[PROJECT_ID]``
228-
- ``organizations/[ORGANIZATION_ID]``
229-
- ``billingAccounts/[BILLING_ACCOUNT_ID]``
230-
- ``folders/[FOLDER_ID]``
227+
- ``projects/[PROJECT_ID]``
228+
- ``organizations/[ORGANIZATION_ID]``
229+
- ``billingAccounts/[BILLING_ACCOUNT_ID]``
230+
- ``folders/[FOLDER_ID]``
231231
232232
May alternatively be one or more views:
233233
234-
- ``projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
235-
- ``organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
236-
- ``billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
237-
- ``folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
234+
- ``projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
235+
- ``organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
236+
- ``billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
237+
- ``folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
238238
239239
Projects listed in the ``project_ids`` field are added to
240240
this list. A maximum of 100 resources may be specified in a
@@ -395,24 +395,24 @@ class ListLogsRequest(proto.Message):
395395
parent (str):
396396
Required. The resource name to list logs for:
397397
398-
- ``projects/[PROJECT_ID]``
399-
- ``organizations/[ORGANIZATION_ID]``
400-
- ``billingAccounts/[BILLING_ACCOUNT_ID]``
401-
- ``folders/[FOLDER_ID]``
398+
- ``projects/[PROJECT_ID]``
399+
- ``organizations/[ORGANIZATION_ID]``
400+
- ``billingAccounts/[BILLING_ACCOUNT_ID]``
401+
- ``folders/[FOLDER_ID]``
402402
resource_names (MutableSequence[str]):
403403
Optional. List of resource names to list logs for:
404404
405-
- ``projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
406-
- ``organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
407-
- ``billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
408-
- ``folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
405+
- ``projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
406+
- ``organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
407+
- ``billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
408+
- ``folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
409409
410410
To support legacy queries, it could also be:
411411
412-
- ``projects/[PROJECT_ID]``
413-
- ``organizations/[ORGANIZATION_ID]``
414-
- ``billingAccounts/[BILLING_ACCOUNT_ID]``
415-
- ``folders/[FOLDER_ID]``
412+
- ``projects/[PROJECT_ID]``
413+
- ``organizations/[ORGANIZATION_ID]``
414+
- ``billingAccounts/[BILLING_ACCOUNT_ID]``
415+
- ``folders/[FOLDER_ID]``
416416
417417
The resource name in the ``parent`` field is added to this
418418
list.
@@ -484,17 +484,17 @@ class TailLogEntriesRequest(proto.Message):
484484
Required. Name of a parent resource from which to retrieve
485485
log entries:
486486
487-
- ``projects/[PROJECT_ID]``
488-
- ``organizations/[ORGANIZATION_ID]``
489-
- ``billingAccounts/[BILLING_ACCOUNT_ID]``
490-
- ``folders/[FOLDER_ID]``
487+
- ``projects/[PROJECT_ID]``
488+
- ``organizations/[ORGANIZATION_ID]``
489+
- ``billingAccounts/[BILLING_ACCOUNT_ID]``
490+
- ``folders/[FOLDER_ID]``
491491
492492
May alternatively be one or more views:
493493
494-
- ``projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
495-
- ``organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
496-
- ``billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
497-
- ``folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
494+
- ``projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
495+
- ``organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
496+
- ``billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
497+
- ``folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]``
498498
filter (str):
499499
Optional. Only log entries that match the filter are
500500
returned. An empty filter matches all log entries in the

0 commit comments

Comments
 (0)