@@ -315,23 +315,41 @@ async def sample_list_group_stats():
315315 project. Written as ``projects/{projectID}`` or
316316 ``projects/{projectNumber}``, where ``{projectID}`` and
317317 ``{projectNumber}`` can be found in the `Google Cloud
318- Console <https://support.google.com/cloud/answer/6158840>`__.
318+ console <https://support.google.com/cloud/answer/6158840>`__.
319+ It may also include a location, such as
320+ ``projects/{projectID}/locations/{location}`` where
321+ ``{location}`` is a cloud region.
319322
320323 Examples: ``projects/my-project-123``,
321- ``projects/5551234``.
324+ ``projects/5551234``,
325+ ``projects/my-project-123/locations/us-central1``,
326+ ``projects/5551234/locations/us-central1``.
327+
328+ For a list of supported locations, see `Supported
329+ Regions <https://cloud.google.com/logging/docs/region-support>`__.
330+ ``global`` is the default when unspecified. Use ``-`` as
331+ a wildcard to request group stats from all regions.
322332
323333 This corresponds to the ``project_name`` field
324334 on the ``request`` instance; if ``request`` is provided, this
325335 should not be set.
326336 time_range (:class:`google.cloud.errorreporting_v1beta1.types.QueryTimeRange`):
327337 Optional. List data for the given time range. If not
328338 set, a default time range is used. The field
329- time_range_begin in the response will specify the
330- beginning of this time range. Only ErrorGroupStats with
331- a non-zero count in the given time range are returned,
332- unless the request contains an explicit group_id list.
333- If a group_id list is given, also ErrorGroupStats with
334- zero occurrences are returned.
339+ [time_range_begin]
340+ [google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse.time_range_begin]
341+ in the response will specify the beginning of this time
342+ range. Only [ErrorGroupStats]
343+ [google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats]
344+ with a non-zero count in the given time range are
345+ returned, unless the request contains an explicit
346+ [group_id]
347+ [google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest.group_id]
348+ list. If a [group_id]
349+ [google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest.group_id]
350+ list is given, also [ErrorGroupStats]
351+ [google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats]
352+ with zero occurrences are returned.
335353
336354 This corresponds to the ``time_range`` field
337355 on the ``request`` instance; if ``request`` is provided, this
@@ -456,18 +474,30 @@ async def sample_list_events():
456474 return.
457475 project_name (:class:`str`):
458476 Required. The resource name of the Google Cloud Platform
459- project. Written as ``projects/{projectID}``, where
477+ project. Written as ``projects/{projectID}`` or
478+ ``projects/{projectID}/locations/{location}``, where
460479 ``{projectID}`` is the `Google Cloud Platform project
461- ID <https://support.google.com/cloud/answer/6158840>`__.
480+ ID <https://support.google.com/cloud/answer/6158840>`__
481+ and ``{location}`` is a Cloud region.
482+
483+ Examples: ``projects/my-project-123``,
484+ ``projects/my-project-123/locations/global``.
462485
463- Example: ``projects/my-project-123``.
486+ For a list of supported locations, see `Supported
487+ Regions <https://cloud.google.com/logging/docs/region-support>`__.
488+ ``global`` is the default when unspecified.
464489
465490 This corresponds to the ``project_name`` field
466491 on the ``request`` instance; if ``request`` is provided, this
467492 should not be set.
468493 group_id (:class:`str`):
469- Required. The group for which events
470- shall be returned.
494+ Required. The group for which events shall be returned.
495+ The ``group_id`` is a unique identifier for a particular
496+ error group. The identifier is derived from key parts of
497+ the error-log content and is treated as Service Data.
498+ For information about how Service Data is handled, see
499+ `Google Cloud Privacy
500+ Notice <https://cloud.google.com/terms/cloud-privacy-notice>`__.
471501
472502 This corresponds to the ``group_id`` field
473503 on the ``request`` instance; if ``request`` is provided, this
@@ -588,11 +618,18 @@ async def sample_delete_events():
588618 The request object. Deletes all events in the project.
589619 project_name (:class:`str`):
590620 Required. The resource name of the Google Cloud Platform
591- project. Written as ``projects/{projectID}``, where
621+ project. Written as ``projects/{projectID}`` or
622+ ``projects/{projectID}/locations/{location}``, where
592623 ``{projectID}`` is the `Google Cloud Platform project
593- ID <https://support.google.com/cloud/answer/6158840>`__.
624+ ID <https://support.google.com/cloud/answer/6158840>`__
625+ and ``{location}`` is a Cloud region.
626+
627+ Examples: ``projects/my-project-123``,
628+ ``projects/my-project-123/locations/global``.
594629
595- Example: ``projects/my-project-123``.
630+ For a list of supported locations, see `Supported
631+ Regions <https://cloud.google.com/logging/docs/region-support>`__.
632+ ``global`` is the default when unspecified.
596633
597634 This corresponds to the ``project_name`` field
598635 on the ``request`` instance; if ``request`` is provided, this
0 commit comments