async def get(self,request_configuration: Optional[RequestConfiguration[ConditionalAccessPoliciesRequestBuilderGetQueryParameters]] = None) -> Optional[ConditionalAccessPolicyCollectionResponse]:
        """
        The custom rules that define an access scenario.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[ConditionalAccessPolicyCollectionResponse]
        """
        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.conditional_access_policy_collection_response import ConditionalAccessPolicyCollectionResponse

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

        The custom rules that define an access scenario.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[ConditionalAccessPolicyCollectionResponse]
        
msgraph/generated/policies/conditional_access_policies/conditional_access_policies_request_builder.py