# Path: google/cloud/errorreporting_v1beta1/types/common.py
# class ResolutionStatus(proto.Enum):
# class ErrorGroup(proto.Message):
# class TrackingIssue(proto.Message):
# class ErrorEvent(proto.Message):
# class ServiceContext(proto.Message):
# class ErrorContext(proto.Message):
# class HttpRequestContext(proto.Message):
# class SourceLocation(proto.Message):
#     RESOLUTION_STATUS_UNSPECIFIED = 0
#     OPEN = 1
#     ACKNOWLEDGED = 2
#     RESOLVED = 3
#     MUTED = 4


import proto  # type: ignore
from google.cloud.errorreporting_v1beta1.types import common
    package="google.devtools.clouderrorreporting.v1beta1",
    manifest={"GetGroupRequest", "UpdateGroupRequest",},
)


class GetGroupRequest(proto.Message):
    r"""A request to return an individual group.

    Attributes:
        group_name (str):
            Required. The group resource name. Written as
            ``projects/{projectID}/groups/{group_name}``. Call
            ```groupStats.list`` <https://cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groupStats/list>`__
            to return a list of groups belonging to this project.

            Example: ``projects/my-project-123/groups/my-group``
    """

    group_name = proto.Field(proto.STRING, number=1,)


class UpdateGroupRequest(proto.Message):
    r"""A request to replace the existing data for the given group.

    Attributes:
        group (google.cloud.errorreporting_v1beta1.types.ErrorGroup):
            Required. The group which replaces the
            resource on the server.
    """


# Path: google/cloud/errorreporting_v1beta1/types/common.py
# class ResolutionStatus(proto.Enum):
# class ErrorGroup(proto.Message):
# class TrackingIssue(proto.Message):
# class ErrorEvent(proto.Message):
# class ServiceContext(proto.Message):
# class ErrorContext(proto.Message):
# class HttpRequestContext(proto.Message):
# class SourceLocation(proto.Message):
#     RESOLUTION_STATUS_UNSPECIFIED = 0
#     OPEN = 1
#     ACKNOWLEDGED = 2
#     RESOLVED = 3
#     MUTED = 4


# Path: google/cloud/errorreporting_v1beta1/types/error_group_service.py
import proto  # type: ignore
from google.cloud.errorreporting_v1beta1.types import common

    package="google.devtools.clouderrorreporting.v1beta1",
    manifest={"GetGroupRequest", "UpdateGroupRequest",},
)


class GetGroupRequest(proto.Message):
    r"""A request to return an individual group.

    Attributes:
        group_name (str):
            Required. The group resource name. Written as
            ``projects/{projectID}/groups/{group_name}``. Call
            ```groupStats.list`` <https://cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groupStats/list>`__
            to return a list of groups belonging to this project.

            Example: ``projects/my-project-123/groups/my-group``
    """

    group_name = proto.Field(proto.STRING, number=1,)


class UpdateGroupRequest(proto.Message):
    r"""A request to replace the existing data for the given group.

    Attributes:
        group (google.cloud.errorreporting_v1beta1.types.ErrorGroup):
            Required. The group which replaces the
            resource on the server.
    """


    group = proto.Field(proto.MESSAGE, number=1, message=common.ErrorGroup,)