async def get(self,request_configuration: Optional[RequestConfiguration[Alerts_v2RequestBuilderGetQueryParameters]] = None) -> Optional[AlertCollectionResponse]:
        """
        Get a list of alert resources created to track suspicious activities in an organization. This operation lets you filter and sort through alerts to create an informed cyber security response. It exposes a collection of alerts that were flagged in your network, within the time range you specified in your environment retention policy. The most recent alerts are displayed at the top of the list.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[AlertCollectionResponse]
        Find more info here: https://learn.microsoft.com/graph/api/security-list-alerts_v2?view=graph-rest-1.0
        """
        request_info = self.to_get_request_information(
            request_configuration
        )
        from ...models.o_data_errors.o_data_error import ODataError

        error_mapping: dict[str, type[ParsableFactory]] = {
            "XXX": ODataError,
        }
        if not self.request_adapter:
            raise Exception("Http core is null") 
        from ...models.security.alert_collection_response import AlertCollectionResponse

        return await self.request_adapter.send_async(request_info, AlertCollectionResponse, error_mapping)

        Get a list of alert resources created to track suspicious activities in an organization. This operation lets you filter and sort through alerts to create an informed cyber security response. It exposes a collection of alerts that were flagged in your network, within the time range you specified in your environment retention policy. The most recent alerts are displayed at the top of the list.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[AlertCollectionResponse]
        Find more info here: https://learn.microsoft.com/graph/api/security-list-alerts_v2?view=graph-rest-1.0
        
msgraph/generated/security/alerts_v2/alerts_v2_request_builder.py