async def get(self,request_configuration: Optional[RequestConfiguration[SiteProtectionUnitsRequestBuilderGetQueryParameters]] = None) -> Optional[SiteProtectionUnitCollectionResponse]:
        """
        Get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[SiteProtectionUnitCollectionResponse]
        Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-siteprotectionunits?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.site_protection_unit_collection_response import SiteProtectionUnitCollectionResponse

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

        Get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[SiteProtectionUnitCollectionResponse]
        Find more info here: https://learn.microsoft.com/graph/api/backuprestoreroot-list-siteprotectionunits?view=graph-rest-1.0
        
msgraph/generated/solutions/backup_restore/share_point_protection_policies/item/site_protection_units/site_protection_units_request_builder.py