def roles(self) -> RolesRequestBuilder:
        """
        Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity.
        """
        from .roles.roles_request_builder import RolesRequestBuilder

        return RolesRequestBuilder(self.request_adapter, self.path_parameters)

        Provides operations to manage the roles property of the microsoft.graph.accessPackageResource entity.
        
msgraph/generated/identity_governance/entitlement_management/resource_requests/item/catalog/resource_roles/item/resource/scopes/item/resource/resource_request_builder.py